Makefile 121 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803
  1. #
  2. # Don't edit, this file is generated by FPCMake Version 2.0.0 [2015-01-04 rev 29399]
  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-dragonfly arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android 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-msdos aarch64-darwin
  6. BSDs = freebsd netbsd openbsd darwin dragonfly
  7. UNIXs = linux $(BSDs) solaris qnx haiku aix
  8. LIMIT83fs = go32v2 os2 emx watcom msdos
  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=darwin
  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),mipsel-embedded)
  189. ifeq ($(SUBARCH),)
  190. $(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic32mx) must be defined)
  191. endif
  192. override FPCOPT+=-Cp$(SUBARCH)
  193. endif
  194. ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
  195. TARGETSUFFIX=$(OS_TARGET)
  196. SOURCESUFFIX=$(OS_SOURCE)
  197. else
  198. ifneq ($(findstring $(OS_TARGET),$(LIMIT83fs)),)
  199. TARGETSUFFIX=$(OS_TARGET)
  200. else
  201. TARGETSUFFIX=$(FULL_TARGET)
  202. endif
  203. SOURCESUFFIX=$(FULL_SOURCE)
  204. endif
  205. ifneq ($(FULL_TARGET),$(FULL_SOURCE))
  206. CROSSCOMPILE=1
  207. endif
  208. ifeq ($(findstring makefile,$(MAKECMDGOALS)),)
  209. ifeq ($(findstring $(FULL_TARGET),$(MAKEFILETARGETS)),)
  210. $(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first)
  211. endif
  212. endif
  213. ifneq ($(findstring $(OS_TARGET),$(BSDs)),)
  214. BSDhier=1
  215. endif
  216. ifeq ($(OS_TARGET),linux)
  217. linuxHier=1
  218. endif
  219. ifndef CROSSCOMPILE
  220. BUILDFULLNATIVE=1
  221. export BUILDFULLNATIVE
  222. endif
  223. ifdef BUILDFULLNATIVE
  224. BUILDNATIVE=1
  225. export BUILDNATIVE
  226. endif
  227. export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE
  228. ifdef FPCDIR
  229. override FPCDIR:=$(subst \,/,$(FPCDIR))
  230. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
  231. override FPCDIR=wrong
  232. endif
  233. else
  234. override FPCDIR=wrong
  235. endif
  236. ifdef DEFAULT_FPCDIR
  237. ifeq ($(FPCDIR),wrong)
  238. override FPCDIR:=$(subst \,/,$(DEFAULT_FPCDIR))
  239. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
  240. override FPCDIR=wrong
  241. endif
  242. endif
  243. endif
  244. ifeq ($(FPCDIR),wrong)
  245. ifdef inUnix
  246. override FPCDIR=/usr/local/lib/fpc/$(FPC_VERSION)
  247. ifeq ($(wildcard $(FPCDIR)/units),)
  248. override FPCDIR=/usr/lib/fpc/$(FPC_VERSION)
  249. endif
  250. else
  251. override FPCDIR:=$(subst /$(FPC),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))))
  252. override FPCDIR:=$(FPCDIR)/..
  253. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
  254. override FPCDIR:=$(FPCDIR)/..
  255. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
  256. override FPCDIR:=$(BASEDIR)
  257. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
  258. override FPCDIR=c:/pp
  259. endif
  260. endif
  261. endif
  262. endif
  263. endif
  264. ifndef CROSSBINDIR
  265. CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX))
  266. endif
  267. ifneq ($(findstring $(OS_TARGET),darwin iphonesim),)
  268. ifeq ($(OS_SOURCE),darwin)
  269. DARWIN2DARWIN=1
  270. endif
  271. endif
  272. ifndef BINUTILSPREFIX
  273. ifndef CROSSBINDIR
  274. ifdef CROSSCOMPILE
  275. ifneq ($(OS_TARGET),msdos)
  276. ifndef DARWIN2DARWIN
  277. ifneq ($(CPU_TARGET),jvm)
  278. BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
  279. ifeq ($(OS_TARGET),android)
  280. ifeq ($(CPU_TARGET),arm)
  281. BINUTILSPREFIX=arm-linux-androideabi-
  282. else
  283. ifeq ($(CPU_TARGET),i386)
  284. BINUTILSPREFIX=i686-linux-android-
  285. else
  286. ifeq ($(CPU_TARGET),mipsel)
  287. BINUTILSPREFIX=mipsel-linux-android-
  288. endif
  289. endif
  290. endif
  291. endif
  292. endif
  293. endif
  294. else
  295. BINUTILSPREFIX=$(OS_TARGET)-
  296. endif
  297. endif
  298. endif
  299. endif
  300. UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
  301. ifeq ($(UNITSDIR),)
  302. UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
  303. endif
  304. PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
  305. ifndef FPCFPMAKE
  306. ifdef CROSSCOMPILE
  307. ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),)
  308. FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
  309. ifneq ($(FPCPROG),)
  310. FPCPROG:=$(firstword $(FPCPROG))
  311. FPCFPMAKE:=$(shell $(FPCPROG) -PB)
  312. ifeq ($(strip $(wildcard $(FPCFPMAKE))),)
  313. FPCFPMAKE:=$(firstword $(FPCPROG))
  314. endif
  315. else
  316. override FPCFPMAKE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  317. endif
  318. else
  319. FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR))))
  320. FPMAKE_SKIP_CONFIG=-n
  321. export FPCFPMAKE
  322. export FPMAKE_SKIP_CONFIG
  323. endif
  324. else
  325. FPMAKE_SKIP_CONFIG=-n
  326. FPCFPMAKE=$(FPC)
  327. endif
  328. endif
  329. override PACKAGE_NAME=rtl
  330. PACKAGEDIR_MAIN:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
  331. ifeq ($(CPU_TARGET),i386)
  332. CPU_UNITS=mmx cpu
  333. endif
  334. ifeq ($(ARCH),x86_64)
  335. CPU_UNITS=cpu
  336. endif
  337. RTL=..
  338. INC=$(RTL)/inc
  339. COMMON=$(RTL)/common
  340. PROCINC=$(RTL)/$(CPU_TARGET)
  341. BSDINC=$(RTL)/bsd
  342. BSDPROCINC=$(BSDINC)/$(CPU_TARGET)
  343. OSPROCINC=$(RTL)/darwin/$(CPU_TARGET)
  344. UNIXINC=$(RTL)/unix
  345. UNITPREFIX=rtl
  346. ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
  347. SYSTEMUNIT=system
  348. override FPCOPT+=-dNOMOUSE
  349. else
  350. SYSTEMUNIT="Error: Darwin is not supported for 1.0"
  351. endif
  352. ifdef RELEASE
  353. override FPCOPT+=-Ur
  354. endif
  355. override FPCOPT+=-dFPC_USE_LIBC
  356. OBJPASDIR=$(RTL)/objpas
  357. GRAPHDIR=$(INC)/graph
  358. ifndef USELIBGGI
  359. USELIBGGI=NO
  360. endif
  361. ifeq ($(FULL_TARGET),i386-linux)
  362. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  363. endif
  364. ifeq ($(FULL_TARGET),i386-go32v2)
  365. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  366. endif
  367. ifeq ($(FULL_TARGET),i386-win32)
  368. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  369. endif
  370. ifeq ($(FULL_TARGET),i386-os2)
  371. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  372. endif
  373. ifeq ($(FULL_TARGET),i386-freebsd)
  374. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  375. endif
  376. ifeq ($(FULL_TARGET),i386-beos)
  377. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  378. endif
  379. ifeq ($(FULL_TARGET),i386-haiku)
  380. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  381. endif
  382. ifeq ($(FULL_TARGET),i386-netbsd)
  383. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  384. endif
  385. ifeq ($(FULL_TARGET),i386-solaris)
  386. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  387. endif
  388. ifeq ($(FULL_TARGET),i386-qnx)
  389. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  390. endif
  391. ifeq ($(FULL_TARGET),i386-netware)
  392. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  393. endif
  394. ifeq ($(FULL_TARGET),i386-openbsd)
  395. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  396. endif
  397. ifeq ($(FULL_TARGET),i386-wdosx)
  398. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  399. endif
  400. ifeq ($(FULL_TARGET),i386-darwin)
  401. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  402. endif
  403. ifeq ($(FULL_TARGET),i386-emx)
  404. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  405. endif
  406. ifeq ($(FULL_TARGET),i386-watcom)
  407. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  408. endif
  409. ifeq ($(FULL_TARGET),i386-netwlibc)
  410. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  411. endif
  412. ifeq ($(FULL_TARGET),i386-wince)
  413. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  414. endif
  415. ifeq ($(FULL_TARGET),i386-embedded)
  416. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  417. endif
  418. ifeq ($(FULL_TARGET),i386-symbian)
  419. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  420. endif
  421. ifeq ($(FULL_TARGET),i386-nativent)
  422. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  423. endif
  424. ifeq ($(FULL_TARGET),i386-iphonesim)
  425. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  426. endif
  427. ifeq ($(FULL_TARGET),i386-android)
  428. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  429. endif
  430. ifeq ($(FULL_TARGET),i386-aros)
  431. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  432. endif
  433. ifeq ($(FULL_TARGET),m68k-linux)
  434. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  435. endif
  436. ifeq ($(FULL_TARGET),m68k-freebsd)
  437. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  438. endif
  439. ifeq ($(FULL_TARGET),m68k-netbsd)
  440. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  441. endif
  442. ifeq ($(FULL_TARGET),m68k-amiga)
  443. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  444. endif
  445. ifeq ($(FULL_TARGET),m68k-atari)
  446. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  447. endif
  448. ifeq ($(FULL_TARGET),m68k-openbsd)
  449. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  450. endif
  451. ifeq ($(FULL_TARGET),m68k-palmos)
  452. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  453. endif
  454. ifeq ($(FULL_TARGET),m68k-embedded)
  455. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  456. endif
  457. ifeq ($(FULL_TARGET),powerpc-linux)
  458. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  459. endif
  460. ifeq ($(FULL_TARGET),powerpc-netbsd)
  461. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  462. endif
  463. ifeq ($(FULL_TARGET),powerpc-amiga)
  464. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  465. endif
  466. ifeq ($(FULL_TARGET),powerpc-macos)
  467. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  468. endif
  469. ifeq ($(FULL_TARGET),powerpc-darwin)
  470. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  471. endif
  472. ifeq ($(FULL_TARGET),powerpc-morphos)
  473. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  474. endif
  475. ifeq ($(FULL_TARGET),powerpc-embedded)
  476. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  477. endif
  478. ifeq ($(FULL_TARGET),powerpc-wii)
  479. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  480. endif
  481. ifeq ($(FULL_TARGET),powerpc-aix)
  482. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  483. endif
  484. ifeq ($(FULL_TARGET),sparc-linux)
  485. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  486. endif
  487. ifeq ($(FULL_TARGET),sparc-netbsd)
  488. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  489. endif
  490. ifeq ($(FULL_TARGET),sparc-solaris)
  491. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  492. endif
  493. ifeq ($(FULL_TARGET),sparc-embedded)
  494. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  495. endif
  496. ifeq ($(FULL_TARGET),x86_64-linux)
  497. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  498. endif
  499. ifeq ($(FULL_TARGET),x86_64-freebsd)
  500. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  501. endif
  502. ifeq ($(FULL_TARGET),x86_64-netbsd)
  503. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  504. endif
  505. ifeq ($(FULL_TARGET),x86_64-solaris)
  506. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  507. endif
  508. ifeq ($(FULL_TARGET),x86_64-openbsd)
  509. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  510. endif
  511. ifeq ($(FULL_TARGET),x86_64-darwin)
  512. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  513. endif
  514. ifeq ($(FULL_TARGET),x86_64-win64)
  515. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  516. endif
  517. ifeq ($(FULL_TARGET),x86_64-embedded)
  518. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  519. endif
  520. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  521. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  522. endif
  523. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  524. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  525. endif
  526. ifeq ($(FULL_TARGET),arm-linux)
  527. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  528. endif
  529. ifeq ($(FULL_TARGET),arm-palmos)
  530. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  531. endif
  532. ifeq ($(FULL_TARGET),arm-darwin)
  533. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  534. endif
  535. ifeq ($(FULL_TARGET),arm-wince)
  536. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  537. endif
  538. ifeq ($(FULL_TARGET),arm-gba)
  539. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  540. endif
  541. ifeq ($(FULL_TARGET),arm-nds)
  542. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  543. endif
  544. ifeq ($(FULL_TARGET),arm-embedded)
  545. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  546. endif
  547. ifeq ($(FULL_TARGET),arm-symbian)
  548. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  549. endif
  550. ifeq ($(FULL_TARGET),arm-android)
  551. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  552. endif
  553. ifeq ($(FULL_TARGET),powerpc64-linux)
  554. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  555. endif
  556. ifeq ($(FULL_TARGET),powerpc64-darwin)
  557. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  558. endif
  559. ifeq ($(FULL_TARGET),powerpc64-embedded)
  560. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  561. endif
  562. ifeq ($(FULL_TARGET),powerpc64-aix)
  563. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  564. endif
  565. ifeq ($(FULL_TARGET),avr-embedded)
  566. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  567. endif
  568. ifeq ($(FULL_TARGET),armeb-linux)
  569. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  570. endif
  571. ifeq ($(FULL_TARGET),armeb-embedded)
  572. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  573. endif
  574. ifeq ($(FULL_TARGET),mips-linux)
  575. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  576. endif
  577. ifeq ($(FULL_TARGET),mipsel-linux)
  578. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  579. endif
  580. ifeq ($(FULL_TARGET),mipsel-embedded)
  581. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  582. endif
  583. ifeq ($(FULL_TARGET),mipsel-android)
  584. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  585. endif
  586. ifeq ($(FULL_TARGET),jvm-java)
  587. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  588. endif
  589. ifeq ($(FULL_TARGET),jvm-android)
  590. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  591. endif
  592. ifeq ($(FULL_TARGET),i8086-msdos)
  593. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  594. endif
  595. ifeq ($(FULL_TARGET),aarch64-darwin)
  596. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 strings sysctl baseunix unixutil unix initc cmem dynlibs $(CPU_UNITS) dos dl blockrtl sysutils typinfo fgl classes math types charset cpall character getopts heaptrc lineinfo lnfodwrf lnfogdb errors termio sysconst cthreads rtlconsts cwstring bsd fpwidestring fpintres fpextres objc objcbase unixcp
  597. endif
  598. ifeq ($(FULL_TARGET),i386-linux)
  599. 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
  600. endif
  601. ifeq ($(FULL_TARGET),i386-go32v2)
  602. 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
  603. endif
  604. ifeq ($(FULL_TARGET),i386-win32)
  605. 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
  606. endif
  607. ifeq ($(FULL_TARGET),i386-os2)
  608. 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
  609. endif
  610. ifeq ($(FULL_TARGET),i386-freebsd)
  611. 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
  612. endif
  613. ifeq ($(FULL_TARGET),i386-beos)
  614. 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
  615. endif
  616. ifeq ($(FULL_TARGET),i386-haiku)
  617. 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
  618. endif
  619. ifeq ($(FULL_TARGET),i386-netbsd)
  620. 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
  621. endif
  622. ifeq ($(FULL_TARGET),i386-solaris)
  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-qnx)
  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-netware)
  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-openbsd)
  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-wdosx)
  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-darwin)
  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-emx)
  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-watcom)
  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-netwlibc)
  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-wince)
  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-embedded)
  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-symbian)
  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-nativent)
  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-iphonesim)
  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-android)
  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-aros)
  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),m68k-linux)
  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),m68k-freebsd)
  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),m68k-netbsd)
  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),m68k-amiga)
  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),m68k-atari)
  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),m68k-openbsd)
  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),m68k-palmos)
  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),m68k-embedded)
  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),powerpc-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),powerpc-netbsd)
  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),powerpc-amiga)
  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),powerpc-macos)
  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),powerpc-darwin)
  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),powerpc-morphos)
  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),powerpc-embedded)
  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),powerpc-wii)
  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-aix)
  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),sparc-linux)
  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),sparc-netbsd)
  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),sparc-solaris)
  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),sparc-embedded)
  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),x86_64-linux)
  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),x86_64-freebsd)
  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),x86_64-netbsd)
  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),x86_64-solaris)
  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),x86_64-openbsd)
  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),x86_64-darwin)
  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),x86_64-win64)
  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),x86_64-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-iphonesim)
  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-dragonfly)
  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),arm-linux)
  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),arm-palmos)
  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),arm-darwin)
  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),arm-wince)
  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),arm-gba)
  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),arm-nds)
  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),arm-embedded)
  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),arm-symbian)
  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),arm-android)
  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),powerpc64-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),powerpc64-darwin)
  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),powerpc64-embedded)
  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),powerpc64-aix)
  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),avr-embedded)
  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),armeb-linux)
  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),armeb-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),mips-linux)
  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),mipsel-linux)
  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),mipsel-embedded)
  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),mipsel-android)
  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),jvm-java)
  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),jvm-android)
  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),i8086-msdos)
  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),aarch64-darwin)
  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),i386-linux)
  836. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  837. endif
  838. ifeq ($(FULL_TARGET),i386-go32v2)
  839. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  840. endif
  841. ifeq ($(FULL_TARGET),i386-win32)
  842. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  843. endif
  844. ifeq ($(FULL_TARGET),i386-os2)
  845. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  846. endif
  847. ifeq ($(FULL_TARGET),i386-freebsd)
  848. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  849. endif
  850. ifeq ($(FULL_TARGET),i386-beos)
  851. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  852. endif
  853. ifeq ($(FULL_TARGET),i386-haiku)
  854. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  855. endif
  856. ifeq ($(FULL_TARGET),i386-netbsd)
  857. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  858. endif
  859. ifeq ($(FULL_TARGET),i386-solaris)
  860. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  861. endif
  862. ifeq ($(FULL_TARGET),i386-qnx)
  863. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  864. endif
  865. ifeq ($(FULL_TARGET),i386-netware)
  866. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  867. endif
  868. ifeq ($(FULL_TARGET),i386-openbsd)
  869. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  870. endif
  871. ifeq ($(FULL_TARGET),i386-wdosx)
  872. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  873. endif
  874. ifeq ($(FULL_TARGET),i386-darwin)
  875. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  876. endif
  877. ifeq ($(FULL_TARGET),i386-emx)
  878. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  879. endif
  880. ifeq ($(FULL_TARGET),i386-watcom)
  881. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  882. endif
  883. ifeq ($(FULL_TARGET),i386-netwlibc)
  884. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  885. endif
  886. ifeq ($(FULL_TARGET),i386-wince)
  887. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  888. endif
  889. ifeq ($(FULL_TARGET),i386-embedded)
  890. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  891. endif
  892. ifeq ($(FULL_TARGET),i386-symbian)
  893. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  894. endif
  895. ifeq ($(FULL_TARGET),i386-nativent)
  896. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  897. endif
  898. ifeq ($(FULL_TARGET),i386-iphonesim)
  899. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  900. endif
  901. ifeq ($(FULL_TARGET),i386-android)
  902. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  903. endif
  904. ifeq ($(FULL_TARGET),i386-aros)
  905. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  906. endif
  907. ifeq ($(FULL_TARGET),m68k-linux)
  908. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  909. endif
  910. ifeq ($(FULL_TARGET),m68k-freebsd)
  911. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  912. endif
  913. ifeq ($(FULL_TARGET),m68k-netbsd)
  914. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  915. endif
  916. ifeq ($(FULL_TARGET),m68k-amiga)
  917. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  918. endif
  919. ifeq ($(FULL_TARGET),m68k-atari)
  920. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  921. endif
  922. ifeq ($(FULL_TARGET),m68k-openbsd)
  923. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  924. endif
  925. ifeq ($(FULL_TARGET),m68k-palmos)
  926. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  927. endif
  928. ifeq ($(FULL_TARGET),m68k-embedded)
  929. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  930. endif
  931. ifeq ($(FULL_TARGET),powerpc-linux)
  932. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  933. endif
  934. ifeq ($(FULL_TARGET),powerpc-netbsd)
  935. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  936. endif
  937. ifeq ($(FULL_TARGET),powerpc-amiga)
  938. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  939. endif
  940. ifeq ($(FULL_TARGET),powerpc-macos)
  941. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  942. endif
  943. ifeq ($(FULL_TARGET),powerpc-darwin)
  944. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  945. endif
  946. ifeq ($(FULL_TARGET),powerpc-morphos)
  947. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  948. endif
  949. ifeq ($(FULL_TARGET),powerpc-embedded)
  950. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  951. endif
  952. ifeq ($(FULL_TARGET),powerpc-wii)
  953. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  954. endif
  955. ifeq ($(FULL_TARGET),powerpc-aix)
  956. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  957. endif
  958. ifeq ($(FULL_TARGET),sparc-linux)
  959. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  960. endif
  961. ifeq ($(FULL_TARGET),sparc-netbsd)
  962. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  963. endif
  964. ifeq ($(FULL_TARGET),sparc-solaris)
  965. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  966. endif
  967. ifeq ($(FULL_TARGET),sparc-embedded)
  968. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  969. endif
  970. ifeq ($(FULL_TARGET),x86_64-linux)
  971. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  972. endif
  973. ifeq ($(FULL_TARGET),x86_64-freebsd)
  974. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  975. endif
  976. ifeq ($(FULL_TARGET),x86_64-netbsd)
  977. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  978. endif
  979. ifeq ($(FULL_TARGET),x86_64-solaris)
  980. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  981. endif
  982. ifeq ($(FULL_TARGET),x86_64-openbsd)
  983. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  984. endif
  985. ifeq ($(FULL_TARGET),x86_64-darwin)
  986. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  987. endif
  988. ifeq ($(FULL_TARGET),x86_64-win64)
  989. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  990. endif
  991. ifeq ($(FULL_TARGET),x86_64-embedded)
  992. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  993. endif
  994. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  995. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  996. endif
  997. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  998. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  999. endif
  1000. ifeq ($(FULL_TARGET),arm-linux)
  1001. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1002. endif
  1003. ifeq ($(FULL_TARGET),arm-palmos)
  1004. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1005. endif
  1006. ifeq ($(FULL_TARGET),arm-darwin)
  1007. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1008. endif
  1009. ifeq ($(FULL_TARGET),arm-wince)
  1010. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1011. endif
  1012. ifeq ($(FULL_TARGET),arm-gba)
  1013. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1014. endif
  1015. ifeq ($(FULL_TARGET),arm-nds)
  1016. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1017. endif
  1018. ifeq ($(FULL_TARGET),arm-embedded)
  1019. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1020. endif
  1021. ifeq ($(FULL_TARGET),arm-symbian)
  1022. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1023. endif
  1024. ifeq ($(FULL_TARGET),arm-android)
  1025. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1026. endif
  1027. ifeq ($(FULL_TARGET),powerpc64-linux)
  1028. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1029. endif
  1030. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1031. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1032. endif
  1033. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1034. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1035. endif
  1036. ifeq ($(FULL_TARGET),powerpc64-aix)
  1037. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1038. endif
  1039. ifeq ($(FULL_TARGET),avr-embedded)
  1040. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1041. endif
  1042. ifeq ($(FULL_TARGET),armeb-linux)
  1043. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1044. endif
  1045. ifeq ($(FULL_TARGET),armeb-embedded)
  1046. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1047. endif
  1048. ifeq ($(FULL_TARGET),mips-linux)
  1049. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1050. endif
  1051. ifeq ($(FULL_TARGET),mipsel-linux)
  1052. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1053. endif
  1054. ifeq ($(FULL_TARGET),mipsel-embedded)
  1055. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1056. endif
  1057. ifeq ($(FULL_TARGET),mipsel-android)
  1058. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1059. endif
  1060. ifeq ($(FULL_TARGET),jvm-java)
  1061. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1062. endif
  1063. ifeq ($(FULL_TARGET),jvm-android)
  1064. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1065. endif
  1066. ifeq ($(FULL_TARGET),i8086-msdos)
  1067. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1068. endif
  1069. ifeq ($(FULL_TARGET),aarch64-darwin)
  1070. override TARGET_RSTS+=math typinfo classes sysconst rtlconsts
  1071. endif
  1072. override INSTALL_FPCPACKAGE=y
  1073. ifeq ($(FULL_TARGET),i386-linux)
  1074. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1075. endif
  1076. ifeq ($(FULL_TARGET),i386-go32v2)
  1077. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1078. endif
  1079. ifeq ($(FULL_TARGET),i386-win32)
  1080. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1081. endif
  1082. ifeq ($(FULL_TARGET),i386-os2)
  1083. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1084. endif
  1085. ifeq ($(FULL_TARGET),i386-freebsd)
  1086. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1087. endif
  1088. ifeq ($(FULL_TARGET),i386-beos)
  1089. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1090. endif
  1091. ifeq ($(FULL_TARGET),i386-haiku)
  1092. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1093. endif
  1094. ifeq ($(FULL_TARGET),i386-netbsd)
  1095. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1096. endif
  1097. ifeq ($(FULL_TARGET),i386-solaris)
  1098. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1099. endif
  1100. ifeq ($(FULL_TARGET),i386-qnx)
  1101. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1102. endif
  1103. ifeq ($(FULL_TARGET),i386-netware)
  1104. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1105. endif
  1106. ifeq ($(FULL_TARGET),i386-openbsd)
  1107. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1108. endif
  1109. ifeq ($(FULL_TARGET),i386-wdosx)
  1110. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1111. endif
  1112. ifeq ($(FULL_TARGET),i386-darwin)
  1113. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1114. endif
  1115. ifeq ($(FULL_TARGET),i386-emx)
  1116. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1117. endif
  1118. ifeq ($(FULL_TARGET),i386-watcom)
  1119. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1120. endif
  1121. ifeq ($(FULL_TARGET),i386-netwlibc)
  1122. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1123. endif
  1124. ifeq ($(FULL_TARGET),i386-wince)
  1125. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1126. endif
  1127. ifeq ($(FULL_TARGET),i386-embedded)
  1128. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1129. endif
  1130. ifeq ($(FULL_TARGET),i386-symbian)
  1131. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1132. endif
  1133. ifeq ($(FULL_TARGET),i386-nativent)
  1134. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1135. endif
  1136. ifeq ($(FULL_TARGET),i386-iphonesim)
  1137. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1138. endif
  1139. ifeq ($(FULL_TARGET),i386-android)
  1140. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1141. endif
  1142. ifeq ($(FULL_TARGET),i386-aros)
  1143. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1144. endif
  1145. ifeq ($(FULL_TARGET),m68k-linux)
  1146. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1147. endif
  1148. ifeq ($(FULL_TARGET),m68k-freebsd)
  1149. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1150. endif
  1151. ifeq ($(FULL_TARGET),m68k-netbsd)
  1152. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1153. endif
  1154. ifeq ($(FULL_TARGET),m68k-amiga)
  1155. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1156. endif
  1157. ifeq ($(FULL_TARGET),m68k-atari)
  1158. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1159. endif
  1160. ifeq ($(FULL_TARGET),m68k-openbsd)
  1161. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1162. endif
  1163. ifeq ($(FULL_TARGET),m68k-palmos)
  1164. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1165. endif
  1166. ifeq ($(FULL_TARGET),m68k-embedded)
  1167. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1168. endif
  1169. ifeq ($(FULL_TARGET),powerpc-linux)
  1170. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1171. endif
  1172. ifeq ($(FULL_TARGET),powerpc-netbsd)
  1173. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1174. endif
  1175. ifeq ($(FULL_TARGET),powerpc-amiga)
  1176. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1177. endif
  1178. ifeq ($(FULL_TARGET),powerpc-macos)
  1179. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1180. endif
  1181. ifeq ($(FULL_TARGET),powerpc-darwin)
  1182. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1183. endif
  1184. ifeq ($(FULL_TARGET),powerpc-morphos)
  1185. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1186. endif
  1187. ifeq ($(FULL_TARGET),powerpc-embedded)
  1188. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1189. endif
  1190. ifeq ($(FULL_TARGET),powerpc-wii)
  1191. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1192. endif
  1193. ifeq ($(FULL_TARGET),powerpc-aix)
  1194. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1195. endif
  1196. ifeq ($(FULL_TARGET),sparc-linux)
  1197. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1198. endif
  1199. ifeq ($(FULL_TARGET),sparc-netbsd)
  1200. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1201. endif
  1202. ifeq ($(FULL_TARGET),sparc-solaris)
  1203. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1204. endif
  1205. ifeq ($(FULL_TARGET),sparc-embedded)
  1206. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1207. endif
  1208. ifeq ($(FULL_TARGET),x86_64-linux)
  1209. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1210. endif
  1211. ifeq ($(FULL_TARGET),x86_64-freebsd)
  1212. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1213. endif
  1214. ifeq ($(FULL_TARGET),x86_64-netbsd)
  1215. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1216. endif
  1217. ifeq ($(FULL_TARGET),x86_64-solaris)
  1218. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1219. endif
  1220. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1221. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1222. endif
  1223. ifeq ($(FULL_TARGET),x86_64-darwin)
  1224. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1225. endif
  1226. ifeq ($(FULL_TARGET),x86_64-win64)
  1227. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1228. endif
  1229. ifeq ($(FULL_TARGET),x86_64-embedded)
  1230. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1231. endif
  1232. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1233. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1234. endif
  1235. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1236. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1237. endif
  1238. ifeq ($(FULL_TARGET),arm-linux)
  1239. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1240. endif
  1241. ifeq ($(FULL_TARGET),arm-palmos)
  1242. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1243. endif
  1244. ifeq ($(FULL_TARGET),arm-darwin)
  1245. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1246. endif
  1247. ifeq ($(FULL_TARGET),arm-wince)
  1248. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1249. endif
  1250. ifeq ($(FULL_TARGET),arm-gba)
  1251. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1252. endif
  1253. ifeq ($(FULL_TARGET),arm-nds)
  1254. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1255. endif
  1256. ifeq ($(FULL_TARGET),arm-embedded)
  1257. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1258. endif
  1259. ifeq ($(FULL_TARGET),arm-symbian)
  1260. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1261. endif
  1262. ifeq ($(FULL_TARGET),arm-android)
  1263. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1264. endif
  1265. ifeq ($(FULL_TARGET),powerpc64-linux)
  1266. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1267. endif
  1268. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1269. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1270. endif
  1271. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1272. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1273. endif
  1274. ifeq ($(FULL_TARGET),powerpc64-aix)
  1275. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1276. endif
  1277. ifeq ($(FULL_TARGET),avr-embedded)
  1278. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1279. endif
  1280. ifeq ($(FULL_TARGET),armeb-linux)
  1281. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1282. endif
  1283. ifeq ($(FULL_TARGET),armeb-embedded)
  1284. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1285. endif
  1286. ifeq ($(FULL_TARGET),mips-linux)
  1287. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1288. endif
  1289. ifeq ($(FULL_TARGET),mipsel-linux)
  1290. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1291. endif
  1292. ifeq ($(FULL_TARGET),mipsel-embedded)
  1293. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1294. endif
  1295. ifeq ($(FULL_TARGET),mipsel-android)
  1296. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1297. endif
  1298. ifeq ($(FULL_TARGET),jvm-java)
  1299. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1300. endif
  1301. ifeq ($(FULL_TARGET),jvm-android)
  1302. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1303. endif
  1304. ifeq ($(FULL_TARGET),i8086-msdos)
  1305. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1306. endif
  1307. ifeq ($(FULL_TARGET),aarch64-darwin)
  1308. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  1309. endif
  1310. ifeq ($(FULL_TARGET),i386-linux)
  1311. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1312. endif
  1313. ifeq ($(FULL_TARGET),i386-go32v2)
  1314. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1315. endif
  1316. ifeq ($(FULL_TARGET),i386-win32)
  1317. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1318. endif
  1319. ifeq ($(FULL_TARGET),i386-os2)
  1320. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1321. endif
  1322. ifeq ($(FULL_TARGET),i386-freebsd)
  1323. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1324. endif
  1325. ifeq ($(FULL_TARGET),i386-beos)
  1326. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1327. endif
  1328. ifeq ($(FULL_TARGET),i386-haiku)
  1329. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1330. endif
  1331. ifeq ($(FULL_TARGET),i386-netbsd)
  1332. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1333. endif
  1334. ifeq ($(FULL_TARGET),i386-solaris)
  1335. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1336. endif
  1337. ifeq ($(FULL_TARGET),i386-qnx)
  1338. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1339. endif
  1340. ifeq ($(FULL_TARGET),i386-netware)
  1341. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1342. endif
  1343. ifeq ($(FULL_TARGET),i386-openbsd)
  1344. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1345. endif
  1346. ifeq ($(FULL_TARGET),i386-wdosx)
  1347. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1348. endif
  1349. ifeq ($(FULL_TARGET),i386-darwin)
  1350. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1351. endif
  1352. ifeq ($(FULL_TARGET),i386-emx)
  1353. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1354. endif
  1355. ifeq ($(FULL_TARGET),i386-watcom)
  1356. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1357. endif
  1358. ifeq ($(FULL_TARGET),i386-netwlibc)
  1359. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1360. endif
  1361. ifeq ($(FULL_TARGET),i386-wince)
  1362. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1363. endif
  1364. ifeq ($(FULL_TARGET),i386-embedded)
  1365. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1366. endif
  1367. ifeq ($(FULL_TARGET),i386-symbian)
  1368. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1369. endif
  1370. ifeq ($(FULL_TARGET),i386-nativent)
  1371. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1372. endif
  1373. ifeq ($(FULL_TARGET),i386-iphonesim)
  1374. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1375. endif
  1376. ifeq ($(FULL_TARGET),i386-android)
  1377. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1378. endif
  1379. ifeq ($(FULL_TARGET),i386-aros)
  1380. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1381. endif
  1382. ifeq ($(FULL_TARGET),m68k-linux)
  1383. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1384. endif
  1385. ifeq ($(FULL_TARGET),m68k-freebsd)
  1386. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1387. endif
  1388. ifeq ($(FULL_TARGET),m68k-netbsd)
  1389. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1390. endif
  1391. ifeq ($(FULL_TARGET),m68k-amiga)
  1392. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1393. endif
  1394. ifeq ($(FULL_TARGET),m68k-atari)
  1395. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1396. endif
  1397. ifeq ($(FULL_TARGET),m68k-openbsd)
  1398. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1399. endif
  1400. ifeq ($(FULL_TARGET),m68k-palmos)
  1401. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1402. endif
  1403. ifeq ($(FULL_TARGET),m68k-embedded)
  1404. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1405. endif
  1406. ifeq ($(FULL_TARGET),powerpc-linux)
  1407. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1408. endif
  1409. ifeq ($(FULL_TARGET),powerpc-netbsd)
  1410. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1411. endif
  1412. ifeq ($(FULL_TARGET),powerpc-amiga)
  1413. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1414. endif
  1415. ifeq ($(FULL_TARGET),powerpc-macos)
  1416. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1417. endif
  1418. ifeq ($(FULL_TARGET),powerpc-darwin)
  1419. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1420. endif
  1421. ifeq ($(FULL_TARGET),powerpc-morphos)
  1422. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1423. endif
  1424. ifeq ($(FULL_TARGET),powerpc-embedded)
  1425. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1426. endif
  1427. ifeq ($(FULL_TARGET),powerpc-wii)
  1428. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1429. endif
  1430. ifeq ($(FULL_TARGET),powerpc-aix)
  1431. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1432. endif
  1433. ifeq ($(FULL_TARGET),sparc-linux)
  1434. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1435. endif
  1436. ifeq ($(FULL_TARGET),sparc-netbsd)
  1437. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1438. endif
  1439. ifeq ($(FULL_TARGET),sparc-solaris)
  1440. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1441. endif
  1442. ifeq ($(FULL_TARGET),sparc-embedded)
  1443. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1444. endif
  1445. ifeq ($(FULL_TARGET),x86_64-linux)
  1446. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1447. endif
  1448. ifeq ($(FULL_TARGET),x86_64-freebsd)
  1449. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1450. endif
  1451. ifeq ($(FULL_TARGET),x86_64-netbsd)
  1452. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1453. endif
  1454. ifeq ($(FULL_TARGET),x86_64-solaris)
  1455. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1456. endif
  1457. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1458. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1459. endif
  1460. ifeq ($(FULL_TARGET),x86_64-darwin)
  1461. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1462. endif
  1463. ifeq ($(FULL_TARGET),x86_64-win64)
  1464. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1465. endif
  1466. ifeq ($(FULL_TARGET),x86_64-embedded)
  1467. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1468. endif
  1469. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1470. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1471. endif
  1472. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1473. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1474. endif
  1475. ifeq ($(FULL_TARGET),arm-linux)
  1476. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1477. endif
  1478. ifeq ($(FULL_TARGET),arm-palmos)
  1479. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1480. endif
  1481. ifeq ($(FULL_TARGET),arm-darwin)
  1482. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1483. endif
  1484. ifeq ($(FULL_TARGET),arm-wince)
  1485. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1486. endif
  1487. ifeq ($(FULL_TARGET),arm-gba)
  1488. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1489. endif
  1490. ifeq ($(FULL_TARGET),arm-nds)
  1491. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1492. endif
  1493. ifeq ($(FULL_TARGET),arm-embedded)
  1494. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1495. endif
  1496. ifeq ($(FULL_TARGET),arm-symbian)
  1497. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1498. endif
  1499. ifeq ($(FULL_TARGET),arm-android)
  1500. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1501. endif
  1502. ifeq ($(FULL_TARGET),powerpc64-linux)
  1503. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1504. endif
  1505. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1506. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1507. endif
  1508. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1509. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1510. endif
  1511. ifeq ($(FULL_TARGET),powerpc64-aix)
  1512. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1513. endif
  1514. ifeq ($(FULL_TARGET),avr-embedded)
  1515. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1516. endif
  1517. ifeq ($(FULL_TARGET),armeb-linux)
  1518. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1519. endif
  1520. ifeq ($(FULL_TARGET),armeb-embedded)
  1521. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1522. endif
  1523. ifeq ($(FULL_TARGET),mips-linux)
  1524. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1525. endif
  1526. ifeq ($(FULL_TARGET),mipsel-linux)
  1527. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1528. endif
  1529. ifeq ($(FULL_TARGET),mipsel-embedded)
  1530. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1531. endif
  1532. ifeq ($(FULL_TARGET),mipsel-android)
  1533. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1534. endif
  1535. ifeq ($(FULL_TARGET),jvm-java)
  1536. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1537. endif
  1538. ifeq ($(FULL_TARGET),jvm-android)
  1539. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1540. endif
  1541. ifeq ($(FULL_TARGET),i8086-msdos)
  1542. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1543. endif
  1544. ifeq ($(FULL_TARGET),aarch64-darwin)
  1545. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  1546. endif
  1547. ifdef REQUIRE_UNITSDIR
  1548. override UNITSDIR+=$(REQUIRE_UNITSDIR)
  1549. endif
  1550. ifdef REQUIRE_PACKAGESDIR
  1551. override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
  1552. endif
  1553. ifdef ZIPINSTALL
  1554. ifneq ($(findstring $(OS_TARGET),$(UNIXs)),)
  1555. UNIXHier=1
  1556. endif
  1557. else
  1558. ifneq ($(findstring $(OS_SOURCE),$(UNIXs)),)
  1559. UNIXHier=1
  1560. endif
  1561. endif
  1562. ifndef INSTALL_PREFIX
  1563. ifdef PREFIX
  1564. INSTALL_PREFIX=$(PREFIX)
  1565. endif
  1566. endif
  1567. ifndef INSTALL_PREFIX
  1568. ifdef UNIXHier
  1569. INSTALL_PREFIX=/usr/local
  1570. else
  1571. ifdef INSTALL_FPCPACKAGE
  1572. INSTALL_BASEDIR:=/pp
  1573. else
  1574. INSTALL_BASEDIR:=/$(PACKAGE_NAME)
  1575. endif
  1576. endif
  1577. endif
  1578. export INSTALL_PREFIX
  1579. ifdef INSTALL_FPCSUBDIR
  1580. export INSTALL_FPCSUBDIR
  1581. endif
  1582. ifndef DIST_DESTDIR
  1583. DIST_DESTDIR:=$(BASEDIR)
  1584. endif
  1585. export DIST_DESTDIR
  1586. ifndef COMPILER_UNITTARGETDIR
  1587. ifdef PACKAGEDIR_MAIN
  1588. COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX)
  1589. else
  1590. COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX)
  1591. endif
  1592. endif
  1593. ifndef COMPILER_TARGETDIR
  1594. COMPILER_TARGETDIR=.
  1595. endif
  1596. ifndef INSTALL_BASEDIR
  1597. ifdef UNIXHier
  1598. ifdef INSTALL_FPCPACKAGE
  1599. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION)
  1600. else
  1601. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME)
  1602. endif
  1603. else
  1604. INSTALL_BASEDIR:=$(INSTALL_PREFIX)
  1605. endif
  1606. endif
  1607. ifndef INSTALL_BINDIR
  1608. ifdef UNIXHier
  1609. INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
  1610. else
  1611. INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
  1612. ifdef INSTALL_FPCPACKAGE
  1613. ifdef CROSSCOMPILE
  1614. ifdef CROSSINSTALL
  1615. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX)
  1616. else
  1617. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  1618. endif
  1619. else
  1620. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  1621. endif
  1622. endif
  1623. endif
  1624. endif
  1625. ifndef INSTALL_UNITDIR
  1626. INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX)
  1627. ifdef INSTALL_FPCPACKAGE
  1628. ifdef PACKAGE_NAME
  1629. INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME)
  1630. endif
  1631. endif
  1632. endif
  1633. ifndef INSTALL_LIBDIR
  1634. ifdef UNIXHier
  1635. INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib
  1636. else
  1637. INSTALL_LIBDIR:=$(INSTALL_UNITDIR)
  1638. endif
  1639. endif
  1640. ifndef INSTALL_SOURCEDIR
  1641. ifdef UNIXHier
  1642. ifdef BSDhier
  1643. SRCPREFIXDIR=share/src
  1644. else
  1645. ifdef linuxHier
  1646. SRCPREFIXDIR=share/src
  1647. else
  1648. SRCPREFIXDIR=src
  1649. endif
  1650. endif
  1651. ifdef INSTALL_FPCPACKAGE
  1652. ifdef INSTALL_FPCSUBDIR
  1653. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  1654. else
  1655. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  1656. endif
  1657. else
  1658. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1659. endif
  1660. else
  1661. ifdef INSTALL_FPCPACKAGE
  1662. ifdef INSTALL_FPCSUBDIR
  1663. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  1664. else
  1665. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
  1666. endif
  1667. else
  1668. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
  1669. endif
  1670. endif
  1671. endif
  1672. ifndef INSTALL_DOCDIR
  1673. ifdef UNIXHier
  1674. ifdef BSDhier
  1675. DOCPREFIXDIR=share/doc
  1676. else
  1677. ifdef linuxHier
  1678. DOCPREFIXDIR=share/doc
  1679. else
  1680. DOCPREFIXDIR=doc
  1681. endif
  1682. endif
  1683. ifdef INSTALL_FPCPACKAGE
  1684. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  1685. else
  1686. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1687. endif
  1688. else
  1689. ifdef INSTALL_FPCPACKAGE
  1690. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME)
  1691. else
  1692. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc
  1693. endif
  1694. endif
  1695. endif
  1696. ifndef INSTALL_EXAMPLEDIR
  1697. ifdef UNIXHier
  1698. ifdef INSTALL_FPCPACKAGE
  1699. ifdef BSDhier
  1700. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  1701. else
  1702. ifdef linuxHier
  1703. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples
  1704. else
  1705. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME)
  1706. endif
  1707. endif
  1708. else
  1709. ifdef BSDhier
  1710. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1711. else
  1712. ifdef linuxHier
  1713. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1714. else
  1715. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1716. endif
  1717. endif
  1718. endif
  1719. else
  1720. ifdef INSTALL_FPCPACKAGE
  1721. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME)
  1722. else
  1723. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples
  1724. endif
  1725. endif
  1726. endif
  1727. ifndef INSTALL_DATADIR
  1728. INSTALL_DATADIR=$(INSTALL_BASEDIR)
  1729. endif
  1730. ifndef INSTALL_SHAREDDIR
  1731. INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
  1732. endif
  1733. ifdef CROSSCOMPILE
  1734. ifndef CROSSBINDIR
  1735. CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
  1736. ifeq ($(CROSSBINDIR),)
  1737. CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE))
  1738. endif
  1739. endif
  1740. else
  1741. CROSSBINDIR=
  1742. endif
  1743. BATCHEXT=.bat
  1744. LOADEREXT=.as
  1745. EXEEXT=.exe
  1746. PPLEXT=.ppl
  1747. PPUEXT=.ppu
  1748. OEXT=.o
  1749. ASMEXT=.s
  1750. SMARTEXT=.sl
  1751. STATICLIBEXT=.a
  1752. SHAREDLIBEXT=.so
  1753. SHAREDLIBPREFIX=libfp
  1754. STATICLIBPREFIX=libp
  1755. IMPORTLIBPREFIX=libimp
  1756. RSTEXT=.rst
  1757. EXEDBGEXT=.dbg
  1758. ifeq ($(OS_TARGET),go32v1)
  1759. STATICLIBPREFIX=
  1760. SHORTSUFFIX=v1
  1761. endif
  1762. ifeq ($(OS_TARGET),go32v2)
  1763. STATICLIBPREFIX=
  1764. SHORTSUFFIX=dos
  1765. IMPORTLIBPREFIX=
  1766. endif
  1767. ifeq ($(OS_TARGET),watcom)
  1768. STATICLIBPREFIX=
  1769. OEXT=.obj
  1770. ASMEXT=.asm
  1771. SHAREDLIBEXT=.dll
  1772. SHORTSUFFIX=wat
  1773. IMPORTLIBPREFIX=
  1774. endif
  1775. ifneq ($(CPU_TARGET),jvm)
  1776. ifeq ($(OS_TARGET),android)
  1777. BATCHEXT=.sh
  1778. EXEEXT=
  1779. HASSHAREDLIB=1
  1780. SHORTSUFFIX=lnx
  1781. endif
  1782. endif
  1783. ifeq ($(OS_TARGET),linux)
  1784. BATCHEXT=.sh
  1785. EXEEXT=
  1786. HASSHAREDLIB=1
  1787. SHORTSUFFIX=lnx
  1788. endif
  1789. ifeq ($(OS_TARGET),dragonfly)
  1790. BATCHEXT=.sh
  1791. EXEEXT=
  1792. HASSHAREDLIB=1
  1793. SHORTSUFFIX=df
  1794. endif
  1795. ifeq ($(OS_TARGET),freebsd)
  1796. BATCHEXT=.sh
  1797. EXEEXT=
  1798. HASSHAREDLIB=1
  1799. SHORTSUFFIX=fbs
  1800. endif
  1801. ifeq ($(OS_TARGET),netbsd)
  1802. BATCHEXT=.sh
  1803. EXEEXT=
  1804. HASSHAREDLIB=1
  1805. SHORTSUFFIX=nbs
  1806. endif
  1807. ifeq ($(OS_TARGET),openbsd)
  1808. BATCHEXT=.sh
  1809. EXEEXT=
  1810. HASSHAREDLIB=1
  1811. SHORTSUFFIX=obs
  1812. endif
  1813. ifeq ($(OS_TARGET),win32)
  1814. SHAREDLIBEXT=.dll
  1815. SHORTSUFFIX=w32
  1816. endif
  1817. ifeq ($(OS_TARGET),os2)
  1818. BATCHEXT=.cmd
  1819. AOUTEXT=.out
  1820. STATICLIBPREFIX=
  1821. SHAREDLIBEXT=.dll
  1822. SHORTSUFFIX=os2
  1823. ECHO=echo
  1824. IMPORTLIBPREFIX=
  1825. endif
  1826. ifeq ($(OS_TARGET),emx)
  1827. BATCHEXT=.cmd
  1828. AOUTEXT=.out
  1829. STATICLIBPREFIX=
  1830. SHAREDLIBEXT=.dll
  1831. SHORTSUFFIX=emx
  1832. ECHO=echo
  1833. IMPORTLIBPREFIX=
  1834. endif
  1835. ifeq ($(OS_TARGET),amiga)
  1836. EXEEXT=
  1837. SHAREDLIBEXT=.library
  1838. SHORTSUFFIX=amg
  1839. endif
  1840. ifeq ($(OS_TARGET),aros)
  1841. EXEEXT=
  1842. SHAREDLIBEXT=.library
  1843. SHORTSUFFIX=aros
  1844. endif
  1845. ifeq ($(OS_TARGET),morphos)
  1846. EXEEXT=
  1847. SHAREDLIBEXT=.library
  1848. SHORTSUFFIX=mos
  1849. endif
  1850. ifeq ($(OS_TARGET),atari)
  1851. EXEEXT=.ttp
  1852. SHORTSUFFIX=ata
  1853. endif
  1854. ifeq ($(OS_TARGET),beos)
  1855. BATCHEXT=.sh
  1856. EXEEXT=
  1857. SHORTSUFFIX=be
  1858. endif
  1859. ifeq ($(OS_TARGET),haiku)
  1860. BATCHEXT=.sh
  1861. EXEEXT=
  1862. SHORTSUFFIX=hai
  1863. endif
  1864. ifeq ($(OS_TARGET),solaris)
  1865. BATCHEXT=.sh
  1866. EXEEXT=
  1867. SHORTSUFFIX=sun
  1868. endif
  1869. ifeq ($(OS_TARGET),qnx)
  1870. BATCHEXT=.sh
  1871. EXEEXT=
  1872. SHORTSUFFIX=qnx
  1873. endif
  1874. ifeq ($(OS_TARGET),netware)
  1875. EXEEXT=.nlm
  1876. STATICLIBPREFIX=
  1877. SHORTSUFFIX=nw
  1878. IMPORTLIBPREFIX=imp
  1879. endif
  1880. ifeq ($(OS_TARGET),netwlibc)
  1881. EXEEXT=.nlm
  1882. STATICLIBPREFIX=
  1883. SHORTSUFFIX=nwl
  1884. IMPORTLIBPREFIX=imp
  1885. endif
  1886. ifeq ($(OS_TARGET),macos)
  1887. BATCHEXT=
  1888. EXEEXT=
  1889. DEBUGSYMEXT=.xcoff
  1890. SHORTSUFFIX=mac
  1891. IMPORTLIBPREFIX=imp
  1892. endif
  1893. ifneq ($(findstring $(OS_TARGET),darwin iphonesim),)
  1894. BATCHEXT=.sh
  1895. EXEEXT=
  1896. HASSHAREDLIB=1
  1897. SHORTSUFFIX=dwn
  1898. EXEDBGEXT=.dSYM
  1899. endif
  1900. ifeq ($(OS_TARGET),gba)
  1901. EXEEXT=.gba
  1902. SHAREDLIBEXT=.so
  1903. SHORTSUFFIX=gba
  1904. endif
  1905. ifeq ($(OS_TARGET),symbian)
  1906. SHAREDLIBEXT=.dll
  1907. SHORTSUFFIX=symbian
  1908. endif
  1909. ifeq ($(OS_TARGET),NativeNT)
  1910. SHAREDLIBEXT=.dll
  1911. SHORTSUFFIX=nativent
  1912. endif
  1913. ifeq ($(OS_TARGET),wii)
  1914. EXEEXT=.dol
  1915. SHAREDLIBEXT=.so
  1916. SHORTSUFFIX=wii
  1917. endif
  1918. ifeq ($(OS_TARGET),aix)
  1919. BATCHEXT=.sh
  1920. EXEEXT=
  1921. SHORTSUFFIX=aix
  1922. endif
  1923. ifeq ($(OS_TARGET),java)
  1924. OEXT=.class
  1925. ASMEXT=.j
  1926. SHAREDLIBEXT=.jar
  1927. SHORTSUFFIX=java
  1928. endif
  1929. ifeq ($(CPU_TARGET),jvm)
  1930. ifeq ($(OS_TARGET),android)
  1931. OEXT=.class
  1932. ASMEXT=.j
  1933. SHAREDLIBEXT=.jar
  1934. SHORTSUFFIX=android
  1935. endif
  1936. endif
  1937. ifeq ($(OS_TARGET),msdos)
  1938. STATICLIBPREFIX=
  1939. STATICLIBEXT=.a
  1940. SHORTSUFFIX=d16
  1941. endif
  1942. ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
  1943. FPCMADE=fpcmade.$(SHORTSUFFIX)
  1944. ZIPSUFFIX=$(SHORTSUFFIX)
  1945. ZIPCROSSPREFIX=
  1946. ZIPSOURCESUFFIX=src
  1947. ZIPEXAMPLESUFFIX=exm
  1948. else
  1949. FPCMADE=fpcmade.$(TARGETSUFFIX)
  1950. ZIPSOURCESUFFIX=.source
  1951. ZIPEXAMPLESUFFIX=.examples
  1952. ifdef CROSSCOMPILE
  1953. ZIPSUFFIX=.$(SOURCESUFFIX)
  1954. ZIPCROSSPREFIX=$(TARGETSUFFIX)-
  1955. else
  1956. ZIPSUFFIX=.$(TARGETSUFFIX)
  1957. ZIPCROSSPREFIX=
  1958. endif
  1959. endif
  1960. ifndef ECHO
  1961. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  1962. ifeq ($(ECHO),)
  1963. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  1964. ifeq ($(ECHO),)
  1965. ECHO= __missing_command_ECHO
  1966. else
  1967. ECHO:=$(firstword $(ECHO))
  1968. endif
  1969. else
  1970. ECHO:=$(firstword $(ECHO))
  1971. endif
  1972. endif
  1973. export ECHO
  1974. ifndef DATE
  1975. DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH))))
  1976. ifeq ($(DATE),)
  1977. DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH))))
  1978. ifeq ($(DATE),)
  1979. DATE= __missing_command_DATE
  1980. else
  1981. DATE:=$(firstword $(DATE))
  1982. endif
  1983. else
  1984. DATE:=$(firstword $(DATE))
  1985. endif
  1986. endif
  1987. export DATE
  1988. ifndef GINSTALL
  1989. GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH))))
  1990. ifeq ($(GINSTALL),)
  1991. GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH))))
  1992. ifeq ($(GINSTALL),)
  1993. GINSTALL= __missing_command_GINSTALL
  1994. else
  1995. GINSTALL:=$(firstword $(GINSTALL))
  1996. endif
  1997. else
  1998. GINSTALL:=$(firstword $(GINSTALL))
  1999. endif
  2000. endif
  2001. export GINSTALL
  2002. ifndef CPPROG
  2003. CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH))))
  2004. ifeq ($(CPPROG),)
  2005. CPPROG= __missing_command_CPPROG
  2006. else
  2007. CPPROG:=$(firstword $(CPPROG))
  2008. endif
  2009. endif
  2010. export CPPROG
  2011. ifndef RMPROG
  2012. RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH))))
  2013. ifeq ($(RMPROG),)
  2014. RMPROG= __missing_command_RMPROG
  2015. else
  2016. RMPROG:=$(firstword $(RMPROG))
  2017. endif
  2018. endif
  2019. export RMPROG
  2020. ifndef MVPROG
  2021. MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH))))
  2022. ifeq ($(MVPROG),)
  2023. MVPROG= __missing_command_MVPROG
  2024. else
  2025. MVPROG:=$(firstword $(MVPROG))
  2026. endif
  2027. endif
  2028. export MVPROG
  2029. ifndef MKDIRPROG
  2030. MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH))))
  2031. ifeq ($(MKDIRPROG),)
  2032. MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH))))
  2033. ifeq ($(MKDIRPROG),)
  2034. MKDIRPROG= __missing_command_MKDIRPROG
  2035. else
  2036. MKDIRPROG:=$(firstword $(MKDIRPROG))
  2037. endif
  2038. else
  2039. MKDIRPROG:=$(firstword $(MKDIRPROG))
  2040. endif
  2041. endif
  2042. export MKDIRPROG
  2043. ifndef ECHOREDIR
  2044. ifndef inUnix
  2045. ECHOREDIR=echo
  2046. else
  2047. ECHOREDIR=$(ECHO)
  2048. endif
  2049. endif
  2050. ifndef COPY
  2051. COPY:=$(CPPROG) -fp
  2052. endif
  2053. ifndef COPYTREE
  2054. COPYTREE:=$(CPPROG) -Rfp
  2055. endif
  2056. ifndef MKDIRTREE
  2057. MKDIRTREE:=$(MKDIRPROG) -p
  2058. endif
  2059. ifndef MOVE
  2060. MOVE:=$(MVPROG) -f
  2061. endif
  2062. ifndef DEL
  2063. DEL:=$(RMPROG) -f
  2064. endif
  2065. ifndef DELTREE
  2066. DELTREE:=$(RMPROG) -rf
  2067. endif
  2068. ifndef INSTALL
  2069. ifdef inUnix
  2070. INSTALL:=$(GINSTALL) -c -m 644
  2071. else
  2072. INSTALL:=$(COPY)
  2073. endif
  2074. endif
  2075. ifndef INSTALLEXE
  2076. ifdef inUnix
  2077. INSTALLEXE:=$(GINSTALL) -c -m 755
  2078. else
  2079. INSTALLEXE:=$(COPY)
  2080. endif
  2081. endif
  2082. ifndef MKDIR
  2083. MKDIR:=$(GINSTALL) -m 755 -d
  2084. endif
  2085. export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
  2086. ifndef PPUMOVE
  2087. PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH))))
  2088. ifeq ($(PPUMOVE),)
  2089. PPUMOVE= __missing_command_PPUMOVE
  2090. else
  2091. PPUMOVE:=$(firstword $(PPUMOVE))
  2092. endif
  2093. endif
  2094. export PPUMOVE
  2095. ifndef FPCMAKE
  2096. FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH))))
  2097. ifeq ($(FPCMAKE),)
  2098. FPCMAKE= __missing_command_FPCMAKE
  2099. else
  2100. FPCMAKE:=$(firstword $(FPCMAKE))
  2101. endif
  2102. endif
  2103. export FPCMAKE
  2104. ifndef ZIPPROG
  2105. ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH))))
  2106. ifeq ($(ZIPPROG),)
  2107. ZIPPROG= __missing_command_ZIPPROG
  2108. else
  2109. ZIPPROG:=$(firstword $(ZIPPROG))
  2110. endif
  2111. endif
  2112. export ZIPPROG
  2113. ifndef TARPROG
  2114. TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
  2115. ifeq ($(TARPROG),)
  2116. TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
  2117. ifeq ($(TARPROG),)
  2118. TARPROG= __missing_command_TARPROG
  2119. else
  2120. TARPROG:=$(firstword $(TARPROG))
  2121. endif
  2122. else
  2123. TARPROG:=$(firstword $(TARPROG))
  2124. endif
  2125. endif
  2126. export TARPROG
  2127. ASNAME=$(BINUTILSPREFIX)as
  2128. LDNAME=$(BINUTILSPREFIX)ld
  2129. ARNAME=$(BINUTILSPREFIX)ar
  2130. RCNAME=$(BINUTILSPREFIX)rc
  2131. NASMNAME=$(BINUTILSPREFIX)nasm
  2132. ifndef ASPROG
  2133. ifdef CROSSBINDIR
  2134. ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
  2135. else
  2136. ASPROG=$(ASNAME)
  2137. endif
  2138. endif
  2139. ifndef LDPROG
  2140. ifdef CROSSBINDIR
  2141. LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)
  2142. else
  2143. LDPROG=$(LDNAME)
  2144. endif
  2145. endif
  2146. ifndef RCPROG
  2147. ifdef CROSSBINDIR
  2148. RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)
  2149. else
  2150. RCPROG=$(RCNAME)
  2151. endif
  2152. endif
  2153. ifndef ARPROG
  2154. ifdef CROSSBINDIR
  2155. ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)
  2156. else
  2157. ARPROG=$(ARNAME)
  2158. endif
  2159. endif
  2160. ifndef NASMPROG
  2161. ifdef CROSSBINDIR
  2162. NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
  2163. else
  2164. NASMPROG=$(NASMNAME)
  2165. endif
  2166. endif
  2167. AS=$(ASPROG)
  2168. LD=$(LDPROG)
  2169. RC=$(RCPROG)
  2170. AR=$(ARPROG)
  2171. NASM=$(NASMPROG)
  2172. ifdef inUnix
  2173. PPAS=./ppas$(SRCBATCHEXT)
  2174. else
  2175. PPAS=ppas$(SRCBATCHEXT)
  2176. endif
  2177. ifdef inUnix
  2178. LDCONFIG=ldconfig
  2179. else
  2180. LDCONFIG=
  2181. endif
  2182. ifdef DATE
  2183. DATESTR:=$(shell $(DATE) +%Y%m%d)
  2184. else
  2185. DATESTR=
  2186. endif
  2187. ZIPOPT=-9
  2188. ZIPEXT=.zip
  2189. ifeq ($(USETAR),bz2)
  2190. TAROPT=vj
  2191. TAREXT=.tar.bz2
  2192. else
  2193. TAROPT=vz
  2194. TAREXT=.tar.gz
  2195. endif
  2196. ifndef NOCPUDEF
  2197. override FPCOPTDEF=$(ARCH)
  2198. endif
  2199. ifneq ($(OS_TARGET),$(OS_SOURCE))
  2200. override FPCOPT+=-T$(OS_TARGET)
  2201. endif
  2202. ifneq ($(CPU_TARGET),$(CPU_SOURCE))
  2203. override FPCOPT+=-P$(ARCH)
  2204. endif
  2205. ifeq ($(OS_SOURCE),openbsd)
  2206. override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
  2207. override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH)
  2208. endif
  2209. ifndef CROSSBOOTSTRAP
  2210. ifneq ($(BINUTILSPREFIX),)
  2211. override FPCOPT+=-XP$(BINUTILSPREFIX)
  2212. endif
  2213. ifneq ($(BINUTILSPREFIX),)
  2214. override FPCOPT+=-Xr$(RLINKPATH)
  2215. endif
  2216. endif
  2217. ifndef CROSSCOMPILE
  2218. ifneq ($(BINUTILSPREFIX),)
  2219. override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
  2220. endif
  2221. endif
  2222. ifdef UNITDIR
  2223. override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
  2224. endif
  2225. ifdef LIBDIR
  2226. override FPCOPT+=$(addprefix -Fl,$(LIBDIR))
  2227. endif
  2228. ifdef OBJDIR
  2229. override FPCOPT+=$(addprefix -Fo,$(OBJDIR))
  2230. endif
  2231. ifdef INCDIR
  2232. override FPCOPT+=$(addprefix -Fi,$(INCDIR))
  2233. endif
  2234. ifdef LINKSMART
  2235. override FPCOPT+=-XX
  2236. endif
  2237. ifdef CREATESMART
  2238. override FPCOPT+=-CX
  2239. endif
  2240. ifdef DEBUG
  2241. override FPCOPT+=-gl
  2242. override FPCOPTDEF+=DEBUG
  2243. endif
  2244. ifdef RELEASE
  2245. ifneq ($(findstring 2.0.,$(FPC_VERSION)),)
  2246. ifeq ($(CPU_TARGET),i386)
  2247. FPCCPUOPT:=-OG2p3
  2248. endif
  2249. ifeq ($(CPU_TARGET),powerpc)
  2250. FPCCPUOPT:=-O1r
  2251. endif
  2252. else
  2253. FPCCPUOPT:=-O2
  2254. endif
  2255. override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
  2256. override FPCOPTDEF+=RELEASE
  2257. endif
  2258. ifdef STRIP
  2259. override FPCOPT+=-Xs
  2260. endif
  2261. ifdef OPTIMIZE
  2262. override FPCOPT+=-O2
  2263. endif
  2264. ifdef VERBOSE
  2265. override FPCOPT+=-vwni
  2266. endif
  2267. ifdef COMPILER_OPTIONS
  2268. override FPCOPT+=$(COMPILER_OPTIONS)
  2269. endif
  2270. ifdef COMPILER_UNITDIR
  2271. override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))
  2272. endif
  2273. ifdef COMPILER_LIBRARYDIR
  2274. override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))
  2275. endif
  2276. ifdef COMPILER_OBJECTDIR
  2277. override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))
  2278. endif
  2279. ifdef COMPILER_INCLUDEDIR
  2280. override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))
  2281. endif
  2282. ifdef CROSSBINDIR
  2283. override FPCOPT+=-FD$(CROSSBINDIR)
  2284. endif
  2285. ifdef COMPILER_TARGETDIR
  2286. override FPCOPT+=-FE$(COMPILER_TARGETDIR)
  2287. ifeq ($(COMPILER_TARGETDIR),.)
  2288. override TARGETDIRPREFIX=
  2289. else
  2290. override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/
  2291. endif
  2292. endif
  2293. ifdef COMPILER_UNITTARGETDIR
  2294. override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)
  2295. ifeq ($(COMPILER_UNITTARGETDIR),.)
  2296. override UNITTARGETDIRPREFIX=
  2297. else
  2298. override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/
  2299. endif
  2300. else
  2301. ifdef COMPILER_TARGETDIR
  2302. override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
  2303. override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
  2304. endif
  2305. endif
  2306. ifdef CREATESHARED
  2307. override FPCOPT+=-Cg
  2308. endif
  2309. ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
  2310. ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),)
  2311. override FPCOPT+=-Cg
  2312. endif
  2313. endif
  2314. ifdef LINKSHARED
  2315. endif
  2316. ifdef OPT
  2317. override FPCOPT+=$(OPT)
  2318. endif
  2319. ifdef FPCOPTDEF
  2320. override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))
  2321. endif
  2322. ifdef CFGFILE
  2323. override FPCOPT+=@$(CFGFILE)
  2324. endif
  2325. ifdef USEENV
  2326. override FPCEXTCMD:=$(FPCOPT)
  2327. override FPCOPT:=!FPCEXTCMD
  2328. export FPCEXTCMD
  2329. endif
  2330. override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  2331. override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  2332. ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
  2333. override ACROSSCOMPILE=1
  2334. endif
  2335. ifdef ACROSSCOMPILE
  2336. override FPCOPT+=$(CROSSOPT)
  2337. endif
  2338. override COMPILER:=$(strip $(FPC) $(FPCOPT))
  2339. ifneq (,$(findstring -sh ,$(COMPILER)))
  2340. UseEXECPPAS=1
  2341. endif
  2342. ifneq (,$(findstring -s ,$(COMPILER)))
  2343. ifeq ($(FULL_SOURCE),$(FULL_TARGET))
  2344. UseEXECPPAS=1
  2345. endif
  2346. endif
  2347. ifneq ($(UseEXECPPAS),1)
  2348. EXECPPAS=
  2349. else
  2350. ifdef RUNBATCH
  2351. EXECPPAS:=@$(RUNBATCH) $(PPAS)
  2352. else
  2353. EXECPPAS:=@$(PPAS)
  2354. endif
  2355. endif
  2356. .PHONY: fpc_units
  2357. ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
  2358. override ALLTARGET+=fpc_units
  2359. override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
  2360. override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))
  2361. override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  2362. override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  2363. endif
  2364. fpc_units: $(COMPILER_UNITTARGETDIR) $(UNITPPUFILES)
  2365. ifdef TARGET_RSTS
  2366. override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
  2367. override CLEANRSTFILES+=$(RSTFILES)
  2368. endif
  2369. .PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
  2370. $(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
  2371. @$(ECHOREDIR) Compiled > $(FPCMADE)
  2372. fpc_all: $(FPCMADE)
  2373. fpc_smart:
  2374. $(MAKE) all LINKSMART=1 CREATESMART=1
  2375. fpc_debug:
  2376. $(MAKE) all DEBUG=1
  2377. fpc_release:
  2378. $(MAKE) all RELEASE=1
  2379. .SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) .pas .lpr .dpr .pp .rc .res
  2380. $(COMPILER_UNITTARGETDIR):
  2381. $(MKDIRTREE) $(COMPILER_UNITTARGETDIR)
  2382. $(COMPILER_TARGETDIR):
  2383. $(MKDIRTREE) $(COMPILER_TARGETDIR)
  2384. %$(PPUEXT): %.pp
  2385. $(COMPILER) $<
  2386. $(EXECPPAS)
  2387. %$(PPUEXT): %.pas
  2388. $(COMPILER) $<
  2389. $(EXECPPAS)
  2390. %$(EXEEXT): %.pp
  2391. $(COMPILER) $<
  2392. $(EXECPPAS)
  2393. %$(EXEEXT): %.pas
  2394. $(COMPILER) $<
  2395. $(EXECPPAS)
  2396. %$(EXEEXT): %.lpr
  2397. $(COMPILER) $<
  2398. $(EXECPPAS)
  2399. %$(EXEEXT): %.dpr
  2400. $(COMPILER) $<
  2401. $(EXECPPAS)
  2402. %.res: %.rc
  2403. windres -i $< -o $@
  2404. vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2405. vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2406. vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2407. vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2408. vpath %.inc $(COMPILER_INCLUDEDIR)
  2409. vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
  2410. vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
  2411. .PHONY: fpc_shared
  2412. override INSTALLTARGET+=fpc_shared_install
  2413. ifndef SHARED_LIBVERSION
  2414. SHARED_LIBVERSION=$(FPC_VERSION)
  2415. endif
  2416. ifndef SHARED_LIBNAME
  2417. SHARED_LIBNAME=$(PACKAGE_NAME)
  2418. endif
  2419. ifndef SHARED_FULLNAME
  2420. SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
  2421. endif
  2422. ifndef SHARED_LIBUNITS
  2423. SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
  2424. override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
  2425. endif
  2426. fpc_shared:
  2427. ifdef HASSHAREDLIB
  2428. $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
  2429. ifneq ($(SHARED_BUILD),n)
  2430. $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
  2431. endif
  2432. else
  2433. @$(ECHO) Shared Libraries not supported
  2434. endif
  2435. fpc_shared_install:
  2436. ifneq ($(SHARED_BUILD),n)
  2437. ifneq ($(SHARED_LIBUNITS),)
  2438. ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
  2439. $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
  2440. endif
  2441. endif
  2442. endif
  2443. .PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
  2444. ifdef INSTALL_UNITS
  2445. override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
  2446. endif
  2447. ifdef INSTALL_BUILDUNIT
  2448. override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES))
  2449. endif
  2450. ifdef INSTALLPPUFILES
  2451. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  2452. ifneq ($(UNITTARGETDIRPREFIX),)
  2453. override INSTALLPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(notdir $(INSTALLPPUFILES)))
  2454. override INSTALLPPULINKFILES:=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(notdir $(INSTALLPPULINKFILES))))
  2455. endif
  2456. override INSTALL_CREATEPACKAGEFPC=1
  2457. endif
  2458. ifdef INSTALLEXEFILES
  2459. ifneq ($(TARGETDIRPREFIX),)
  2460. override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES)))
  2461. endif
  2462. endif
  2463. fpc_install: all $(INSTALLTARGET)
  2464. ifdef INSTALLEXEFILES
  2465. $(MKDIR) $(INSTALL_BINDIR)
  2466. $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
  2467. endif
  2468. ifdef INSTALL_CREATEPACKAGEFPC
  2469. ifdef FPCMAKE
  2470. ifdef PACKAGE_VERSION
  2471. ifneq ($(wildcard Makefile.fpc),)
  2472. $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc
  2473. $(MKDIR) $(INSTALL_UNITDIR)
  2474. $(INSTALL) Package.fpc $(INSTALL_UNITDIR)
  2475. endif
  2476. endif
  2477. endif
  2478. endif
  2479. ifdef INSTALLPPUFILES
  2480. $(MKDIR) $(INSTALL_UNITDIR)
  2481. $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)
  2482. ifneq ($(INSTALLPPULINKFILES),)
  2483. $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)
  2484. endif
  2485. ifneq ($(wildcard $(LIB_FULLNAME)),)
  2486. $(MKDIR) $(INSTALL_LIBDIR)
  2487. $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)
  2488. ifdef inUnix
  2489. ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)
  2490. endif
  2491. endif
  2492. endif
  2493. ifdef INSTALL_FILES
  2494. $(MKDIR) $(INSTALL_DATADIR)
  2495. $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)
  2496. endif
  2497. fpc_sourceinstall: distclean
  2498. $(MKDIR) $(INSTALL_SOURCEDIR)
  2499. $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)
  2500. fpc_exampleinstall: $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
  2501. ifdef HASEXAMPLES
  2502. $(MKDIR) $(INSTALL_EXAMPLEDIR)
  2503. endif
  2504. ifdef EXAMPLESOURCEFILES
  2505. $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
  2506. endif
  2507. ifdef TARGET_EXAMPLEDIRS
  2508. $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
  2509. endif
  2510. .PHONY: fpc_clean fpc_cleanall fpc_distclean
  2511. ifdef EXEFILES
  2512. override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES))
  2513. override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES))
  2514. endif
  2515. ifdef CLEAN_PROGRAMS
  2516. override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS)))
  2517. override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS)))
  2518. endif
  2519. ifdef CLEAN_UNITS
  2520. override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))
  2521. endif
  2522. ifdef CLEANPPUFILES
  2523. override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES)))
  2524. ifdef DEBUGSYMEXT
  2525. override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES))
  2526. endif
  2527. override CLEANPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILES))
  2528. override CLEANPPULINKFILES:=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILES)))
  2529. endif
  2530. fpc_clean: $(CLEANTARGET)
  2531. ifdef CLEANEXEFILES
  2532. -$(DEL) $(CLEANEXEFILES)
  2533. endif
  2534. ifdef CLEANEXEDBGFILES
  2535. -$(DELTREE) $(CLEANEXEDBGFILES)
  2536. endif
  2537. ifdef CLEANPPUFILES
  2538. -$(DEL) $(CLEANPPUFILES)
  2539. endif
  2540. ifneq ($(CLEANPPULINKFILES),)
  2541. -$(DEL) $(CLEANPPULINKFILES)
  2542. endif
  2543. ifdef CLEANRSTFILES
  2544. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  2545. endif
  2546. ifdef CLEAN_FILES
  2547. -$(DEL) $(CLEAN_FILES)
  2548. endif
  2549. ifdef LIB_NAME
  2550. -$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
  2551. endif
  2552. -$(DEL) $(FPCMADE) Package.fpc $(PPAS) script.res link.res $(FPCEXTFILE) $(REDIRFILE)
  2553. -$(DEL) *$(ASMEXT) *_ppas$(BATCHEXT)
  2554. fpc_cleanall: $(CLEANTARGET)
  2555. ifdef CLEANEXEFILES
  2556. -$(DEL) $(CLEANEXEFILES)
  2557. endif
  2558. ifdef COMPILER_UNITTARGETDIR
  2559. ifdef CLEANPPUFILES
  2560. -$(DEL) $(CLEANPPUFILES)
  2561. endif
  2562. ifneq ($(CLEANPPULINKFILES),)
  2563. -$(DEL) $(CLEANPPULINKFILES)
  2564. endif
  2565. ifdef CLEANRSTFILES
  2566. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  2567. endif
  2568. endif
  2569. ifdef CLEAN_FILES
  2570. -$(DEL) $(CLEAN_FILES)
  2571. endif
  2572. -$(DELTREE) units
  2573. -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
  2574. ifneq ($(PPUEXT),.ppu)
  2575. -$(DEL) *.o *.ppu *.a
  2576. endif
  2577. -$(DELTREE) *$(SMARTEXT)
  2578. -$(DEL) fpcmade.* Package.fpc $(PPAS) script.res link.res $(FPCEXTFILE) $(REDIRFILE)
  2579. -$(DEL) *_ppas$(BATCHEXT)
  2580. ifdef AOUTEXT
  2581. -$(DEL) *$(AOUTEXT)
  2582. endif
  2583. ifdef DEBUGSYMEXT
  2584. -$(DEL) *$(DEBUGSYMEXT)
  2585. endif
  2586. fpc_distclean: cleanall
  2587. .PHONY: fpc_baseinfo
  2588. override INFORULES+=fpc_baseinfo
  2589. fpc_baseinfo:
  2590. @$(ECHO)
  2591. @$(ECHO) == Package info ==
  2592. @$(ECHO) Package Name..... $(PACKAGE_NAME)
  2593. @$(ECHO) Package Version.. $(PACKAGE_VERSION)
  2594. @$(ECHO)
  2595. @$(ECHO) == Configuration info ==
  2596. @$(ECHO)
  2597. @$(ECHO) FPC.......... $(FPC)
  2598. @$(ECHO) FPC Version.. $(FPC_VERSION)
  2599. @$(ECHO) Source CPU... $(CPU_SOURCE)
  2600. @$(ECHO) Target CPU... $(CPU_TARGET)
  2601. @$(ECHO) Source OS.... $(OS_SOURCE)
  2602. @$(ECHO) Target OS.... $(OS_TARGET)
  2603. @$(ECHO) Full Source.. $(FULL_SOURCE)
  2604. @$(ECHO) Full Target.. $(FULL_TARGET)
  2605. @$(ECHO) SourceSuffix. $(SOURCESUFFIX)
  2606. @$(ECHO) TargetSuffix. $(TARGETSUFFIX)
  2607. @$(ECHO) FPC fpmake... $(FPCFPMAKE)
  2608. @$(ECHO)
  2609. @$(ECHO) == Directory info ==
  2610. @$(ECHO)
  2611. @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES)
  2612. @$(ECHO)
  2613. @$(ECHO) Basedir......... $(BASEDIR)
  2614. @$(ECHO) FPCDir.......... $(FPCDIR)
  2615. @$(ECHO) CrossBinDir..... $(CROSSBINDIR)
  2616. @$(ECHO) UnitsDir........ $(UNITSDIR)
  2617. @$(ECHO) PackagesDir..... $(PACKAGESDIR)
  2618. @$(ECHO)
  2619. @$(ECHO) GCC library..... $(GCCLIBDIR)
  2620. @$(ECHO) Other library... $(OTHERLIBDIR)
  2621. @$(ECHO)
  2622. @$(ECHO) == Tools info ==
  2623. @$(ECHO)
  2624. @$(ECHO) As........ $(AS)
  2625. @$(ECHO) Ld........ $(LD)
  2626. @$(ECHO) Ar........ $(AR)
  2627. @$(ECHO) Rc........ $(RC)
  2628. @$(ECHO)
  2629. @$(ECHO) Mv........ $(MVPROG)
  2630. @$(ECHO) Cp........ $(CPPROG)
  2631. @$(ECHO) Rm........ $(RMPROG)
  2632. @$(ECHO) GInstall.. $(GINSTALL)
  2633. @$(ECHO) Echo...... $(ECHO)
  2634. @$(ECHO) Shell..... $(SHELL)
  2635. @$(ECHO) Date...... $(DATE)
  2636. @$(ECHO) FPCMake... $(FPCMAKE)
  2637. @$(ECHO) PPUMove... $(PPUMOVE)
  2638. @$(ECHO) Zip....... $(ZIPPROG)
  2639. @$(ECHO)
  2640. @$(ECHO) == Object info ==
  2641. @$(ECHO)
  2642. @$(ECHO) Target Loaders........ $(TARGET_LOADERS)
  2643. @$(ECHO) Target Units.......... $(TARGET_UNITS)
  2644. @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS)
  2645. @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)
  2646. @$(ECHO) Target Dirs........... $(TARGET_DIRS)
  2647. @$(ECHO) Target Examples....... $(TARGET_EXAMPLES)
  2648. @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)
  2649. @$(ECHO)
  2650. @$(ECHO) Clean Units......... $(CLEAN_UNITS)
  2651. @$(ECHO) Clean Files......... $(CLEAN_FILES)
  2652. @$(ECHO)
  2653. @$(ECHO) Install Units....... $(INSTALL_UNITS)
  2654. @$(ECHO) Install Files....... $(INSTALL_FILES)
  2655. @$(ECHO)
  2656. @$(ECHO) == Install info ==
  2657. @$(ECHO)
  2658. @$(ECHO) DateStr.............. $(DATESTR)
  2659. @$(ECHO) ZipName.............. $(ZIPNAME)
  2660. @$(ECHO) ZipPrefix............ $(ZIPPREFIX)
  2661. @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)
  2662. @$(ECHO) ZipSuffix............ $(ZIPSUFFIX)
  2663. @$(ECHO) FullZipName.......... $(FULLZIPNAME)
  2664. @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)
  2665. @$(ECHO)
  2666. @$(ECHO) Install base dir..... $(INSTALL_BASEDIR)
  2667. @$(ECHO) Install binary dir... $(INSTALL_BINDIR)
  2668. @$(ECHO) Install library dir.. $(INSTALL_LIBDIR)
  2669. @$(ECHO) Install units dir.... $(INSTALL_UNITDIR)
  2670. @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)
  2671. @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR)
  2672. @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR)
  2673. @$(ECHO) Install data dir..... $(INSTALL_DATADIR)
  2674. @$(ECHO)
  2675. @$(ECHO) Dist destination dir. $(DIST_DESTDIR)
  2676. @$(ECHO) Dist zip name........ $(DIST_ZIPNAME)
  2677. @$(ECHO)
  2678. .PHONY: fpc_info
  2679. fpc_info: $(INFORULES)
  2680. .PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \
  2681. fpc_makefile_dirs
  2682. fpc_makefile:
  2683. $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc
  2684. fpc_makefile_sub1:
  2685. ifdef TARGET_DIRS
  2686. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS))
  2687. endif
  2688. ifdef TARGET_EXAMPLEDIRS
  2689. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS))
  2690. endif
  2691. fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
  2692. fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
  2693. fpc_makefiles: fpc_makefile fpc_makefile_dirs
  2694. all: fpc_all
  2695. debug: fpc_debug
  2696. smart: fpc_smart
  2697. release: fpc_release
  2698. units: fpc_units
  2699. examples:
  2700. shared: fpc_shared
  2701. install: fpc_install
  2702. sourceinstall: fpc_sourceinstall
  2703. exampleinstall: fpc_exampleinstall
  2704. distinstall:
  2705. zipinstall:
  2706. zipsourceinstall:
  2707. zipexampleinstall:
  2708. zipdistinstall:
  2709. clean: fpc_clean
  2710. distclean: fpc_distclean
  2711. cleanall: fpc_cleanall
  2712. info: fpc_info
  2713. makefiles: fpc_makefiles
  2714. .PHONY: all debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean distclean cleanall info makefiles
  2715. ifneq ($(wildcard fpcmake.loc),)
  2716. include fpcmake.loc
  2717. endif
  2718. include $(INC)/makefile.inc
  2719. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  2720. include $(PROCINC)/makefile.cpu
  2721. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  2722. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
  2723. $(SYSTEMUNIT)$(PPUEXT) : $(BSDINC)/$(SYSTEMUNIT).pp $(SYSDEPS)
  2724. $(COMPILER) -Us -Sg $(BSDINC)/$(SYSTEMUNIT).pp
  2725. uuchar$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) $(INC)/uuchar.pp
  2726. fpintres$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT)
  2727. fpextres$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) baseunix$(PPUEXT)
  2728. iso7185$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT)
  2729. objpas$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) $(OBJPASDIR)/objpas.pp $(INC)/except.inc $(SYSTEMUNIT)$(PPUEXT)
  2730. $(COMPILER) -I$(OBJPASDIR) $(OBJPASDIR)/objpas.pp
  2731. strings$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) $(INC)/strings.pp $(INC)/stringsi.inc\
  2732. $(PROCINC)/strings.inc $(PROCINC)/stringss.inc\
  2733. $(SYSTEMUNIT)$(PPUEXT)
  2734. objc$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) ctypes$(PPUEXT) unixtype$(PPUEXT) $(INC)/objc.pp $(INC)/objc1.inc $(INC)/objcnf.inc
  2735. objcbase$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) $(INC)/objcbase.pp objc$(PPUEXT)
  2736. blockrtl$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) initc$(PPUEXT) ctypes$(PPUEXT) $(INC)/blockrtl.pp
  2737. baseunix$(PPUEXT) : unixtype$(PPUEXT) sysctl$(PPUEXT) errno.inc ptypes.inc $(UNIXINC)/ctypes.inc \
  2738. signal.inc $(UNIXINC)/bunxh.inc \
  2739. $(BSDINC)/bunxsysc.inc \
  2740. $(BSDINC)/ostypes.inc $(BSDINC)/osmacro.inc $(UNIXINC)/gensigset.inc \
  2741. $(UNIXINC)/genfuncs.inc $(SYSTEMUNIT)$(PPUEXT)
  2742. unixtype$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) $(UNIXINC)/unixtype.pp ptypes.inc $(UNIXINC)/ctypes.inc $(SYSTEMUNIT)$(PPUEXT)
  2743. unix$(PPUEXT) : unixtype$(PPUEXT) baseunix$(PPUEXT) unixutil$(PPUEXT) strings$(PPUEXT) $(UNIXINC)/unix.pp strings$(PPUEXT) $(INC)/textrec.inc $(INC)/filerec.inc \
  2744. unxconst.inc $(UNIXINC)/timezone.inc \
  2745. unxfunc.inc baseunix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2746. unixutil$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT)
  2747. dynlibs$(PPUEXT) : dl$(PPUEXT) objpas$(PPUEXT) rtlconsts$(PPUEXT) sysutils$(PPUEXT) sysconst$(PPUEXT)
  2748. ctypes$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) unixtype$(PPUEXT)
  2749. unixcp$(PPUEXT) : $(UNIXINC)/unixcp.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) baseunix$(PPUEXT)
  2750. $(COMPILER) $(UNIXINC)/unixcp.pp
  2751. dos$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) strings$(PPUEXT) unix$(PPUEXT) $(UNIXINC)/dos.pp $(INC)/filerec.inc $(INC)/textrec.inc strings$(PPUEXT) \
  2752. unix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2753. sysutils$(PPUEXT) : objpas$(PPUEXT) unix$(PPUEXT) errors$(PPUEXT) sysconst$(PPUEXT) $(UNIXINC)/sysutils.pp $(wildcard $(OBJPASDIR)/sysutils/*.inc) \
  2754. objpas$(PPUEXT) unix$(PPUEXT) errors$(PPUEXT) sysconst$(PPUEXT)
  2755. $(COMPILER) -Fi$(OBJPASDIR)/sysutils $(UNIXINC)/sysutils.pp
  2756. classes$(PPUEXT) : sysutils$(PPUEXT) rtlconsts$(PPUEXT) types$(PPUEXT) typinfo$(PPUEXT) unix$(PPUEXT) $(UNIXINC)/classes.pp $(wildcard $(OBJPASDIR)/classes/*.inc) \
  2757. sysutils$(PPUEXT) typinfo$(PPUEXT) rtlconsts$(PPUEXT) types$(PPUEXT) fgl$(PPUEXT)
  2758. $(COMPILER) -Fi$(OBJPASDIR)/classes $(UNIXINC)/classes.pp
  2759. typinfo$(PPUEXT): sysutils$(PPUEXT) $(OBJPASDIR)/typinfo.pp objpas$(PPUEXT) rtlconsts$(PPUEXT)
  2760. $(COMPILER) -Sg $(OBJPASDIR)/typinfo.pp
  2761. character$(PPUEXT): sysutils$(PPUEXT) $(OBJPASDIR)/character.pas objpas$(PPUEXT) rtlconsts$(PPUEXT)
  2762. $(COMPILER) $(OBJPASDIR)/character.pas
  2763. math$(PPUEXT): sysutils$(PPUEXT) $(OBJPASDIR)/math.pp objpas$(PPUEXT) sysutils$(PPUEXT)
  2764. $(COMPILER) $(OBJPASDIR)/math.pp
  2765. gettext$(PPUEXT): sysutils$(PPUEXT) $(OBJPASDIR)/gettext.pp objpas$(PPUEXT) sysutils$(PPUEXT)
  2766. $(COMPILER) $(OBJPASDIR)/gettext.pp
  2767. types$(PPUEXT) : $(OBJPASDIR)/types.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2768. $(COMPILER) $(OBJPASDIR)/types.pp
  2769. fgl$(PPUEXT) : $(OBJPASDIR)/fgl.pp objpas$(PPUEXT) types$(PPUEXT) system$(PPUEXT) sysutils$(PPUEXT)
  2770. $(COMPILER) $(OBJPASDIR)/fgl.pp
  2771. sysconst$(PPUEXT) : $(OBJPASDIR)/sysconst.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2772. $(COMPILER) $(OBJPASDIR)/sysconst.pp
  2773. rtlconsts$(PPUEXT) : $(OBJPASDIR)/rtlconsts.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2774. $(COMPILER) $(OBJPASDIR)/rtlconsts.pp
  2775. macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT)
  2776. $(COMPILER) $(INC)/macpas.pp $(REDIR)
  2777. ifeq ($(ARCH),x86_64)
  2778. cpu$(PPUEXT) : $(PROCINC)/cpu.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT)
  2779. else
  2780. cpu$(PPUEXT) : $(PROCINC)/cpu.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2781. endif
  2782. mmx$(PPUEXT) : $(PROCINC)/mmx.pp cpu$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2783. getopts$(PPUEXT) : $(INC)/getopts.pp $(SYSTEMUNIT)$(PPUEXT)
  2784. heaptrc$(PPUEXT) : $(INC)/heaptrc.pp $(SYSTEMUNIT)$(PPUEXT)
  2785. $(COMPILER) -Sg $(INC)/heaptrc.pp
  2786. lineinfo$(PPUEXT) : $(INC)/lineinfo.pp $(SYSTEMUNIT)$(PPUEXT) strings$(PPUEXT) $(INC)/exeinfo.pp
  2787. lnfodwrf$(PPUEXT) : $(INC)/lnfodwrf.pp $(SYSTEMUNIT)$(PPUEXT) strings$(PPUEXT) $(INC)/exeinfo.pp lineinfo$(PPUEXT)
  2788. lnfogdb$(PPUEXT) : $(UNIXINC)/lnfogdb.pp $(SYSTEMUNIT)$(PPUEXT) ctypes$(PPUEXT) baseunix$(PPUEXT) unix$(PPUEXT)
  2789. charset$(PPUEXT) : $(INC)/charset.pp objpas$(PPUEXT)
  2790. cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) charset$(PPUEXT)
  2791. $(COMPILER) -Fu$(INC) -Fi$(RTL)/charmaps $(RTL)/charmaps/cpall.pas
  2792. fpwidestring$(PPUEXT): $(OBJPASDIR)/fpwidestring.pp character$(PPUEXT) unixcp$(PPUEXT)
  2793. $(COMPILER) $(OBJPASDIR)/fpwidestring.pp
  2794. termio$(PPUEXT) : baseunix$(PPUEXT)
  2795. dl$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) unixtype$(PPUEXT) ctypes$(PPUEXT)
  2796. errors$(PPUEXT) : $(UNIXINC)/errors.pp strings$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) strings$(PPUEXT)
  2797. cmem$(PPUEXT) : $(INC)/cmem.pp $(SYSTEMUNIT)$(PPUEXT)
  2798. sysctl$(PPUEXT) : $(BSDINC)/sysctl.pp $(SYSTEMUNIT)$(PPUEXT) unixtype$(PPUEXT)
  2799. cthreads$(PPUEXT) : $(UNIXINC)/cthreads.pp unix$(PPUEXT) sysutils$(PPUEXT)
  2800. initc$(PPUEXT) : $(SYSTEMUNIT)$(PPUEXT) ctypes$(PPUEXT)
  2801. ctypes$(PPUEXT) : $(INC)/ctypes.pp $(SYSTEMUNIT)$(PPUEXT)
  2802. cwstring$(PPUEXT) : $(UNIXINC)/cwstring.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT) baseunix$(PPUEXT) unix$(PPUEXT) unixtype$(PPUEXT) ctypes$(PPUEXT) dynlibs$(PPUEXT) unixcp$(PPUEXT)
  2803. bsd$(PPUEXT) : initc$(PPUEXT) unix$(PPUEXT)