Makefile 139 KB

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