Makefile 167 KB

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