Makefile 99 KB

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