Makefile 132 KB

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