Makefile 136 KB

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