Makefile 119 KB

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