Makefile 161 KB

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