Makefile 153 KB

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