Makefile 131 KB

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