Makefile 157 KB

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