Makefile 116 KB

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