Makefile 160 KB

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