Makefile 194 KB

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