Makefile 163 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708
  1. #
  2. # Don't edit, this file is generated by FPCMake Version 2.0.0
  3. #
  4. default: all
  5. MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd m68k-amiga m68k-atari m68k-palmos m68k-macosclassic m68k-embedded m68k-sinclairql powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macosclassic powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-haiku x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-android x86_64-aros x86_64-dragonfly arm-linux arm-netbsd arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros arm-freertos arm-ios powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android mips64-linux mips64el-linux jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-freebsd aarch64-darwin aarch64-win64 aarch64-embedded aarch64-android aarch64-ios wasm32-embedded wasm32-wasi sparc64-linux riscv32-linux riscv32-embedded riscv64-linux riscv64-embedded xtensa-linux xtensa-embedded xtensa-freertos z80-embedded z80-zxspectrum z80-msxdos z80-amstradcpc
  6. BSDs = freebsd netbsd openbsd darwin dragonfly
  7. UNIXs = linux $(BSDs) solaris qnx haiku aix
  8. LIMIT83fs = go32v2 os2 emx watcom msdos win16 atari
  9. OSNeedsComspecToRunBatch = go32v2 watcom
  10. FORCE:
  11. .PHONY: FORCE
  12. override PATH:=$(patsubst %/,%,$(subst \,/,$(PATH)))
  13. ifneq ($(findstring darwin,$(OSTYPE)),)
  14. inUnix=1 #darwin
  15. SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
  16. else
  17. ifeq ($(findstring ;,$(PATH)),)
  18. inUnix=1
  19. SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
  20. else
  21. SEARCHPATH:=$(subst ;, ,$(PATH))
  22. endif
  23. endif
  24. SEARCHPATH+=$(patsubst %/,%,$(subst \,/,$(dir $(MAKE))))
  25. PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
  26. ifeq ($(PWD),)
  27. PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
  28. ifeq ($(PWD),)
  29. $(error You need the GNU utils package to use this Makefile)
  30. else
  31. PWD:=$(firstword $(PWD))
  32. SRCEXEEXT=
  33. endif
  34. else
  35. PWD:=$(firstword $(PWD))
  36. SRCEXEEXT=.exe
  37. endif
  38. ifndef inUnix
  39. ifeq ($(OS),Windows_NT)
  40. inWinNT=1
  41. else
  42. ifdef OS2_SHELL
  43. inOS2=1
  44. endif
  45. endif
  46. else
  47. ifneq ($(findstring cygdrive,$(PATH)),)
  48. inCygWin=1
  49. endif
  50. endif
  51. ifdef inUnix
  52. SRCBATCHEXT=.sh
  53. else
  54. ifdef inOS2
  55. SRCBATCHEXT=.cmd
  56. else
  57. SRCBATCHEXT=.bat
  58. endif
  59. endif
  60. ifdef COMSPEC
  61. ifneq ($(filter $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
  62. ifndef RUNBATCH
  63. RUNBATCH=$(COMSPEC) /C
  64. endif
  65. endif
  66. endif
  67. ifdef inUnix
  68. PATHSEP=/
  69. else
  70. PATHSEP:=$(subst /,\,/)
  71. ifdef inCygWin
  72. PATHSEP=/
  73. endif
  74. endif
  75. ifdef PWD
  76. BASEDIR:=$(subst \,/,$(shell $(PWD)))
  77. ifdef inCygWin
  78. ifneq ($(findstring /cygdrive/,$(BASEDIR)),)
  79. BASENODIR:=$(patsubst /cygdrive%,%,$(BASEDIR))
  80. BASEDRIVE:=$(firstword $(subst /, ,$(BASENODIR)))
  81. BASEDIR:=$(subst /cygdrive/$(BASEDRIVE)/,$(BASEDRIVE):/,$(BASEDIR))
  82. endif
  83. endif
  84. else
  85. BASEDIR=.
  86. endif
  87. ifdef inOS2
  88. ifndef ECHO
  89. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  90. ifeq ($(ECHO),)
  91. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  92. ifeq ($(ECHO),)
  93. ECHO=echo
  94. else
  95. ECHO:=$(firstword $(ECHO))
  96. endif
  97. else
  98. ECHO:=$(firstword $(ECHO))
  99. endif
  100. endif
  101. export ECHO
  102. endif
  103. override OS_TARGET_DEFAULT=atari
  104. override CPU_TARGET_DEFAULT=m68k
  105. override DEFAULT_FPCDIR=../..
  106. ifndef FPC
  107. ifdef PP
  108. FPC=$(PP)
  109. endif
  110. endif
  111. ifndef FPC
  112. FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
  113. ifneq ($(FPCPROG),)
  114. FPCPROG:=$(firstword $(FPCPROG))
  115. ifneq ($(CPU_TARGET),)
  116. FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
  117. else
  118. FPC:=$(shell $(FPCPROG) -PB)
  119. endif
  120. ifneq ($(findstring Error,$(FPC)),)
  121. override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  122. else
  123. ifeq ($(strip $(wildcard $(FPC))),)
  124. FPC:=$(firstword $(FPCPROG))
  125. endif
  126. endif
  127. else
  128. override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  129. endif
  130. endif
  131. override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
  132. override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
  133. FOUNDFPC:=$(strip $(wildcard $(FPC)))
  134. ifeq ($(FOUNDFPC),)
  135. FOUNDFPC=$(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))
  136. ifeq ($(FOUNDFPC),)
  137. $(error Compiler $(FPC) not found)
  138. endif
  139. endif
  140. ifndef FPC_COMPILERINFO
  141. FPC_COMPILERINFO:=$(shell $(FPC) -iVSPTPSOTO)
  142. endif
  143. ifndef FPC_VERSION
  144. FPC_VERSION:=$(word 1,$(FPC_COMPILERINFO))
  145. endif
  146. export FPC FPC_VERSION FPC_COMPILERINFO
  147. unexport CHECKDEPEND ALLDEPENDENCIES
  148. ifndef CPU_TARGET
  149. ifdef CPU_TARGET_DEFAULT
  150. CPU_TARGET=$(CPU_TARGET_DEFAULT)
  151. endif
  152. endif
  153. ifndef OS_TARGET
  154. ifdef OS_TARGET_DEFAULT
  155. OS_TARGET=$(OS_TARGET_DEFAULT)
  156. endif
  157. endif
  158. ifndef CPU_SOURCE
  159. CPU_SOURCE:=$(word 2,$(FPC_COMPILERINFO))
  160. endif
  161. ifndef CPU_TARGET
  162. CPU_TARGET:=$(word 3,$(FPC_COMPILERINFO))
  163. endif
  164. ifndef OS_SOURCE
  165. OS_SOURCE:=$(word 4,$(FPC_COMPILERINFO))
  166. endif
  167. ifndef OS_TARGET
  168. OS_TARGET:=$(word 5,$(FPC_COMPILERINFO))
  169. endif
  170. FULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  171. FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  172. ifeq ($(CPU_TARGET),armeb)
  173. ARCH=arm
  174. override FPCOPT+=-Cb
  175. else
  176. ifeq ($(CPU_TARGET),armel)
  177. ARCH=arm
  178. override FPCOPT+=-CaEABI
  179. else
  180. ARCH=$(CPU_TARGET)
  181. endif
  182. endif
  183. ifeq ($(FULL_TARGET),aarch64-embedded)
  184. endif
  185. ifeq ($(FULL_TARGET),arm-embedded)
  186. ifeq ($(SUBARCH),)
  187. $(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined)
  188. endif
  189. override FPCOPT+=-Cp$(SUBARCH)
  190. endif
  191. ifeq ($(FULL_TARGET),avr-embedded)
  192. ifeq ($(SUBARCH),)
  193. $(error When compiling for avr-embedded, a sub-architecture (e.g. SUBARCH=avr25 or SUBARCH=avr35) must be defined)
  194. endif
  195. override FPCOPT+=-Cp$(SUBARCH)
  196. endif
  197. ifeq ($(FULL_TARGET),mipsel-embedded)
  198. ifeq ($(SUBARCH),)
  199. $(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic32mx) must be defined)
  200. endif
  201. override FPCOPT+=-Cp$(SUBARCH)
  202. endif
  203. ifeq ($(FULL_TARGET),xtensa-embedded)
  204. ifeq ($(SUBARCH),)
  205. $(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
  206. endif
  207. override FPCOPT+=-Cp$(SUBARCH)
  208. endif
  209. ifeq ($(FULL_TARGET),xtensa-freertos)
  210. ifeq ($(SUBARCH),)
  211. $(error When compiling for xtensa-freertos, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
  212. endif
  213. override FPCOPT+=-Cp$(SUBARCH)
  214. endif
  215. ifeq ($(FULL_TARGET),arm-freertos)
  216. ifeq ($(SUBARCH),)
  217. $(error When compiling for arm-freertos, a sub-architecture (e.g. SUBARCH=armv6m or SUBARCH=armv7em) must be defined)
  218. endif
  219. override FPCOPT+=-Cp$(SUBARCH)
  220. endif
  221. ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
  222. TARGETSUFFIX=$(OS_TARGET)
  223. SOURCESUFFIX=$(OS_SOURCE)
  224. else
  225. ifneq ($(filter $(OS_TARGET),$(LIMIT83fs)),)
  226. TARGETSUFFIX=$(OS_TARGET)
  227. else
  228. TARGETSUFFIX=$(FULL_TARGET)
  229. endif
  230. SOURCESUFFIX=$(FULL_SOURCE)
  231. endif
  232. ifneq ($(FULL_TARGET),$(FULL_SOURCE))
  233. CROSSCOMPILE=1
  234. endif
  235. ifeq ($(findstring makefile,$(MAKECMDGOALS)),)
  236. ifeq ($(filter $(FULL_TARGET),$(MAKEFILETARGETS)),)
  237. $(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first)
  238. endif
  239. endif
  240. ifneq ($(filter $(OS_TARGET),$(BSDs)),)
  241. BSDhier=1
  242. endif
  243. ifeq ($(OS_TARGET),linux)
  244. linuxHier=1
  245. endif
  246. ifndef CROSSCOMPILE
  247. BUILDFULLNATIVE=1
  248. export BUILDFULLNATIVE
  249. endif
  250. ifdef BUILDFULLNATIVE
  251. BUILDNATIVE=1
  252. export BUILDNATIVE
  253. endif
  254. export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE
  255. ifdef FPCDIR
  256. override FPCDIR:=$(subst \,/,$(FPCDIR))
  257. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  258. override FPCDIR=wrong
  259. endif
  260. else
  261. override FPCDIR=wrong
  262. endif
  263. ifdef DEFAULT_FPCDIR
  264. ifeq ($(FPCDIR),wrong)
  265. override FPCDIR:=$(subst \,/,$(DEFAULT_FPCDIR))
  266. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  267. override FPCDIR=wrong
  268. endif
  269. endif
  270. endif
  271. ifeq ($(FPCDIR),wrong)
  272. ifdef inUnix
  273. override FPCDIR=/usr/local/lib/fpc/$(FPC_VERSION)
  274. ifeq ($(wildcard $(FPCDIR)/units),)
  275. override FPCDIR=/usr/lib/fpc/$(FPC_VERSION)
  276. endif
  277. else
  278. override FPCDIR:=$(subst /$(FPC),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))))
  279. override FPCDIR:=$(FPCDIR)/..
  280. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  281. override FPCDIR:=$(FPCDIR)/..
  282. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  283. override FPCDIR:=$(BASEDIR)
  284. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  285. override FPCDIR=c:/pp
  286. endif
  287. endif
  288. endif
  289. endif
  290. endif
  291. ifndef CROSSBINDIR
  292. CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX))
  293. endif
  294. ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
  295. ifneq ($(filter $(OS_SOURCE),darwin ios),)
  296. DARWIN2DARWIN=1
  297. endif
  298. endif
  299. ifndef BINUTILSPREFIX
  300. ifndef CROSSBINDIR
  301. ifdef CROSSCOMPILE
  302. ifneq ($(OS_TARGET),msdos)
  303. ifndef DARWIN2DARWIN
  304. ifneq ($(CPU_TARGET),jvm)
  305. BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
  306. ifeq ($(OS_TARGET),android)
  307. ifeq ($(CPU_TARGET),arm)
  308. BINUTILSPREFIX=arm-linux-androideabi-
  309. else
  310. ifeq ($(CPU_TARGET),i386)
  311. BINUTILSPREFIX=i686-linux-android-
  312. else
  313. BINUTILSPREFIX=$(CPU_TARGET)-linux-android-
  314. endif
  315. endif
  316. endif
  317. endif
  318. endif
  319. else
  320. BINUTILSPREFIX=$(OS_TARGET)-
  321. endif
  322. endif
  323. endif
  324. endif
  325. UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
  326. ifeq ($(UNITSDIR),)
  327. UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
  328. endif
  329. PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages)
  330. ifndef FPCFPMAKE
  331. ifdef CROSSCOMPILE
  332. ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),)
  333. FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
  334. ifneq ($(FPCPROG),)
  335. FPCPROG:=$(firstword $(FPCPROG))
  336. FPCFPMAKE:=$(shell $(FPCPROG) -PB)
  337. ifeq ($(strip $(wildcard $(FPCFPMAKE))),)
  338. FPCFPMAKE:=$(firstword $(FPCPROG))
  339. endif
  340. else
  341. override FPCFPMAKE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  342. endif
  343. else
  344. FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR))))
  345. FPMAKE_SKIP_CONFIG=-n
  346. export FPCFPMAKE
  347. export FPMAKE_SKIP_CONFIG
  348. endif
  349. else
  350. FPMAKE_SKIP_CONFIG=-n
  351. FPCFPMAKE=$(FPC)
  352. endif
  353. endif
  354. override PACKAGE_NAME=rtl
  355. PACKAGEDIR_MAIN:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
  356. RTL=..
  357. INC=$(RTL)/inc
  358. COMMON=$(RTL)/common
  359. PROCINC=$(RTL)/$(CPU_TARGET)
  360. UNITPREFIX=rtl
  361. LOADERS=
  362. SYSTEMUNIT=system
  363. ifdef RELEASE
  364. override FPCOPT+=-Ur
  365. endif
  366. OBJPASDIR=$(RTL)/objpas
  367. ifeq ($(FULL_TARGET),i386-linux)
  368. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  369. endif
  370. ifeq ($(FULL_TARGET),i386-go32v2)
  371. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  372. endif
  373. ifeq ($(FULL_TARGET),i386-win32)
  374. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  375. endif
  376. ifeq ($(FULL_TARGET),i386-os2)
  377. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  378. endif
  379. ifeq ($(FULL_TARGET),i386-freebsd)
  380. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  381. endif
  382. ifeq ($(FULL_TARGET),i386-beos)
  383. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  384. endif
  385. ifeq ($(FULL_TARGET),i386-haiku)
  386. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  387. endif
  388. ifeq ($(FULL_TARGET),i386-netbsd)
  389. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  390. endif
  391. ifeq ($(FULL_TARGET),i386-solaris)
  392. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  393. endif
  394. ifeq ($(FULL_TARGET),i386-netware)
  395. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  396. endif
  397. ifeq ($(FULL_TARGET),i386-openbsd)
  398. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  399. endif
  400. ifeq ($(FULL_TARGET),i386-wdosx)
  401. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  402. endif
  403. ifeq ($(FULL_TARGET),i386-darwin)
  404. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  405. endif
  406. ifeq ($(FULL_TARGET),i386-emx)
  407. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  408. endif
  409. ifeq ($(FULL_TARGET),i386-watcom)
  410. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  411. endif
  412. ifeq ($(FULL_TARGET),i386-netwlibc)
  413. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  414. endif
  415. ifeq ($(FULL_TARGET),i386-wince)
  416. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  417. endif
  418. ifeq ($(FULL_TARGET),i386-embedded)
  419. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  420. endif
  421. ifeq ($(FULL_TARGET),i386-symbian)
  422. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  423. endif
  424. ifeq ($(FULL_TARGET),i386-nativent)
  425. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  426. endif
  427. ifeq ($(FULL_TARGET),i386-iphonesim)
  428. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  429. endif
  430. ifeq ($(FULL_TARGET),i386-android)
  431. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  432. endif
  433. ifeq ($(FULL_TARGET),i386-aros)
  434. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  435. endif
  436. ifeq ($(FULL_TARGET),m68k-linux)
  437. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  438. endif
  439. ifeq ($(FULL_TARGET),m68k-netbsd)
  440. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  441. endif
  442. ifeq ($(FULL_TARGET),m68k-amiga)
  443. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  444. endif
  445. ifeq ($(FULL_TARGET),m68k-atari)
  446. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  447. endif
  448. ifeq ($(FULL_TARGET),m68k-palmos)
  449. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  450. endif
  451. ifeq ($(FULL_TARGET),m68k-macosclassic)
  452. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  453. endif
  454. ifeq ($(FULL_TARGET),m68k-embedded)
  455. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  456. endif
  457. ifeq ($(FULL_TARGET),m68k-sinclairql)
  458. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  459. endif
  460. ifeq ($(FULL_TARGET),powerpc-linux)
  461. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  462. endif
  463. ifeq ($(FULL_TARGET),powerpc-netbsd)
  464. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  465. endif
  466. ifeq ($(FULL_TARGET),powerpc-amiga)
  467. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  468. endif
  469. ifeq ($(FULL_TARGET),powerpc-macosclassic)
  470. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  471. endif
  472. ifeq ($(FULL_TARGET),powerpc-darwin)
  473. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  474. endif
  475. ifeq ($(FULL_TARGET),powerpc-morphos)
  476. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  477. endif
  478. ifeq ($(FULL_TARGET),powerpc-embedded)
  479. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  480. endif
  481. ifeq ($(FULL_TARGET),powerpc-wii)
  482. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  483. endif
  484. ifeq ($(FULL_TARGET),powerpc-aix)
  485. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  486. endif
  487. ifeq ($(FULL_TARGET),sparc-linux)
  488. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  489. endif
  490. ifeq ($(FULL_TARGET),sparc-netbsd)
  491. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  492. endif
  493. ifeq ($(FULL_TARGET),sparc-solaris)
  494. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  495. endif
  496. ifeq ($(FULL_TARGET),sparc-embedded)
  497. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  498. endif
  499. ifeq ($(FULL_TARGET),x86_64-linux)
  500. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  501. endif
  502. ifeq ($(FULL_TARGET),x86_64-freebsd)
  503. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  504. endif
  505. ifeq ($(FULL_TARGET),x86_64-haiku)
  506. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  507. endif
  508. ifeq ($(FULL_TARGET),x86_64-netbsd)
  509. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  510. endif
  511. ifeq ($(FULL_TARGET),x86_64-solaris)
  512. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  513. endif
  514. ifeq ($(FULL_TARGET),x86_64-openbsd)
  515. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  516. endif
  517. ifeq ($(FULL_TARGET),x86_64-darwin)
  518. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  519. endif
  520. ifeq ($(FULL_TARGET),x86_64-win64)
  521. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  522. endif
  523. ifeq ($(FULL_TARGET),x86_64-embedded)
  524. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  525. endif
  526. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  527. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  528. endif
  529. ifeq ($(FULL_TARGET),x86_64-android)
  530. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  531. endif
  532. ifeq ($(FULL_TARGET),x86_64-aros)
  533. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  534. endif
  535. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  536. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  537. endif
  538. ifeq ($(FULL_TARGET),arm-linux)
  539. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  540. endif
  541. ifeq ($(FULL_TARGET),arm-netbsd)
  542. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  543. endif
  544. ifeq ($(FULL_TARGET),arm-palmos)
  545. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  546. endif
  547. ifeq ($(FULL_TARGET),arm-wince)
  548. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  549. endif
  550. ifeq ($(FULL_TARGET),arm-gba)
  551. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  552. endif
  553. ifeq ($(FULL_TARGET),arm-nds)
  554. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  555. endif
  556. ifeq ($(FULL_TARGET),arm-embedded)
  557. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  558. endif
  559. ifeq ($(FULL_TARGET),arm-symbian)
  560. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  561. endif
  562. ifeq ($(FULL_TARGET),arm-android)
  563. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  564. endif
  565. ifeq ($(FULL_TARGET),arm-aros)
  566. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  567. endif
  568. ifeq ($(FULL_TARGET),arm-freertos)
  569. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  570. endif
  571. ifeq ($(FULL_TARGET),arm-ios)
  572. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  573. endif
  574. ifeq ($(FULL_TARGET),powerpc64-linux)
  575. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  576. endif
  577. ifeq ($(FULL_TARGET),powerpc64-darwin)
  578. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  579. endif
  580. ifeq ($(FULL_TARGET),powerpc64-embedded)
  581. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  582. endif
  583. ifeq ($(FULL_TARGET),powerpc64-aix)
  584. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  585. endif
  586. ifeq ($(FULL_TARGET),avr-embedded)
  587. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  588. endif
  589. ifeq ($(FULL_TARGET),armeb-linux)
  590. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  591. endif
  592. ifeq ($(FULL_TARGET),armeb-embedded)
  593. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  594. endif
  595. ifeq ($(FULL_TARGET),mips-linux)
  596. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  597. endif
  598. ifeq ($(FULL_TARGET),mipsel-linux)
  599. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  600. endif
  601. ifeq ($(FULL_TARGET),mipsel-embedded)
  602. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  603. endif
  604. ifeq ($(FULL_TARGET),mipsel-android)
  605. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  606. endif
  607. ifeq ($(FULL_TARGET),mips64-linux)
  608. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  609. endif
  610. ifeq ($(FULL_TARGET),mips64el-linux)
  611. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  612. endif
  613. ifeq ($(FULL_TARGET),jvm-java)
  614. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  615. endif
  616. ifeq ($(FULL_TARGET),jvm-android)
  617. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  618. endif
  619. ifeq ($(FULL_TARGET),i8086-embedded)
  620. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  621. endif
  622. ifeq ($(FULL_TARGET),i8086-msdos)
  623. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  624. endif
  625. ifeq ($(FULL_TARGET),i8086-win16)
  626. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  627. endif
  628. ifeq ($(FULL_TARGET),aarch64-linux)
  629. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  630. endif
  631. ifeq ($(FULL_TARGET),aarch64-freebsd)
  632. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  633. endif
  634. ifeq ($(FULL_TARGET),aarch64-darwin)
  635. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  636. endif
  637. ifeq ($(FULL_TARGET),aarch64-win64)
  638. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  639. endif
  640. ifeq ($(FULL_TARGET),aarch64-embedded)
  641. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  642. endif
  643. ifeq ($(FULL_TARGET),aarch64-android)
  644. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  645. endif
  646. ifeq ($(FULL_TARGET),aarch64-ios)
  647. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  648. endif
  649. ifeq ($(FULL_TARGET),wasm32-embedded)
  650. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  651. endif
  652. ifeq ($(FULL_TARGET),wasm32-wasi)
  653. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  654. endif
  655. ifeq ($(FULL_TARGET),sparc64-linux)
  656. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  657. endif
  658. ifeq ($(FULL_TARGET),riscv32-linux)
  659. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  660. endif
  661. ifeq ($(FULL_TARGET),riscv32-embedded)
  662. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  663. endif
  664. ifeq ($(FULL_TARGET),riscv64-linux)
  665. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  666. endif
  667. ifeq ($(FULL_TARGET),riscv64-embedded)
  668. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  669. endif
  670. ifeq ($(FULL_TARGET),xtensa-linux)
  671. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  672. endif
  673. ifeq ($(FULL_TARGET),xtensa-embedded)
  674. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  675. endif
  676. ifeq ($(FULL_TARGET),xtensa-freertos)
  677. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  678. endif
  679. ifeq ($(FULL_TARGET),z80-embedded)
  680. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  681. endif
  682. ifeq ($(FULL_TARGET),z80-zxspectrum)
  683. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  684. endif
  685. ifeq ($(FULL_TARGET),z80-msxdos)
  686. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  687. endif
  688. ifeq ($(FULL_TARGET),z80-amstradcpc)
  689. override TARGET_UNITS+=$(SYSTEMUNIT) fpextres uuchar objpas macpas iso7185 buildrtl cpall
  690. endif
  691. ifeq ($(FULL_TARGET),i386-linux)
  692. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  693. endif
  694. ifeq ($(FULL_TARGET),i386-go32v2)
  695. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  696. endif
  697. ifeq ($(FULL_TARGET),i386-win32)
  698. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  699. endif
  700. ifeq ($(FULL_TARGET),i386-os2)
  701. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  702. endif
  703. ifeq ($(FULL_TARGET),i386-freebsd)
  704. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  705. endif
  706. ifeq ($(FULL_TARGET),i386-beos)
  707. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  708. endif
  709. ifeq ($(FULL_TARGET),i386-haiku)
  710. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  711. endif
  712. ifeq ($(FULL_TARGET),i386-netbsd)
  713. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  714. endif
  715. ifeq ($(FULL_TARGET),i386-solaris)
  716. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  717. endif
  718. ifeq ($(FULL_TARGET),i386-netware)
  719. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  720. endif
  721. ifeq ($(FULL_TARGET),i386-openbsd)
  722. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  723. endif
  724. ifeq ($(FULL_TARGET),i386-wdosx)
  725. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  726. endif
  727. ifeq ($(FULL_TARGET),i386-darwin)
  728. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  729. endif
  730. ifeq ($(FULL_TARGET),i386-emx)
  731. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  732. endif
  733. ifeq ($(FULL_TARGET),i386-watcom)
  734. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  735. endif
  736. ifeq ($(FULL_TARGET),i386-netwlibc)
  737. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  738. endif
  739. ifeq ($(FULL_TARGET),i386-wince)
  740. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  741. endif
  742. ifeq ($(FULL_TARGET),i386-embedded)
  743. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  744. endif
  745. ifeq ($(FULL_TARGET),i386-symbian)
  746. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  747. endif
  748. ifeq ($(FULL_TARGET),i386-nativent)
  749. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  750. endif
  751. ifeq ($(FULL_TARGET),i386-iphonesim)
  752. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  753. endif
  754. ifeq ($(FULL_TARGET),i386-android)
  755. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  756. endif
  757. ifeq ($(FULL_TARGET),i386-aros)
  758. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  759. endif
  760. ifeq ($(FULL_TARGET),m68k-linux)
  761. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  762. endif
  763. ifeq ($(FULL_TARGET),m68k-netbsd)
  764. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  765. endif
  766. ifeq ($(FULL_TARGET),m68k-amiga)
  767. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  768. endif
  769. ifeq ($(FULL_TARGET),m68k-atari)
  770. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  771. endif
  772. ifeq ($(FULL_TARGET),m68k-palmos)
  773. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  774. endif
  775. ifeq ($(FULL_TARGET),m68k-macosclassic)
  776. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  777. endif
  778. ifeq ($(FULL_TARGET),m68k-embedded)
  779. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  780. endif
  781. ifeq ($(FULL_TARGET),m68k-sinclairql)
  782. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  783. endif
  784. ifeq ($(FULL_TARGET),powerpc-linux)
  785. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  786. endif
  787. ifeq ($(FULL_TARGET),powerpc-netbsd)
  788. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  789. endif
  790. ifeq ($(FULL_TARGET),powerpc-amiga)
  791. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  792. endif
  793. ifeq ($(FULL_TARGET),powerpc-macosclassic)
  794. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  795. endif
  796. ifeq ($(FULL_TARGET),powerpc-darwin)
  797. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  798. endif
  799. ifeq ($(FULL_TARGET),powerpc-morphos)
  800. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  801. endif
  802. ifeq ($(FULL_TARGET),powerpc-embedded)
  803. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  804. endif
  805. ifeq ($(FULL_TARGET),powerpc-wii)
  806. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  807. endif
  808. ifeq ($(FULL_TARGET),powerpc-aix)
  809. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  810. endif
  811. ifeq ($(FULL_TARGET),sparc-linux)
  812. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  813. endif
  814. ifeq ($(FULL_TARGET),sparc-netbsd)
  815. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  816. endif
  817. ifeq ($(FULL_TARGET),sparc-solaris)
  818. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  819. endif
  820. ifeq ($(FULL_TARGET),sparc-embedded)
  821. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  822. endif
  823. ifeq ($(FULL_TARGET),x86_64-linux)
  824. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  825. endif
  826. ifeq ($(FULL_TARGET),x86_64-freebsd)
  827. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  828. endif
  829. ifeq ($(FULL_TARGET),x86_64-haiku)
  830. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  831. endif
  832. ifeq ($(FULL_TARGET),x86_64-netbsd)
  833. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  834. endif
  835. ifeq ($(FULL_TARGET),x86_64-solaris)
  836. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  837. endif
  838. ifeq ($(FULL_TARGET),x86_64-openbsd)
  839. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  840. endif
  841. ifeq ($(FULL_TARGET),x86_64-darwin)
  842. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  843. endif
  844. ifeq ($(FULL_TARGET),x86_64-win64)
  845. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  846. endif
  847. ifeq ($(FULL_TARGET),x86_64-embedded)
  848. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  849. endif
  850. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  851. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  852. endif
  853. ifeq ($(FULL_TARGET),x86_64-android)
  854. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  855. endif
  856. ifeq ($(FULL_TARGET),x86_64-aros)
  857. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  858. endif
  859. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  860. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  861. endif
  862. ifeq ($(FULL_TARGET),arm-linux)
  863. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  864. endif
  865. ifeq ($(FULL_TARGET),arm-netbsd)
  866. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  867. endif
  868. ifeq ($(FULL_TARGET),arm-palmos)
  869. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  870. endif
  871. ifeq ($(FULL_TARGET),arm-wince)
  872. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  873. endif
  874. ifeq ($(FULL_TARGET),arm-gba)
  875. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  876. endif
  877. ifeq ($(FULL_TARGET),arm-nds)
  878. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  879. endif
  880. ifeq ($(FULL_TARGET),arm-embedded)
  881. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  882. endif
  883. ifeq ($(FULL_TARGET),arm-symbian)
  884. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  885. endif
  886. ifeq ($(FULL_TARGET),arm-android)
  887. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  888. endif
  889. ifeq ($(FULL_TARGET),arm-aros)
  890. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  891. endif
  892. ifeq ($(FULL_TARGET),arm-freertos)
  893. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  894. endif
  895. ifeq ($(FULL_TARGET),arm-ios)
  896. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  897. endif
  898. ifeq ($(FULL_TARGET),powerpc64-linux)
  899. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  900. endif
  901. ifeq ($(FULL_TARGET),powerpc64-darwin)
  902. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  903. endif
  904. ifeq ($(FULL_TARGET),powerpc64-embedded)
  905. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  906. endif
  907. ifeq ($(FULL_TARGET),powerpc64-aix)
  908. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  909. endif
  910. ifeq ($(FULL_TARGET),avr-embedded)
  911. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  912. endif
  913. ifeq ($(FULL_TARGET),armeb-linux)
  914. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  915. endif
  916. ifeq ($(FULL_TARGET),armeb-embedded)
  917. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  918. endif
  919. ifeq ($(FULL_TARGET),mips-linux)
  920. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  921. endif
  922. ifeq ($(FULL_TARGET),mipsel-linux)
  923. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  924. endif
  925. ifeq ($(FULL_TARGET),mipsel-embedded)
  926. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  927. endif
  928. ifeq ($(FULL_TARGET),mipsel-android)
  929. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  930. endif
  931. ifeq ($(FULL_TARGET),mips64-linux)
  932. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  933. endif
  934. ifeq ($(FULL_TARGET),mips64el-linux)
  935. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  936. endif
  937. ifeq ($(FULL_TARGET),jvm-java)
  938. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  939. endif
  940. ifeq ($(FULL_TARGET),jvm-android)
  941. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  942. endif
  943. ifeq ($(FULL_TARGET),i8086-embedded)
  944. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  945. endif
  946. ifeq ($(FULL_TARGET),i8086-msdos)
  947. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  948. endif
  949. ifeq ($(FULL_TARGET),i8086-win16)
  950. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  951. endif
  952. ifeq ($(FULL_TARGET),aarch64-linux)
  953. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  954. endif
  955. ifeq ($(FULL_TARGET),aarch64-freebsd)
  956. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  957. endif
  958. ifeq ($(FULL_TARGET),aarch64-darwin)
  959. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  960. endif
  961. ifeq ($(FULL_TARGET),aarch64-win64)
  962. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  963. endif
  964. ifeq ($(FULL_TARGET),aarch64-embedded)
  965. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  966. endif
  967. ifeq ($(FULL_TARGET),aarch64-android)
  968. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  969. endif
  970. ifeq ($(FULL_TARGET),aarch64-ios)
  971. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  972. endif
  973. ifeq ($(FULL_TARGET),wasm32-embedded)
  974. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  975. endif
  976. ifeq ($(FULL_TARGET),wasm32-wasi)
  977. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  978. endif
  979. ifeq ($(FULL_TARGET),sparc64-linux)
  980. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  981. endif
  982. ifeq ($(FULL_TARGET),riscv32-linux)
  983. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  984. endif
  985. ifeq ($(FULL_TARGET),riscv32-embedded)
  986. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  987. endif
  988. ifeq ($(FULL_TARGET),riscv64-linux)
  989. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  990. endif
  991. ifeq ($(FULL_TARGET),riscv64-embedded)
  992. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  993. endif
  994. ifeq ($(FULL_TARGET),xtensa-linux)
  995. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  996. endif
  997. ifeq ($(FULL_TARGET),xtensa-embedded)
  998. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  999. endif
  1000. ifeq ($(FULL_TARGET),xtensa-freertos)
  1001. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1002. endif
  1003. ifeq ($(FULL_TARGET),z80-embedded)
  1004. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1005. endif
  1006. ifeq ($(FULL_TARGET),z80-zxspectrum)
  1007. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1008. endif
  1009. ifeq ($(FULL_TARGET),z80-msxdos)
  1010. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1011. endif
  1012. ifeq ($(FULL_TARGET),z80-amstradcpc)
  1013. override TARGET_IMPLICITUNITS+=si_prc sysutils dos ctypes strings rtlconsts sysconst math types typinfo sortbase fgl classes charset character getopts fpwidestring cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1014. endif
  1015. ifeq ($(FULL_TARGET),i386-linux)
  1016. override TARGET_LOADERS+=$(LOADERS)
  1017. endif
  1018. ifeq ($(FULL_TARGET),i386-go32v2)
  1019. override TARGET_LOADERS+=$(LOADERS)
  1020. endif
  1021. ifeq ($(FULL_TARGET),i386-win32)
  1022. override TARGET_LOADERS+=$(LOADERS)
  1023. endif
  1024. ifeq ($(FULL_TARGET),i386-os2)
  1025. override TARGET_LOADERS+=$(LOADERS)
  1026. endif
  1027. ifeq ($(FULL_TARGET),i386-freebsd)
  1028. override TARGET_LOADERS+=$(LOADERS)
  1029. endif
  1030. ifeq ($(FULL_TARGET),i386-beos)
  1031. override TARGET_LOADERS+=$(LOADERS)
  1032. endif
  1033. ifeq ($(FULL_TARGET),i386-haiku)
  1034. override TARGET_LOADERS+=$(LOADERS)
  1035. endif
  1036. ifeq ($(FULL_TARGET),i386-netbsd)
  1037. override TARGET_LOADERS+=$(LOADERS)
  1038. endif
  1039. ifeq ($(FULL_TARGET),i386-solaris)
  1040. override TARGET_LOADERS+=$(LOADERS)
  1041. endif
  1042. ifeq ($(FULL_TARGET),i386-netware)
  1043. override TARGET_LOADERS+=$(LOADERS)
  1044. endif
  1045. ifeq ($(FULL_TARGET),i386-openbsd)
  1046. override TARGET_LOADERS+=$(LOADERS)
  1047. endif
  1048. ifeq ($(FULL_TARGET),i386-wdosx)
  1049. override TARGET_LOADERS+=$(LOADERS)
  1050. endif
  1051. ifeq ($(FULL_TARGET),i386-darwin)
  1052. override TARGET_LOADERS+=$(LOADERS)
  1053. endif
  1054. ifeq ($(FULL_TARGET),i386-emx)
  1055. override TARGET_LOADERS+=$(LOADERS)
  1056. endif
  1057. ifeq ($(FULL_TARGET),i386-watcom)
  1058. override TARGET_LOADERS+=$(LOADERS)
  1059. endif
  1060. ifeq ($(FULL_TARGET),i386-netwlibc)
  1061. override TARGET_LOADERS+=$(LOADERS)
  1062. endif
  1063. ifeq ($(FULL_TARGET),i386-wince)
  1064. override TARGET_LOADERS+=$(LOADERS)
  1065. endif
  1066. ifeq ($(FULL_TARGET),i386-embedded)
  1067. override TARGET_LOADERS+=$(LOADERS)
  1068. endif
  1069. ifeq ($(FULL_TARGET),i386-symbian)
  1070. override TARGET_LOADERS+=$(LOADERS)
  1071. endif
  1072. ifeq ($(FULL_TARGET),i386-nativent)
  1073. override TARGET_LOADERS+=$(LOADERS)
  1074. endif
  1075. ifeq ($(FULL_TARGET),i386-iphonesim)
  1076. override TARGET_LOADERS+=$(LOADERS)
  1077. endif
  1078. ifeq ($(FULL_TARGET),i386-android)
  1079. override TARGET_LOADERS+=$(LOADERS)
  1080. endif
  1081. ifeq ($(FULL_TARGET),i386-aros)
  1082. override TARGET_LOADERS+=$(LOADERS)
  1083. endif
  1084. ifeq ($(FULL_TARGET),m68k-linux)
  1085. override TARGET_LOADERS+=$(LOADERS)
  1086. endif
  1087. ifeq ($(FULL_TARGET),m68k-netbsd)
  1088. override TARGET_LOADERS+=$(LOADERS)
  1089. endif
  1090. ifeq ($(FULL_TARGET),m68k-amiga)
  1091. override TARGET_LOADERS+=$(LOADERS)
  1092. endif
  1093. ifeq ($(FULL_TARGET),m68k-atari)
  1094. override TARGET_LOADERS+=$(LOADERS)
  1095. endif
  1096. ifeq ($(FULL_TARGET),m68k-palmos)
  1097. override TARGET_LOADERS+=$(LOADERS)
  1098. endif
  1099. ifeq ($(FULL_TARGET),m68k-macosclassic)
  1100. override TARGET_LOADERS+=$(LOADERS)
  1101. endif
  1102. ifeq ($(FULL_TARGET),m68k-embedded)
  1103. override TARGET_LOADERS+=$(LOADERS)
  1104. endif
  1105. ifeq ($(FULL_TARGET),m68k-sinclairql)
  1106. override TARGET_LOADERS+=$(LOADERS)
  1107. endif
  1108. ifeq ($(FULL_TARGET),powerpc-linux)
  1109. override TARGET_LOADERS+=$(LOADERS)
  1110. endif
  1111. ifeq ($(FULL_TARGET),powerpc-netbsd)
  1112. override TARGET_LOADERS+=$(LOADERS)
  1113. endif
  1114. ifeq ($(FULL_TARGET),powerpc-amiga)
  1115. override TARGET_LOADERS+=$(LOADERS)
  1116. endif
  1117. ifeq ($(FULL_TARGET),powerpc-macosclassic)
  1118. override TARGET_LOADERS+=$(LOADERS)
  1119. endif
  1120. ifeq ($(FULL_TARGET),powerpc-darwin)
  1121. override TARGET_LOADERS+=$(LOADERS)
  1122. endif
  1123. ifeq ($(FULL_TARGET),powerpc-morphos)
  1124. override TARGET_LOADERS+=$(LOADERS)
  1125. endif
  1126. ifeq ($(FULL_TARGET),powerpc-embedded)
  1127. override TARGET_LOADERS+=$(LOADERS)
  1128. endif
  1129. ifeq ($(FULL_TARGET),powerpc-wii)
  1130. override TARGET_LOADERS+=$(LOADERS)
  1131. endif
  1132. ifeq ($(FULL_TARGET),powerpc-aix)
  1133. override TARGET_LOADERS+=$(LOADERS)
  1134. endif
  1135. ifeq ($(FULL_TARGET),sparc-linux)
  1136. override TARGET_LOADERS+=$(LOADERS)
  1137. endif
  1138. ifeq ($(FULL_TARGET),sparc-netbsd)
  1139. override TARGET_LOADERS+=$(LOADERS)
  1140. endif
  1141. ifeq ($(FULL_TARGET),sparc-solaris)
  1142. override TARGET_LOADERS+=$(LOADERS)
  1143. endif
  1144. ifeq ($(FULL_TARGET),sparc-embedded)
  1145. override TARGET_LOADERS+=$(LOADERS)
  1146. endif
  1147. ifeq ($(FULL_TARGET),x86_64-linux)
  1148. override TARGET_LOADERS+=$(LOADERS)
  1149. endif
  1150. ifeq ($(FULL_TARGET),x86_64-freebsd)
  1151. override TARGET_LOADERS+=$(LOADERS)
  1152. endif
  1153. ifeq ($(FULL_TARGET),x86_64-haiku)
  1154. override TARGET_LOADERS+=$(LOADERS)
  1155. endif
  1156. ifeq ($(FULL_TARGET),x86_64-netbsd)
  1157. override TARGET_LOADERS+=$(LOADERS)
  1158. endif
  1159. ifeq ($(FULL_TARGET),x86_64-solaris)
  1160. override TARGET_LOADERS+=$(LOADERS)
  1161. endif
  1162. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1163. override TARGET_LOADERS+=$(LOADERS)
  1164. endif
  1165. ifeq ($(FULL_TARGET),x86_64-darwin)
  1166. override TARGET_LOADERS+=$(LOADERS)
  1167. endif
  1168. ifeq ($(FULL_TARGET),x86_64-win64)
  1169. override TARGET_LOADERS+=$(LOADERS)
  1170. endif
  1171. ifeq ($(FULL_TARGET),x86_64-embedded)
  1172. override TARGET_LOADERS+=$(LOADERS)
  1173. endif
  1174. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1175. override TARGET_LOADERS+=$(LOADERS)
  1176. endif
  1177. ifeq ($(FULL_TARGET),x86_64-android)
  1178. override TARGET_LOADERS+=$(LOADERS)
  1179. endif
  1180. ifeq ($(FULL_TARGET),x86_64-aros)
  1181. override TARGET_LOADERS+=$(LOADERS)
  1182. endif
  1183. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1184. override TARGET_LOADERS+=$(LOADERS)
  1185. endif
  1186. ifeq ($(FULL_TARGET),arm-linux)
  1187. override TARGET_LOADERS+=$(LOADERS)
  1188. endif
  1189. ifeq ($(FULL_TARGET),arm-netbsd)
  1190. override TARGET_LOADERS+=$(LOADERS)
  1191. endif
  1192. ifeq ($(FULL_TARGET),arm-palmos)
  1193. override TARGET_LOADERS+=$(LOADERS)
  1194. endif
  1195. ifeq ($(FULL_TARGET),arm-wince)
  1196. override TARGET_LOADERS+=$(LOADERS)
  1197. endif
  1198. ifeq ($(FULL_TARGET),arm-gba)
  1199. override TARGET_LOADERS+=$(LOADERS)
  1200. endif
  1201. ifeq ($(FULL_TARGET),arm-nds)
  1202. override TARGET_LOADERS+=$(LOADERS)
  1203. endif
  1204. ifeq ($(FULL_TARGET),arm-embedded)
  1205. override TARGET_LOADERS+=$(LOADERS)
  1206. endif
  1207. ifeq ($(FULL_TARGET),arm-symbian)
  1208. override TARGET_LOADERS+=$(LOADERS)
  1209. endif
  1210. ifeq ($(FULL_TARGET),arm-android)
  1211. override TARGET_LOADERS+=$(LOADERS)
  1212. endif
  1213. ifeq ($(FULL_TARGET),arm-aros)
  1214. override TARGET_LOADERS+=$(LOADERS)
  1215. endif
  1216. ifeq ($(FULL_TARGET),arm-freertos)
  1217. override TARGET_LOADERS+=$(LOADERS)
  1218. endif
  1219. ifeq ($(FULL_TARGET),arm-ios)
  1220. override TARGET_LOADERS+=$(LOADERS)
  1221. endif
  1222. ifeq ($(FULL_TARGET),powerpc64-linux)
  1223. override TARGET_LOADERS+=$(LOADERS)
  1224. endif
  1225. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1226. override TARGET_LOADERS+=$(LOADERS)
  1227. endif
  1228. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1229. override TARGET_LOADERS+=$(LOADERS)
  1230. endif
  1231. ifeq ($(FULL_TARGET),powerpc64-aix)
  1232. override TARGET_LOADERS+=$(LOADERS)
  1233. endif
  1234. ifeq ($(FULL_TARGET),avr-embedded)
  1235. override TARGET_LOADERS+=$(LOADERS)
  1236. endif
  1237. ifeq ($(FULL_TARGET),armeb-linux)
  1238. override TARGET_LOADERS+=$(LOADERS)
  1239. endif
  1240. ifeq ($(FULL_TARGET),armeb-embedded)
  1241. override TARGET_LOADERS+=$(LOADERS)
  1242. endif
  1243. ifeq ($(FULL_TARGET),mips-linux)
  1244. override TARGET_LOADERS+=$(LOADERS)
  1245. endif
  1246. ifeq ($(FULL_TARGET),mipsel-linux)
  1247. override TARGET_LOADERS+=$(LOADERS)
  1248. endif
  1249. ifeq ($(FULL_TARGET),mipsel-embedded)
  1250. override TARGET_LOADERS+=$(LOADERS)
  1251. endif
  1252. ifeq ($(FULL_TARGET),mipsel-android)
  1253. override TARGET_LOADERS+=$(LOADERS)
  1254. endif
  1255. ifeq ($(FULL_TARGET),mips64-linux)
  1256. override TARGET_LOADERS+=$(LOADERS)
  1257. endif
  1258. ifeq ($(FULL_TARGET),mips64el-linux)
  1259. override TARGET_LOADERS+=$(LOADERS)
  1260. endif
  1261. ifeq ($(FULL_TARGET),jvm-java)
  1262. override TARGET_LOADERS+=$(LOADERS)
  1263. endif
  1264. ifeq ($(FULL_TARGET),jvm-android)
  1265. override TARGET_LOADERS+=$(LOADERS)
  1266. endif
  1267. ifeq ($(FULL_TARGET),i8086-embedded)
  1268. override TARGET_LOADERS+=$(LOADERS)
  1269. endif
  1270. ifeq ($(FULL_TARGET),i8086-msdos)
  1271. override TARGET_LOADERS+=$(LOADERS)
  1272. endif
  1273. ifeq ($(FULL_TARGET),i8086-win16)
  1274. override TARGET_LOADERS+=$(LOADERS)
  1275. endif
  1276. ifeq ($(FULL_TARGET),aarch64-linux)
  1277. override TARGET_LOADERS+=$(LOADERS)
  1278. endif
  1279. ifeq ($(FULL_TARGET),aarch64-freebsd)
  1280. override TARGET_LOADERS+=$(LOADERS)
  1281. endif
  1282. ifeq ($(FULL_TARGET),aarch64-darwin)
  1283. override TARGET_LOADERS+=$(LOADERS)
  1284. endif
  1285. ifeq ($(FULL_TARGET),aarch64-win64)
  1286. override TARGET_LOADERS+=$(LOADERS)
  1287. endif
  1288. ifeq ($(FULL_TARGET),aarch64-embedded)
  1289. override TARGET_LOADERS+=$(LOADERS)
  1290. endif
  1291. ifeq ($(FULL_TARGET),aarch64-android)
  1292. override TARGET_LOADERS+=$(LOADERS)
  1293. endif
  1294. ifeq ($(FULL_TARGET),aarch64-ios)
  1295. override TARGET_LOADERS+=$(LOADERS)
  1296. endif
  1297. ifeq ($(FULL_TARGET),wasm32-embedded)
  1298. override TARGET_LOADERS+=$(LOADERS)
  1299. endif
  1300. ifeq ($(FULL_TARGET),wasm32-wasi)
  1301. override TARGET_LOADERS+=$(LOADERS)
  1302. endif
  1303. ifeq ($(FULL_TARGET),sparc64-linux)
  1304. override TARGET_LOADERS+=$(LOADERS)
  1305. endif
  1306. ifeq ($(FULL_TARGET),riscv32-linux)
  1307. override TARGET_LOADERS+=$(LOADERS)
  1308. endif
  1309. ifeq ($(FULL_TARGET),riscv32-embedded)
  1310. override TARGET_LOADERS+=$(LOADERS)
  1311. endif
  1312. ifeq ($(FULL_TARGET),riscv64-linux)
  1313. override TARGET_LOADERS+=$(LOADERS)
  1314. endif
  1315. ifeq ($(FULL_TARGET),riscv64-embedded)
  1316. override TARGET_LOADERS+=$(LOADERS)
  1317. endif
  1318. ifeq ($(FULL_TARGET),xtensa-linux)
  1319. override TARGET_LOADERS+=$(LOADERS)
  1320. endif
  1321. ifeq ($(FULL_TARGET),xtensa-embedded)
  1322. override TARGET_LOADERS+=$(LOADERS)
  1323. endif
  1324. ifeq ($(FULL_TARGET),xtensa-freertos)
  1325. override TARGET_LOADERS+=$(LOADERS)
  1326. endif
  1327. ifeq ($(FULL_TARGET),z80-embedded)
  1328. override TARGET_LOADERS+=$(LOADERS)
  1329. endif
  1330. ifeq ($(FULL_TARGET),z80-zxspectrum)
  1331. override TARGET_LOADERS+=$(LOADERS)
  1332. endif
  1333. ifeq ($(FULL_TARGET),z80-msxdos)
  1334. override TARGET_LOADERS+=$(LOADERS)
  1335. endif
  1336. ifeq ($(FULL_TARGET),z80-amstradcpc)
  1337. override TARGET_LOADERS+=$(LOADERS)
  1338. endif
  1339. ifeq ($(FULL_TARGET),i386-linux)
  1340. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1341. endif
  1342. ifeq ($(FULL_TARGET),i386-go32v2)
  1343. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1344. endif
  1345. ifeq ($(FULL_TARGET),i386-win32)
  1346. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1347. endif
  1348. ifeq ($(FULL_TARGET),i386-os2)
  1349. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1350. endif
  1351. ifeq ($(FULL_TARGET),i386-freebsd)
  1352. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1353. endif
  1354. ifeq ($(FULL_TARGET),i386-beos)
  1355. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1356. endif
  1357. ifeq ($(FULL_TARGET),i386-haiku)
  1358. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1359. endif
  1360. ifeq ($(FULL_TARGET),i386-netbsd)
  1361. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1362. endif
  1363. ifeq ($(FULL_TARGET),i386-solaris)
  1364. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1365. endif
  1366. ifeq ($(FULL_TARGET),i386-netware)
  1367. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1368. endif
  1369. ifeq ($(FULL_TARGET),i386-openbsd)
  1370. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1371. endif
  1372. ifeq ($(FULL_TARGET),i386-wdosx)
  1373. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1374. endif
  1375. ifeq ($(FULL_TARGET),i386-darwin)
  1376. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1377. endif
  1378. ifeq ($(FULL_TARGET),i386-emx)
  1379. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1380. endif
  1381. ifeq ($(FULL_TARGET),i386-watcom)
  1382. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1383. endif
  1384. ifeq ($(FULL_TARGET),i386-netwlibc)
  1385. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1386. endif
  1387. ifeq ($(FULL_TARGET),i386-wince)
  1388. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1389. endif
  1390. ifeq ($(FULL_TARGET),i386-embedded)
  1391. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1392. endif
  1393. ifeq ($(FULL_TARGET),i386-symbian)
  1394. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1395. endif
  1396. ifeq ($(FULL_TARGET),i386-nativent)
  1397. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1398. endif
  1399. ifeq ($(FULL_TARGET),i386-iphonesim)
  1400. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1401. endif
  1402. ifeq ($(FULL_TARGET),i386-android)
  1403. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1404. endif
  1405. ifeq ($(FULL_TARGET),i386-aros)
  1406. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1407. endif
  1408. ifeq ($(FULL_TARGET),m68k-linux)
  1409. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1410. endif
  1411. ifeq ($(FULL_TARGET),m68k-netbsd)
  1412. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1413. endif
  1414. ifeq ($(FULL_TARGET),m68k-amiga)
  1415. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1416. endif
  1417. ifeq ($(FULL_TARGET),m68k-atari)
  1418. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1419. endif
  1420. ifeq ($(FULL_TARGET),m68k-palmos)
  1421. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1422. endif
  1423. ifeq ($(FULL_TARGET),m68k-macosclassic)
  1424. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1425. endif
  1426. ifeq ($(FULL_TARGET),m68k-embedded)
  1427. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1428. endif
  1429. ifeq ($(FULL_TARGET),m68k-sinclairql)
  1430. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1431. endif
  1432. ifeq ($(FULL_TARGET),powerpc-linux)
  1433. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1434. endif
  1435. ifeq ($(FULL_TARGET),powerpc-netbsd)
  1436. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1437. endif
  1438. ifeq ($(FULL_TARGET),powerpc-amiga)
  1439. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1440. endif
  1441. ifeq ($(FULL_TARGET),powerpc-macosclassic)
  1442. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1443. endif
  1444. ifeq ($(FULL_TARGET),powerpc-darwin)
  1445. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1446. endif
  1447. ifeq ($(FULL_TARGET),powerpc-morphos)
  1448. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1449. endif
  1450. ifeq ($(FULL_TARGET),powerpc-embedded)
  1451. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1452. endif
  1453. ifeq ($(FULL_TARGET),powerpc-wii)
  1454. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1455. endif
  1456. ifeq ($(FULL_TARGET),powerpc-aix)
  1457. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1458. endif
  1459. ifeq ($(FULL_TARGET),sparc-linux)
  1460. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1461. endif
  1462. ifeq ($(FULL_TARGET),sparc-netbsd)
  1463. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1464. endif
  1465. ifeq ($(FULL_TARGET),sparc-solaris)
  1466. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1467. endif
  1468. ifeq ($(FULL_TARGET),sparc-embedded)
  1469. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1470. endif
  1471. ifeq ($(FULL_TARGET),x86_64-linux)
  1472. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1473. endif
  1474. ifeq ($(FULL_TARGET),x86_64-freebsd)
  1475. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1476. endif
  1477. ifeq ($(FULL_TARGET),x86_64-haiku)
  1478. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1479. endif
  1480. ifeq ($(FULL_TARGET),x86_64-netbsd)
  1481. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1482. endif
  1483. ifeq ($(FULL_TARGET),x86_64-solaris)
  1484. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1485. endif
  1486. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1487. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1488. endif
  1489. ifeq ($(FULL_TARGET),x86_64-darwin)
  1490. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1491. endif
  1492. ifeq ($(FULL_TARGET),x86_64-win64)
  1493. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1494. endif
  1495. ifeq ($(FULL_TARGET),x86_64-embedded)
  1496. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1497. endif
  1498. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1499. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1500. endif
  1501. ifeq ($(FULL_TARGET),x86_64-android)
  1502. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1503. endif
  1504. ifeq ($(FULL_TARGET),x86_64-aros)
  1505. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1506. endif
  1507. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1508. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1509. endif
  1510. ifeq ($(FULL_TARGET),arm-linux)
  1511. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1512. endif
  1513. ifeq ($(FULL_TARGET),arm-netbsd)
  1514. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1515. endif
  1516. ifeq ($(FULL_TARGET),arm-palmos)
  1517. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1518. endif
  1519. ifeq ($(FULL_TARGET),arm-wince)
  1520. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1521. endif
  1522. ifeq ($(FULL_TARGET),arm-gba)
  1523. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1524. endif
  1525. ifeq ($(FULL_TARGET),arm-nds)
  1526. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1527. endif
  1528. ifeq ($(FULL_TARGET),arm-embedded)
  1529. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1530. endif
  1531. ifeq ($(FULL_TARGET),arm-symbian)
  1532. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1533. endif
  1534. ifeq ($(FULL_TARGET),arm-android)
  1535. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1536. endif
  1537. ifeq ($(FULL_TARGET),arm-aros)
  1538. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1539. endif
  1540. ifeq ($(FULL_TARGET),arm-freertos)
  1541. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1542. endif
  1543. ifeq ($(FULL_TARGET),arm-ios)
  1544. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1545. endif
  1546. ifeq ($(FULL_TARGET),powerpc64-linux)
  1547. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1548. endif
  1549. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1550. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1551. endif
  1552. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1553. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1554. endif
  1555. ifeq ($(FULL_TARGET),powerpc64-aix)
  1556. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1557. endif
  1558. ifeq ($(FULL_TARGET),avr-embedded)
  1559. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1560. endif
  1561. ifeq ($(FULL_TARGET),armeb-linux)
  1562. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1563. endif
  1564. ifeq ($(FULL_TARGET),armeb-embedded)
  1565. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1566. endif
  1567. ifeq ($(FULL_TARGET),mips-linux)
  1568. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1569. endif
  1570. ifeq ($(FULL_TARGET),mipsel-linux)
  1571. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1572. endif
  1573. ifeq ($(FULL_TARGET),mipsel-embedded)
  1574. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1575. endif
  1576. ifeq ($(FULL_TARGET),mipsel-android)
  1577. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1578. endif
  1579. ifeq ($(FULL_TARGET),mips64-linux)
  1580. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1581. endif
  1582. ifeq ($(FULL_TARGET),mips64el-linux)
  1583. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1584. endif
  1585. ifeq ($(FULL_TARGET),jvm-java)
  1586. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1587. endif
  1588. ifeq ($(FULL_TARGET),jvm-android)
  1589. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1590. endif
  1591. ifeq ($(FULL_TARGET),i8086-embedded)
  1592. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1593. endif
  1594. ifeq ($(FULL_TARGET),i8086-msdos)
  1595. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1596. endif
  1597. ifeq ($(FULL_TARGET),i8086-win16)
  1598. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1599. endif
  1600. ifeq ($(FULL_TARGET),aarch64-linux)
  1601. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1602. endif
  1603. ifeq ($(FULL_TARGET),aarch64-freebsd)
  1604. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1605. endif
  1606. ifeq ($(FULL_TARGET),aarch64-darwin)
  1607. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1608. endif
  1609. ifeq ($(FULL_TARGET),aarch64-win64)
  1610. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1611. endif
  1612. ifeq ($(FULL_TARGET),aarch64-embedded)
  1613. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1614. endif
  1615. ifeq ($(FULL_TARGET),aarch64-android)
  1616. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1617. endif
  1618. ifeq ($(FULL_TARGET),aarch64-ios)
  1619. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1620. endif
  1621. ifeq ($(FULL_TARGET),wasm32-embedded)
  1622. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1623. endif
  1624. ifeq ($(FULL_TARGET),wasm32-wasi)
  1625. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1626. endif
  1627. ifeq ($(FULL_TARGET),sparc64-linux)
  1628. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1629. endif
  1630. ifeq ($(FULL_TARGET),riscv32-linux)
  1631. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1632. endif
  1633. ifeq ($(FULL_TARGET),riscv32-embedded)
  1634. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1635. endif
  1636. ifeq ($(FULL_TARGET),riscv64-linux)
  1637. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1638. endif
  1639. ifeq ($(FULL_TARGET),riscv64-embedded)
  1640. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1641. endif
  1642. ifeq ($(FULL_TARGET),xtensa-linux)
  1643. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1644. endif
  1645. ifeq ($(FULL_TARGET),xtensa-embedded)
  1646. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1647. endif
  1648. ifeq ($(FULL_TARGET),xtensa-freertos)
  1649. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1650. endif
  1651. ifeq ($(FULL_TARGET),z80-embedded)
  1652. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1653. endif
  1654. ifeq ($(FULL_TARGET),z80-zxspectrum)
  1655. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1656. endif
  1657. ifeq ($(FULL_TARGET),z80-msxdos)
  1658. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1659. endif
  1660. ifeq ($(FULL_TARGET),z80-amstradcpc)
  1661. override TARGET_RSTS+=math rtlconsts typinfo classes sysconst
  1662. endif
  1663. override INSTALL_FPCPACKAGE=y
  1664. ifeq ($(FULL_TARGET),i386-linux)
  1665. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1666. endif
  1667. ifeq ($(FULL_TARGET),i386-go32v2)
  1668. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1669. endif
  1670. ifeq ($(FULL_TARGET),i386-win32)
  1671. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1672. endif
  1673. ifeq ($(FULL_TARGET),i386-os2)
  1674. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1675. endif
  1676. ifeq ($(FULL_TARGET),i386-freebsd)
  1677. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1678. endif
  1679. ifeq ($(FULL_TARGET),i386-beos)
  1680. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1681. endif
  1682. ifeq ($(FULL_TARGET),i386-haiku)
  1683. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1684. endif
  1685. ifeq ($(FULL_TARGET),i386-netbsd)
  1686. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1687. endif
  1688. ifeq ($(FULL_TARGET),i386-solaris)
  1689. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1690. endif
  1691. ifeq ($(FULL_TARGET),i386-netware)
  1692. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1693. endif
  1694. ifeq ($(FULL_TARGET),i386-openbsd)
  1695. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1696. endif
  1697. ifeq ($(FULL_TARGET),i386-wdosx)
  1698. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1699. endif
  1700. ifeq ($(FULL_TARGET),i386-darwin)
  1701. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1702. endif
  1703. ifeq ($(FULL_TARGET),i386-emx)
  1704. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1705. endif
  1706. ifeq ($(FULL_TARGET),i386-watcom)
  1707. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1708. endif
  1709. ifeq ($(FULL_TARGET),i386-netwlibc)
  1710. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1711. endif
  1712. ifeq ($(FULL_TARGET),i386-wince)
  1713. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1714. endif
  1715. ifeq ($(FULL_TARGET),i386-embedded)
  1716. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1717. endif
  1718. ifeq ($(FULL_TARGET),i386-symbian)
  1719. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1720. endif
  1721. ifeq ($(FULL_TARGET),i386-nativent)
  1722. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1723. endif
  1724. ifeq ($(FULL_TARGET),i386-iphonesim)
  1725. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1726. endif
  1727. ifeq ($(FULL_TARGET),i386-android)
  1728. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1729. endif
  1730. ifeq ($(FULL_TARGET),i386-aros)
  1731. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1732. endif
  1733. ifeq ($(FULL_TARGET),m68k-linux)
  1734. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1735. endif
  1736. ifeq ($(FULL_TARGET),m68k-netbsd)
  1737. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1738. endif
  1739. ifeq ($(FULL_TARGET),m68k-amiga)
  1740. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1741. endif
  1742. ifeq ($(FULL_TARGET),m68k-atari)
  1743. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1744. endif
  1745. ifeq ($(FULL_TARGET),m68k-palmos)
  1746. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1747. endif
  1748. ifeq ($(FULL_TARGET),m68k-macosclassic)
  1749. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1750. endif
  1751. ifeq ($(FULL_TARGET),m68k-embedded)
  1752. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1753. endif
  1754. ifeq ($(FULL_TARGET),m68k-sinclairql)
  1755. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1756. endif
  1757. ifeq ($(FULL_TARGET),powerpc-linux)
  1758. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1759. endif
  1760. ifeq ($(FULL_TARGET),powerpc-netbsd)
  1761. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1762. endif
  1763. ifeq ($(FULL_TARGET),powerpc-amiga)
  1764. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1765. endif
  1766. ifeq ($(FULL_TARGET),powerpc-macosclassic)
  1767. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1768. endif
  1769. ifeq ($(FULL_TARGET),powerpc-darwin)
  1770. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1771. endif
  1772. ifeq ($(FULL_TARGET),powerpc-morphos)
  1773. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1774. endif
  1775. ifeq ($(FULL_TARGET),powerpc-embedded)
  1776. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1777. endif
  1778. ifeq ($(FULL_TARGET),powerpc-wii)
  1779. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1780. endif
  1781. ifeq ($(FULL_TARGET),powerpc-aix)
  1782. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1783. endif
  1784. ifeq ($(FULL_TARGET),sparc-linux)
  1785. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1786. endif
  1787. ifeq ($(FULL_TARGET),sparc-netbsd)
  1788. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1789. endif
  1790. ifeq ($(FULL_TARGET),sparc-solaris)
  1791. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1792. endif
  1793. ifeq ($(FULL_TARGET),sparc-embedded)
  1794. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1795. endif
  1796. ifeq ($(FULL_TARGET),x86_64-linux)
  1797. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1798. endif
  1799. ifeq ($(FULL_TARGET),x86_64-freebsd)
  1800. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1801. endif
  1802. ifeq ($(FULL_TARGET),x86_64-haiku)
  1803. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1804. endif
  1805. ifeq ($(FULL_TARGET),x86_64-netbsd)
  1806. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1807. endif
  1808. ifeq ($(FULL_TARGET),x86_64-solaris)
  1809. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1810. endif
  1811. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1812. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1813. endif
  1814. ifeq ($(FULL_TARGET),x86_64-darwin)
  1815. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1816. endif
  1817. ifeq ($(FULL_TARGET),x86_64-win64)
  1818. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1819. endif
  1820. ifeq ($(FULL_TARGET),x86_64-embedded)
  1821. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1822. endif
  1823. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1824. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1825. endif
  1826. ifeq ($(FULL_TARGET),x86_64-android)
  1827. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1828. endif
  1829. ifeq ($(FULL_TARGET),x86_64-aros)
  1830. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1831. endif
  1832. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1833. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1834. endif
  1835. ifeq ($(FULL_TARGET),arm-linux)
  1836. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1837. endif
  1838. ifeq ($(FULL_TARGET),arm-netbsd)
  1839. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1840. endif
  1841. ifeq ($(FULL_TARGET),arm-palmos)
  1842. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1843. endif
  1844. ifeq ($(FULL_TARGET),arm-wince)
  1845. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1846. endif
  1847. ifeq ($(FULL_TARGET),arm-gba)
  1848. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1849. endif
  1850. ifeq ($(FULL_TARGET),arm-nds)
  1851. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1852. endif
  1853. ifeq ($(FULL_TARGET),arm-embedded)
  1854. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1855. endif
  1856. ifeq ($(FULL_TARGET),arm-symbian)
  1857. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1858. endif
  1859. ifeq ($(FULL_TARGET),arm-android)
  1860. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1861. endif
  1862. ifeq ($(FULL_TARGET),arm-aros)
  1863. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1864. endif
  1865. ifeq ($(FULL_TARGET),arm-freertos)
  1866. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1867. endif
  1868. ifeq ($(FULL_TARGET),arm-ios)
  1869. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1870. endif
  1871. ifeq ($(FULL_TARGET),powerpc64-linux)
  1872. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1873. endif
  1874. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1875. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1876. endif
  1877. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1878. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1879. endif
  1880. ifeq ($(FULL_TARGET),powerpc64-aix)
  1881. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1882. endif
  1883. ifeq ($(FULL_TARGET),avr-embedded)
  1884. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1885. endif
  1886. ifeq ($(FULL_TARGET),armeb-linux)
  1887. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1888. endif
  1889. ifeq ($(FULL_TARGET),armeb-embedded)
  1890. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1891. endif
  1892. ifeq ($(FULL_TARGET),mips-linux)
  1893. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1894. endif
  1895. ifeq ($(FULL_TARGET),mipsel-linux)
  1896. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1897. endif
  1898. ifeq ($(FULL_TARGET),mipsel-embedded)
  1899. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1900. endif
  1901. ifeq ($(FULL_TARGET),mipsel-android)
  1902. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1903. endif
  1904. ifeq ($(FULL_TARGET),mips64-linux)
  1905. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1906. endif
  1907. ifeq ($(FULL_TARGET),mips64el-linux)
  1908. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1909. endif
  1910. ifeq ($(FULL_TARGET),jvm-java)
  1911. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1912. endif
  1913. ifeq ($(FULL_TARGET),jvm-android)
  1914. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1915. endif
  1916. ifeq ($(FULL_TARGET),i8086-embedded)
  1917. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1918. endif
  1919. ifeq ($(FULL_TARGET),i8086-msdos)
  1920. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1921. endif
  1922. ifeq ($(FULL_TARGET),i8086-win16)
  1923. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1924. endif
  1925. ifeq ($(FULL_TARGET),aarch64-linux)
  1926. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1927. endif
  1928. ifeq ($(FULL_TARGET),aarch64-freebsd)
  1929. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1930. endif
  1931. ifeq ($(FULL_TARGET),aarch64-darwin)
  1932. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1933. endif
  1934. ifeq ($(FULL_TARGET),aarch64-win64)
  1935. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1936. endif
  1937. ifeq ($(FULL_TARGET),aarch64-embedded)
  1938. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1939. endif
  1940. ifeq ($(FULL_TARGET),aarch64-android)
  1941. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1942. endif
  1943. ifeq ($(FULL_TARGET),aarch64-ios)
  1944. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1945. endif
  1946. ifeq ($(FULL_TARGET),wasm32-embedded)
  1947. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1948. endif
  1949. ifeq ($(FULL_TARGET),wasm32-wasi)
  1950. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1951. endif
  1952. ifeq ($(FULL_TARGET),sparc64-linux)
  1953. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1954. endif
  1955. ifeq ($(FULL_TARGET),riscv32-linux)
  1956. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1957. endif
  1958. ifeq ($(FULL_TARGET),riscv32-embedded)
  1959. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1960. endif
  1961. ifeq ($(FULL_TARGET),riscv64-linux)
  1962. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1963. endif
  1964. ifeq ($(FULL_TARGET),riscv64-embedded)
  1965. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1966. endif
  1967. ifeq ($(FULL_TARGET),xtensa-linux)
  1968. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1969. endif
  1970. ifeq ($(FULL_TARGET),xtensa-embedded)
  1971. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1972. endif
  1973. ifeq ($(FULL_TARGET),xtensa-freertos)
  1974. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1975. endif
  1976. ifeq ($(FULL_TARGET),z80-embedded)
  1977. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1978. endif
  1979. ifeq ($(FULL_TARGET),z80-zxspectrum)
  1980. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1981. endif
  1982. ifeq ($(FULL_TARGET),z80-msxdos)
  1983. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1984. endif
  1985. ifeq ($(FULL_TARGET),z80-amstradcpc)
  1986. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(CPU_TARGET)
  1987. endif
  1988. ifeq ($(FULL_TARGET),i386-linux)
  1989. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  1990. endif
  1991. ifeq ($(FULL_TARGET),i386-go32v2)
  1992. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  1993. endif
  1994. ifeq ($(FULL_TARGET),i386-win32)
  1995. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  1996. endif
  1997. ifeq ($(FULL_TARGET),i386-os2)
  1998. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  1999. endif
  2000. ifeq ($(FULL_TARGET),i386-freebsd)
  2001. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2002. endif
  2003. ifeq ($(FULL_TARGET),i386-beos)
  2004. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2005. endif
  2006. ifeq ($(FULL_TARGET),i386-haiku)
  2007. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2008. endif
  2009. ifeq ($(FULL_TARGET),i386-netbsd)
  2010. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2011. endif
  2012. ifeq ($(FULL_TARGET),i386-solaris)
  2013. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2014. endif
  2015. ifeq ($(FULL_TARGET),i386-netware)
  2016. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2017. endif
  2018. ifeq ($(FULL_TARGET),i386-openbsd)
  2019. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2020. endif
  2021. ifeq ($(FULL_TARGET),i386-wdosx)
  2022. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2023. endif
  2024. ifeq ($(FULL_TARGET),i386-darwin)
  2025. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2026. endif
  2027. ifeq ($(FULL_TARGET),i386-emx)
  2028. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2029. endif
  2030. ifeq ($(FULL_TARGET),i386-watcom)
  2031. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2032. endif
  2033. ifeq ($(FULL_TARGET),i386-netwlibc)
  2034. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2035. endif
  2036. ifeq ($(FULL_TARGET),i386-wince)
  2037. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2038. endif
  2039. ifeq ($(FULL_TARGET),i386-embedded)
  2040. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2041. endif
  2042. ifeq ($(FULL_TARGET),i386-symbian)
  2043. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2044. endif
  2045. ifeq ($(FULL_TARGET),i386-nativent)
  2046. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2047. endif
  2048. ifeq ($(FULL_TARGET),i386-iphonesim)
  2049. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2050. endif
  2051. ifeq ($(FULL_TARGET),i386-android)
  2052. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2053. endif
  2054. ifeq ($(FULL_TARGET),i386-aros)
  2055. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2056. endif
  2057. ifeq ($(FULL_TARGET),m68k-linux)
  2058. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2059. endif
  2060. ifeq ($(FULL_TARGET),m68k-netbsd)
  2061. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2062. endif
  2063. ifeq ($(FULL_TARGET),m68k-amiga)
  2064. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2065. endif
  2066. ifeq ($(FULL_TARGET),m68k-atari)
  2067. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2068. endif
  2069. ifeq ($(FULL_TARGET),m68k-palmos)
  2070. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2071. endif
  2072. ifeq ($(FULL_TARGET),m68k-macosclassic)
  2073. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2074. endif
  2075. ifeq ($(FULL_TARGET),m68k-embedded)
  2076. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2077. endif
  2078. ifeq ($(FULL_TARGET),m68k-sinclairql)
  2079. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2080. endif
  2081. ifeq ($(FULL_TARGET),powerpc-linux)
  2082. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2083. endif
  2084. ifeq ($(FULL_TARGET),powerpc-netbsd)
  2085. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2086. endif
  2087. ifeq ($(FULL_TARGET),powerpc-amiga)
  2088. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2089. endif
  2090. ifeq ($(FULL_TARGET),powerpc-macosclassic)
  2091. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2092. endif
  2093. ifeq ($(FULL_TARGET),powerpc-darwin)
  2094. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2095. endif
  2096. ifeq ($(FULL_TARGET),powerpc-morphos)
  2097. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2098. endif
  2099. ifeq ($(FULL_TARGET),powerpc-embedded)
  2100. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2101. endif
  2102. ifeq ($(FULL_TARGET),powerpc-wii)
  2103. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2104. endif
  2105. ifeq ($(FULL_TARGET),powerpc-aix)
  2106. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2107. endif
  2108. ifeq ($(FULL_TARGET),sparc-linux)
  2109. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2110. endif
  2111. ifeq ($(FULL_TARGET),sparc-netbsd)
  2112. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2113. endif
  2114. ifeq ($(FULL_TARGET),sparc-solaris)
  2115. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2116. endif
  2117. ifeq ($(FULL_TARGET),sparc-embedded)
  2118. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2119. endif
  2120. ifeq ($(FULL_TARGET),x86_64-linux)
  2121. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2122. endif
  2123. ifeq ($(FULL_TARGET),x86_64-freebsd)
  2124. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2125. endif
  2126. ifeq ($(FULL_TARGET),x86_64-haiku)
  2127. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2128. endif
  2129. ifeq ($(FULL_TARGET),x86_64-netbsd)
  2130. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2131. endif
  2132. ifeq ($(FULL_TARGET),x86_64-solaris)
  2133. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2134. endif
  2135. ifeq ($(FULL_TARGET),x86_64-openbsd)
  2136. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2137. endif
  2138. ifeq ($(FULL_TARGET),x86_64-darwin)
  2139. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2140. endif
  2141. ifeq ($(FULL_TARGET),x86_64-win64)
  2142. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2143. endif
  2144. ifeq ($(FULL_TARGET),x86_64-embedded)
  2145. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2146. endif
  2147. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  2148. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2149. endif
  2150. ifeq ($(FULL_TARGET),x86_64-android)
  2151. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2152. endif
  2153. ifeq ($(FULL_TARGET),x86_64-aros)
  2154. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2155. endif
  2156. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  2157. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2158. endif
  2159. ifeq ($(FULL_TARGET),arm-linux)
  2160. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2161. endif
  2162. ifeq ($(FULL_TARGET),arm-netbsd)
  2163. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2164. endif
  2165. ifeq ($(FULL_TARGET),arm-palmos)
  2166. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2167. endif
  2168. ifeq ($(FULL_TARGET),arm-wince)
  2169. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2170. endif
  2171. ifeq ($(FULL_TARGET),arm-gba)
  2172. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2173. endif
  2174. ifeq ($(FULL_TARGET),arm-nds)
  2175. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2176. endif
  2177. ifeq ($(FULL_TARGET),arm-embedded)
  2178. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2179. endif
  2180. ifeq ($(FULL_TARGET),arm-symbian)
  2181. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2182. endif
  2183. ifeq ($(FULL_TARGET),arm-android)
  2184. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2185. endif
  2186. ifeq ($(FULL_TARGET),arm-aros)
  2187. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2188. endif
  2189. ifeq ($(FULL_TARGET),arm-freertos)
  2190. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2191. endif
  2192. ifeq ($(FULL_TARGET),arm-ios)
  2193. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2194. endif
  2195. ifeq ($(FULL_TARGET),powerpc64-linux)
  2196. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2197. endif
  2198. ifeq ($(FULL_TARGET),powerpc64-darwin)
  2199. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2200. endif
  2201. ifeq ($(FULL_TARGET),powerpc64-embedded)
  2202. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2203. endif
  2204. ifeq ($(FULL_TARGET),powerpc64-aix)
  2205. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2206. endif
  2207. ifeq ($(FULL_TARGET),avr-embedded)
  2208. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2209. endif
  2210. ifeq ($(FULL_TARGET),armeb-linux)
  2211. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2212. endif
  2213. ifeq ($(FULL_TARGET),armeb-embedded)
  2214. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2215. endif
  2216. ifeq ($(FULL_TARGET),mips-linux)
  2217. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2218. endif
  2219. ifeq ($(FULL_TARGET),mipsel-linux)
  2220. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2221. endif
  2222. ifeq ($(FULL_TARGET),mipsel-embedded)
  2223. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2224. endif
  2225. ifeq ($(FULL_TARGET),mipsel-android)
  2226. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2227. endif
  2228. ifeq ($(FULL_TARGET),mips64-linux)
  2229. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2230. endif
  2231. ifeq ($(FULL_TARGET),mips64el-linux)
  2232. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2233. endif
  2234. ifeq ($(FULL_TARGET),jvm-java)
  2235. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2236. endif
  2237. ifeq ($(FULL_TARGET),jvm-android)
  2238. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2239. endif
  2240. ifeq ($(FULL_TARGET),i8086-embedded)
  2241. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2242. endif
  2243. ifeq ($(FULL_TARGET),i8086-msdos)
  2244. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2245. endif
  2246. ifeq ($(FULL_TARGET),i8086-win16)
  2247. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2248. endif
  2249. ifeq ($(FULL_TARGET),aarch64-linux)
  2250. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2251. endif
  2252. ifeq ($(FULL_TARGET),aarch64-freebsd)
  2253. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2254. endif
  2255. ifeq ($(FULL_TARGET),aarch64-darwin)
  2256. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2257. endif
  2258. ifeq ($(FULL_TARGET),aarch64-win64)
  2259. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2260. endif
  2261. ifeq ($(FULL_TARGET),aarch64-embedded)
  2262. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2263. endif
  2264. ifeq ($(FULL_TARGET),aarch64-android)
  2265. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2266. endif
  2267. ifeq ($(FULL_TARGET),aarch64-ios)
  2268. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2269. endif
  2270. ifeq ($(FULL_TARGET),wasm32-embedded)
  2271. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2272. endif
  2273. ifeq ($(FULL_TARGET),wasm32-wasi)
  2274. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2275. endif
  2276. ifeq ($(FULL_TARGET),sparc64-linux)
  2277. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2278. endif
  2279. ifeq ($(FULL_TARGET),riscv32-linux)
  2280. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2281. endif
  2282. ifeq ($(FULL_TARGET),riscv32-embedded)
  2283. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2284. endif
  2285. ifeq ($(FULL_TARGET),riscv64-linux)
  2286. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2287. endif
  2288. ifeq ($(FULL_TARGET),riscv64-embedded)
  2289. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2290. endif
  2291. ifeq ($(FULL_TARGET),xtensa-linux)
  2292. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2293. endif
  2294. ifeq ($(FULL_TARGET),xtensa-embedded)
  2295. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2296. endif
  2297. ifeq ($(FULL_TARGET),xtensa-freertos)
  2298. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2299. endif
  2300. ifeq ($(FULL_TARGET),z80-embedded)
  2301. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2302. endif
  2303. ifeq ($(FULL_TARGET),z80-zxspectrum)
  2304. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2305. endif
  2306. ifeq ($(FULL_TARGET),z80-msxdos)
  2307. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2308. endif
  2309. ifeq ($(FULL_TARGET),z80-amstradcpc)
  2310. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(CPU_TARGET) $(COMMON)
  2311. endif
  2312. ifdef REQUIRE_UNITSDIR
  2313. override UNITSDIR+=$(REQUIRE_UNITSDIR)
  2314. endif
  2315. ifdef REQUIRE_PACKAGESDIR
  2316. override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
  2317. endif
  2318. ifdef ZIPINSTALL
  2319. ifneq ($(filter $(OS_TARGET),$(UNIXs)),)
  2320. UNIXHier=1
  2321. endif
  2322. else
  2323. ifneq ($(filter $(OS_SOURCE),$(UNIXs)),)
  2324. UNIXHier=1
  2325. endif
  2326. endif
  2327. ifndef INSTALL_PREFIX
  2328. ifdef PREFIX
  2329. INSTALL_PREFIX=$(PREFIX)
  2330. endif
  2331. endif
  2332. ifndef INSTALL_PREFIX
  2333. ifdef UNIXHier
  2334. INSTALL_PREFIX=/usr/local
  2335. else
  2336. ifdef INSTALL_FPCPACKAGE
  2337. INSTALL_BASEDIR:=/pp
  2338. else
  2339. INSTALL_BASEDIR:=/$(PACKAGE_NAME)
  2340. endif
  2341. endif
  2342. endif
  2343. export INSTALL_PREFIX
  2344. ifdef INSTALL_FPCSUBDIR
  2345. export INSTALL_FPCSUBDIR
  2346. endif
  2347. ifndef DIST_DESTDIR
  2348. DIST_DESTDIR:=$(BASEDIR)
  2349. endif
  2350. export DIST_DESTDIR
  2351. ifndef COMPILER_UNITTARGETDIR
  2352. ifdef PACKAGEDIR_MAIN
  2353. COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX)
  2354. else
  2355. COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX)
  2356. endif
  2357. endif
  2358. ifndef COMPILER_TARGETDIR
  2359. COMPILER_TARGETDIR=.
  2360. endif
  2361. ifndef INSTALL_BASEDIR
  2362. ifdef UNIXHier
  2363. ifdef INSTALL_FPCPACKAGE
  2364. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION)
  2365. else
  2366. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME)
  2367. endif
  2368. else
  2369. INSTALL_BASEDIR:=$(INSTALL_PREFIX)
  2370. endif
  2371. endif
  2372. ifndef INSTALL_BINDIR
  2373. ifdef UNIXHier
  2374. INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
  2375. else
  2376. INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
  2377. ifdef INSTALL_FPCPACKAGE
  2378. ifdef CROSSCOMPILE
  2379. ifdef CROSSINSTALL
  2380. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX)
  2381. else
  2382. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  2383. endif
  2384. else
  2385. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  2386. endif
  2387. endif
  2388. endif
  2389. endif
  2390. ifndef INSTALL_UNITDIR
  2391. INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX)
  2392. ifdef INSTALL_FPCPACKAGE
  2393. ifdef PACKAGE_NAME
  2394. INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME)
  2395. endif
  2396. endif
  2397. endif
  2398. ifndef INSTALL_LIBDIR
  2399. ifdef UNIXHier
  2400. INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib
  2401. else
  2402. INSTALL_LIBDIR:=$(INSTALL_UNITDIR)
  2403. endif
  2404. endif
  2405. ifndef INSTALL_SOURCEDIR
  2406. ifdef UNIXHier
  2407. ifdef BSDhier
  2408. SRCPREFIXDIR=share/src
  2409. else
  2410. ifdef linuxHier
  2411. SRCPREFIXDIR=share/src
  2412. else
  2413. SRCPREFIXDIR=src
  2414. endif
  2415. endif
  2416. ifdef INSTALL_FPCPACKAGE
  2417. ifdef INSTALL_FPCSUBDIR
  2418. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  2419. else
  2420. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  2421. endif
  2422. else
  2423. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  2424. endif
  2425. else
  2426. ifdef INSTALL_FPCPACKAGE
  2427. ifdef INSTALL_FPCSUBDIR
  2428. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  2429. else
  2430. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
  2431. endif
  2432. else
  2433. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
  2434. endif
  2435. endif
  2436. endif
  2437. ifndef INSTALL_DOCDIR
  2438. ifdef UNIXHier
  2439. ifdef BSDhier
  2440. DOCPREFIXDIR=share/doc
  2441. else
  2442. ifdef linuxHier
  2443. DOCPREFIXDIR=share/doc
  2444. else
  2445. DOCPREFIXDIR=doc
  2446. endif
  2447. endif
  2448. ifdef INSTALL_FPCPACKAGE
  2449. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  2450. else
  2451. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  2452. endif
  2453. else
  2454. ifdef INSTALL_FPCPACKAGE
  2455. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME)
  2456. else
  2457. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc
  2458. endif
  2459. endif
  2460. endif
  2461. ifndef INSTALL_EXAMPLEDIR
  2462. ifdef UNIXHier
  2463. ifdef INSTALL_FPCPACKAGE
  2464. ifdef BSDhier
  2465. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  2466. else
  2467. ifdef linuxHier
  2468. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples
  2469. else
  2470. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME)
  2471. endif
  2472. endif
  2473. else
  2474. ifdef BSDhier
  2475. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  2476. else
  2477. ifdef linuxHier
  2478. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  2479. else
  2480. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  2481. endif
  2482. endif
  2483. endif
  2484. else
  2485. ifdef INSTALL_FPCPACKAGE
  2486. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME)
  2487. else
  2488. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples
  2489. endif
  2490. endif
  2491. endif
  2492. ifndef INSTALL_DATADIR
  2493. INSTALL_DATADIR=$(INSTALL_BASEDIR)
  2494. endif
  2495. ifndef INSTALL_SHAREDDIR
  2496. INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
  2497. endif
  2498. ifdef CROSSCOMPILE
  2499. ifndef CROSSBINDIR
  2500. CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
  2501. ifeq ($(CROSSBINDIR),)
  2502. CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE))
  2503. endif
  2504. endif
  2505. else
  2506. CROSSBINDIR=
  2507. endif
  2508. ifeq ($(OS_SOURCE),linux)
  2509. ifndef GCCLIBDIR
  2510. ifeq ($(CPU_TARGET),i386)
  2511. ifneq ($(filter x86_64,$(shell uname -a)),)
  2512. ifeq ($(BINUTILSPREFIX),)
  2513. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  2514. else
  2515. CROSSGCCOPT=-m32
  2516. endif
  2517. endif
  2518. endif
  2519. ifeq ($(CPU_TARGET),powerpc)
  2520. ifeq ($(BINUTILSPREFIX),)
  2521. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  2522. else
  2523. CROSSGCCOPT=-m32
  2524. endif
  2525. endif
  2526. ifeq ($(CPU_TARGET),powerpc64)
  2527. ifeq ($(BINUTILSPREFIX),)
  2528. GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
  2529. else
  2530. CROSSGCCOPT=-m64
  2531. endif
  2532. endif
  2533. ifeq ($(CPU_TARGET),sparc)
  2534. ifneq ($(filter sparc64,$(shell uname -a)),)
  2535. ifeq ($(BINUTILSPREFIX),)
  2536. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  2537. else
  2538. CROSSGCCOPT=-m32
  2539. endif
  2540. endif
  2541. endif
  2542. ifneq ($(filter $(CPU_TARGET),mips64 mipsel64),)
  2543. ifeq ($(BINUTILSPREFIX),)
  2544. GCCLIBDIR:=$(shell dirname `gcc -mabi=64 -print-libgcc-file-name`)
  2545. else
  2546. CROSSGCCOPT=-mabi=64
  2547. endif
  2548. endif
  2549. ifneq ($(filter $(CPU_TARGET),mips mipsel),)
  2550. ifeq ($(BINUTILSPREFIX),)
  2551. GCCLIBDIR:=$(shell dirname `gcc -mabi=32 -print-libgcc-file-name`)
  2552. else
  2553. CROSSGCCOPT=-mabi=32
  2554. endif
  2555. endif
  2556. ifeq ($(BINUTILSPREFIX),)
  2557. ifeq ($(GCCLIBDIR),)
  2558. GCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
  2559. endif
  2560. else
  2561. ifeq ($(CROSSGCCOPT),)
  2562. CROSSGCCOPT=-g
  2563. endif
  2564. endif
  2565. endif
  2566. ifdef FPCFPMAKE
  2567. FPCFPMAKE_CPU_TARGET=$(shell $(FPCFPMAKE) -iTP)
  2568. ifeq ($(CPU_TARGET),$(FPCFPMAKE_CPU_TARGET))
  2569. FPCMAKEGCCLIBDIR:=$(GCCLIBDIR)
  2570. else
  2571. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),aarch64 powerpc64 riscv64 sparc64 x86_64),)
  2572. FPCMAKE_CROSSGCCOPT=-m64
  2573. else
  2574. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),mips64 mips64el),)
  2575. FPCMAKE_CROSSGCCOPT=-mabi=64
  2576. else
  2577. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),mips mipsel),)
  2578. FPCMAKE_CROSSGCCOPT=-mabi=32
  2579. else
  2580. ifeq ($(FPCFPMAKE_CPU_TARGET),riscv64)
  2581. FPCMAKE_CROSSGCCOPT=-mabi=lp64
  2582. else
  2583. ifeq ($(FPCFPMAKE_CPU_TARGET),riscv32)
  2584. FPCMAKE_CROSSGCCOPT=-mabi=ilp32
  2585. else
  2586. FPCMAKE_CROSSGCCOPT=-m32
  2587. endif
  2588. endif
  2589. endif
  2590. endif
  2591. endif
  2592. FPCMAKEGCCLIBDIR:=$(shell dirname `gcc $(FPCMAKE_CROSSGCCOPT) -print-libgcc-file-name`)
  2593. endif
  2594. endif
  2595. ifndef FPCMAKEGCCLIBDIR
  2596. FPCMAKEGCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
  2597. endif
  2598. ifndef GCCLIBDIR
  2599. CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
  2600. ifneq ($(CROSSGCC),)
  2601. GCCLIBDIR:=$(shell dirname `$(CROSSGCC) $(CROSSGCCOPT) -print-libgcc-file-name`)
  2602. endif
  2603. endif
  2604. endif
  2605. ifdef inUnix
  2606. ifeq ($(OS_SOURCE),netbsd)
  2607. OTHERLIBDIR:=/usr/pkg/lib
  2608. endif
  2609. export GCCLIBDIR FPCMAKEGCCLIBDIR OTHERLIBDIR
  2610. endif
  2611. BATCHEXT=.bat
  2612. LOADEREXT=.as
  2613. EXEEXT=.exe
  2614. PPLEXT=.ppl
  2615. PPUEXT=.ppu
  2616. OEXT=.o
  2617. LTOEXT=.bc
  2618. ASMEXT=.s
  2619. SMARTEXT=.sl
  2620. STATICLIBEXT=.a
  2621. SHAREDLIBEXT=.so
  2622. SHAREDLIBPREFIX=libfp
  2623. STATICLIBPREFIX=libp
  2624. IMPORTLIBPREFIX=libimp
  2625. RSTEXT=.rst
  2626. EXEDBGEXT=.dbg
  2627. ifeq ($(OS_TARGET),go32v1)
  2628. STATICLIBPREFIX=
  2629. SHORTSUFFIX=v1
  2630. endif
  2631. ifeq ($(OS_TARGET),go32v2)
  2632. STATICLIBPREFIX=
  2633. SHORTSUFFIX=dos
  2634. IMPORTLIBPREFIX=
  2635. endif
  2636. ifeq ($(OS_TARGET),watcom)
  2637. STATICLIBPREFIX=
  2638. OEXT=.obj
  2639. ASMEXT=.asm
  2640. SHAREDLIBEXT=.dll
  2641. SHORTSUFFIX=wat
  2642. IMPORTLIBPREFIX=
  2643. endif
  2644. ifneq ($(CPU_TARGET),jvm)
  2645. ifeq ($(OS_TARGET),android)
  2646. BATCHEXT=.sh
  2647. EXEEXT=
  2648. HASSHAREDLIB=1
  2649. SHORTSUFFIX=lnx
  2650. endif
  2651. endif
  2652. ifeq ($(OS_TARGET),linux)
  2653. BATCHEXT=.sh
  2654. EXEEXT=
  2655. HASSHAREDLIB=1
  2656. SHORTSUFFIX=lnx
  2657. endif
  2658. ifeq ($(OS_TARGET),dragonfly)
  2659. BATCHEXT=.sh
  2660. EXEEXT=
  2661. HASSHAREDLIB=1
  2662. SHORTSUFFIX=df
  2663. endif
  2664. ifeq ($(OS_TARGET),freebsd)
  2665. BATCHEXT=.sh
  2666. EXEEXT=
  2667. HASSHAREDLIB=1
  2668. SHORTSUFFIX=fbs
  2669. endif
  2670. ifeq ($(OS_TARGET),netbsd)
  2671. BATCHEXT=.sh
  2672. EXEEXT=
  2673. HASSHAREDLIB=1
  2674. SHORTSUFFIX=nbs
  2675. endif
  2676. ifeq ($(OS_TARGET),openbsd)
  2677. BATCHEXT=.sh
  2678. EXEEXT=
  2679. HASSHAREDLIB=1
  2680. SHORTSUFFIX=obs
  2681. endif
  2682. ifeq ($(OS_TARGET),win32)
  2683. SHAREDLIBEXT=.dll
  2684. SHORTSUFFIX=w32
  2685. endif
  2686. ifeq ($(OS_TARGET),os2)
  2687. BATCHEXT=.cmd
  2688. AOUTEXT=.out
  2689. STATICLIBPREFIX=
  2690. SHAREDLIBEXT=.dll
  2691. SHORTSUFFIX=os2
  2692. ECHO=echo
  2693. IMPORTLIBPREFIX=
  2694. endif
  2695. ifeq ($(OS_TARGET),emx)
  2696. BATCHEXT=.cmd
  2697. AOUTEXT=.out
  2698. STATICLIBPREFIX=
  2699. SHAREDLIBEXT=.dll
  2700. SHORTSUFFIX=emx
  2701. ECHO=echo
  2702. IMPORTLIBPREFIX=
  2703. endif
  2704. ifeq ($(OS_TARGET),amiga)
  2705. EXEEXT=
  2706. SHAREDLIBEXT=.library
  2707. SHORTSUFFIX=amg
  2708. endif
  2709. ifeq ($(OS_TARGET),aros)
  2710. EXEEXT=
  2711. SHAREDLIBEXT=.library
  2712. SHORTSUFFIX=aros
  2713. endif
  2714. ifeq ($(OS_TARGET),morphos)
  2715. EXEEXT=
  2716. SHAREDLIBEXT=.library
  2717. SHORTSUFFIX=mos
  2718. endif
  2719. ifeq ($(OS_TARGET),atari)
  2720. EXEEXT=.ttp
  2721. SHORTSUFFIX=ata
  2722. endif
  2723. ifeq ($(OS_TARGET),beos)
  2724. BATCHEXT=.sh
  2725. EXEEXT=
  2726. SHORTSUFFIX=be
  2727. endif
  2728. ifeq ($(OS_TARGET),haiku)
  2729. BATCHEXT=.sh
  2730. EXEEXT=
  2731. SHORTSUFFIX=hai
  2732. endif
  2733. ifeq ($(OS_TARGET),solaris)
  2734. BATCHEXT=.sh
  2735. EXEEXT=
  2736. SHORTSUFFIX=sun
  2737. endif
  2738. ifeq ($(OS_TARGET),qnx)
  2739. BATCHEXT=.sh
  2740. EXEEXT=
  2741. SHORTSUFFIX=qnx
  2742. endif
  2743. ifeq ($(OS_TARGET),netware)
  2744. EXEEXT=.nlm
  2745. STATICLIBPREFIX=
  2746. SHORTSUFFIX=nw
  2747. IMPORTLIBPREFIX=imp
  2748. endif
  2749. ifeq ($(OS_TARGET),netwlibc)
  2750. EXEEXT=.nlm
  2751. STATICLIBPREFIX=
  2752. SHORTSUFFIX=nwl
  2753. IMPORTLIBPREFIX=imp
  2754. endif
  2755. ifeq ($(OS_TARGET),macosclassic)
  2756. BATCHEXT=
  2757. EXEEXT=
  2758. DEBUGSYMEXT=.xcoff
  2759. SHORTSUFFIX=mac
  2760. IMPORTLIBPREFIX=imp
  2761. endif
  2762. ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
  2763. BATCHEXT=.sh
  2764. EXEEXT=
  2765. HASSHAREDLIB=1
  2766. SHORTSUFFIX=dwn
  2767. EXEDBGEXT=.dSYM
  2768. endif
  2769. ifeq ($(OS_TARGET),gba)
  2770. EXEEXT=.gba
  2771. SHAREDLIBEXT=.so
  2772. SHORTSUFFIX=gba
  2773. endif
  2774. ifeq ($(OS_TARGET),symbian)
  2775. SHAREDLIBEXT=.dll
  2776. SHORTSUFFIX=symbian
  2777. endif
  2778. ifeq ($(OS_TARGET),NativeNT)
  2779. SHAREDLIBEXT=.dll
  2780. SHORTSUFFIX=nativent
  2781. endif
  2782. ifeq ($(OS_TARGET),wii)
  2783. EXEEXT=.dol
  2784. SHAREDLIBEXT=.so
  2785. SHORTSUFFIX=wii
  2786. endif
  2787. ifeq ($(OS_TARGET),aix)
  2788. BATCHEXT=.sh
  2789. EXEEXT=
  2790. SHAREDLIBEXT=.a
  2791. SHORTSUFFIX=aix
  2792. endif
  2793. ifeq ($(OS_TARGET),java)
  2794. OEXT=.class
  2795. ASMEXT=.j
  2796. SHAREDLIBEXT=.jar
  2797. SHORTSUFFIX=java
  2798. endif
  2799. ifeq ($(CPU_TARGET),jvm)
  2800. ifeq ($(OS_TARGET),android)
  2801. OEXT=.class
  2802. ASMEXT=.j
  2803. SHAREDLIBEXT=.jar
  2804. SHORTSUFFIX=android
  2805. endif
  2806. endif
  2807. ifeq ($(OS_TARGET),msdos)
  2808. STATICLIBPREFIX=
  2809. STATICLIBEXT=.a
  2810. SHORTSUFFIX=d16
  2811. endif
  2812. ifeq ($(OS_TARGET),msxdos)
  2813. STATICLIBPREFIX=
  2814. STATICLIBEXT=.a
  2815. SHORTSUFFIX=msd
  2816. endif
  2817. ifeq ($(OS_TARGET),embedded)
  2818. ifeq ($(CPU_TARGET),i8086)
  2819. STATICLIBPREFIX=
  2820. STATICLIBEXT=.a
  2821. else
  2822. EXEEXT=.bin
  2823. endif
  2824. ifeq ($(CPU_TARGET),z80)
  2825. OEXT=.rel
  2826. endif
  2827. SHORTSUFFIX=emb
  2828. endif
  2829. ifeq ($(OS_TARGET),win16)
  2830. STATICLIBPREFIX=
  2831. STATICLIBEXT=.a
  2832. SHAREDLIBEXT=.dll
  2833. SHORTSUFFIX=w16
  2834. endif
  2835. ifeq ($(OS_TARGET),zxspectrum)
  2836. OEXT=.rel
  2837. endif
  2838. ifeq ($(OS_TARGET),wasi)
  2839. EXEEXT=.wasm
  2840. endif
  2841. ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
  2842. FPCMADE=fpcmade.$(SHORTSUFFIX)
  2843. ZIPSUFFIX=$(SHORTSUFFIX)
  2844. ZIPCROSSPREFIX=
  2845. ZIPSOURCESUFFIX=src
  2846. ZIPEXAMPLESUFFIX=exm
  2847. else
  2848. FPCMADE=fpcmade.$(TARGETSUFFIX)
  2849. ZIPSOURCESUFFIX=.source
  2850. ZIPEXAMPLESUFFIX=.examples
  2851. ifdef CROSSCOMPILE
  2852. ZIPSUFFIX=.$(SOURCESUFFIX)
  2853. ZIPCROSSPREFIX=$(TARGETSUFFIX)-
  2854. else
  2855. ZIPSUFFIX=.$(TARGETSUFFIX)
  2856. ZIPCROSSPREFIX=
  2857. endif
  2858. endif
  2859. ifndef ECHO
  2860. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  2861. ifeq ($(ECHO),)
  2862. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  2863. ifeq ($(ECHO),)
  2864. ECHO= __missing_command_ECHO
  2865. else
  2866. ECHO:=$(firstword $(ECHO))
  2867. endif
  2868. else
  2869. ECHO:=$(firstword $(ECHO))
  2870. endif
  2871. endif
  2872. export ECHO
  2873. ifndef DATE
  2874. DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH))))
  2875. ifeq ($(DATE),)
  2876. DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH))))
  2877. ifeq ($(DATE),)
  2878. DATE= __missing_command_DATE
  2879. else
  2880. DATE:=$(firstword $(DATE))
  2881. endif
  2882. else
  2883. DATE:=$(firstword $(DATE))
  2884. endif
  2885. endif
  2886. export DATE
  2887. ifndef GINSTALL
  2888. GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH))))
  2889. ifeq ($(GINSTALL),)
  2890. GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH))))
  2891. ifeq ($(GINSTALL),)
  2892. GINSTALL= __missing_command_GINSTALL
  2893. else
  2894. GINSTALL:=$(firstword $(GINSTALL))
  2895. endif
  2896. else
  2897. GINSTALL:=$(firstword $(GINSTALL))
  2898. endif
  2899. endif
  2900. export GINSTALL
  2901. ifndef CPPROG
  2902. CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH))))
  2903. ifeq ($(CPPROG),)
  2904. CPPROG= __missing_command_CPPROG
  2905. else
  2906. CPPROG:=$(firstword $(CPPROG))
  2907. endif
  2908. endif
  2909. export CPPROG
  2910. ifndef RMPROG
  2911. RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH))))
  2912. ifeq ($(RMPROG),)
  2913. RMPROG= __missing_command_RMPROG
  2914. else
  2915. RMPROG:=$(firstword $(RMPROG))
  2916. endif
  2917. endif
  2918. export RMPROG
  2919. ifndef MVPROG
  2920. MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH))))
  2921. ifeq ($(MVPROG),)
  2922. MVPROG= __missing_command_MVPROG
  2923. else
  2924. MVPROG:=$(firstword $(MVPROG))
  2925. endif
  2926. endif
  2927. export MVPROG
  2928. ifndef MKDIRPROG
  2929. MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH))))
  2930. ifeq ($(MKDIRPROG),)
  2931. MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH))))
  2932. ifeq ($(MKDIRPROG),)
  2933. MKDIRPROG= __missing_command_MKDIRPROG
  2934. else
  2935. MKDIRPROG:=$(firstword $(MKDIRPROG))
  2936. endif
  2937. else
  2938. MKDIRPROG:=$(firstword $(MKDIRPROG))
  2939. endif
  2940. endif
  2941. export MKDIRPROG
  2942. ifndef ECHOREDIR
  2943. ifndef inUnix
  2944. ECHOREDIR=echo
  2945. else
  2946. ECHOREDIR=$(ECHO)
  2947. endif
  2948. endif
  2949. ifndef COPY
  2950. COPY:=$(CPPROG) -fp
  2951. endif
  2952. ifndef COPYTREE
  2953. COPYTREE:=$(CPPROG) -Rfp
  2954. endif
  2955. ifndef MKDIRTREE
  2956. MKDIRTREE:=$(MKDIRPROG) -p
  2957. endif
  2958. ifndef MOVE
  2959. MOVE:=$(MVPROG) -f
  2960. endif
  2961. ifndef DEL
  2962. DEL:=$(RMPROG) -f
  2963. endif
  2964. ifndef DELTREE
  2965. DELTREE:=$(RMPROG) -rf
  2966. endif
  2967. ifndef INSTALL
  2968. ifdef inUnix
  2969. INSTALL:=$(GINSTALL) -c -m 644
  2970. else
  2971. INSTALL:=$(COPY)
  2972. endif
  2973. endif
  2974. ifndef INSTALLEXE
  2975. ifdef inUnix
  2976. INSTALLEXE:=$(GINSTALL) -c -m 755
  2977. else
  2978. INSTALLEXE:=$(COPY)
  2979. endif
  2980. endif
  2981. ifndef MKDIR
  2982. MKDIR:=$(GINSTALL) -m 755 -d
  2983. endif
  2984. export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
  2985. ifndef PPUMOVE
  2986. PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH))))
  2987. ifeq ($(PPUMOVE),)
  2988. PPUMOVE= __missing_command_PPUMOVE
  2989. else
  2990. PPUMOVE:=$(firstword $(PPUMOVE))
  2991. endif
  2992. endif
  2993. export PPUMOVE
  2994. ifndef FPCMAKE
  2995. FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH))))
  2996. ifeq ($(FPCMAKE),)
  2997. FPCMAKE= __missing_command_FPCMAKE
  2998. else
  2999. FPCMAKE:=$(firstword $(FPCMAKE))
  3000. endif
  3001. endif
  3002. export FPCMAKE
  3003. ifndef ZIPPROG
  3004. ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH))))
  3005. ifeq ($(ZIPPROG),)
  3006. ZIPPROG= __missing_command_ZIPPROG
  3007. else
  3008. ZIPPROG:=$(firstword $(ZIPPROG))
  3009. endif
  3010. endif
  3011. export ZIPPROG
  3012. ifndef TARPROG
  3013. TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
  3014. ifeq ($(TARPROG),)
  3015. TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
  3016. ifeq ($(TARPROG),)
  3017. TARPROG= __missing_command_TARPROG
  3018. else
  3019. TARPROG:=$(firstword $(TARPROG))
  3020. endif
  3021. else
  3022. TARPROG:=$(firstword $(TARPROG))
  3023. endif
  3024. endif
  3025. export TARPROG
  3026. ASNAME=$(BINUTILSPREFIX)as
  3027. LDNAME=$(BINUTILSPREFIX)ld
  3028. ARNAME=$(BINUTILSPREFIX)ar
  3029. RCNAME=$(BINUTILSPREFIX)rc
  3030. NASMNAME=$(BINUTILSPREFIX)nasm
  3031. ifndef ASPROG
  3032. ifdef CROSSBINDIR
  3033. ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
  3034. else
  3035. ASPROG=$(ASNAME)
  3036. endif
  3037. endif
  3038. ifndef LDPROG
  3039. ifdef CROSSBINDIR
  3040. LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)
  3041. else
  3042. LDPROG=$(LDNAME)
  3043. endif
  3044. endif
  3045. ifndef RCPROG
  3046. ifdef CROSSBINDIR
  3047. RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)
  3048. else
  3049. RCPROG=$(RCNAME)
  3050. endif
  3051. endif
  3052. ifndef ARPROG
  3053. ifdef CROSSBINDIR
  3054. ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)
  3055. else
  3056. ARPROG=$(ARNAME)
  3057. endif
  3058. endif
  3059. ifndef NASMPROG
  3060. ifdef CROSSBINDIR
  3061. NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
  3062. else
  3063. NASMPROG=$(NASMNAME)
  3064. endif
  3065. endif
  3066. AS=$(ASPROG)
  3067. LD=$(LDPROG)
  3068. RC=$(RCPROG)
  3069. AR=$(ARPROG)
  3070. NASM=$(NASMPROG)
  3071. ifdef inUnix
  3072. PPAS=./ppas$(SRCBATCHEXT)
  3073. else
  3074. PPAS=ppas$(SRCBATCHEXT)
  3075. endif
  3076. ifdef inUnix
  3077. LDCONFIG=ldconfig
  3078. else
  3079. LDCONFIG=
  3080. endif
  3081. ifdef DATE
  3082. DATESTR:=$(shell $(DATE) +%Y%m%d)
  3083. else
  3084. DATESTR=
  3085. endif
  3086. ZIPOPT=-9
  3087. ZIPEXT=.zip
  3088. ifeq ($(USETAR),bz2)
  3089. TAROPT=vj
  3090. TAREXT=.tar.bz2
  3091. else
  3092. TAROPT=vz
  3093. TAREXT=.tar.gz
  3094. endif
  3095. ifndef NOCPUDEF
  3096. override FPCOPTDEF=$(ARCH)
  3097. endif
  3098. ifneq ($(OS_TARGET),$(OS_SOURCE))
  3099. override FPCOPT+=-T$(OS_TARGET)
  3100. endif
  3101. ifneq ($(CPU_TARGET),$(CPU_SOURCE))
  3102. override FPCOPT+=-P$(ARCH)
  3103. endif
  3104. ifeq ($(OS_SOURCE),openbsd)
  3105. override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
  3106. override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH)
  3107. override FPMAKE_BUILD_OPT+=-FD$(NEW_BINUTILS_PATH)
  3108. endif
  3109. ifndef CROSSBOOTSTRAP
  3110. ifneq ($(BINUTILSPREFIX),)
  3111. override FPCOPT+=-XP$(BINUTILSPREFIX)
  3112. ifneq ($(RLINKPATH),)
  3113. override FPCOPT+=-Xr$(RLINKPATH)
  3114. endif
  3115. endif
  3116. endif
  3117. ifndef CROSSCOMPILE
  3118. ifneq ($(BINUTILSPREFIX),)
  3119. override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
  3120. override FPMAKE_BUILD_OPT+=-XP$(BINUTILSPREFIX)
  3121. endif
  3122. endif
  3123. ifdef UNITDIR
  3124. override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
  3125. endif
  3126. ifdef LIBDIR
  3127. override FPCOPT+=$(addprefix -Fl,$(LIBDIR))
  3128. endif
  3129. ifdef OBJDIR
  3130. override FPCOPT+=$(addprefix -Fo,$(OBJDIR))
  3131. endif
  3132. ifdef INCDIR
  3133. override FPCOPT+=$(addprefix -Fi,$(INCDIR))
  3134. endif
  3135. ifdef LINKSMART
  3136. override FPCOPT+=-XX
  3137. endif
  3138. ifdef CREATESMART
  3139. override FPCOPT+=-CX
  3140. endif
  3141. ifdef DEBUG
  3142. override FPCOPT+=-gl
  3143. override FPCOPTDEF+=DEBUG
  3144. endif
  3145. ifdef RELEASE
  3146. FPCCPUOPT:=-O2
  3147. override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
  3148. override FPCOPTDEF+=RELEASE
  3149. endif
  3150. ifdef STRIP
  3151. override FPCOPT+=-Xs
  3152. endif
  3153. ifdef OPTIMIZE
  3154. override FPCOPT+=-O2
  3155. endif
  3156. ifdef VERBOSE
  3157. override FPCOPT+=-vwni
  3158. endif
  3159. ifdef COMPILER_OPTIONS
  3160. override FPCOPT+=$(COMPILER_OPTIONS)
  3161. endif
  3162. ifdef COMPILER_UNITDIR
  3163. override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))
  3164. endif
  3165. ifdef COMPILER_LIBRARYDIR
  3166. override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))
  3167. endif
  3168. ifdef COMPILER_OBJECTDIR
  3169. override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))
  3170. endif
  3171. ifdef COMPILER_INCLUDEDIR
  3172. override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))
  3173. endif
  3174. ifdef CROSSBINDIR
  3175. override FPCOPT+=-FD$(CROSSBINDIR)
  3176. endif
  3177. ifdef COMPILER_TARGETDIR
  3178. override FPCOPT+=-FE$(COMPILER_TARGETDIR)
  3179. ifeq ($(COMPILER_TARGETDIR),.)
  3180. override TARGETDIRPREFIX=
  3181. else
  3182. override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/
  3183. endif
  3184. endif
  3185. ifdef COMPILER_UNITTARGETDIR
  3186. override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)
  3187. ifeq ($(COMPILER_UNITTARGETDIR),.)
  3188. override UNITTARGETDIRPREFIX=
  3189. else
  3190. override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/
  3191. endif
  3192. else
  3193. ifdef COMPILER_TARGETDIR
  3194. override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
  3195. override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
  3196. endif
  3197. endif
  3198. ifdef SYSROOTPATH
  3199. override FPCOPT+=-XR$(SYSROOTPATH)
  3200. else
  3201. ifeq ($(OS_TARGET),$(OS_SOURCE))
  3202. ifeq ($(OS_TARGET),darwin)
  3203. ifeq ($(CPU_TARGET),aarch64)
  3204. ifneq ($(wildcard /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk),)
  3205. override FPCOPT+=-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
  3206. endif
  3207. endif
  3208. endif
  3209. endif
  3210. endif
  3211. ifdef CREATESHARED
  3212. override FPCOPT+=-Cg
  3213. endif
  3214. ifneq ($(filter $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
  3215. ifneq ($(filter $(CPU_TARGET),x86_64 mips mipsel mips64 mips64el riscv64 powerpc64),)
  3216. override FPCOPT+=-Cg
  3217. endif
  3218. endif
  3219. ifneq ($(filter $(CPU_TARGET),z80),)
  3220. override FPCOPT+=-CX -XX
  3221. endif
  3222. ifdef LINKSHARED
  3223. endif
  3224. ifdef GCCLIBDIR
  3225. override FPCOPT+=-Fl$(GCCLIBDIR)
  3226. ifdef FPCMAKEGCCLIBDIR
  3227. override FPCMAKEOPT+=-Fl$(FPCMAKEGCCLIBDIR)
  3228. else
  3229. override FPCMAKEOPT+=-Fl$(GCCLIBDIR)
  3230. endif
  3231. endif
  3232. ifdef OTHERLIBDIR
  3233. override FPCOPT+=$(addprefix -Fl,$(OTHERLIBDIR))
  3234. endif
  3235. ifdef OPT
  3236. override FPCOPT+=$(OPT)
  3237. endif
  3238. ifdef FPMAKEBUILDOPT
  3239. override FPMAKE_BUILD_OPT+=$(FPMAKEBUILDOPT)
  3240. endif
  3241. ifdef FPCOPTDEF
  3242. override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))
  3243. endif
  3244. ifdef CFGFILE
  3245. override FPCOPT+=@$(CFGFILE)
  3246. endif
  3247. ifdef USEENV
  3248. override FPCEXTCMD:=$(FPCOPT)
  3249. override FPCOPT:=!FPCEXTCMD
  3250. export FPCEXTCMD
  3251. endif
  3252. override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  3253. override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  3254. ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
  3255. override ACROSSCOMPILE=1
  3256. endif
  3257. ifdef ACROSSCOMPILE
  3258. override FPCOPT+=$(CROSSOPT)
  3259. endif
  3260. override COMPILER:=$(strip $(FPC) $(FPCOPT))
  3261. ifneq (,$(filter -sh,$(COMPILER)))
  3262. UseEXECPPAS=1
  3263. endif
  3264. ifneq (,$(filter -s,$(COMPILER)))
  3265. ifeq ($(FULL_SOURCE),$(FULL_TARGET))
  3266. UseEXECPPAS=1
  3267. endif
  3268. endif
  3269. ifneq ($(UseEXECPPAS),1)
  3270. EXECPPAS=
  3271. else
  3272. ifdef RUNBATCH
  3273. EXECPPAS:=@$(RUNBATCH) $(PPAS)
  3274. else
  3275. EXECPPAS:=@$(PPAS)
  3276. endif
  3277. endif
  3278. .PHONY: fpc_loaders
  3279. ifneq ($(TARGET_LOADERS),)
  3280. override ALLTARGET+=fpc_loaders
  3281. override CLEANTARGET+=fpc_loaders_clean
  3282. override INSTALLTARGET+=fpc_loaders_install
  3283. override LOADEROFILES:=$(addsuffix $(OEXT),$(TARGET_LOADERS))
  3284. endif
  3285. %$(OEXT): %$(LOADEREXT)
  3286. ifdef COMPILER_UNITTARGETDIR
  3287. $(AS) -o $(COMPILER_UNITTARGETDIR)/$*$(OEXT) $<
  3288. else
  3289. $(AS) -o $*$(OEXT) $<
  3290. endif
  3291. fpc_loaders: $(COMPILER_UNITTARGETDIR) $(LOADEROFILES)
  3292. fpc_loaders_clean:
  3293. ifdef COMPILER_UNITTARGETDIR
  3294. -$(DEL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES))
  3295. else
  3296. -$(DEL) $(LOADEROFILES)
  3297. endif
  3298. fpc_loaders_install:
  3299. $(MKDIR) $(INSTALL_UNITDIR)
  3300. ifdef COMPILER_UNITTARGETDIR
  3301. $(INSTALL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES)) $(INSTALL_UNITDIR)
  3302. else
  3303. $(INSTALL) $(LOADEROFILES) $(INSTALL_UNITDIR)
  3304. endif
  3305. .PHONY: fpc_units
  3306. ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
  3307. override ALLTARGET+=fpc_units
  3308. override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
  3309. override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))
  3310. override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  3311. override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  3312. endif
  3313. fpc_units: $(COMPILER_UNITTARGETDIR) $(UNITPPUFILES)
  3314. ifdef TARGET_RSTS
  3315. override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
  3316. override CLEANRSTFILES+=$(RSTFILES)
  3317. endif
  3318. .PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
  3319. $(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
  3320. @$(ECHOREDIR) Compiled > $(FPCMADE)
  3321. fpc_all: $(FPCMADE)
  3322. fpc_smart:
  3323. $(MAKE) all LINKSMART=1 CREATESMART=1
  3324. fpc_debug:
  3325. $(MAKE) all DEBUG=1
  3326. fpc_release:
  3327. $(MAKE) all RELEASE=1
  3328. .SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) $(LTOEXT) .pas .lpr .dpr .pp .rc .res
  3329. $(COMPILER_UNITTARGETDIR):
  3330. $(MKDIRTREE) $(COMPILER_UNITTARGETDIR)
  3331. $(COMPILER_TARGETDIR):
  3332. $(MKDIRTREE) $(COMPILER_TARGETDIR)
  3333. %$(PPUEXT): %.pp
  3334. $(COMPILER) $<
  3335. $(EXECPPAS)
  3336. %$(PPUEXT): %.pas
  3337. $(COMPILER) $<
  3338. $(EXECPPAS)
  3339. %$(EXEEXT): %.pp
  3340. $(COMPILER) $<
  3341. $(EXECPPAS)
  3342. %$(EXEEXT): %.pas
  3343. $(COMPILER) $<
  3344. $(EXECPPAS)
  3345. %$(EXEEXT): %.lpr
  3346. $(COMPILER) $<
  3347. $(EXECPPAS)
  3348. %$(EXEEXT): %.dpr
  3349. $(COMPILER) $<
  3350. $(EXECPPAS)
  3351. %.res: %.rc
  3352. windres -i $< -o $@
  3353. vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3354. vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3355. vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3356. vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3357. vpath %.inc $(COMPILER_INCLUDEDIR)
  3358. vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
  3359. vpath %$(LTOEXT) $(COMPILER_UNITTARGETDIR)
  3360. vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
  3361. .PHONY: fpc_shared
  3362. override INSTALLTARGET+=fpc_shared_install
  3363. ifndef SHARED_LIBVERSION
  3364. SHARED_LIBVERSION=$(FPC_VERSION)
  3365. endif
  3366. ifndef SHARED_LIBNAME
  3367. SHARED_LIBNAME=$(PACKAGE_NAME)
  3368. endif
  3369. ifndef SHARED_FULLNAME
  3370. SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
  3371. endif
  3372. ifndef SHARED_LIBUNITS
  3373. SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
  3374. override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
  3375. endif
  3376. fpc_shared:
  3377. ifdef HASSHAREDLIB
  3378. $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
  3379. ifneq ($(SHARED_BUILD),n)
  3380. $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR) -P$(BINUTILSPREFIX)
  3381. endif
  3382. else
  3383. @$(ECHO) Shared Libraries not supported
  3384. endif
  3385. fpc_shared_install:
  3386. ifneq ($(SHARED_BUILD),n)
  3387. ifneq ($(SHARED_LIBUNITS),)
  3388. ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
  3389. $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
  3390. endif
  3391. endif
  3392. endif
  3393. .PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
  3394. ifdef INSTALL_UNITS
  3395. override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
  3396. endif
  3397. ifdef INSTALL_BUILDUNIT
  3398. override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES))
  3399. endif
  3400. ifdef INSTALLPPUFILES
  3401. ifneq ($(IMPORTLIBPREFIX)-$(STATICLIBEXT),$(STATICLIBPREFIX)-$(STATICLIBEXT))
  3402. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  3403. else
  3404. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  3405. endif
  3406. ifneq ($(UNITTARGETDIRPREFIX),)
  3407. override INSTALLPPUFILENAMES:=$(notdir $(INSTALLPPUFILES))
  3408. override INSTALLPPULINKFILENAMES:=$(notdir $(INSTALLPPULINKFILES))
  3409. override INSTALLPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPUFILENAMES))
  3410. override INSTALLPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPULINKFILENAMES)))
  3411. endif
  3412. override INSTALL_CREATEPACKAGEFPC=1
  3413. endif
  3414. ifdef INSTALLEXEFILES
  3415. ifneq ($(TARGETDIRPREFIX),)
  3416. override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES)))
  3417. endif
  3418. endif
  3419. fpc_install: all $(INSTALLTARGET)
  3420. ifdef INSTALLEXEFILES
  3421. $(MKDIR) $(INSTALL_BINDIR)
  3422. $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
  3423. endif
  3424. ifdef INSTALL_CREATEPACKAGEFPC
  3425. ifdef FPCMAKE
  3426. ifdef PACKAGE_VERSION
  3427. ifneq ($(wildcard Makefile.fpc),)
  3428. $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc
  3429. $(MKDIR) $(INSTALL_UNITDIR)
  3430. $(INSTALL) Package.fpc $(INSTALL_UNITDIR)
  3431. endif
  3432. endif
  3433. endif
  3434. endif
  3435. ifdef INSTALLPPUFILES
  3436. $(MKDIR) $(INSTALL_UNITDIR)
  3437. $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)
  3438. ifneq ($(INSTALLPPULINKFILES),)
  3439. $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)
  3440. endif
  3441. ifneq ($(wildcard $(LIB_FULLNAME)),)
  3442. $(MKDIR) $(INSTALL_LIBDIR)
  3443. $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)
  3444. ifdef inUnix
  3445. ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)
  3446. endif
  3447. endif
  3448. endif
  3449. ifdef INSTALL_FILES
  3450. $(MKDIR) $(INSTALL_DATADIR)
  3451. $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)
  3452. endif
  3453. fpc_sourceinstall: distclean
  3454. $(MKDIR) $(INSTALL_SOURCEDIR)
  3455. $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)
  3456. fpc_exampleinstall: $(EXAMPLEINSTALLTARGET) $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
  3457. ifdef HASEXAMPLES
  3458. $(MKDIR) $(INSTALL_EXAMPLEDIR)
  3459. endif
  3460. ifdef EXAMPLESOURCEFILES
  3461. $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
  3462. endif
  3463. ifdef TARGET_EXAMPLEDIRS
  3464. $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
  3465. endif
  3466. .PHONY: fpc_clean fpc_cleanall fpc_distclean
  3467. ifdef EXEFILES
  3468. override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES))
  3469. override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES))
  3470. endif
  3471. ifdef CLEAN_PROGRAMS
  3472. override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS)))
  3473. override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS)))
  3474. endif
  3475. ifdef CLEAN_UNITS
  3476. override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))
  3477. endif
  3478. ifdef CLEANPPUFILES
  3479. override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES)))
  3480. ifdef DEBUGSYMEXT
  3481. override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES))
  3482. endif
  3483. override CLEANPPUFILENAMES:=$(CLEANPPUFILES)
  3484. override CLEANPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILENAMES))
  3485. override CLEANPPULINKFILENAMES:=$(CLEANPPULINKFILES)
  3486. override CLEANPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILENAMES)))
  3487. endif
  3488. fpc_clean: $(CLEANTARGET)
  3489. ifdef CLEANEXEFILES
  3490. -$(DEL) $(CLEANEXEFILES)
  3491. endif
  3492. ifdef CLEANEXEDBGFILES
  3493. -$(DELTREE) $(CLEANEXEDBGFILES)
  3494. endif
  3495. ifdef CLEANPPUFILES
  3496. -$(DEL) $(CLEANPPUFILES)
  3497. endif
  3498. ifneq ($(CLEANPPULINKFILES),)
  3499. -$(DEL) $(CLEANPPULINKFILES)
  3500. endif
  3501. ifdef CLEANRSTFILES
  3502. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  3503. endif
  3504. ifdef CLEAN_FILES
  3505. -$(DEL) $(CLEAN_FILES)
  3506. endif
  3507. ifdef LIB_NAME
  3508. -$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
  3509. endif
  3510. -$(DEL) $(FPCMADE) *$(FULL_TARGET).fpm Package.fpc *$(ASMEXT)
  3511. -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
  3512. -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
  3513. fpc_cleanall: $(CLEANTARGET)
  3514. ifdef CLEANEXEFILES
  3515. -$(DEL) $(CLEANEXEFILES)
  3516. endif
  3517. ifdef COMPILER_UNITTARGETDIR
  3518. ifdef CLEANPPUFILES
  3519. -$(DEL) $(CLEANPPUFILES)
  3520. endif
  3521. ifneq ($(CLEANPPULINKFILES),)
  3522. -$(DEL) $(CLEANPPULINKFILES)
  3523. endif
  3524. ifdef CLEANRSTFILES
  3525. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  3526. endif
  3527. endif
  3528. ifdef CLEAN_FILES
  3529. -$(DEL) $(CLEAN_FILES)
  3530. endif
  3531. -$(DELTREE) units
  3532. -$(DELTREE) bin
  3533. -$(DEL) *$(OEXT) *$(LTOEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
  3534. ifneq ($(PPUEXT),.ppu)
  3535. -$(DEL) *.o *.ppu *.a
  3536. endif
  3537. -$(DELTREE) *$(SMARTEXT)
  3538. -$(DEL) fpcmade.* Package.fpc *.fpm
  3539. -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
  3540. -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
  3541. ifdef AOUTEXT
  3542. -$(DEL) *$(AOUTEXT)
  3543. endif
  3544. ifdef DEBUGSYMEXT
  3545. -$(DEL) *$(DEBUGSYMEXT)
  3546. endif
  3547. ifdef LOCALFPMAKEBIN
  3548. -$(DEL) $(LOCALFPMAKEBIN)
  3549. -$(DEL) $(FPMAKEBINOBJ)
  3550. endif
  3551. fpc_distclean: cleanall
  3552. .PHONY: fpc_baseinfo
  3553. override INFORULES+=fpc_baseinfo
  3554. fpc_baseinfo:
  3555. @$(ECHO)
  3556. @$(ECHO) == Package info ==
  3557. @$(ECHO) Package Name..... $(PACKAGE_NAME)
  3558. @$(ECHO) Package Version.. $(PACKAGE_VERSION)
  3559. @$(ECHO)
  3560. @$(ECHO) == Configuration info ==
  3561. @$(ECHO)
  3562. @$(ECHO) FPC.......... $(FPC)
  3563. @$(ECHO) FPC Version.. $(FPC_VERSION)
  3564. @$(ECHO) Source CPU... $(CPU_SOURCE)
  3565. @$(ECHO) Target CPU... $(CPU_TARGET)
  3566. @$(ECHO) Source OS.... $(OS_SOURCE)
  3567. @$(ECHO) Target OS.... $(OS_TARGET)
  3568. @$(ECHO) Full Source.. $(FULL_SOURCE)
  3569. @$(ECHO) Full Target.. $(FULL_TARGET)
  3570. @$(ECHO) SourceSuffix. $(SOURCESUFFIX)
  3571. @$(ECHO) TargetSuffix. $(TARGETSUFFIX)
  3572. @$(ECHO) FPC fpmake... $(FPCFPMAKE)
  3573. @$(ECHO)
  3574. @$(ECHO) == Directory info ==
  3575. @$(ECHO)
  3576. @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES)
  3577. @$(ECHO)
  3578. @$(ECHO) Basedir......... $(BASEDIR)
  3579. @$(ECHO) FPCDir.......... $(FPCDIR)
  3580. @$(ECHO) CrossBinDir..... $(CROSSBINDIR)
  3581. @$(ECHO) UnitsDir........ $(UNITSDIR)
  3582. @$(ECHO) PackagesDir..... $(PACKAGESDIR)
  3583. @$(ECHO)
  3584. @$(ECHO) GCC library..... $(GCCLIBDIR)
  3585. @$(ECHO) Other library... $(OTHERLIBDIR)
  3586. @$(ECHO)
  3587. @$(ECHO) == Tools info ==
  3588. @$(ECHO)
  3589. @$(ECHO) As........ $(AS)
  3590. @$(ECHO) Ld........ $(LD)
  3591. @$(ECHO) Ar........ $(AR)
  3592. @$(ECHO) Rc........ $(RC)
  3593. @$(ECHO)
  3594. @$(ECHO) Mv........ $(MVPROG)
  3595. @$(ECHO) Cp........ $(CPPROG)
  3596. @$(ECHO) Rm........ $(RMPROG)
  3597. @$(ECHO) GInstall.. $(GINSTALL)
  3598. @$(ECHO) Echo...... $(ECHO)
  3599. @$(ECHO) Shell..... $(SHELL)
  3600. @$(ECHO) Date...... $(DATE)
  3601. @$(ECHO) FPCMake... $(FPCMAKE)
  3602. @$(ECHO) PPUMove... $(PPUMOVE)
  3603. @$(ECHO) Zip....... $(ZIPPROG)
  3604. @$(ECHO)
  3605. @$(ECHO) == Object info ==
  3606. @$(ECHO)
  3607. @$(ECHO) Target Loaders........ $(TARGET_LOADERS)
  3608. @$(ECHO) Target Units.......... $(TARGET_UNITS)
  3609. @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS)
  3610. @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)
  3611. @$(ECHO) Target Dirs........... $(TARGET_DIRS)
  3612. @$(ECHO) Target Examples....... $(TARGET_EXAMPLES)
  3613. @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)
  3614. @$(ECHO)
  3615. @$(ECHO) Clean Units......... $(CLEAN_UNITS)
  3616. @$(ECHO) Clean Files......... $(CLEAN_FILES)
  3617. @$(ECHO)
  3618. @$(ECHO) Install Units....... $(INSTALL_UNITS)
  3619. @$(ECHO) Install Files....... $(INSTALL_FILES)
  3620. @$(ECHO)
  3621. @$(ECHO) == Install info ==
  3622. @$(ECHO)
  3623. @$(ECHO) DateStr.............. $(DATESTR)
  3624. @$(ECHO) ZipName.............. $(ZIPNAME)
  3625. @$(ECHO) ZipPrefix............ $(ZIPPREFIX)
  3626. @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)
  3627. @$(ECHO) ZipSuffix............ $(ZIPSUFFIX)
  3628. @$(ECHO) FullZipName.......... $(FULLZIPNAME)
  3629. @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)
  3630. @$(ECHO)
  3631. @$(ECHO) Install base dir..... $(INSTALL_BASEDIR)
  3632. @$(ECHO) Install binary dir... $(INSTALL_BINDIR)
  3633. @$(ECHO) Install library dir.. $(INSTALL_LIBDIR)
  3634. @$(ECHO) Install units dir.... $(INSTALL_UNITDIR)
  3635. @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)
  3636. @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR)
  3637. @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR)
  3638. @$(ECHO) Install data dir..... $(INSTALL_DATADIR)
  3639. @$(ECHO)
  3640. @$(ECHO) Dist destination dir. $(DIST_DESTDIR)
  3641. @$(ECHO) Dist zip name........ $(DIST_ZIPNAME)
  3642. @$(ECHO)
  3643. .PHONY: fpc_info
  3644. fpc_info: $(INFORULES)
  3645. .PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \
  3646. fpc_makefile_dirs
  3647. fpc_makefile:
  3648. $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc
  3649. fpc_makefile_sub1:
  3650. ifdef TARGET_DIRS
  3651. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS))
  3652. endif
  3653. ifdef TARGET_EXAMPLEDIRS
  3654. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS))
  3655. endif
  3656. fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
  3657. fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
  3658. fpc_makefiles: fpc_makefile fpc_makefile_dirs
  3659. all: fpc_all
  3660. debug: fpc_debug
  3661. smart: fpc_smart
  3662. release: fpc_release
  3663. units: fpc_units
  3664. examples:
  3665. shared: fpc_shared
  3666. install: fpc_install
  3667. sourceinstall: fpc_sourceinstall
  3668. exampleinstall: fpc_exampleinstall
  3669. distinstall:
  3670. zipinstall:
  3671. zipsourceinstall:
  3672. zipexampleinstall:
  3673. zipdistinstall:
  3674. clean: fpc_clean
  3675. distclean: fpc_distclean
  3676. cleanall: fpc_cleanall
  3677. info: fpc_info
  3678. makefiles: fpc_makefiles
  3679. .PHONY: all debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean distclean cleanall info makefiles
  3680. ifneq ($(wildcard fpcmake.loc),)
  3681. include fpcmake.loc
  3682. endif
  3683. .NOTPARALLEL:
  3684. include $(INC)/makefile.inc
  3685. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  3686. include $(PROCINC)/makefile.cpu
  3687. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  3688. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
  3689. $(SYSTEMUNIT)$(PPUEXT) : $(SYSTEMUNIT).pp $(SYSDEPS)
  3690. $(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg @rtl.cfg $(SYSTEMUNIT).pp $(REDIR)
  3691. heaptrc$(PPUEXT) : $(INC)/heaptrc.pp $(SYSTEMUNIT)$(PPUEXT)
  3692. $(COMPILER) -Sg $(INC)/heaptrc.pp $(REDIR)
  3693. uuchar$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) $(INC)/uuchar.pp heaptrc$(PPUEXT)
  3694. $(COMPILER) $(INC)/uuchar.pp
  3695. objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc $(SYSTEMUNIT)$(PPUEXT)
  3696. $(COMPILER) -I$(OBJPASDIR) $(OBJPASDIR)/objpas.pp $(REDIR)
  3697. macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) buildrtl$(PPUEXT) heaptrc$(PPUEXT)
  3698. $(COMPILER) $(INC)/macpas.pp
  3699. iso7185$(PPUEXT) : $(INC)/iso7185.pp buildrtl$(PPUEXT) heaptrc$(PPUEXT)
  3700. $(COMPILER) $(INC)/iso7185.pp
  3701. extpas$(PPUEXT) : $(INC)/extpas.pp buildrtl$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) heaptrc$(PPUEXT)
  3702. $(COMPILER) $(INC)/extpas.pp
  3703. buildrtl$(PPUEXT): buildrtl.pp system$(PPUEXT) objpas$(PPUEXT) heaptrc$(PPUEXT)
  3704. $(COMPILER) -Fi$(OBJPASDIR)/sysutils -Fi$(OBJPASDIR)/classes -Fu$(CPU_TARGET) -Fu$(PROCINC) -Fu$(AMIINC) -I$(INC) -Fu$(INC) -Fu$(OBJPASDIR) buildrtl
  3705. fpextres$(PPUEXT) : $(INC)/fpextres.pp $(SYSTEMUNIT)$(PPUEXT)
  3706. $(COMPILER) -Sg $(INC)/fpextres.pp
  3707. cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) objpas$(PPUEXT) heaptrc$(PPUEXT)
  3708. $(COMPILER) -Fu$(INC) -Fi$(RTL)/charmaps $(RTL)/charmaps/cpall.pas