Makefile 148 KB

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