Makefile 146 KB

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