Makefile 167 KB

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