Makefile 152 KB

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