Makefile 111 KB

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