Makefile 145 KB

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