Makefile 158 KB

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