Makefile 111 KB

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