Makefile 152 KB

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