Makefile 154 KB

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