Makefile 137 KB

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