Makefile 111 KB

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