Makefile 106 KB

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