Makefile 156 KB

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