Makefile 229 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878
  1. #
  2. # Don't edit, this file is generated by FPCMake Version 2.0.0
  3. #
  4. default: all
  5. MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd m68k-amiga m68k-atari m68k-palmos m68k-macosclassic m68k-embedded m68k-sinclairql powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macosclassic powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-haiku x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-android x86_64-aros x86_64-dragonfly arm-linux arm-netbsd arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros arm-freertos arm-ios powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android mips64-linux mips64el-linux jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-freebsd aarch64-darwin aarch64-win64 aarch64-embedded aarch64-iphonesim aarch64-android aarch64-ios wasm32-embedded wasm32-wasi sparc64-linux riscv32-linux riscv32-embedded riscv32-freertos riscv64-linux riscv64-embedded xtensa-linux xtensa-embedded xtensa-freertos z80-embedded z80-zxspectrum z80-msxdos z80-amstradcpc loongarch64-linux
  6. BSDs = freebsd netbsd openbsd darwin dragonfly
  7. UNIXs = linux $(BSDs) solaris qnx haiku aix
  8. LIMIT83fs = go32v2 os2 emx watcom msdos win16 atari
  9. OSNeedsComspecToRunBatch = go32v2 watcom
  10. FORCE:
  11. .PHONY: FORCE
  12. lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$1))))))))))))))))))))))))))
  13. override PATH:=$(patsubst %/,%,$(subst \,/,$(PATH)))
  14. ifneq ($(findstring darwin,$(OSTYPE)),)
  15. inUnix=1 #darwin
  16. SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
  17. else
  18. ifeq ($(findstring ;,$(PATH)),)
  19. inUnix=1
  20. SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
  21. else
  22. SEARCHPATH:=$(subst ;, ,$(PATH))
  23. endif
  24. endif
  25. SEARCHPATH+=$(patsubst %/,%,$(subst \,/,$(dir $(MAKE))))
  26. PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
  27. ifeq ($(PWD),)
  28. PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
  29. ifeq ($(PWD),)
  30. $(error You need the GNU utils package to use this Makefile)
  31. else
  32. PWD:=$(firstword $(PWD))
  33. SRCEXEEXT=
  34. endif
  35. else
  36. PWD:=$(firstword $(PWD))
  37. SRCEXEEXT=.exe
  38. endif
  39. ifndef inUnix
  40. ifeq ($(OS),Windows_NT)
  41. inWinNT=1
  42. else
  43. ifdef OS2_SHELL
  44. inOS2=1
  45. endif
  46. endif
  47. else
  48. ifneq ($(findstring cygdrive,$(PATH)),)
  49. inCygWin=1
  50. endif
  51. endif
  52. ifdef inUnix
  53. SRCBATCHEXT=.sh
  54. else
  55. ifdef inOS2
  56. SRCBATCHEXT=.cmd
  57. else
  58. SRCBATCHEXT=.bat
  59. endif
  60. endif
  61. ifdef COMSPEC
  62. ifneq ($(filter $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
  63. ifndef RUNBATCH
  64. RUNBATCH=$(COMSPEC) /C
  65. endif
  66. endif
  67. endif
  68. ifdef inUnix
  69. PATHSEP=/
  70. else
  71. PATHSEP:=$(subst /,\,/)
  72. ifdef inCygWin
  73. PATHSEP=/
  74. endif
  75. endif
  76. ifdef PWD
  77. BASEDIR:=$(subst \,/,$(shell $(PWD)))
  78. ifdef inCygWin
  79. ifneq ($(findstring /cygdrive/,$(BASEDIR)),)
  80. BASENODIR:=$(patsubst /cygdrive%,%,$(BASEDIR))
  81. BASEDRIVE:=$(firstword $(subst /, ,$(BASENODIR)))
  82. BASEDIR:=$(subst /cygdrive/$(BASEDRIVE)/,$(BASEDRIVE):/,$(BASEDIR))
  83. endif
  84. endif
  85. else
  86. BASEDIR=.
  87. endif
  88. ifdef inOS2
  89. ifndef ECHO
  90. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  91. ifeq ($(ECHO),)
  92. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  93. ifeq ($(ECHO),)
  94. ECHO=echo
  95. else
  96. ECHO:=$(firstword $(ECHO))
  97. endif
  98. else
  99. ECHO:=$(firstword $(ECHO))
  100. endif
  101. endif
  102. export ECHO
  103. endif
  104. override OS_TARGET_DEFAULT=openbsd
  105. override DEFAULT_FPCDIR=../.. ../..
  106. ifndef FPC
  107. ifdef PP
  108. FPC=$(PP)
  109. endif
  110. endif
  111. ifndef FPC
  112. FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
  113. ifneq ($(FPCPROG),)
  114. FPCPROG:=$(firstword $(FPCPROG))
  115. ifneq ($(CPU_TARGET),)
  116. FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
  117. else
  118. FPC:=$(shell $(FPCPROG) -PB)
  119. endif
  120. ifneq ($(findstring Error,$(FPC)),)
  121. override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  122. else
  123. ifeq ($(strip $(wildcard $(FPC))),)
  124. FPC:=$(firstword $(FPCPROG))
  125. endif
  126. endif
  127. else
  128. override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  129. endif
  130. endif
  131. override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
  132. override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
  133. FOUNDFPC:=$(strip $(wildcard $(FPC)))
  134. ifeq ($(FOUNDFPC),)
  135. FOUNDFPC=$(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))
  136. ifeq ($(FOUNDFPC),)
  137. $(error Compiler $(FPC) not found)
  138. endif
  139. endif
  140. ifndef FPC_COMPILERINFO
  141. FPC_COMPILERINFO:=$(shell $(FPC) -iVSPTPSOTO)
  142. endif
  143. ifndef FPC_VERSION
  144. FPC_VERSION:=$(word 1,$(FPC_COMPILERINFO))
  145. endif
  146. export FPC FPC_VERSION FPC_COMPILERINFO
  147. unexport CHECKDEPEND ALLDEPENDENCIES
  148. ifndef CPU_TARGET
  149. ifdef CPU_TARGET_DEFAULT
  150. CPU_TARGET=$(CPU_TARGET_DEFAULT)
  151. endif
  152. endif
  153. ifndef OS_TARGET
  154. ifdef OS_TARGET_DEFAULT
  155. OS_TARGET=$(OS_TARGET_DEFAULT)
  156. endif
  157. endif
  158. ifndef CPU_SOURCE
  159. CPU_SOURCE:=$(word 2,$(FPC_COMPILERINFO))
  160. endif
  161. ifndef CPU_TARGET
  162. CPU_TARGET:=$(word 3,$(FPC_COMPILERINFO))
  163. endif
  164. ifndef OS_SOURCE
  165. OS_SOURCE:=$(word 4,$(FPC_COMPILERINFO))
  166. endif
  167. ifndef OS_TARGET
  168. OS_TARGET:=$(word 5,$(FPC_COMPILERINFO))
  169. endif
  170. CPU_OS_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  171. ifdef SUB_TARGET
  172. L_SUB_TARGET=$(call lc,$(SUB_TARGET))
  173. FULL_TARGET:=$(CPU_TARGET)-$(OS_TARGET)-$(L_SUB_TARGET)
  174. else
  175. FULL_TARGET:=$(CPU_TARGET)-$(OS_TARGET)
  176. endif
  177. CPU_OS_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  178. ifdef SUB_SOURCE
  179. L_SUB_SOURCE=$(call lc,$(SUB_SOURCE))
  180. FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)-$(L_SUB_SOURCE)
  181. else
  182. FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  183. endif
  184. ifeq ($(CPU_TARGET),armeb)
  185. ARCH=arm
  186. override FPCOPT+=-Cb
  187. else
  188. ifeq ($(CPU_TARGET),armel)
  189. ARCH=arm
  190. override FPCOPT+=-CaEABI
  191. else
  192. ARCH=$(CPU_TARGET)
  193. endif
  194. endif
  195. ifeq ($(FULL_TARGET),aarch64-embedded)
  196. endif
  197. ifdef SUB_TARGET
  198. FPCOPT+=-t$(SUB_TARGET)
  199. FPMAKE_OPT+=--subtarget=$(SUB_TARGET)
  200. endif
  201. ifeq ($(FULL_TARGET),arm-embedded)
  202. ifeq ($(SUBARCH),)
  203. $(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined)
  204. endif
  205. override FPCOPT+=-Cp$(SUBARCH)
  206. endif
  207. ifeq ($(FULL_TARGET),avr-embedded)
  208. ifeq ($(SUBARCH),)
  209. $(error When compiling for avr-embedded, a sub-architecture (e.g. SUBARCH=avr25 or SUBARCH=avr35) must be defined)
  210. endif
  211. override FPCOPT+=-Cp$(SUBARCH)
  212. endif
  213. ifeq ($(FULL_TARGET),mipsel-embedded)
  214. ifeq ($(SUBARCH),)
  215. $(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic32mx) must be defined)
  216. endif
  217. override FPCOPT+=-Cp$(SUBARCH)
  218. endif
  219. ifeq ($(FULL_TARGET),xtensa-embedded)
  220. ifeq ($(SUBARCH),)
  221. $(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
  222. endif
  223. override FPCOPT+=-Cp$(SUBARCH)
  224. endif
  225. ifeq ($(FULL_TARGET),xtensa-freertos)
  226. ifeq ($(SUBARCH),)
  227. $(error When compiling for xtensa-freertos, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
  228. endif
  229. override FPCOPT+=-Cp$(SUBARCH)
  230. endif
  231. ifeq ($(FULL_TARGET),arm-freertos)
  232. ifeq ($(SUBARCH),)
  233. $(error When compiling for arm-freertos, a sub-architecture (e.g. SUBARCH=armv6m or SUBARCH=armv7em) must be defined)
  234. endif
  235. override FPCOPT+=-Cp$(SUBARCH)
  236. endif
  237. ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
  238. TARGETSUFFIX=$(OS_TARGET)
  239. SOURCESUFFIX=$(OS_SOURCE)
  240. else
  241. ifneq ($(filter $(OS_TARGET),$(LIMIT83fs)),)
  242. TARGETSUFFIX=$(OS_TARGET)
  243. else
  244. TARGETSUFFIX=$(FULL_TARGET)
  245. endif
  246. SOURCESUFFIX=$(FULL_SOURCE)
  247. endif
  248. ifneq ($(CPU_OS_TARGET),$(CPU_OS_SOURCE))
  249. CROSSCOMPILE=1
  250. endif
  251. ifeq ($(findstring makefile,$(MAKECMDGOALS)),)
  252. ifeq ($(filter $(CPU_OS_TARGET),$(MAKEFILETARGETS)),)
  253. $(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first)
  254. endif
  255. endif
  256. ifneq ($(filter $(OS_TARGET),$(BSDs)),)
  257. BSDhier=1
  258. endif
  259. ifeq ($(OS_TARGET),linux)
  260. linuxHier=1
  261. endif
  262. ifndef CROSSCOMPILE
  263. BUILDFULLNATIVE=1
  264. export BUILDFULLNATIVE
  265. endif
  266. ifdef BUILDFULLNATIVE
  267. BUILDNATIVE=1
  268. export BUILDNATIVE
  269. endif
  270. export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE SUB_TARGET SUB_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE CPU_OS_TARGET CPU_OS_SOURCE
  271. ifdef FPCDIR
  272. override FPCDIR:=$(subst \,/,$(FPCDIR))
  273. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  274. override FPCDIR=wrong
  275. endif
  276. else
  277. override FPCDIR=wrong
  278. endif
  279. ifdef DEFAULT_FPCDIR
  280. ifeq ($(FPCDIR),wrong)
  281. override FPCDIR:=$(subst \,/,$(DEFAULT_FPCDIR))
  282. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  283. override FPCDIR=wrong
  284. endif
  285. endif
  286. endif
  287. ifeq ($(FPCDIR),wrong)
  288. ifdef inUnix
  289. override FPCDIR=/usr/local/lib/fpc/$(FPC_VERSION)
  290. ifeq ($(wildcard $(FPCDIR)/units),)
  291. override FPCDIR=/usr/lib/fpc/$(FPC_VERSION)
  292. endif
  293. else
  294. override FPCDIR:=$(subst /$(FPC),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))))
  295. override FPCDIR:=$(FPCDIR)/..
  296. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  297. override FPCDIR:=$(FPCDIR)/..
  298. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  299. override FPCDIR:=$(BASEDIR)
  300. ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
  301. override FPCDIR=c:/pp
  302. endif
  303. endif
  304. endif
  305. endif
  306. endif
  307. ifndef CROSSBINDIR
  308. CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX))
  309. endif
  310. ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
  311. ifneq ($(filter $(OS_SOURCE),darwin ios),)
  312. DARWIN2DARWIN=1
  313. endif
  314. endif
  315. ifndef BINUTILSPREFIX
  316. ifndef CROSSBINDIR
  317. ifdef CROSSCOMPILE
  318. ifneq ($(OS_TARGET),msdos)
  319. ifndef DARWIN2DARWIN
  320. ifneq ($(CPU_TARGET),jvm)
  321. BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
  322. ifeq ($(OS_TARGET),android)
  323. ifeq ($(CPU_TARGET),arm)
  324. BINUTILSPREFIX=arm-linux-androideabi-
  325. else
  326. ifeq ($(CPU_TARGET),i386)
  327. BINUTILSPREFIX=i686-linux-android-
  328. else
  329. BINUTILSPREFIX=$(CPU_TARGET)-linux-android-
  330. endif
  331. endif
  332. endif
  333. endif
  334. endif
  335. else
  336. BINUTILSPREFIX=$(OS_TARGET)-
  337. endif
  338. endif
  339. endif
  340. endif
  341. UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
  342. ifeq ($(UNITSDIR),)
  343. UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
  344. endif
  345. PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages)
  346. ifndef FPCFPMAKE
  347. ifdef CROSSCOMPILE
  348. ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),)
  349. FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
  350. ifneq ($(FPCPROG),)
  351. FPCPROG:=$(firstword $(FPCPROG))
  352. FPCFPMAKE:=$(shell $(FPCPROG) -PB)
  353. ifeq ($(strip $(wildcard $(FPCFPMAKE))),)
  354. FPCFPMAKE:=$(firstword $(FPCPROG))
  355. endif
  356. else
  357. override FPCFPMAKE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
  358. endif
  359. else
  360. FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR))))
  361. FPMAKE_SKIP_CONFIG=-n
  362. export FPCFPMAKE
  363. export FPMAKE_SKIP_CONFIG
  364. endif
  365. else
  366. FPMAKE_SKIP_CONFIG=-n
  367. FPCFPMAKE=$(FPC)
  368. endif
  369. endif
  370. override PACKAGE_NAME=rtl
  371. PACKAGEDIR_MAIN:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
  372. ifdef FPC_DOTTEDUNITS
  373. AIOUNIT=NetWareApi.Aio
  374. ALLWINNER_A20UNIT=Embedded.Allwinner_a20
  375. ANDROIDR14UNIT=AndroidAPI.AndroidR14
  376. ATHREADSUNIT=AmigaApi.AThreads
  377. BASEUNIXUNIT=UnixApi.Base
  378. BETHREADSUNIT=BeosApi.Bethreads
  379. BLOCKRTLUNIT=blockrtl
  380. BSDUNIT=BsdApi
  381. CHARACTERUNIT=System.Character
  382. CHARSETUNIT=System.CharSet
  383. CLASSESUNIT=System.Classes
  384. CMEMUNIT=System.CMem
  385. COMMONUNIT=PalmApi.Common
  386. CONSOLEUNIT=System.Console
  387. CONSOLEIOUNIT=EmbeddedApi.ConsoleIO
  388. CORTEXM0UNIT=ARMApi.Cortexm0
  389. CORTEXM3UNIT=ARMApi.Cortexm3
  390. CORTEXM4UNIT=ARMApi.Cortexm4
  391. CORTEXM7UNIT=ARMApi.Cortexm7
  392. CP1250UNIT=System.CodePages.CP1250
  393. CP1251UNIT=System.CodePages.CP1251
  394. CP1252UNIT=System.CodePages.CP1252
  395. CP1253UNIT=System.CodePages.CP1253
  396. CP1254UNIT=System.CodePages.CP1254
  397. CP1255UNIT=System.CodePages.CP1255
  398. CP1256UNIT=System.CodePages.CP1256
  399. CP1257UNIT=System.CodePages.CP1257
  400. CP1258UNIT=System.CodePages.CP1258
  401. CP3021UNIT=System.CodePages.CP3021
  402. CP437UNIT=System.CodePages.CP437
  403. CP646UNIT=System.CodePages.CP646
  404. CP737UNIT=System.CodePages.CP737
  405. CP775UNIT=System.CodePages.CP775
  406. CP850UNIT=System.CodePages.CP850
  407. CP852UNIT=System.CodePages.CP852
  408. CP855UNIT=System.CodePages.CP855
  409. CP856UNIT=System.CodePages.CP856
  410. CP857UNIT=System.CodePages.CP857
  411. CP860UNIT=System.CodePages.CP860
  412. CP861UNIT=System.CodePages.CP861
  413. CP862UNIT=System.CodePages.CP862
  414. CP863UNIT=System.CodePages.CP863
  415. CP864UNIT=System.CodePages.CP864
  416. CP865UNIT=System.CodePages.CP865
  417. CP866UNIT=System.CodePages.CP866
  418. CP869UNIT=System.CodePages.CP869
  419. CP874UNIT=System.CodePages.CP874
  420. CP8859_1UNIT=System.CodePages.CP8859_1
  421. CP8859_10UNIT=System.CodePages.CP8859_10
  422. CP8859_11UNIT=System.CodePages.CP8859_11
  423. CP8859_13UNIT=System.CodePages.CP8859_13
  424. CP8859_14UNIT=System.CodePages.CP8859_14
  425. CP8859_15UNIT=System.CodePages.CP8859_15
  426. CP8859_16UNIT=System.CodePages.CP8859_16
  427. CP8859_2UNIT=System.CodePages.CP8859_2
  428. CP8859_3UNIT=System.CodePages.CP8859_3
  429. CP8859_4UNIT=System.CodePages.CP8859_4
  430. CP8859_5UNIT=System.CodePages.CP8859_5
  431. CP8859_6UNIT=System.CodePages.CP8859_6
  432. CP8859_7UNIT=System.CodePages.CP8859_7
  433. CP8859_8UNIT=System.CodePages.CP8859_8
  434. CP8859_9UNIT=System.CodePages.CP8859_9
  435. CPALLUNIT=System.CodePages.All
  436. CPKOI8_RUNIT=System.CodePages.CPkoi8_r
  437. CPKOI8_UUNIT=System.CodePages.CPkoi8_u
  438. CPUUNIT=System.CPU
  439. CTHREADSUNIT=UnixApi.CThreads
  440. CTYPESUNIT=System.CTypes
  441. CWSTRINGUNIT=UnixApi.CWString
  442. DDKUNIT=NTApi.Ddk
  443. DLUNIT=UnixApi.Dl
  444. DOSUNIT=TP.DOS
  445. DOSCALL2UNIT=OS2Api.Doscall2
  446. DOSCALLSUNIT=OS2Api.Doscalls
  447. DPMIEXCPUNIT=DOSApi.Dpmiexcp
  448. DXELOADUNIT=DOSApi.Dxeload
  449. DXETYPEUNIT=DOSApi.Dxetype
  450. DYNLIBSUNIT=System.DynLibs
  451. EMU387UNIT=DOSApi.EMU387
  452. EMXUNIT=DOSApi.EMX
  453. ERRORSUNIT=System.Errors
  454. ESP32UNIT=System.Esp32
  455. ESP8266UNIT=System.Esp8266
  456. ESP8266RTOS_30300UNIT=System.Esp8266rtos_30300
  457. ESP8266RTOS_30400UNIT=System.Esp8266rtos_30400
  458. ESPIDF_40100UNIT=System.Espidf_40100
  459. ESPIDF_40200UNIT=System.Espidf_40200
  460. ESPIDF_40400UNIT=System.Espidf_40400
  461. EXEUNIT=OS2Api.Exe
  462. EXEINFOUNIT=System.Exeinfo
  463. EXTPASUNIT=extpas
  464. FE310G000UNIT=EmbeddedApi.Fe310g000
  465. FE310G002UNIT=EmbeddedApi.Fe310g002
  466. FGLUNIT=System.FGL
  467. FPCMEMDLLUNIT=System.FPCMemDLL
  468. FPCYLIXUNIT=fpcylix
  469. FPWIDESTRINGUNIT=System.FPWideString
  470. FREEBSDUNIT=FreeBSDApi.FreeBSD
  471. GD32VF103XXUNIT=EmbeddedApi.Gd32vf103xx
  472. GETOPTSUNIT=System.GetOpts
  473. GO32UNIT=DOSApi.GO32
  474. GPIOUNIT=EmbeddedApi.Gpio
  475. HEAPMGRUNIT=EmbeddedApi.HeapMGR
  476. INITCUNIT=System.InitC
  477. INTRINSICSUNIT=System.Intrinsics
  478. ISO7185UNIT=iso7185
  479. JDK15UNIT=JavaApi.JDK15
  480. KBDCALLSUNIT=OS2Api.Kbdcalls
  481. LIBCUNIT=NetwareLibCApi.Libc
  482. LINEINFOUNIT=System.LineInfo
  483. LINUXUNIT=LinuxApi
  484. LINUXVCSUNIT=LinuxApi.Vcs
  485. LM3FURYUNIT=EmbeddedApi.Lm3fury
  486. LM3TEMPESTUNIT=EmbeddedApi.Lm3tempest
  487. LM4F120UNIT=EmbeddedApi.Lm4f120
  488. LNFODWRFUNIT=System.LineInfo.Dwarf
  489. LNFOGDBUNIT=System.LineInfo.Gdb
  490. LPC11XXUNIT=EmbeddedApi.Lpc11xx
  491. LPC122XUNIT=EmbeddedApi.Lpc122x
  492. LPC13XXUNIT=EmbeddedApi.Lpc13xx
  493. LPC1768UNIT=EmbeddedApi.Lpc1768
  494. LPC21X4UNIT=EmbeddedApi.Lpc21x4
  495. LPC8XXUNIT=EmbeddedApi.Lpc8xx
  496. LSTRINGSUNIT=System.LStrings
  497. MACOSUNIT=MacOSApi.MacOS
  498. MACOSTPUNIT=MacOSApi.MacOSTP
  499. MACUTILSUNIT=MacOSApi.MacUtils
  500. MAILBOXUNIT=EmbeddedApi.Mailbox
  501. MATHUNIT=System.Math
  502. MESSAGESUNIT=WinApi.Messages
  503. MK20D5UNIT=EmbeddedApi.Mk20d5
  504. MK20D7UNIT=EmbeddedApi.Mk20d7
  505. MK22F51212UNIT=EmbeddedApi.Mk22f51212
  506. MK64F12UNIT=EmbeddedApi.Mk64f12
  507. MMIOUNIT=EmbeddedApi.Mmio
  508. MMXUNIT=System.CPU.MMX
  509. MONCALLSUNIT=OS2Api.Moncalls
  510. MOUCALLSUNIT=OS2Api.Moucalls
  511. MSMOUSEUNIT=DOSApi.MSMouse
  512. MULTIBOOTUNIT=EmbeddedApi.Multiboot
  513. NDKUNIT=NTApi.NDK
  514. NDKUTILSUNIT=NTApi.NDKUtils
  515. NETWAREUNIT=NetwareApi.NetWare
  516. NEWEXEUNIT=OS2Api.Newexe
  517. NRF51UNIT=EmbeddedApi.Nrf51
  518. NRF52UNIT=EmbeddedApi.Nrf52
  519. NWCALLSUNIT=NetWareApi.Nwcalls
  520. NWNITUNIT=NetWareApi.Nwnit
  521. NWPREUNIT=NetWareApi.Nwpre
  522. NWPROTUNIT=NetWareApi.Nwprot
  523. NWSERVUNIT=NetWareApi.Nwserv
  524. NWSNUTUNIT=NetWareApi.Nwsnut
  525. OBJCUNIT=objc
  526. OBJCBASEUNIT=objcbase
  527. OS2DEFUNIT=OS2Api.Os2def
  528. PAGEMEMUNIT=System.PageMem
  529. PILOTUNIT=PalmApi.Pilot
  530. PMBIDIUNIT=OS2Api.Pmbidi
  531. PMBITMAPUNIT=OS2Api.Pmbitmap
  532. PMDEVUNIT=OS2Api.Pmdev
  533. PMGPIUNIT=OS2Api.Pmgpi
  534. PMHELPUNIT=OS2Api.Pmhelp
  535. PMSHLUNIT=OS2Api.Pmshl
  536. PMSPLUNIT=OS2Api.Pmspl
  537. PMSTDDLGUNIT=OS2Api.Pmstddlg
  538. PMWINUNIT=OS2Api.Pmwin
  539. PMWPUNIT=OS2Api.Pmwp
  540. PMWSOCKUNIT=OS2Api.Pmwsock
  541. PORTSUNIT=System.Ports
  542. POSIXUNIT=QNXApi.Posix
  543. PROFILEUNIT=DOSApi.Profile
  544. RASPI2UNIT=EmbeddedApi.Raspi2
  545. RASPI3UNIT=EmbeddedApi.Raspi3
  546. RASPIUARTUNIT=EmbeddedApi.Raspiuart
  547. RTLCONSTSUNIT=System.RtlConsts
  548. SAM3X8EUNIT=EmbeddedApi.Sam3x8e
  549. SAMD51P19AUNIT=EmbeddedApi.Samd51p19a
  550. SC32442BUNIT=EmbeddedApi .Sc32442b
  551. SFPU128UNIT=System.SoftFpu128
  552. SFPUX80UNIT=System.SoftFpuX80
  553. SHAREMEMUNIT=WinApi.ShareMem
  554. SIGNALSUNIT=WinApi.Signals
  555. SO32DLLUNIT=OS2Api.So32dll
  556. SOFTFPUUNIT=System.SoftFPU
  557. SORTBASEUNIT=System.SortBase
  558. STM32F0XXUNIT=EmbeddedApi.Stm32f0xx
  559. STM32F103XEUNIT=EmbeddedApi.Stm32f103xe
  560. STM32F10X_CLUNIT=EmbeddedApi.Stm32f10x_cl
  561. STM32F10X_CONNUNIT=EmbeddedApi.Stm32f10x_conn
  562. STM32F10X_HDUNIT=EmbeddedApi.Stm32f10x_hd
  563. STM32F10X_LDUNIT=EmbeddedApi.Stm32f10x_ld
  564. STM32F10X_MDUNIT=EmbeddedApi.Stm32f10x_md
  565. STM32F10X_XLUNIT=EmbeddedApi.Stm32f10x_xl
  566. STM32F401XEUNIT=EmbeddedApi.Stm32f401xe
  567. STM32F401XXUNIT=EmbeddedApi.Stm32f401xx
  568. STM32F407XXUNIT=EmbeddedApi.Stm32f407xx
  569. STM32F411XEUNIT=EmbeddedApi.Stm32f411xe
  570. STM32F429UNIT=EmbeddedApi.Stm32f429
  571. STM32F429XXUNIT=EmbeddedApi.Stm32f429xx
  572. STM32F446XXUNIT=EmbeddedApi.Stm32f446xx
  573. STM32F745UNIT=EmbeddedApi.Stm32f745
  574. STM32F746UNIT=EmbeddedApi.Stm32f746
  575. STM32F756UNIT=EmbeddedApi.Stm32f756
  576. STM32G071XXUNIT=EmbeddedApi.Stm32g071xx
  577. STRINGSUNIT=System.Strings
  578. SYMBIANUNIT=SymbianApi.Symbian
  579. SYSALLUNIT=PalmApi.Sysall
  580. SYSCALLUNIT=UnixApi.SysCall
  581. SYSCONSTUNIT=System.SysConst
  582. SYSCTLUNIT=BsdApi.SysCtl
  583. SYSEMXUNIT=DOSApi.Sysemx
  584. SYSOS2UNIT=OS2Api.Sysos2
  585. SYSTRAPSUNIT=PalmApi.Systraps
  586. SYSUTILSUNIT=System.SysUtils
  587. TERMIOUNIT=UnixApi.TermIO
  588. TYPESUNIT=System.Types
  589. TYPINFOUNIT=System.TypInfo
  590. UFLOAT128UNIT=System.UFloat128
  591. UFLOATX80UNIT=System.UFloatX80
  592. UIUNIT=PalmApi.Ui
  593. UIQUNIT=SymbianApi.Uiq
  594. UIQCLASSESUNIT=SymbianApi.Uiqclasses
  595. UNICODEDATAUNIT=System.CodePages.Unicodedata
  596. UNIXUNIT=UnixApi.Unix
  597. UNIXCPUNIT=UnixApi.CP
  598. UNIXTYPEUNIT=UnixApi.Types
  599. UNIXUTILUNIT=UnixApi.Utils
  600. VIOCALLSUNIT=OS2Api.Viocalls
  601. WASIAPIUNIT=WASIApi.WASIApi
  602. WASIUTILUNIT=WASIApi.WASIUtil
  603. WATCOMUNIT=WatcomApi.WatCom
  604. WEBASSEMBLYUNIT=WebAssemblyAPI.WebAssembly
  605. WIN31UNIT=WinApi.Win31
  606. WINDIRSUNIT=WinApi.WinDirs
  607. WINDOWSUNIT=WinApi.Windows
  608. WINPROCSUNIT=WinApi.WinProcs
  609. WINSYSUTUNIT=WinApi.WinSysUt
  610. WINTYPESUNIT=WinApi.WinTypes
  611. X86UNIT=System.X86
  612. XMC4500UNIT=EmbeddedApi.Xmc4500
  613. EXEINFOUNIT=System.ExeInfo
  614. ERRORSUNIT=UnixApi.Errors
  615. else
  616. AIOUNIT=aio
  617. ALLWINNER_A20UNIT=allwinner_a20
  618. ANDROIDR14UNIT=androidr14
  619. ATHREADSUNIT=athreads
  620. BASEUNIXUNIT=baseunix
  621. BETHREADSUNIT=bethreads
  622. BLOCKRTLUNIT=blockrtl
  623. BSDUNIT=bsd
  624. CHARACTERUNIT=character
  625. CHARSETUNIT=charset
  626. CLASSESUNIT=classes
  627. CMEMUNIT=cmem
  628. COMMONUNIT=common
  629. CONSOLEUNIT=console
  630. CONSOLEIOUNIT=consoleio
  631. CORTEXM0UNIT=cortexm0
  632. CORTEXM3UNIT=cortexm3
  633. CORTEXM4UNIT=cortexm4
  634. CORTEXM7UNIT=cortexm7
  635. CP1250UNIT=cp1250
  636. CP1251UNIT=cp1251
  637. CP1252UNIT=cp1252
  638. CP1253UNIT=cp1253
  639. CP1254UNIT=cp1254
  640. CP1255UNIT=cp1255
  641. CP1256UNIT=cp1256
  642. CP1257UNIT=cp1257
  643. CP1258UNIT=cp1258
  644. CP3021UNIT=cp3021
  645. CP437UNIT=cp437
  646. CP646UNIT=cp646
  647. CP737UNIT=cp737
  648. CP775UNIT=cp775
  649. CP850UNIT=cp850
  650. CP852UNIT=cp852
  651. CP855UNIT=cp855
  652. CP856UNIT=cp856
  653. CP857UNIT=cp857
  654. CP860UNIT=cp860
  655. CP861UNIT=cp861
  656. CP862UNIT=cp862
  657. CP863UNIT=cp863
  658. CP864UNIT=cp864
  659. CP865UNIT=cp865
  660. CP866UNIT=cp866
  661. CP869UNIT=cp869
  662. CP874UNIT=cp874
  663. CP8859_1UNIT=cp8859_1
  664. CP8859_10UNIT=cp8859_10
  665. CP8859_11UNIT=cp8859_11
  666. CP8859_13UNIT=cp8859_13
  667. CP8859_14UNIT=cp8859_14
  668. CP8859_15UNIT=cp8859_15
  669. CP8859_16UNIT=cp8859_16
  670. CP8859_2UNIT=cp8859_2
  671. CP8859_3UNIT=cp8859_3
  672. CP8859_4UNIT=cp8859_4
  673. CP8859_5UNIT=cp8859_5
  674. CP8859_6UNIT=cp8859_6
  675. CP8859_7UNIT=cp8859_7
  676. CP8859_8UNIT=cp8859_8
  677. CP8859_9UNIT=cp8859_9
  678. CPALLUNIT=cpall
  679. CPKOI8_RUNIT=cpkoi8_r
  680. CPKOI8_UUNIT=cpkoi8_u
  681. CPUUNIT=cpu
  682. CTHREADSUNIT=cthreads
  683. CTYPESUNIT=ctypes
  684. CWSTRINGUNIT=cwstring
  685. DDKUNIT=ddk
  686. DLUNIT=dl
  687. DOSUNIT=dos
  688. DOSCALL2UNIT=doscall2
  689. DOSCALLSUNIT=doscalls
  690. DPMIEXCPUNIT=dpmiexcp
  691. DXELOADUNIT=dxeload
  692. DXETYPEUNIT=dxetype
  693. DYNLIBSUNIT=dynlibs
  694. EMU387UNIT=emu387
  695. EMXUNIT=emx
  696. ERRORSUNIT=errors
  697. ESP32UNIT=esp32
  698. ESP8266UNIT=esp8266
  699. ESP8266RTOS_30300UNIT=esp8266rtos_30300
  700. ESP8266RTOS_30400UNIT=esp8266rtos_30400
  701. ESPIDF_40100UNIT=espidf_40100
  702. ESPIDF_40200UNIT=espidf_40200
  703. ESPIDF_40400UNIT=espidf_40400
  704. EXEUNIT=exe
  705. EXEINFOUNIT=exeinfo
  706. EXTPASUNIT=extpas
  707. FE310G000UNIT=fe310g000
  708. FE310G002UNIT=fe310g002
  709. FGLUNIT=fgl
  710. FPCMEMDLLUNIT=fpcmemdll
  711. FPCYLIXUNIT=fpcylix
  712. FPWIDESTRINGUNIT=fpwidestring
  713. FREEBSDUNIT=freebsd
  714. GD32VF103XXUNIT=gd32vf103xx
  715. GETOPTSUNIT=getopts
  716. GO32UNIT=go32
  717. GPIOUNIT=gpio
  718. HEAPMGRUNIT=heapmgr
  719. INITCUNIT=initc
  720. INTRINSICSUNIT=intrinsics
  721. ISO7185UNIT=iso7185
  722. JDK15UNIT=jdk15
  723. KBDCALLSUNIT=kbdcalls
  724. LIBCUNIT=libc
  725. LINEINFOUNIT=lineinfo
  726. LINUXUNIT=linux
  727. LINUXVCSUNIT=linuxvcs
  728. LM3FURYUNIT=lm3fury
  729. LM3TEMPESTUNIT=lm3tempest
  730. LM4F120UNIT=lm4f120
  731. LNFODWRFUNIT=lnfodwrf
  732. LNFOGDBUNIT=lnfogdb
  733. LPC11XXUNIT=lpc11xx
  734. LPC122XUNIT=lpc122x
  735. LPC13XXUNIT=lpc13xx
  736. LPC1768UNIT=lpc1768
  737. LPC21X4UNIT=lpc21x4
  738. LPC8XXUNIT=lpc8xx
  739. LSTRINGSUNIT=lstrings
  740. MACOSUNIT=macos
  741. MACOSTPUNIT=macostp
  742. MACUTILSUNIT=macutils
  743. MAILBOXUNIT=mailbox
  744. MATHUNIT=math
  745. MESSAGESUNIT=messages
  746. MK20D5UNIT=mk20d5
  747. MK20D7UNIT=mk20d7
  748. MK22F51212UNIT=mk22f51212
  749. MK64F12UNIT=mk64f12
  750. MMIOUNIT=mmio
  751. MMXUNIT=mmx
  752. MONCALLSUNIT=moncalls
  753. MOUCALLSUNIT=moucalls
  754. MSMOUSEUNIT=msmouse
  755. MULTIBOOTUNIT=multiboot
  756. NDKUNIT=ndk
  757. NDKUTILSUNIT=ndkutils
  758. NETWAREUNIT=netware
  759. NEWEXEUNIT=newexe
  760. NRF51UNIT=nrf51
  761. NRF52UNIT=nrf52
  762. NWCALLSUNIT=nwcalls
  763. NWNITUNIT=nwnit
  764. NWPREUNIT=nwpre
  765. NWPROTUNIT=nwprot
  766. NWSERVUNIT=nwserv
  767. NWSNUTUNIT=nwsnut
  768. OBJCUNIT=objc
  769. OBJCBASEUNIT=objcbase
  770. OS2DEFUNIT=os2def
  771. PAGEMEMUNIT=pagemem
  772. PILOTUNIT=pilot
  773. PMBIDIUNIT=pmbidi
  774. PMBITMAPUNIT=pmbitmap
  775. PMDEVUNIT=pmdev
  776. PMGPIUNIT=pmgpi
  777. PMHELPUNIT=pmhelp
  778. PMSHLUNIT=pmshl
  779. PMSPLUNIT=pmspl
  780. PMSTDDLGUNIT=pmstddlg
  781. PMWINUNIT=pmwin
  782. PMWPUNIT=pmwp
  783. PMWSOCKUNIT=pmwsock
  784. PORTSUNIT=ports
  785. POSIXUNIT=posix
  786. PROFILEUNIT=profile
  787. RASPI2UNIT=raspi2
  788. RASPI3UNIT=raspi3
  789. RASPIUARTUNIT=raspiuart
  790. RTLCONSTSUNIT=rtlconsts
  791. SAM3X8EUNIT=sam3x8e
  792. SAMD51P19AUNIT=samd51p19a
  793. SC32442BUNIT=sc32442b
  794. SFPU128UNIT=sfpu128
  795. SFPUX80UNIT=sfpux80
  796. SHAREMEMUNIT=sharemem
  797. SIGNALSUNIT=signals
  798. SO32DLLUNIT=so32dll
  799. SOFTFPUUNIT=softfpu
  800. SORTBASEUNIT=sortbase
  801. STM32F0XXUNIT=stm32f0xx
  802. STM32F103XEUNIT=stm32f103xe
  803. STM32F10X_CLUNIT=stm32f10x_cl
  804. STM32F10X_CONNUNIT=stm32f10x_conn
  805. STM32F10X_HDUNIT=stm32f10x_hd
  806. STM32F10X_LDUNIT=stm32f10x_ld
  807. STM32F10X_MDUNIT=stm32f10x_md
  808. STM32F10X_XLUNIT=stm32f10x_xl
  809. STM32F401XEUNIT=stm32f401xe
  810. STM32F401XXUNIT=stm32f401xx
  811. STM32F407XXUNIT=stm32f407xx
  812. STM32F411XEUNIT=stm32f411xe
  813. STM32F429UNIT=stm32f429
  814. STM32F429XXUNIT=stm32f429xx
  815. STM32F446XXUNIT=stm32f446xx
  816. STM32F745UNIT=stm32f745
  817. STM32F746UNIT=stm32f746
  818. STM32F756UNIT=stm32f756
  819. STM32G071XXUNIT=stm32g071xx
  820. STRINGSUNIT=strings
  821. SYMBIANUNIT=symbian
  822. SYSALLUNIT=sysall
  823. SYSCALLUNIT=syscall
  824. SYSCONSTUNIT=sysconst
  825. SYSCTLUNIT=sysctl
  826. SYSEMXUNIT=sysemx
  827. SYSOS2UNIT=sysos2
  828. SYSTRAPSUNIT=systraps
  829. SYSUTILSUNIT=sysutils
  830. TERMIOUNIT=termio
  831. TYPESUNIT=types
  832. TYPINFOUNIT=typinfo
  833. UFLOAT128UNIT=ufloat128
  834. UFLOATX80UNIT=ufloatx80
  835. UIUNIT=ui
  836. UIQUNIT=uiq
  837. UIQCLASSESUNIT=uiqclasses
  838. UNICODEDATAUNIT=unicodedata
  839. UNIXUNIT=unix
  840. UNIXCPUNIT=unixcp
  841. UNIXTYPEUNIT=unixtype
  842. UNIXUTILUNIT=unixutil
  843. VIOCALLSUNIT=viocalls
  844. WASIAPIUNIT=wasiapi
  845. WASIUTILUNIT=wasiutil
  846. WATCOMUNIT=watcom
  847. WEBASSEMBLYUNIT=webassembly
  848. WIN31UNIT=win31
  849. WINDIRSUNIT=windirs
  850. WINDOWSUNIT=windows
  851. WINPROCSUNIT=winprocs
  852. WINSYSUTUNIT=winsysut
  853. WINTYPESUNIT=wintypes
  854. X86UNIT=x86
  855. XMC4500UNIT=xmc4500
  856. endif
  857. ifdef FPC_DOTTEDUNITS
  858. NS_SYSTEM=System.
  859. NS_CPUNITS=System.CodePages.
  860. NSDIR=$(RTL)/namespaced
  861. NSINC=$(NSDIR)/common
  862. OPT:=$(OPT) -dFPC_DOTTEDUNITS
  863. BASEINCLUDE=$(INC) $(PROCINC)
  864. BASESOURCE=$(INC) $(PROCINC) $($(COMMONUNIT))
  865. endif
  866. CPUNITSBASE=$(CP1250UNIT) $(CP1251UNIT) $(CP1252UNIT) $(CP1253UNIT) $(CP1254UNIT) $(CP1255UNIT) $(CP1256UNIT) $(CP1257UNIT) $(CP1258UNIT) \
  867. $(CP437UNIT) $(CP646UNIT) $(CP737UNIT) $(CP775UNIT) $(CP850UNIT) $(CP852UNIT) $(CP855UNIT) $(CP856UNIT) $(CP857UNIT) $(CP860UNIT) $(CP861UNIT) $(CP862UNIT) \
  868. $(CP863UNIT) $(CP864UNIT) $(CP865UNIT) $(CP866UNIT) $(CP869UNIT) $(CP874UNIT) $(CP3021UNIT) $(CP8859_1UNIT) $(CP8859_2UNIT) $(CP8859_3UNIT) $(CP8859_4UNIT) \
  869. $(CP8859_5UNIT) $(CP8859_6UNIT) $(CP8859_7UNIT) $(CP8859_8UNIT) $(CP8859_9UNIT) $(CP8859_10UNIT) $(CP8859_11UNIT) \
  870. $(CP8859_13UNIT) $(CP8859_14UNIT) $(CP8859_15UNIT) $(CP8859_16UNIT) $(CPKOI8_RUNIT) $(CPKOI8_UUNIT)
  871. CPUNITS=$(addprefix $(NS_CPUNITS),$(CPUNITSBASE))
  872. RTL=..
  873. INC=$(RTL)/inc
  874. PROCINC=$(RTL)/$(CPU_TARGET)
  875. BSDINC=$(RTL)/bsd
  876. BSDPROCINC=$(BSDINC)/$(CPU_TARGET)
  877. UNIXINC=$(RTL)/unix
  878. UNITPREFIX=rtl
  879. TARGETPROCINC=$(RTL)/openbsd/$(CPU_TARGET)
  880. SYSTEMUNIT=system
  881. LINUXUNIT=
  882. PRT0=prt0
  883. ifdef RELEASE
  884. override FPCOPT+=-Ur
  885. endif
  886. ifeq ($(FPC_USE_SYSCALL),)
  887. override FPCOPT+=-dFPC_USE_LIBC
  888. endif
  889. CPU_UNITS=
  890. SYSINIT_UNITS=si_prc si_c si_dll si_g
  891. LOADERS=prt0
  892. ifeq ($(ARCH),x86_64)
  893. CPU_UNITS=x86 ports cpu
  894. endif
  895. ifeq ($(ARCH),i386)
  896. CPU_UNITS=x86 ports cpu mmx
  897. endif
  898. OBJPASDIR=$(RTL)/objpas
  899. GRAPHDIR=$(INC)/graph
  900. ifndef USELIBGGI
  901. USELIBGGI=NO
  902. endif
  903. ifeq ($(CPU_OS_TARGET),i386-linux)
  904. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  905. endif
  906. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  907. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  908. endif
  909. ifeq ($(CPU_OS_TARGET),i386-win32)
  910. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  911. endif
  912. ifeq ($(CPU_OS_TARGET),i386-os2)
  913. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  914. endif
  915. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  916. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  917. endif
  918. ifeq ($(CPU_OS_TARGET),i386-beos)
  919. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  920. endif
  921. ifeq ($(CPU_OS_TARGET),i386-haiku)
  922. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  923. endif
  924. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  925. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  926. endif
  927. ifeq ($(CPU_OS_TARGET),i386-solaris)
  928. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  929. endif
  930. ifeq ($(CPU_OS_TARGET),i386-netware)
  931. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  932. endif
  933. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  934. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  935. endif
  936. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  937. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  938. endif
  939. ifeq ($(CPU_OS_TARGET),i386-darwin)
  940. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  941. endif
  942. ifeq ($(CPU_OS_TARGET),i386-emx)
  943. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  944. endif
  945. ifeq ($(CPU_OS_TARGET),i386-watcom)
  946. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  947. endif
  948. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  949. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  950. endif
  951. ifeq ($(CPU_OS_TARGET),i386-wince)
  952. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  953. endif
  954. ifeq ($(CPU_OS_TARGET),i386-embedded)
  955. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  956. endif
  957. ifeq ($(CPU_OS_TARGET),i386-symbian)
  958. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  959. endif
  960. ifeq ($(CPU_OS_TARGET),i386-nativent)
  961. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  962. endif
  963. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  964. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  965. endif
  966. ifeq ($(CPU_OS_TARGET),i386-android)
  967. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  968. endif
  969. ifeq ($(CPU_OS_TARGET),i386-aros)
  970. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  971. endif
  972. ifeq ($(CPU_OS_TARGET),m68k-linux)
  973. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  974. endif
  975. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  976. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  977. endif
  978. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  979. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  980. endif
  981. ifeq ($(CPU_OS_TARGET),m68k-atari)
  982. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  983. endif
  984. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  985. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  986. endif
  987. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  988. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  989. endif
  990. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  991. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  992. endif
  993. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  994. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  995. endif
  996. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  997. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  998. endif
  999. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1000. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1001. endif
  1002. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  1003. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1004. endif
  1005. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  1006. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1007. endif
  1008. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  1009. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1010. endif
  1011. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  1012. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1013. endif
  1014. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  1015. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1016. endif
  1017. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  1018. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1019. endif
  1020. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  1021. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1022. endif
  1023. ifeq ($(CPU_OS_TARGET),sparc-linux)
  1024. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1025. endif
  1026. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  1027. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1028. endif
  1029. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  1030. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1031. endif
  1032. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  1033. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1034. endif
  1035. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  1036. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1037. endif
  1038. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  1039. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1040. endif
  1041. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  1042. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1043. endif
  1044. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  1045. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1046. endif
  1047. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  1048. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1049. endif
  1050. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  1051. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1052. endif
  1053. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  1054. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1055. endif
  1056. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  1057. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1058. endif
  1059. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  1060. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1061. endif
  1062. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  1063. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1064. endif
  1065. ifeq ($(CPU_OS_TARGET),x86_64-android)
  1066. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1067. endif
  1068. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  1069. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1070. endif
  1071. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  1072. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1073. endif
  1074. ifeq ($(CPU_OS_TARGET),arm-linux)
  1075. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1076. endif
  1077. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  1078. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1079. endif
  1080. ifeq ($(CPU_OS_TARGET),arm-palmos)
  1081. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1082. endif
  1083. ifeq ($(CPU_OS_TARGET),arm-wince)
  1084. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1085. endif
  1086. ifeq ($(CPU_OS_TARGET),arm-gba)
  1087. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1088. endif
  1089. ifeq ($(CPU_OS_TARGET),arm-nds)
  1090. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1091. endif
  1092. ifeq ($(CPU_OS_TARGET),arm-embedded)
  1093. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1094. endif
  1095. ifeq ($(CPU_OS_TARGET),arm-symbian)
  1096. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1097. endif
  1098. ifeq ($(CPU_OS_TARGET),arm-android)
  1099. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1100. endif
  1101. ifeq ($(CPU_OS_TARGET),arm-aros)
  1102. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1103. endif
  1104. ifeq ($(CPU_OS_TARGET),arm-freertos)
  1105. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1106. endif
  1107. ifeq ($(CPU_OS_TARGET),arm-ios)
  1108. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1109. endif
  1110. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  1111. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1112. endif
  1113. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  1114. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1115. endif
  1116. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  1117. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1118. endif
  1119. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  1120. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1121. endif
  1122. ifeq ($(CPU_OS_TARGET),avr-embedded)
  1123. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1124. endif
  1125. ifeq ($(CPU_OS_TARGET),armeb-linux)
  1126. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1127. endif
  1128. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  1129. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1130. endif
  1131. ifeq ($(CPU_OS_TARGET),mips-linux)
  1132. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1133. endif
  1134. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  1135. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1136. endif
  1137. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  1138. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1139. endif
  1140. ifeq ($(CPU_OS_TARGET),mipsel-android)
  1141. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1142. endif
  1143. ifeq ($(CPU_OS_TARGET),mips64-linux)
  1144. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1145. endif
  1146. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  1147. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1148. endif
  1149. ifeq ($(CPU_OS_TARGET),jvm-java)
  1150. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1151. endif
  1152. ifeq ($(CPU_OS_TARGET),jvm-android)
  1153. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1154. endif
  1155. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  1156. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1157. endif
  1158. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  1159. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1160. endif
  1161. ifeq ($(CPU_OS_TARGET),i8086-win16)
  1162. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1163. endif
  1164. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  1165. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1166. endif
  1167. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  1168. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1169. endif
  1170. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  1171. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1172. endif
  1173. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  1174. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1175. endif
  1176. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  1177. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1178. endif
  1179. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  1180. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1181. endif
  1182. ifeq ($(CPU_OS_TARGET),aarch64-android)
  1183. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1184. endif
  1185. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  1186. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1187. endif
  1188. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  1189. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1190. endif
  1191. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  1192. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1193. endif
  1194. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  1195. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1196. endif
  1197. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  1198. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1199. endif
  1200. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  1201. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1202. endif
  1203. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  1204. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1205. endif
  1206. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  1207. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1208. endif
  1209. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  1210. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1211. endif
  1212. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  1213. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1214. endif
  1215. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  1216. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1217. endif
  1218. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  1219. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1220. endif
  1221. ifeq ($(CPU_OS_TARGET),z80-embedded)
  1222. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1223. endif
  1224. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  1225. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1226. endif
  1227. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  1228. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1229. endif
  1230. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  1231. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1232. endif
  1233. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  1234. override TARGET_UNITS+=$(SYSTEMUNIT) $(SYSINIT_UNITS) initc uuchar objpas macpas iso7185 extpas strings syscall baseunix $(LINUXUNIT) unixtype unixutil unix ctypes bsd $(CPU_UNITS) dos rtlconsts sysutils sortbase fgl classes typinfo math charset cpall character getopts heaptrc lineinfo lnfodwrf errors types sysctl sysconst fpintres dynlibs cwstring cmem dl termio cthreads unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1235. endif
  1236. ifeq ($(CPU_OS_TARGET),i386-linux)
  1237. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1238. endif
  1239. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  1240. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1241. endif
  1242. ifeq ($(CPU_OS_TARGET),i386-win32)
  1243. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1244. endif
  1245. ifeq ($(CPU_OS_TARGET),i386-os2)
  1246. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1247. endif
  1248. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  1249. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1250. endif
  1251. ifeq ($(CPU_OS_TARGET),i386-beos)
  1252. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1253. endif
  1254. ifeq ($(CPU_OS_TARGET),i386-haiku)
  1255. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1256. endif
  1257. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  1258. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1259. endif
  1260. ifeq ($(CPU_OS_TARGET),i386-solaris)
  1261. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1262. endif
  1263. ifeq ($(CPU_OS_TARGET),i386-netware)
  1264. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1265. endif
  1266. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  1267. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1268. endif
  1269. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  1270. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1271. endif
  1272. ifeq ($(CPU_OS_TARGET),i386-darwin)
  1273. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1274. endif
  1275. ifeq ($(CPU_OS_TARGET),i386-emx)
  1276. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1277. endif
  1278. ifeq ($(CPU_OS_TARGET),i386-watcom)
  1279. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1280. endif
  1281. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  1282. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1283. endif
  1284. ifeq ($(CPU_OS_TARGET),i386-wince)
  1285. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1286. endif
  1287. ifeq ($(CPU_OS_TARGET),i386-embedded)
  1288. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1289. endif
  1290. ifeq ($(CPU_OS_TARGET),i386-symbian)
  1291. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1292. endif
  1293. ifeq ($(CPU_OS_TARGET),i386-nativent)
  1294. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1295. endif
  1296. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  1297. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1298. endif
  1299. ifeq ($(CPU_OS_TARGET),i386-android)
  1300. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1301. endif
  1302. ifeq ($(CPU_OS_TARGET),i386-aros)
  1303. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1304. endif
  1305. ifeq ($(CPU_OS_TARGET),m68k-linux)
  1306. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1307. endif
  1308. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  1309. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1310. endif
  1311. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  1312. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1313. endif
  1314. ifeq ($(CPU_OS_TARGET),m68k-atari)
  1315. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1316. endif
  1317. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  1318. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1319. endif
  1320. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  1321. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1322. endif
  1323. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  1324. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1325. endif
  1326. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  1327. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1328. endif
  1329. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  1330. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1331. endif
  1332. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1333. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1334. endif
  1335. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  1336. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1337. endif
  1338. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  1339. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1340. endif
  1341. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  1342. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1343. endif
  1344. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  1345. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1346. endif
  1347. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  1348. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1349. endif
  1350. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  1351. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1352. endif
  1353. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  1354. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1355. endif
  1356. ifeq ($(CPU_OS_TARGET),sparc-linux)
  1357. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1358. endif
  1359. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  1360. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1361. endif
  1362. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  1363. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1364. endif
  1365. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  1366. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1367. endif
  1368. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  1369. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1370. endif
  1371. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  1372. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1373. endif
  1374. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  1375. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1376. endif
  1377. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  1378. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1379. endif
  1380. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  1381. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1382. endif
  1383. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  1384. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1385. endif
  1386. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  1387. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1388. endif
  1389. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  1390. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1391. endif
  1392. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  1393. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1394. endif
  1395. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  1396. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1397. endif
  1398. ifeq ($(CPU_OS_TARGET),x86_64-android)
  1399. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1400. endif
  1401. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  1402. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1403. endif
  1404. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  1405. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1406. endif
  1407. ifeq ($(CPU_OS_TARGET),arm-linux)
  1408. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1409. endif
  1410. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  1411. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1412. endif
  1413. ifeq ($(CPU_OS_TARGET),arm-palmos)
  1414. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1415. endif
  1416. ifeq ($(CPU_OS_TARGET),arm-wince)
  1417. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1418. endif
  1419. ifeq ($(CPU_OS_TARGET),arm-gba)
  1420. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1421. endif
  1422. ifeq ($(CPU_OS_TARGET),arm-nds)
  1423. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1424. endif
  1425. ifeq ($(CPU_OS_TARGET),arm-embedded)
  1426. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1427. endif
  1428. ifeq ($(CPU_OS_TARGET),arm-symbian)
  1429. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1430. endif
  1431. ifeq ($(CPU_OS_TARGET),arm-android)
  1432. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1433. endif
  1434. ifeq ($(CPU_OS_TARGET),arm-aros)
  1435. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1436. endif
  1437. ifeq ($(CPU_OS_TARGET),arm-freertos)
  1438. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1439. endif
  1440. ifeq ($(CPU_OS_TARGET),arm-ios)
  1441. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1442. endif
  1443. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  1444. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1445. endif
  1446. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  1447. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1448. endif
  1449. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  1450. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1451. endif
  1452. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  1453. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1454. endif
  1455. ifeq ($(CPU_OS_TARGET),avr-embedded)
  1456. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1457. endif
  1458. ifeq ($(CPU_OS_TARGET),armeb-linux)
  1459. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1460. endif
  1461. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  1462. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1463. endif
  1464. ifeq ($(CPU_OS_TARGET),mips-linux)
  1465. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1466. endif
  1467. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  1468. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1469. endif
  1470. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  1471. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1472. endif
  1473. ifeq ($(CPU_OS_TARGET),mipsel-android)
  1474. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1475. endif
  1476. ifeq ($(CPU_OS_TARGET),mips64-linux)
  1477. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1478. endif
  1479. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  1480. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1481. endif
  1482. ifeq ($(CPU_OS_TARGET),jvm-java)
  1483. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1484. endif
  1485. ifeq ($(CPU_OS_TARGET),jvm-android)
  1486. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1487. endif
  1488. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  1489. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1490. endif
  1491. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  1492. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1493. endif
  1494. ifeq ($(CPU_OS_TARGET),i8086-win16)
  1495. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1496. endif
  1497. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  1498. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1499. endif
  1500. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  1501. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1502. endif
  1503. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  1504. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1505. endif
  1506. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  1507. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1508. endif
  1509. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  1510. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1511. endif
  1512. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  1513. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1514. endif
  1515. ifeq ($(CPU_OS_TARGET),aarch64-android)
  1516. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1517. endif
  1518. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  1519. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1520. endif
  1521. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  1522. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1523. endif
  1524. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  1525. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1526. endif
  1527. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  1528. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1529. endif
  1530. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  1531. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1532. endif
  1533. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  1534. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1535. endif
  1536. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  1537. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1538. endif
  1539. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  1540. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1541. endif
  1542. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  1543. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1544. endif
  1545. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  1546. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1547. endif
  1548. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  1549. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1550. endif
  1551. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  1552. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1553. endif
  1554. ifeq ($(CPU_OS_TARGET),z80-embedded)
  1555. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1556. endif
  1557. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  1558. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1559. endif
  1560. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  1561. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1562. endif
  1563. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  1564. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1565. endif
  1566. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  1567. override TARGET_IMPLICITUNITS+=exeinfo cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u unicodedata
  1568. endif
  1569. ifeq ($(CPU_OS_TARGET),i386-linux)
  1570. override TARGET_LOADERS+=$(LOADERS)
  1571. endif
  1572. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  1573. override TARGET_LOADERS+=$(LOADERS)
  1574. endif
  1575. ifeq ($(CPU_OS_TARGET),i386-win32)
  1576. override TARGET_LOADERS+=$(LOADERS)
  1577. endif
  1578. ifeq ($(CPU_OS_TARGET),i386-os2)
  1579. override TARGET_LOADERS+=$(LOADERS)
  1580. endif
  1581. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  1582. override TARGET_LOADERS+=$(LOADERS)
  1583. endif
  1584. ifeq ($(CPU_OS_TARGET),i386-beos)
  1585. override TARGET_LOADERS+=$(LOADERS)
  1586. endif
  1587. ifeq ($(CPU_OS_TARGET),i386-haiku)
  1588. override TARGET_LOADERS+=$(LOADERS)
  1589. endif
  1590. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  1591. override TARGET_LOADERS+=$(LOADERS)
  1592. endif
  1593. ifeq ($(CPU_OS_TARGET),i386-solaris)
  1594. override TARGET_LOADERS+=$(LOADERS)
  1595. endif
  1596. ifeq ($(CPU_OS_TARGET),i386-netware)
  1597. override TARGET_LOADERS+=$(LOADERS)
  1598. endif
  1599. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  1600. override TARGET_LOADERS+=$(LOADERS)
  1601. endif
  1602. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  1603. override TARGET_LOADERS+=$(LOADERS)
  1604. endif
  1605. ifeq ($(CPU_OS_TARGET),i386-darwin)
  1606. override TARGET_LOADERS+=$(LOADERS)
  1607. endif
  1608. ifeq ($(CPU_OS_TARGET),i386-emx)
  1609. override TARGET_LOADERS+=$(LOADERS)
  1610. endif
  1611. ifeq ($(CPU_OS_TARGET),i386-watcom)
  1612. override TARGET_LOADERS+=$(LOADERS)
  1613. endif
  1614. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  1615. override TARGET_LOADERS+=$(LOADERS)
  1616. endif
  1617. ifeq ($(CPU_OS_TARGET),i386-wince)
  1618. override TARGET_LOADERS+=$(LOADERS)
  1619. endif
  1620. ifeq ($(CPU_OS_TARGET),i386-embedded)
  1621. override TARGET_LOADERS+=$(LOADERS)
  1622. endif
  1623. ifeq ($(CPU_OS_TARGET),i386-symbian)
  1624. override TARGET_LOADERS+=$(LOADERS)
  1625. endif
  1626. ifeq ($(CPU_OS_TARGET),i386-nativent)
  1627. override TARGET_LOADERS+=$(LOADERS)
  1628. endif
  1629. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  1630. override TARGET_LOADERS+=$(LOADERS)
  1631. endif
  1632. ifeq ($(CPU_OS_TARGET),i386-android)
  1633. override TARGET_LOADERS+=$(LOADERS)
  1634. endif
  1635. ifeq ($(CPU_OS_TARGET),i386-aros)
  1636. override TARGET_LOADERS+=$(LOADERS)
  1637. endif
  1638. ifeq ($(CPU_OS_TARGET),m68k-linux)
  1639. override TARGET_LOADERS+=$(LOADERS)
  1640. endif
  1641. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  1642. override TARGET_LOADERS+=$(LOADERS)
  1643. endif
  1644. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  1645. override TARGET_LOADERS+=$(LOADERS)
  1646. endif
  1647. ifeq ($(CPU_OS_TARGET),m68k-atari)
  1648. override TARGET_LOADERS+=$(LOADERS)
  1649. endif
  1650. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  1651. override TARGET_LOADERS+=$(LOADERS)
  1652. endif
  1653. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  1654. override TARGET_LOADERS+=$(LOADERS)
  1655. endif
  1656. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  1657. override TARGET_LOADERS+=$(LOADERS)
  1658. endif
  1659. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  1660. override TARGET_LOADERS+=$(LOADERS)
  1661. endif
  1662. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  1663. override TARGET_LOADERS+=$(LOADERS)
  1664. endif
  1665. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1666. override TARGET_LOADERS+=$(LOADERS)
  1667. endif
  1668. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  1669. override TARGET_LOADERS+=$(LOADERS)
  1670. endif
  1671. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  1672. override TARGET_LOADERS+=$(LOADERS)
  1673. endif
  1674. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  1675. override TARGET_LOADERS+=$(LOADERS)
  1676. endif
  1677. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  1678. override TARGET_LOADERS+=$(LOADERS)
  1679. endif
  1680. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  1681. override TARGET_LOADERS+=$(LOADERS)
  1682. endif
  1683. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  1684. override TARGET_LOADERS+=$(LOADERS)
  1685. endif
  1686. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  1687. override TARGET_LOADERS+=$(LOADERS)
  1688. endif
  1689. ifeq ($(CPU_OS_TARGET),sparc-linux)
  1690. override TARGET_LOADERS+=$(LOADERS)
  1691. endif
  1692. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  1693. override TARGET_LOADERS+=$(LOADERS)
  1694. endif
  1695. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  1696. override TARGET_LOADERS+=$(LOADERS)
  1697. endif
  1698. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  1699. override TARGET_LOADERS+=$(LOADERS)
  1700. endif
  1701. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  1702. override TARGET_LOADERS+=$(LOADERS)
  1703. endif
  1704. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  1705. override TARGET_LOADERS+=$(LOADERS)
  1706. endif
  1707. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  1708. override TARGET_LOADERS+=$(LOADERS)
  1709. endif
  1710. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  1711. override TARGET_LOADERS+=$(LOADERS)
  1712. endif
  1713. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  1714. override TARGET_LOADERS+=$(LOADERS)
  1715. endif
  1716. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  1717. override TARGET_LOADERS+=$(LOADERS)
  1718. endif
  1719. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  1720. override TARGET_LOADERS+=$(LOADERS)
  1721. endif
  1722. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  1723. override TARGET_LOADERS+=$(LOADERS)
  1724. endif
  1725. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  1726. override TARGET_LOADERS+=$(LOADERS)
  1727. endif
  1728. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  1729. override TARGET_LOADERS+=$(LOADERS)
  1730. endif
  1731. ifeq ($(CPU_OS_TARGET),x86_64-android)
  1732. override TARGET_LOADERS+=$(LOADERS)
  1733. endif
  1734. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  1735. override TARGET_LOADERS+=$(LOADERS)
  1736. endif
  1737. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  1738. override TARGET_LOADERS+=$(LOADERS)
  1739. endif
  1740. ifeq ($(CPU_OS_TARGET),arm-linux)
  1741. override TARGET_LOADERS+=$(LOADERS)
  1742. endif
  1743. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  1744. override TARGET_LOADERS+=$(LOADERS)
  1745. endif
  1746. ifeq ($(CPU_OS_TARGET),arm-palmos)
  1747. override TARGET_LOADERS+=$(LOADERS)
  1748. endif
  1749. ifeq ($(CPU_OS_TARGET),arm-wince)
  1750. override TARGET_LOADERS+=$(LOADERS)
  1751. endif
  1752. ifeq ($(CPU_OS_TARGET),arm-gba)
  1753. override TARGET_LOADERS+=$(LOADERS)
  1754. endif
  1755. ifeq ($(CPU_OS_TARGET),arm-nds)
  1756. override TARGET_LOADERS+=$(LOADERS)
  1757. endif
  1758. ifeq ($(CPU_OS_TARGET),arm-embedded)
  1759. override TARGET_LOADERS+=$(LOADERS)
  1760. endif
  1761. ifeq ($(CPU_OS_TARGET),arm-symbian)
  1762. override TARGET_LOADERS+=$(LOADERS)
  1763. endif
  1764. ifeq ($(CPU_OS_TARGET),arm-android)
  1765. override TARGET_LOADERS+=$(LOADERS)
  1766. endif
  1767. ifeq ($(CPU_OS_TARGET),arm-aros)
  1768. override TARGET_LOADERS+=$(LOADERS)
  1769. endif
  1770. ifeq ($(CPU_OS_TARGET),arm-freertos)
  1771. override TARGET_LOADERS+=$(LOADERS)
  1772. endif
  1773. ifeq ($(CPU_OS_TARGET),arm-ios)
  1774. override TARGET_LOADERS+=$(LOADERS)
  1775. endif
  1776. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  1777. override TARGET_LOADERS+=$(LOADERS)
  1778. endif
  1779. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  1780. override TARGET_LOADERS+=$(LOADERS)
  1781. endif
  1782. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  1783. override TARGET_LOADERS+=$(LOADERS)
  1784. endif
  1785. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  1786. override TARGET_LOADERS+=$(LOADERS)
  1787. endif
  1788. ifeq ($(CPU_OS_TARGET),avr-embedded)
  1789. override TARGET_LOADERS+=$(LOADERS)
  1790. endif
  1791. ifeq ($(CPU_OS_TARGET),armeb-linux)
  1792. override TARGET_LOADERS+=$(LOADERS)
  1793. endif
  1794. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  1795. override TARGET_LOADERS+=$(LOADERS)
  1796. endif
  1797. ifeq ($(CPU_OS_TARGET),mips-linux)
  1798. override TARGET_LOADERS+=$(LOADERS)
  1799. endif
  1800. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  1801. override TARGET_LOADERS+=$(LOADERS)
  1802. endif
  1803. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  1804. override TARGET_LOADERS+=$(LOADERS)
  1805. endif
  1806. ifeq ($(CPU_OS_TARGET),mipsel-android)
  1807. override TARGET_LOADERS+=$(LOADERS)
  1808. endif
  1809. ifeq ($(CPU_OS_TARGET),mips64-linux)
  1810. override TARGET_LOADERS+=$(LOADERS)
  1811. endif
  1812. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  1813. override TARGET_LOADERS+=$(LOADERS)
  1814. endif
  1815. ifeq ($(CPU_OS_TARGET),jvm-java)
  1816. override TARGET_LOADERS+=$(LOADERS)
  1817. endif
  1818. ifeq ($(CPU_OS_TARGET),jvm-android)
  1819. override TARGET_LOADERS+=$(LOADERS)
  1820. endif
  1821. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  1822. override TARGET_LOADERS+=$(LOADERS)
  1823. endif
  1824. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  1825. override TARGET_LOADERS+=$(LOADERS)
  1826. endif
  1827. ifeq ($(CPU_OS_TARGET),i8086-win16)
  1828. override TARGET_LOADERS+=$(LOADERS)
  1829. endif
  1830. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  1831. override TARGET_LOADERS+=$(LOADERS)
  1832. endif
  1833. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  1834. override TARGET_LOADERS+=$(LOADERS)
  1835. endif
  1836. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  1837. override TARGET_LOADERS+=$(LOADERS)
  1838. endif
  1839. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  1840. override TARGET_LOADERS+=$(LOADERS)
  1841. endif
  1842. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  1843. override TARGET_LOADERS+=$(LOADERS)
  1844. endif
  1845. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  1846. override TARGET_LOADERS+=$(LOADERS)
  1847. endif
  1848. ifeq ($(CPU_OS_TARGET),aarch64-android)
  1849. override TARGET_LOADERS+=$(LOADERS)
  1850. endif
  1851. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  1852. override TARGET_LOADERS+=$(LOADERS)
  1853. endif
  1854. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  1855. override TARGET_LOADERS+=$(LOADERS)
  1856. endif
  1857. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  1858. override TARGET_LOADERS+=$(LOADERS)
  1859. endif
  1860. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  1861. override TARGET_LOADERS+=$(LOADERS)
  1862. endif
  1863. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  1864. override TARGET_LOADERS+=$(LOADERS)
  1865. endif
  1866. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  1867. override TARGET_LOADERS+=$(LOADERS)
  1868. endif
  1869. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  1870. override TARGET_LOADERS+=$(LOADERS)
  1871. endif
  1872. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  1873. override TARGET_LOADERS+=$(LOADERS)
  1874. endif
  1875. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  1876. override TARGET_LOADERS+=$(LOADERS)
  1877. endif
  1878. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  1879. override TARGET_LOADERS+=$(LOADERS)
  1880. endif
  1881. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  1882. override TARGET_LOADERS+=$(LOADERS)
  1883. endif
  1884. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  1885. override TARGET_LOADERS+=$(LOADERS)
  1886. endif
  1887. ifeq ($(CPU_OS_TARGET),z80-embedded)
  1888. override TARGET_LOADERS+=$(LOADERS)
  1889. endif
  1890. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  1891. override TARGET_LOADERS+=$(LOADERS)
  1892. endif
  1893. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  1894. override TARGET_LOADERS+=$(LOADERS)
  1895. endif
  1896. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  1897. override TARGET_LOADERS+=$(LOADERS)
  1898. endif
  1899. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  1900. override TARGET_LOADERS+=$(LOADERS)
  1901. endif
  1902. ifeq ($(CPU_OS_TARGET),i386-linux)
  1903. override TARGET_RSTS+=math typinfo classes sysconst
  1904. endif
  1905. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  1906. override TARGET_RSTS+=math typinfo classes sysconst
  1907. endif
  1908. ifeq ($(CPU_OS_TARGET),i386-win32)
  1909. override TARGET_RSTS+=math typinfo classes sysconst
  1910. endif
  1911. ifeq ($(CPU_OS_TARGET),i386-os2)
  1912. override TARGET_RSTS+=math typinfo classes sysconst
  1913. endif
  1914. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  1915. override TARGET_RSTS+=math typinfo classes sysconst
  1916. endif
  1917. ifeq ($(CPU_OS_TARGET),i386-beos)
  1918. override TARGET_RSTS+=math typinfo classes sysconst
  1919. endif
  1920. ifeq ($(CPU_OS_TARGET),i386-haiku)
  1921. override TARGET_RSTS+=math typinfo classes sysconst
  1922. endif
  1923. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  1924. override TARGET_RSTS+=math typinfo classes sysconst
  1925. endif
  1926. ifeq ($(CPU_OS_TARGET),i386-solaris)
  1927. override TARGET_RSTS+=math typinfo classes sysconst
  1928. endif
  1929. ifeq ($(CPU_OS_TARGET),i386-netware)
  1930. override TARGET_RSTS+=math typinfo classes sysconst
  1931. endif
  1932. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  1933. override TARGET_RSTS+=math typinfo classes sysconst
  1934. endif
  1935. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  1936. override TARGET_RSTS+=math typinfo classes sysconst
  1937. endif
  1938. ifeq ($(CPU_OS_TARGET),i386-darwin)
  1939. override TARGET_RSTS+=math typinfo classes sysconst
  1940. endif
  1941. ifeq ($(CPU_OS_TARGET),i386-emx)
  1942. override TARGET_RSTS+=math typinfo classes sysconst
  1943. endif
  1944. ifeq ($(CPU_OS_TARGET),i386-watcom)
  1945. override TARGET_RSTS+=math typinfo classes sysconst
  1946. endif
  1947. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  1948. override TARGET_RSTS+=math typinfo classes sysconst
  1949. endif
  1950. ifeq ($(CPU_OS_TARGET),i386-wince)
  1951. override TARGET_RSTS+=math typinfo classes sysconst
  1952. endif
  1953. ifeq ($(CPU_OS_TARGET),i386-embedded)
  1954. override TARGET_RSTS+=math typinfo classes sysconst
  1955. endif
  1956. ifeq ($(CPU_OS_TARGET),i386-symbian)
  1957. override TARGET_RSTS+=math typinfo classes sysconst
  1958. endif
  1959. ifeq ($(CPU_OS_TARGET),i386-nativent)
  1960. override TARGET_RSTS+=math typinfo classes sysconst
  1961. endif
  1962. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  1963. override TARGET_RSTS+=math typinfo classes sysconst
  1964. endif
  1965. ifeq ($(CPU_OS_TARGET),i386-android)
  1966. override TARGET_RSTS+=math typinfo classes sysconst
  1967. endif
  1968. ifeq ($(CPU_OS_TARGET),i386-aros)
  1969. override TARGET_RSTS+=math typinfo classes sysconst
  1970. endif
  1971. ifeq ($(CPU_OS_TARGET),m68k-linux)
  1972. override TARGET_RSTS+=math typinfo classes sysconst
  1973. endif
  1974. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  1975. override TARGET_RSTS+=math typinfo classes sysconst
  1976. endif
  1977. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  1978. override TARGET_RSTS+=math typinfo classes sysconst
  1979. endif
  1980. ifeq ($(CPU_OS_TARGET),m68k-atari)
  1981. override TARGET_RSTS+=math typinfo classes sysconst
  1982. endif
  1983. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  1984. override TARGET_RSTS+=math typinfo classes sysconst
  1985. endif
  1986. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  1987. override TARGET_RSTS+=math typinfo classes sysconst
  1988. endif
  1989. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  1990. override TARGET_RSTS+=math typinfo classes sysconst
  1991. endif
  1992. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  1993. override TARGET_RSTS+=math typinfo classes sysconst
  1994. endif
  1995. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  1996. override TARGET_RSTS+=math typinfo classes sysconst
  1997. endif
  1998. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1999. override TARGET_RSTS+=math typinfo classes sysconst
  2000. endif
  2001. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  2002. override TARGET_RSTS+=math typinfo classes sysconst
  2003. endif
  2004. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  2005. override TARGET_RSTS+=math typinfo classes sysconst
  2006. endif
  2007. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  2008. override TARGET_RSTS+=math typinfo classes sysconst
  2009. endif
  2010. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  2011. override TARGET_RSTS+=math typinfo classes sysconst
  2012. endif
  2013. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  2014. override TARGET_RSTS+=math typinfo classes sysconst
  2015. endif
  2016. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  2017. override TARGET_RSTS+=math typinfo classes sysconst
  2018. endif
  2019. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  2020. override TARGET_RSTS+=math typinfo classes sysconst
  2021. endif
  2022. ifeq ($(CPU_OS_TARGET),sparc-linux)
  2023. override TARGET_RSTS+=math typinfo classes sysconst
  2024. endif
  2025. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  2026. override TARGET_RSTS+=math typinfo classes sysconst
  2027. endif
  2028. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  2029. override TARGET_RSTS+=math typinfo classes sysconst
  2030. endif
  2031. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  2032. override TARGET_RSTS+=math typinfo classes sysconst
  2033. endif
  2034. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  2035. override TARGET_RSTS+=math typinfo classes sysconst
  2036. endif
  2037. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  2038. override TARGET_RSTS+=math typinfo classes sysconst
  2039. endif
  2040. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  2041. override TARGET_RSTS+=math typinfo classes sysconst
  2042. endif
  2043. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  2044. override TARGET_RSTS+=math typinfo classes sysconst
  2045. endif
  2046. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  2047. override TARGET_RSTS+=math typinfo classes sysconst
  2048. endif
  2049. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  2050. override TARGET_RSTS+=math typinfo classes sysconst
  2051. endif
  2052. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  2053. override TARGET_RSTS+=math typinfo classes sysconst
  2054. endif
  2055. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  2056. override TARGET_RSTS+=math typinfo classes sysconst
  2057. endif
  2058. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  2059. override TARGET_RSTS+=math typinfo classes sysconst
  2060. endif
  2061. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  2062. override TARGET_RSTS+=math typinfo classes sysconst
  2063. endif
  2064. ifeq ($(CPU_OS_TARGET),x86_64-android)
  2065. override TARGET_RSTS+=math typinfo classes sysconst
  2066. endif
  2067. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  2068. override TARGET_RSTS+=math typinfo classes sysconst
  2069. endif
  2070. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  2071. override TARGET_RSTS+=math typinfo classes sysconst
  2072. endif
  2073. ifeq ($(CPU_OS_TARGET),arm-linux)
  2074. override TARGET_RSTS+=math typinfo classes sysconst
  2075. endif
  2076. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  2077. override TARGET_RSTS+=math typinfo classes sysconst
  2078. endif
  2079. ifeq ($(CPU_OS_TARGET),arm-palmos)
  2080. override TARGET_RSTS+=math typinfo classes sysconst
  2081. endif
  2082. ifeq ($(CPU_OS_TARGET),arm-wince)
  2083. override TARGET_RSTS+=math typinfo classes sysconst
  2084. endif
  2085. ifeq ($(CPU_OS_TARGET),arm-gba)
  2086. override TARGET_RSTS+=math typinfo classes sysconst
  2087. endif
  2088. ifeq ($(CPU_OS_TARGET),arm-nds)
  2089. override TARGET_RSTS+=math typinfo classes sysconst
  2090. endif
  2091. ifeq ($(CPU_OS_TARGET),arm-embedded)
  2092. override TARGET_RSTS+=math typinfo classes sysconst
  2093. endif
  2094. ifeq ($(CPU_OS_TARGET),arm-symbian)
  2095. override TARGET_RSTS+=math typinfo classes sysconst
  2096. endif
  2097. ifeq ($(CPU_OS_TARGET),arm-android)
  2098. override TARGET_RSTS+=math typinfo classes sysconst
  2099. endif
  2100. ifeq ($(CPU_OS_TARGET),arm-aros)
  2101. override TARGET_RSTS+=math typinfo classes sysconst
  2102. endif
  2103. ifeq ($(CPU_OS_TARGET),arm-freertos)
  2104. override TARGET_RSTS+=math typinfo classes sysconst
  2105. endif
  2106. ifeq ($(CPU_OS_TARGET),arm-ios)
  2107. override TARGET_RSTS+=math typinfo classes sysconst
  2108. endif
  2109. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  2110. override TARGET_RSTS+=math typinfo classes sysconst
  2111. endif
  2112. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  2113. override TARGET_RSTS+=math typinfo classes sysconst
  2114. endif
  2115. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  2116. override TARGET_RSTS+=math typinfo classes sysconst
  2117. endif
  2118. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  2119. override TARGET_RSTS+=math typinfo classes sysconst
  2120. endif
  2121. ifeq ($(CPU_OS_TARGET),avr-embedded)
  2122. override TARGET_RSTS+=math typinfo classes sysconst
  2123. endif
  2124. ifeq ($(CPU_OS_TARGET),armeb-linux)
  2125. override TARGET_RSTS+=math typinfo classes sysconst
  2126. endif
  2127. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  2128. override TARGET_RSTS+=math typinfo classes sysconst
  2129. endif
  2130. ifeq ($(CPU_OS_TARGET),mips-linux)
  2131. override TARGET_RSTS+=math typinfo classes sysconst
  2132. endif
  2133. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  2134. override TARGET_RSTS+=math typinfo classes sysconst
  2135. endif
  2136. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  2137. override TARGET_RSTS+=math typinfo classes sysconst
  2138. endif
  2139. ifeq ($(CPU_OS_TARGET),mipsel-android)
  2140. override TARGET_RSTS+=math typinfo classes sysconst
  2141. endif
  2142. ifeq ($(CPU_OS_TARGET),mips64-linux)
  2143. override TARGET_RSTS+=math typinfo classes sysconst
  2144. endif
  2145. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  2146. override TARGET_RSTS+=math typinfo classes sysconst
  2147. endif
  2148. ifeq ($(CPU_OS_TARGET),jvm-java)
  2149. override TARGET_RSTS+=math typinfo classes sysconst
  2150. endif
  2151. ifeq ($(CPU_OS_TARGET),jvm-android)
  2152. override TARGET_RSTS+=math typinfo classes sysconst
  2153. endif
  2154. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  2155. override TARGET_RSTS+=math typinfo classes sysconst
  2156. endif
  2157. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  2158. override TARGET_RSTS+=math typinfo classes sysconst
  2159. endif
  2160. ifeq ($(CPU_OS_TARGET),i8086-win16)
  2161. override TARGET_RSTS+=math typinfo classes sysconst
  2162. endif
  2163. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  2164. override TARGET_RSTS+=math typinfo classes sysconst
  2165. endif
  2166. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  2167. override TARGET_RSTS+=math typinfo classes sysconst
  2168. endif
  2169. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  2170. override TARGET_RSTS+=math typinfo classes sysconst
  2171. endif
  2172. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  2173. override TARGET_RSTS+=math typinfo classes sysconst
  2174. endif
  2175. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  2176. override TARGET_RSTS+=math typinfo classes sysconst
  2177. endif
  2178. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  2179. override TARGET_RSTS+=math typinfo classes sysconst
  2180. endif
  2181. ifeq ($(CPU_OS_TARGET),aarch64-android)
  2182. override TARGET_RSTS+=math typinfo classes sysconst
  2183. endif
  2184. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  2185. override TARGET_RSTS+=math typinfo classes sysconst
  2186. endif
  2187. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  2188. override TARGET_RSTS+=math typinfo classes sysconst
  2189. endif
  2190. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  2191. override TARGET_RSTS+=math typinfo classes sysconst
  2192. endif
  2193. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  2194. override TARGET_RSTS+=math typinfo classes sysconst
  2195. endif
  2196. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  2197. override TARGET_RSTS+=math typinfo classes sysconst
  2198. endif
  2199. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  2200. override TARGET_RSTS+=math typinfo classes sysconst
  2201. endif
  2202. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  2203. override TARGET_RSTS+=math typinfo classes sysconst
  2204. endif
  2205. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  2206. override TARGET_RSTS+=math typinfo classes sysconst
  2207. endif
  2208. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  2209. override TARGET_RSTS+=math typinfo classes sysconst
  2210. endif
  2211. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  2212. override TARGET_RSTS+=math typinfo classes sysconst
  2213. endif
  2214. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  2215. override TARGET_RSTS+=math typinfo classes sysconst
  2216. endif
  2217. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  2218. override TARGET_RSTS+=math typinfo classes sysconst
  2219. endif
  2220. ifeq ($(CPU_OS_TARGET),z80-embedded)
  2221. override TARGET_RSTS+=math typinfo classes sysconst
  2222. endif
  2223. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  2224. override TARGET_RSTS+=math typinfo classes sysconst
  2225. endif
  2226. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  2227. override TARGET_RSTS+=math typinfo classes sysconst
  2228. endif
  2229. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  2230. override TARGET_RSTS+=math typinfo classes sysconst
  2231. endif
  2232. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  2233. override TARGET_RSTS+=math typinfo classes sysconst
  2234. endif
  2235. override INSTALL_FPCPACKAGE=y y y
  2236. ifeq ($(CPU_OS_TARGET),i386-linux)
  2237. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2238. endif
  2239. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  2240. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2241. endif
  2242. ifeq ($(CPU_OS_TARGET),i386-win32)
  2243. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2244. endif
  2245. ifeq ($(CPU_OS_TARGET),i386-os2)
  2246. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2247. endif
  2248. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  2249. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2250. endif
  2251. ifeq ($(CPU_OS_TARGET),i386-beos)
  2252. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2253. endif
  2254. ifeq ($(CPU_OS_TARGET),i386-haiku)
  2255. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2256. endif
  2257. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  2258. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2259. endif
  2260. ifeq ($(CPU_OS_TARGET),i386-solaris)
  2261. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2262. endif
  2263. ifeq ($(CPU_OS_TARGET),i386-netware)
  2264. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2265. endif
  2266. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  2267. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2268. endif
  2269. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  2270. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2271. endif
  2272. ifeq ($(CPU_OS_TARGET),i386-darwin)
  2273. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2274. endif
  2275. ifeq ($(CPU_OS_TARGET),i386-emx)
  2276. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2277. endif
  2278. ifeq ($(CPU_OS_TARGET),i386-watcom)
  2279. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2280. endif
  2281. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  2282. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2283. endif
  2284. ifeq ($(CPU_OS_TARGET),i386-wince)
  2285. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2286. endif
  2287. ifeq ($(CPU_OS_TARGET),i386-embedded)
  2288. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2289. endif
  2290. ifeq ($(CPU_OS_TARGET),i386-symbian)
  2291. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2292. endif
  2293. ifeq ($(CPU_OS_TARGET),i386-nativent)
  2294. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2295. endif
  2296. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  2297. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2298. endif
  2299. ifeq ($(CPU_OS_TARGET),i386-android)
  2300. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2301. endif
  2302. ifeq ($(CPU_OS_TARGET),i386-aros)
  2303. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2304. endif
  2305. ifeq ($(CPU_OS_TARGET),m68k-linux)
  2306. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2307. endif
  2308. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  2309. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2310. endif
  2311. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  2312. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2313. endif
  2314. ifeq ($(CPU_OS_TARGET),m68k-atari)
  2315. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2316. endif
  2317. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  2318. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2319. endif
  2320. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  2321. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2322. endif
  2323. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  2324. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2325. endif
  2326. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  2327. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2328. endif
  2329. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  2330. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2331. endif
  2332. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  2333. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2334. endif
  2335. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  2336. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2337. endif
  2338. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  2339. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2340. endif
  2341. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  2342. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2343. endif
  2344. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  2345. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2346. endif
  2347. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  2348. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2349. endif
  2350. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  2351. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2352. endif
  2353. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  2354. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2355. endif
  2356. ifeq ($(CPU_OS_TARGET),sparc-linux)
  2357. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2358. endif
  2359. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  2360. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2361. endif
  2362. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  2363. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2364. endif
  2365. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  2366. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2367. endif
  2368. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  2369. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2370. endif
  2371. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  2372. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2373. endif
  2374. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  2375. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2376. endif
  2377. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  2378. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2379. endif
  2380. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  2381. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2382. endif
  2383. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  2384. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2385. endif
  2386. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  2387. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2388. endif
  2389. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  2390. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2391. endif
  2392. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  2393. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2394. endif
  2395. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  2396. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2397. endif
  2398. ifeq ($(CPU_OS_TARGET),x86_64-android)
  2399. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2400. endif
  2401. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  2402. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2403. endif
  2404. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  2405. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2406. endif
  2407. ifeq ($(CPU_OS_TARGET),arm-linux)
  2408. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2409. endif
  2410. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  2411. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2412. endif
  2413. ifeq ($(CPU_OS_TARGET),arm-palmos)
  2414. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2415. endif
  2416. ifeq ($(CPU_OS_TARGET),arm-wince)
  2417. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2418. endif
  2419. ifeq ($(CPU_OS_TARGET),arm-gba)
  2420. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2421. endif
  2422. ifeq ($(CPU_OS_TARGET),arm-nds)
  2423. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2424. endif
  2425. ifeq ($(CPU_OS_TARGET),arm-embedded)
  2426. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2427. endif
  2428. ifeq ($(CPU_OS_TARGET),arm-symbian)
  2429. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2430. endif
  2431. ifeq ($(CPU_OS_TARGET),arm-android)
  2432. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2433. endif
  2434. ifeq ($(CPU_OS_TARGET),arm-aros)
  2435. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2436. endif
  2437. ifeq ($(CPU_OS_TARGET),arm-freertos)
  2438. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2439. endif
  2440. ifeq ($(CPU_OS_TARGET),arm-ios)
  2441. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2442. endif
  2443. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  2444. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2445. endif
  2446. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  2447. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2448. endif
  2449. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  2450. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2451. endif
  2452. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  2453. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2454. endif
  2455. ifeq ($(CPU_OS_TARGET),avr-embedded)
  2456. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2457. endif
  2458. ifeq ($(CPU_OS_TARGET),armeb-linux)
  2459. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2460. endif
  2461. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  2462. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2463. endif
  2464. ifeq ($(CPU_OS_TARGET),mips-linux)
  2465. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2466. endif
  2467. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  2468. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2469. endif
  2470. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  2471. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2472. endif
  2473. ifeq ($(CPU_OS_TARGET),mipsel-android)
  2474. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2475. endif
  2476. ifeq ($(CPU_OS_TARGET),mips64-linux)
  2477. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2478. endif
  2479. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  2480. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2481. endif
  2482. ifeq ($(CPU_OS_TARGET),jvm-java)
  2483. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2484. endif
  2485. ifeq ($(CPU_OS_TARGET),jvm-android)
  2486. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2487. endif
  2488. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  2489. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2490. endif
  2491. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  2492. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2493. endif
  2494. ifeq ($(CPU_OS_TARGET),i8086-win16)
  2495. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2496. endif
  2497. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  2498. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2499. endif
  2500. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  2501. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2502. endif
  2503. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  2504. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2505. endif
  2506. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  2507. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2508. endif
  2509. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  2510. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2511. endif
  2512. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  2513. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2514. endif
  2515. ifeq ($(CPU_OS_TARGET),aarch64-android)
  2516. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2517. endif
  2518. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  2519. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2520. endif
  2521. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  2522. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2523. endif
  2524. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  2525. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2526. endif
  2527. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  2528. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2529. endif
  2530. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  2531. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2532. endif
  2533. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  2534. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2535. endif
  2536. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  2537. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2538. endif
  2539. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  2540. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2541. endif
  2542. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  2543. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2544. endif
  2545. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  2546. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2547. endif
  2548. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  2549. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2550. endif
  2551. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  2552. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2553. endif
  2554. ifeq ($(CPU_OS_TARGET),z80-embedded)
  2555. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2556. endif
  2557. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  2558. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2559. endif
  2560. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  2561. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2562. endif
  2563. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  2564. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2565. endif
  2566. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  2567. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(TARGETPROCINC)
  2568. endif
  2569. ifeq ($(CPU_OS_TARGET),i386-linux)
  2570. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2571. endif
  2572. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  2573. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2574. endif
  2575. ifeq ($(CPU_OS_TARGET),i386-win32)
  2576. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2577. endif
  2578. ifeq ($(CPU_OS_TARGET),i386-os2)
  2579. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2580. endif
  2581. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  2582. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2583. endif
  2584. ifeq ($(CPU_OS_TARGET),i386-beos)
  2585. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2586. endif
  2587. ifeq ($(CPU_OS_TARGET),i386-haiku)
  2588. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2589. endif
  2590. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  2591. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2592. endif
  2593. ifeq ($(CPU_OS_TARGET),i386-solaris)
  2594. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2595. endif
  2596. ifeq ($(CPU_OS_TARGET),i386-netware)
  2597. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2598. endif
  2599. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  2600. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2601. endif
  2602. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  2603. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2604. endif
  2605. ifeq ($(CPU_OS_TARGET),i386-darwin)
  2606. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2607. endif
  2608. ifeq ($(CPU_OS_TARGET),i386-emx)
  2609. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2610. endif
  2611. ifeq ($(CPU_OS_TARGET),i386-watcom)
  2612. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2613. endif
  2614. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  2615. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2616. endif
  2617. ifeq ($(CPU_OS_TARGET),i386-wince)
  2618. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2619. endif
  2620. ifeq ($(CPU_OS_TARGET),i386-embedded)
  2621. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2622. endif
  2623. ifeq ($(CPU_OS_TARGET),i386-symbian)
  2624. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2625. endif
  2626. ifeq ($(CPU_OS_TARGET),i386-nativent)
  2627. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2628. endif
  2629. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  2630. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2631. endif
  2632. ifeq ($(CPU_OS_TARGET),i386-android)
  2633. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2634. endif
  2635. ifeq ($(CPU_OS_TARGET),i386-aros)
  2636. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2637. endif
  2638. ifeq ($(CPU_OS_TARGET),m68k-linux)
  2639. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2640. endif
  2641. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  2642. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2643. endif
  2644. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  2645. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2646. endif
  2647. ifeq ($(CPU_OS_TARGET),m68k-atari)
  2648. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2649. endif
  2650. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  2651. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2652. endif
  2653. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  2654. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2655. endif
  2656. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  2657. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2658. endif
  2659. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  2660. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2661. endif
  2662. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  2663. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2664. endif
  2665. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  2666. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2667. endif
  2668. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  2669. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2670. endif
  2671. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  2672. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2673. endif
  2674. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  2675. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2676. endif
  2677. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  2678. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2679. endif
  2680. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  2681. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2682. endif
  2683. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  2684. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2685. endif
  2686. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  2687. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2688. endif
  2689. ifeq ($(CPU_OS_TARGET),sparc-linux)
  2690. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2691. endif
  2692. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  2693. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2694. endif
  2695. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  2696. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2697. endif
  2698. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  2699. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2700. endif
  2701. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  2702. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2703. endif
  2704. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  2705. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2706. endif
  2707. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  2708. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2709. endif
  2710. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  2711. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2712. endif
  2713. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  2714. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2715. endif
  2716. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  2717. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2718. endif
  2719. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  2720. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2721. endif
  2722. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  2723. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2724. endif
  2725. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  2726. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2727. endif
  2728. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  2729. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2730. endif
  2731. ifeq ($(CPU_OS_TARGET),x86_64-android)
  2732. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2733. endif
  2734. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  2735. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2736. endif
  2737. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  2738. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2739. endif
  2740. ifeq ($(CPU_OS_TARGET),arm-linux)
  2741. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2742. endif
  2743. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  2744. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2745. endif
  2746. ifeq ($(CPU_OS_TARGET),arm-palmos)
  2747. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2748. endif
  2749. ifeq ($(CPU_OS_TARGET),arm-wince)
  2750. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2751. endif
  2752. ifeq ($(CPU_OS_TARGET),arm-gba)
  2753. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2754. endif
  2755. ifeq ($(CPU_OS_TARGET),arm-nds)
  2756. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2757. endif
  2758. ifeq ($(CPU_OS_TARGET),arm-embedded)
  2759. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2760. endif
  2761. ifeq ($(CPU_OS_TARGET),arm-symbian)
  2762. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2763. endif
  2764. ifeq ($(CPU_OS_TARGET),arm-android)
  2765. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2766. endif
  2767. ifeq ($(CPU_OS_TARGET),arm-aros)
  2768. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2769. endif
  2770. ifeq ($(CPU_OS_TARGET),arm-freertos)
  2771. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2772. endif
  2773. ifeq ($(CPU_OS_TARGET),arm-ios)
  2774. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2775. endif
  2776. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  2777. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2778. endif
  2779. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  2780. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2781. endif
  2782. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  2783. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2784. endif
  2785. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  2786. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2787. endif
  2788. ifeq ($(CPU_OS_TARGET),avr-embedded)
  2789. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2790. endif
  2791. ifeq ($(CPU_OS_TARGET),armeb-linux)
  2792. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2793. endif
  2794. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  2795. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2796. endif
  2797. ifeq ($(CPU_OS_TARGET),mips-linux)
  2798. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2799. endif
  2800. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  2801. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2802. endif
  2803. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  2804. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2805. endif
  2806. ifeq ($(CPU_OS_TARGET),mipsel-android)
  2807. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2808. endif
  2809. ifeq ($(CPU_OS_TARGET),mips64-linux)
  2810. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2811. endif
  2812. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  2813. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2814. endif
  2815. ifeq ($(CPU_OS_TARGET),jvm-java)
  2816. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2817. endif
  2818. ifeq ($(CPU_OS_TARGET),jvm-android)
  2819. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2820. endif
  2821. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  2822. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2823. endif
  2824. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  2825. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2826. endif
  2827. ifeq ($(CPU_OS_TARGET),i8086-win16)
  2828. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2829. endif
  2830. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  2831. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2832. endif
  2833. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  2834. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2835. endif
  2836. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  2837. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2838. endif
  2839. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  2840. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2841. endif
  2842. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  2843. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2844. endif
  2845. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  2846. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2847. endif
  2848. ifeq ($(CPU_OS_TARGET),aarch64-android)
  2849. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2850. endif
  2851. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  2852. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2853. endif
  2854. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  2855. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2856. endif
  2857. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  2858. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2859. endif
  2860. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  2861. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2862. endif
  2863. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  2864. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2865. endif
  2866. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  2867. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2868. endif
  2869. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  2870. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2871. endif
  2872. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  2873. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2874. endif
  2875. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  2876. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2877. endif
  2878. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  2879. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2880. endif
  2881. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  2882. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2883. endif
  2884. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  2885. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2886. endif
  2887. ifeq ($(CPU_OS_TARGET),z80-embedded)
  2888. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2889. endif
  2890. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  2891. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2892. endif
  2893. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  2894. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2895. endif
  2896. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  2897. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2898. endif
  2899. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  2900. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC)
  2901. endif
  2902. ifdef REQUIRE_UNITSDIR
  2903. override UNITSDIR+=$(REQUIRE_UNITSDIR)
  2904. endif
  2905. ifdef REQUIRE_PACKAGESDIR
  2906. override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
  2907. endif
  2908. ifdef ZIPINSTALL
  2909. ifneq ($(filter $(OS_TARGET),$(UNIXs)),)
  2910. UNIXHier=1
  2911. endif
  2912. else
  2913. ifneq ($(filter $(OS_SOURCE),$(UNIXs)),)
  2914. UNIXHier=1
  2915. endif
  2916. endif
  2917. ifndef INSTALL_PREFIX
  2918. ifdef PREFIX
  2919. INSTALL_PREFIX=$(PREFIX)
  2920. endif
  2921. endif
  2922. ifndef INSTALL_PREFIX
  2923. ifdef UNIXHier
  2924. INSTALL_PREFIX=/usr/local
  2925. else
  2926. ifdef INSTALL_FPCPACKAGE
  2927. INSTALL_BASEDIR:=/pp
  2928. else
  2929. INSTALL_BASEDIR:=/$(PACKAGE_NAME)
  2930. endif
  2931. endif
  2932. endif
  2933. export INSTALL_PREFIX
  2934. ifdef INSTALL_FPCSUBDIR
  2935. export INSTALL_FPCSUBDIR
  2936. endif
  2937. ifndef DIST_DESTDIR
  2938. DIST_DESTDIR:=$(BASEDIR)
  2939. endif
  2940. export DIST_DESTDIR
  2941. ifndef COMPILER_UNITTARGETDIR
  2942. ifdef PACKAGEDIR_MAIN
  2943. COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX)
  2944. else
  2945. COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX)
  2946. endif
  2947. endif
  2948. ifndef COMPILER_TARGETDIR
  2949. COMPILER_TARGETDIR=.
  2950. endif
  2951. ifndef INSTALL_BASEDIR
  2952. ifdef UNIXHier
  2953. ifdef INSTALL_FPCPACKAGE
  2954. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION)
  2955. else
  2956. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME)
  2957. endif
  2958. else
  2959. INSTALL_BASEDIR:=$(INSTALL_PREFIX)
  2960. endif
  2961. endif
  2962. ifndef INSTALL_BINDIR
  2963. ifdef UNIXHier
  2964. INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
  2965. else
  2966. INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
  2967. ifdef INSTALL_FPCPACKAGE
  2968. ifdef CROSSCOMPILE
  2969. ifdef CROSSINSTALL
  2970. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX)
  2971. else
  2972. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  2973. endif
  2974. else
  2975. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  2976. endif
  2977. endif
  2978. endif
  2979. endif
  2980. ifndef INSTALL_UNITDIR
  2981. INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX)
  2982. ifdef INSTALL_FPCPACKAGE
  2983. ifdef PACKAGE_NAME
  2984. INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME)
  2985. endif
  2986. endif
  2987. endif
  2988. ifndef INSTALL_LIBDIR
  2989. ifdef UNIXHier
  2990. INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib
  2991. else
  2992. INSTALL_LIBDIR:=$(INSTALL_UNITDIR)
  2993. endif
  2994. endif
  2995. ifndef INSTALL_SOURCEDIR
  2996. ifdef UNIXHier
  2997. ifdef BSDhier
  2998. SRCPREFIXDIR=share/src
  2999. else
  3000. ifdef linuxHier
  3001. SRCPREFIXDIR=share/src
  3002. else
  3003. SRCPREFIXDIR=src
  3004. endif
  3005. endif
  3006. ifdef INSTALL_FPCPACKAGE
  3007. ifdef INSTALL_FPCSUBDIR
  3008. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  3009. else
  3010. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  3011. endif
  3012. else
  3013. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3014. endif
  3015. else
  3016. ifdef INSTALL_FPCPACKAGE
  3017. ifdef INSTALL_FPCSUBDIR
  3018. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  3019. else
  3020. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
  3021. endif
  3022. else
  3023. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
  3024. endif
  3025. endif
  3026. endif
  3027. ifndef INSTALL_DOCDIR
  3028. ifdef UNIXHier
  3029. ifdef BSDhier
  3030. DOCPREFIXDIR=share/doc
  3031. else
  3032. ifdef linuxHier
  3033. DOCPREFIXDIR=share/doc
  3034. else
  3035. DOCPREFIXDIR=doc
  3036. endif
  3037. endif
  3038. ifdef INSTALL_FPCPACKAGE
  3039. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  3040. else
  3041. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3042. endif
  3043. else
  3044. ifdef INSTALL_FPCPACKAGE
  3045. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME)
  3046. else
  3047. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc
  3048. endif
  3049. endif
  3050. endif
  3051. ifndef INSTALL_EXAMPLEDIR
  3052. ifdef UNIXHier
  3053. ifdef INSTALL_FPCPACKAGE
  3054. ifdef BSDhier
  3055. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  3056. else
  3057. ifdef linuxHier
  3058. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples
  3059. else
  3060. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME)
  3061. endif
  3062. endif
  3063. else
  3064. ifdef BSDhier
  3065. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3066. else
  3067. ifdef linuxHier
  3068. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3069. else
  3070. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3071. endif
  3072. endif
  3073. endif
  3074. else
  3075. ifdef INSTALL_FPCPACKAGE
  3076. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME)
  3077. else
  3078. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples
  3079. endif
  3080. endif
  3081. endif
  3082. ifndef INSTALL_DATADIR
  3083. INSTALL_DATADIR=$(INSTALL_BASEDIR)
  3084. endif
  3085. ifndef INSTALL_SHAREDDIR
  3086. INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
  3087. endif
  3088. ifdef CROSSCOMPILE
  3089. ifndef CROSSBINDIR
  3090. CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
  3091. ifeq ($(CROSSBINDIR),)
  3092. CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE))
  3093. endif
  3094. endif
  3095. else
  3096. CROSSBINDIR=
  3097. endif
  3098. ifeq ($(OS_SOURCE),linux)
  3099. ifndef GCCLIBDIR
  3100. ifeq ($(CPU_TARGET),i386)
  3101. ifneq ($(filter x86_64,$(shell uname -a)),)
  3102. ifeq ($(BINUTILSPREFIX),)
  3103. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  3104. else
  3105. CROSSGCCOPT=-m32
  3106. endif
  3107. endif
  3108. endif
  3109. ifeq ($(CPU_TARGET),powerpc)
  3110. ifeq ($(BINUTILSPREFIX),)
  3111. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  3112. else
  3113. CROSSGCCOPT=-m32
  3114. endif
  3115. endif
  3116. ifeq ($(CPU_TARGET),powerpc64)
  3117. ifeq ($(BINUTILSPREFIX),)
  3118. GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
  3119. else
  3120. CROSSGCCOPT=-m64
  3121. endif
  3122. endif
  3123. ifeq ($(CPU_TARGET),sparc)
  3124. ifneq ($(filter sparc64,$(shell uname -a)),)
  3125. ifeq ($(BINUTILSPREFIX),)
  3126. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  3127. else
  3128. CROSSGCCOPT=-m32
  3129. endif
  3130. endif
  3131. endif
  3132. ifneq ($(filter $(CPU_TARGET),mips64 mipsel64),)
  3133. ifeq ($(BINUTILSPREFIX),)
  3134. GCCLIBDIR:=$(shell dirname `gcc -mabi=64 -print-libgcc-file-name`)
  3135. else
  3136. CROSSGCCOPT=-mabi=64
  3137. endif
  3138. endif
  3139. ifneq ($(filter $(CPU_TARGET),mips mipsel),)
  3140. ifeq ($(BINUTILSPREFIX),)
  3141. GCCLIBDIR:=$(shell dirname `gcc -mabi=32 -print-libgcc-file-name`)
  3142. else
  3143. CROSSGCCOPT=-mabi=32
  3144. endif
  3145. endif
  3146. ifeq ($(BINUTILSPREFIX),)
  3147. ifeq ($(GCCLIBDIR),)
  3148. GCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
  3149. endif
  3150. else
  3151. ifeq ($(CROSSGCCOPT),)
  3152. CROSSGCCOPT=-g
  3153. endif
  3154. endif
  3155. endif
  3156. ifdef FPCFPMAKE
  3157. FPCFPMAKE_CPU_TARGET=$(shell $(FPCFPMAKE) -iTP)
  3158. ifeq ($(CPU_TARGET),$(FPCFPMAKE_CPU_TARGET))
  3159. FPCMAKEGCCLIBDIR:=$(GCCLIBDIR)
  3160. else
  3161. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),aarch64 powerpc64 riscv64 sparc64 x86_64 loongarch64),)
  3162. FPCMAKE_CROSSGCCOPT=-m64
  3163. else
  3164. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),mips64 mips64el),)
  3165. FPCMAKE_CROSSGCCOPT=-mabi=64
  3166. else
  3167. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),mips mipsel),)
  3168. FPCMAKE_CROSSGCCOPT=-mabi=32
  3169. else
  3170. ifeq ($(FPCFPMAKE_CPU_TARGET),riscv64)
  3171. FPCMAKE_CROSSGCCOPT=-mabi=lp64
  3172. else
  3173. ifeq ($(FPCFPMAKE_CPU_TARGET),riscv32)
  3174. FPCMAKE_CROSSGCCOPT=-mabi=ilp32
  3175. else
  3176. ifeq ($(FPCFPMAKE_CPU_TARGET),loongarch64)
  3177. FPCMAKE_CROSSGCCOPT=-mabi=lp64d
  3178. else
  3179. FPCMAKE_CROSSGCCOPT=-m32
  3180. endif
  3181. endif
  3182. endif
  3183. endif
  3184. endif
  3185. endif
  3186. FPCMAKEGCCLIBDIR:=$(shell dirname `gcc $(FPCMAKE_CROSSGCCOPT) -print-libgcc-file-name`)
  3187. endif
  3188. endif
  3189. ifndef FPCMAKEGCCLIBDIR
  3190. FPCMAKEGCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
  3191. endif
  3192. ifndef GCCLIBDIR
  3193. CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
  3194. ifneq ($(CROSSGCC),)
  3195. GCCLIBDIR:=$(shell dirname `$(CROSSGCC) $(CROSSGCCOPT) -print-libgcc-file-name`)
  3196. endif
  3197. endif
  3198. endif
  3199. ifdef inUnix
  3200. ifeq ($(OS_SOURCE),netbsd)
  3201. OTHERLIBDIR:=/usr/pkg/lib
  3202. endif
  3203. export GCCLIBDIR FPCMAKEGCCLIBDIR OTHERLIBDIR
  3204. endif
  3205. BATCHEXT=.bat
  3206. LOADEREXT=.as
  3207. EXEEXT=.exe
  3208. PPLEXT=.ppl
  3209. PPUEXT=.ppu
  3210. OEXT=.o
  3211. LTOEXT=.bc
  3212. ASMEXT=.s
  3213. SMARTEXT=.sl
  3214. STATICLIBEXT=.a
  3215. SHAREDLIBEXT=.so
  3216. SHAREDLIBPREFIX=libfp
  3217. STATICLIBPREFIX=libp
  3218. IMPORTLIBPREFIX=libimp
  3219. RSTEXT=.rst
  3220. EXEDBGEXT=.dbg
  3221. ifeq ($(OS_TARGET),go32v1)
  3222. STATICLIBPREFIX=
  3223. SHORTSUFFIX=v1
  3224. endif
  3225. ifeq ($(OS_TARGET),go32v2)
  3226. STATICLIBPREFIX=
  3227. SHORTSUFFIX=dos
  3228. IMPORTLIBPREFIX=
  3229. endif
  3230. ifeq ($(OS_TARGET),watcom)
  3231. STATICLIBPREFIX=
  3232. OEXT=.obj
  3233. ASMEXT=.asm
  3234. SHAREDLIBEXT=.dll
  3235. SHORTSUFFIX=wat
  3236. IMPORTLIBPREFIX=
  3237. endif
  3238. ifneq ($(CPU_TARGET),jvm)
  3239. ifeq ($(OS_TARGET),android)
  3240. BATCHEXT=.sh
  3241. EXEEXT=
  3242. HASSHAREDLIB=1
  3243. SHORTSUFFIX=lnx
  3244. endif
  3245. endif
  3246. ifeq ($(OS_TARGET),linux)
  3247. BATCHEXT=.sh
  3248. EXEEXT=
  3249. HASSHAREDLIB=1
  3250. SHORTSUFFIX=lnx
  3251. endif
  3252. ifeq ($(OS_TARGET),dragonfly)
  3253. BATCHEXT=.sh
  3254. EXEEXT=
  3255. HASSHAREDLIB=1
  3256. SHORTSUFFIX=df
  3257. endif
  3258. ifeq ($(OS_TARGET),freebsd)
  3259. BATCHEXT=.sh
  3260. EXEEXT=
  3261. HASSHAREDLIB=1
  3262. SHORTSUFFIX=fbs
  3263. endif
  3264. ifeq ($(OS_TARGET),netbsd)
  3265. BATCHEXT=.sh
  3266. EXEEXT=
  3267. HASSHAREDLIB=1
  3268. SHORTSUFFIX=nbs
  3269. endif
  3270. ifeq ($(OS_TARGET),openbsd)
  3271. BATCHEXT=.sh
  3272. EXEEXT=
  3273. HASSHAREDLIB=1
  3274. SHORTSUFFIX=obs
  3275. endif
  3276. ifeq ($(OS_TARGET),win32)
  3277. SHAREDLIBEXT=.dll
  3278. SHORTSUFFIX=w32
  3279. endif
  3280. ifeq ($(OS_TARGET),os2)
  3281. BATCHEXT=.cmd
  3282. AOUTEXT=.out
  3283. STATICLIBPREFIX=
  3284. SHAREDLIBEXT=.dll
  3285. SHORTSUFFIX=os2
  3286. ECHO=echo
  3287. IMPORTLIBPREFIX=
  3288. endif
  3289. ifeq ($(OS_TARGET),emx)
  3290. BATCHEXT=.cmd
  3291. AOUTEXT=.out
  3292. STATICLIBPREFIX=
  3293. SHAREDLIBEXT=.dll
  3294. SHORTSUFFIX=emx
  3295. ECHO=echo
  3296. IMPORTLIBPREFIX=
  3297. endif
  3298. ifeq ($(OS_TARGET),amiga)
  3299. EXEEXT=
  3300. SHAREDLIBEXT=.library
  3301. SHORTSUFFIX=amg
  3302. endif
  3303. ifeq ($(OS_TARGET),aros)
  3304. EXEEXT=
  3305. SHAREDLIBEXT=.library
  3306. SHORTSUFFIX=aros
  3307. endif
  3308. ifeq ($(OS_TARGET),morphos)
  3309. EXEEXT=
  3310. SHAREDLIBEXT=.library
  3311. SHORTSUFFIX=mos
  3312. endif
  3313. ifeq ($(OS_TARGET),atari)
  3314. EXEEXT=.ttp
  3315. SHORTSUFFIX=ata
  3316. endif
  3317. ifeq ($(OS_TARGET),beos)
  3318. BATCHEXT=.sh
  3319. EXEEXT=
  3320. SHORTSUFFIX=be
  3321. endif
  3322. ifeq ($(OS_TARGET),haiku)
  3323. BATCHEXT=.sh
  3324. EXEEXT=
  3325. SHORTSUFFIX=hai
  3326. endif
  3327. ifeq ($(OS_TARGET),solaris)
  3328. BATCHEXT=.sh
  3329. EXEEXT=
  3330. SHORTSUFFIX=sun
  3331. endif
  3332. ifeq ($(OS_TARGET),qnx)
  3333. BATCHEXT=.sh
  3334. EXEEXT=
  3335. SHORTSUFFIX=qnx
  3336. endif
  3337. ifeq ($(OS_TARGET),netware)
  3338. EXEEXT=.nlm
  3339. STATICLIBPREFIX=
  3340. SHORTSUFFIX=nw
  3341. IMPORTLIBPREFIX=imp
  3342. endif
  3343. ifeq ($(OS_TARGET),netwlibc)
  3344. EXEEXT=.nlm
  3345. STATICLIBPREFIX=
  3346. SHORTSUFFIX=nwl
  3347. IMPORTLIBPREFIX=imp
  3348. endif
  3349. ifeq ($(OS_TARGET),macosclassic)
  3350. BATCHEXT=
  3351. EXEEXT=
  3352. DEBUGSYMEXT=.xcoff
  3353. SHORTSUFFIX=mac
  3354. IMPORTLIBPREFIX=imp
  3355. endif
  3356. ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
  3357. BATCHEXT=.sh
  3358. EXEEXT=
  3359. HASSHAREDLIB=1
  3360. SHORTSUFFIX=dwn
  3361. EXEDBGEXT=.dSYM
  3362. endif
  3363. ifeq ($(OS_TARGET),gba)
  3364. EXEEXT=.gba
  3365. SHAREDLIBEXT=.so
  3366. SHORTSUFFIX=gba
  3367. endif
  3368. ifeq ($(OS_TARGET),symbian)
  3369. SHAREDLIBEXT=.dll
  3370. SHORTSUFFIX=symbian
  3371. endif
  3372. ifeq ($(OS_TARGET),NativeNT)
  3373. SHAREDLIBEXT=.dll
  3374. SHORTSUFFIX=nativent
  3375. endif
  3376. ifeq ($(OS_TARGET),wii)
  3377. EXEEXT=.dol
  3378. SHAREDLIBEXT=.so
  3379. SHORTSUFFIX=wii
  3380. endif
  3381. ifeq ($(OS_TARGET),aix)
  3382. BATCHEXT=.sh
  3383. EXEEXT=
  3384. SHAREDLIBEXT=.a
  3385. SHORTSUFFIX=aix
  3386. endif
  3387. ifeq ($(OS_TARGET),java)
  3388. OEXT=.class
  3389. ASMEXT=.j
  3390. SHAREDLIBEXT=.jar
  3391. SHORTSUFFIX=java
  3392. endif
  3393. ifeq ($(CPU_TARGET),jvm)
  3394. ifeq ($(OS_TARGET),android)
  3395. OEXT=.class
  3396. ASMEXT=.j
  3397. SHAREDLIBEXT=.jar
  3398. SHORTSUFFIX=android
  3399. endif
  3400. endif
  3401. ifeq ($(OS_TARGET),msdos)
  3402. STATICLIBPREFIX=
  3403. STATICLIBEXT=.a
  3404. SHORTSUFFIX=d16
  3405. endif
  3406. ifeq ($(OS_TARGET),msxdos)
  3407. STATICLIBPREFIX=
  3408. STATICLIBEXT=.a
  3409. SHORTSUFFIX=msd
  3410. endif
  3411. ifeq ($(OS_TARGET),embedded)
  3412. ifeq ($(CPU_TARGET),i8086)
  3413. STATICLIBPREFIX=
  3414. STATICLIBEXT=.a
  3415. else
  3416. EXEEXT=.bin
  3417. endif
  3418. ifeq ($(CPU_TARGET),z80)
  3419. OEXT=.rel
  3420. endif
  3421. SHORTSUFFIX=emb
  3422. endif
  3423. ifeq ($(OS_TARGET),win16)
  3424. STATICLIBPREFIX=
  3425. STATICLIBEXT=.a
  3426. SHAREDLIBEXT=.dll
  3427. SHORTSUFFIX=w16
  3428. endif
  3429. ifeq ($(OS_TARGET),zxspectrum)
  3430. OEXT=.rel
  3431. endif
  3432. ifeq ($(OS_TARGET),wasi)
  3433. EXEEXT=.wasm
  3434. endif
  3435. ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
  3436. FPCMADE=fpcmade.$(SHORTSUFFIX)
  3437. ZIPSUFFIX=$(SHORTSUFFIX)
  3438. ZIPCROSSPREFIX=
  3439. ZIPSOURCESUFFIX=src
  3440. ZIPEXAMPLESUFFIX=exm
  3441. else
  3442. FPCMADE=fpcmade.$(TARGETSUFFIX)
  3443. ZIPSOURCESUFFIX=.source
  3444. ZIPEXAMPLESUFFIX=.examples
  3445. ifdef CROSSCOMPILE
  3446. ZIPSUFFIX=.$(SOURCESUFFIX)
  3447. ZIPCROSSPREFIX=$(TARGETSUFFIX)-
  3448. else
  3449. ZIPSUFFIX=.$(TARGETSUFFIX)
  3450. ZIPCROSSPREFIX=
  3451. endif
  3452. endif
  3453. ifndef ECHO
  3454. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  3455. ifeq ($(ECHO),)
  3456. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  3457. ifeq ($(ECHO),)
  3458. ECHO= __missing_command_ECHO
  3459. else
  3460. ECHO:=$(firstword $(ECHO))
  3461. endif
  3462. else
  3463. ECHO:=$(firstword $(ECHO))
  3464. endif
  3465. endif
  3466. export ECHO
  3467. ifndef DATE
  3468. DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH))))
  3469. ifeq ($(DATE),)
  3470. DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH))))
  3471. ifeq ($(DATE),)
  3472. DATE= __missing_command_DATE
  3473. else
  3474. DATE:=$(firstword $(DATE))
  3475. endif
  3476. else
  3477. DATE:=$(firstword $(DATE))
  3478. endif
  3479. endif
  3480. export DATE
  3481. ifndef GINSTALL
  3482. GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH))))
  3483. ifeq ($(GINSTALL),)
  3484. GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH))))
  3485. ifeq ($(GINSTALL),)
  3486. GINSTALL= __missing_command_GINSTALL
  3487. else
  3488. GINSTALL:=$(firstword $(GINSTALL))
  3489. endif
  3490. else
  3491. GINSTALL:=$(firstword $(GINSTALL))
  3492. endif
  3493. endif
  3494. export GINSTALL
  3495. ifndef CPPROG
  3496. CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH))))
  3497. ifeq ($(CPPROG),)
  3498. CPPROG= __missing_command_CPPROG
  3499. else
  3500. CPPROG:=$(firstword $(CPPROG))
  3501. endif
  3502. endif
  3503. export CPPROG
  3504. ifndef RMPROG
  3505. RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH))))
  3506. ifeq ($(RMPROG),)
  3507. RMPROG= __missing_command_RMPROG
  3508. else
  3509. RMPROG:=$(firstword $(RMPROG))
  3510. endif
  3511. endif
  3512. export RMPROG
  3513. ifndef MVPROG
  3514. MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH))))
  3515. ifeq ($(MVPROG),)
  3516. MVPROG= __missing_command_MVPROG
  3517. else
  3518. MVPROG:=$(firstword $(MVPROG))
  3519. endif
  3520. endif
  3521. export MVPROG
  3522. ifndef MKDIRPROG
  3523. MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH))))
  3524. ifeq ($(MKDIRPROG),)
  3525. MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH))))
  3526. ifeq ($(MKDIRPROG),)
  3527. MKDIRPROG= __missing_command_MKDIRPROG
  3528. else
  3529. MKDIRPROG:=$(firstword $(MKDIRPROG))
  3530. endif
  3531. else
  3532. MKDIRPROG:=$(firstword $(MKDIRPROG))
  3533. endif
  3534. endif
  3535. export MKDIRPROG
  3536. ifndef ECHOREDIR
  3537. ifndef inUnix
  3538. ECHOREDIR=echo
  3539. else
  3540. ECHOREDIR=$(ECHO)
  3541. endif
  3542. endif
  3543. ifndef COPY
  3544. COPY:=$(CPPROG) -fp
  3545. endif
  3546. ifndef COPYTREE
  3547. COPYTREE:=$(CPPROG) -Rfp
  3548. endif
  3549. ifndef MKDIRTREE
  3550. MKDIRTREE:=$(MKDIRPROG) -p
  3551. endif
  3552. ifndef MOVE
  3553. MOVE:=$(MVPROG) -f
  3554. endif
  3555. ifndef DEL
  3556. DEL:=$(RMPROG) -f
  3557. endif
  3558. ifndef DELTREE
  3559. DELTREE:=$(RMPROG) -rf
  3560. endif
  3561. ifndef INSTALL
  3562. ifdef inUnix
  3563. INSTALL:=$(GINSTALL) -c -m 644
  3564. else
  3565. INSTALL:=$(COPY)
  3566. endif
  3567. endif
  3568. ifndef INSTALLEXE
  3569. ifdef inUnix
  3570. INSTALLEXE:=$(GINSTALL) -c -m 755
  3571. else
  3572. INSTALLEXE:=$(COPY)
  3573. endif
  3574. endif
  3575. ifndef MKDIR
  3576. MKDIR:=$(GINSTALL) -m 755 -d
  3577. endif
  3578. export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
  3579. ifndef PPUMOVE
  3580. PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH))))
  3581. ifeq ($(PPUMOVE),)
  3582. PPUMOVE= __missing_command_PPUMOVE
  3583. else
  3584. PPUMOVE:=$(firstword $(PPUMOVE))
  3585. endif
  3586. endif
  3587. export PPUMOVE
  3588. ifndef FPCMAKE
  3589. FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH))))
  3590. ifeq ($(FPCMAKE),)
  3591. FPCMAKE= __missing_command_FPCMAKE
  3592. else
  3593. FPCMAKE:=$(firstword $(FPCMAKE))
  3594. endif
  3595. endif
  3596. export FPCMAKE
  3597. ifndef ZIPPROG
  3598. ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH))))
  3599. ifeq ($(ZIPPROG),)
  3600. ZIPPROG= __missing_command_ZIPPROG
  3601. else
  3602. ZIPPROG:=$(firstword $(ZIPPROG))
  3603. endif
  3604. endif
  3605. export ZIPPROG
  3606. ifndef TARPROG
  3607. TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
  3608. ifeq ($(TARPROG),)
  3609. TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
  3610. ifeq ($(TARPROG),)
  3611. TARPROG= __missing_command_TARPROG
  3612. else
  3613. TARPROG:=$(firstword $(TARPROG))
  3614. endif
  3615. else
  3616. TARPROG:=$(firstword $(TARPROG))
  3617. endif
  3618. endif
  3619. export TARPROG
  3620. ASNAME=$(BINUTILSPREFIX)as
  3621. LDNAME=$(BINUTILSPREFIX)ld
  3622. ARNAME=$(BINUTILSPREFIX)ar
  3623. RCNAME=$(BINUTILSPREFIX)rc
  3624. NASMNAME=$(BINUTILSPREFIX)nasm
  3625. ifndef ASPROG
  3626. ifdef CROSSBINDIR
  3627. ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
  3628. else
  3629. ASPROG=$(ASNAME)
  3630. endif
  3631. endif
  3632. ifndef LDPROG
  3633. ifdef CROSSBINDIR
  3634. LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)
  3635. else
  3636. LDPROG=$(LDNAME)
  3637. endif
  3638. endif
  3639. ifndef RCPROG
  3640. ifdef CROSSBINDIR
  3641. RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)
  3642. else
  3643. RCPROG=$(RCNAME)
  3644. endif
  3645. endif
  3646. ifndef ARPROG
  3647. ifdef CROSSBINDIR
  3648. ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)
  3649. else
  3650. ARPROG=$(ARNAME)
  3651. endif
  3652. endif
  3653. ifndef NASMPROG
  3654. ifdef CROSSBINDIR
  3655. NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
  3656. else
  3657. NASMPROG=$(NASMNAME)
  3658. endif
  3659. endif
  3660. AS=$(ASPROG)
  3661. LD=$(LDPROG)
  3662. RC=$(RCPROG)
  3663. AR=$(ARPROG)
  3664. NASM=$(NASMPROG)
  3665. ifdef inUnix
  3666. PPAS=./ppas$(SRCBATCHEXT)
  3667. else
  3668. PPAS=ppas$(SRCBATCHEXT)
  3669. endif
  3670. ifdef inUnix
  3671. LDCONFIG=ldconfig
  3672. else
  3673. LDCONFIG=
  3674. endif
  3675. ifdef DATE
  3676. DATESTR:=$(shell $(DATE) +%Y%m%d)
  3677. else
  3678. DATESTR=
  3679. endif
  3680. ZIPOPT=-9
  3681. ZIPEXT=.zip
  3682. ifeq ($(USETAR),bz2)
  3683. TAROPT=vj
  3684. TAREXT=.tar.bz2
  3685. else
  3686. TAROPT=vz
  3687. TAREXT=.tar.gz
  3688. endif
  3689. ifndef NOCPUDEF
  3690. override FPCOPTDEF=$(ARCH)
  3691. endif
  3692. ifneq ($(OS_TARGET),$(OS_SOURCE))
  3693. override FPCOPT+=-T$(OS_TARGET)
  3694. endif
  3695. ifneq ($(CPU_TARGET),$(CPU_SOURCE))
  3696. override FPCOPT+=-P$(ARCH)
  3697. endif
  3698. ifeq ($(OS_SOURCE),openbsd)
  3699. override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
  3700. override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH)
  3701. override FPMAKE_BUILD_OPT+=-FD$(NEW_BINUTILS_PATH)
  3702. endif
  3703. ifndef CROSSBOOTSTRAP
  3704. ifneq ($(BINUTILSPREFIX),)
  3705. override FPCOPT+=-XP$(BINUTILSPREFIX)
  3706. ifneq ($(RLINKPATH),)
  3707. override FPCOPT+=-Xr$(RLINKPATH)
  3708. endif
  3709. endif
  3710. endif
  3711. ifndef CROSSCOMPILE
  3712. ifneq ($(BINUTILSPREFIX),)
  3713. override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
  3714. override FPMAKE_BUILD_OPT+=-XP$(BINUTILSPREFIX)
  3715. endif
  3716. endif
  3717. ifdef UNITDIR
  3718. override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
  3719. endif
  3720. ifdef LIBDIR
  3721. override FPCOPT+=$(addprefix -Fl,$(LIBDIR))
  3722. endif
  3723. ifdef OBJDIR
  3724. override FPCOPT+=$(addprefix -Fo,$(OBJDIR))
  3725. endif
  3726. ifdef INCDIR
  3727. override FPCOPT+=$(addprefix -Fi,$(INCDIR))
  3728. endif
  3729. ifdef LINKSMART
  3730. override FPCOPT+=-XX
  3731. endif
  3732. ifdef CREATESMART
  3733. override FPCOPT+=-CX
  3734. endif
  3735. ifdef DEBUG
  3736. override FPCOPT+=-gl
  3737. override FPCOPTDEF+=DEBUG
  3738. endif
  3739. ifdef RELEASE
  3740. FPCCPUOPT:=-O2
  3741. override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
  3742. override FPCOPTDEF+=RELEASE
  3743. endif
  3744. ifdef STRIP
  3745. override FPCOPT+=-Xs
  3746. endif
  3747. ifdef OPTIMIZE
  3748. override FPCOPT+=-O2
  3749. endif
  3750. ifdef VERBOSE
  3751. override FPCOPT+=-vwni
  3752. endif
  3753. ifdef COMPILER_OPTIONS
  3754. override FPCOPT+=$(COMPILER_OPTIONS)
  3755. endif
  3756. ifdef COMPILER_UNITDIR
  3757. override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))
  3758. endif
  3759. ifdef COMPILER_LIBRARYDIR
  3760. override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))
  3761. endif
  3762. ifdef COMPILER_OBJECTDIR
  3763. override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))
  3764. endif
  3765. ifdef COMPILER_INCLUDEDIR
  3766. override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))
  3767. endif
  3768. ifdef CROSSBINDIR
  3769. override FPCOPT+=-FD$(CROSSBINDIR)
  3770. endif
  3771. ifdef COMPILER_TARGETDIR
  3772. override FPCOPT+=-FE$(COMPILER_TARGETDIR)
  3773. ifeq ($(COMPILER_TARGETDIR),.)
  3774. override TARGETDIRPREFIX=
  3775. else
  3776. override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/
  3777. endif
  3778. endif
  3779. ifdef COMPILER_UNITTARGETDIR
  3780. override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)
  3781. ifeq ($(COMPILER_UNITTARGETDIR),.)
  3782. override UNITTARGETDIRPREFIX=
  3783. else
  3784. override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/
  3785. endif
  3786. else
  3787. ifdef COMPILER_TARGETDIR
  3788. override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
  3789. override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
  3790. endif
  3791. endif
  3792. ifdef SYSROOTPATH
  3793. override FPCOPT+=-XR$(SYSROOTPATH)
  3794. else
  3795. ifeq ($(OS_TARGET),$(OS_SOURCE))
  3796. ifeq ($(OS_TARGET),darwin)
  3797. ifeq ($(CPU_TARGET),aarch64)
  3798. ifneq ($(wildcard /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk),)
  3799. override FPCOPT+=-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
  3800. endif
  3801. endif
  3802. endif
  3803. endif
  3804. endif
  3805. ifdef CREATESHARED
  3806. override FPCOPT+=-Cg
  3807. endif
  3808. ifneq ($(filter $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
  3809. ifneq ($(filter $(CPU_TARGET),x86_64 mips mipsel mips64 mips64el riscv64 powerpc64),)
  3810. override FPCOPT+=-Cg
  3811. endif
  3812. endif
  3813. ifneq ($(filter $(CPU_TARGET),z80),)
  3814. override FPCOPT+=-CX -XX
  3815. endif
  3816. ifdef LINKSHARED
  3817. endif
  3818. ifdef GCCLIBDIR
  3819. override FPCOPT+=-Fl$(GCCLIBDIR)
  3820. ifdef FPCMAKEGCCLIBDIR
  3821. override FPCMAKEOPT+=-Fl$(FPCMAKEGCCLIBDIR)
  3822. else
  3823. override FPCMAKEOPT+=-Fl$(GCCLIBDIR)
  3824. endif
  3825. endif
  3826. ifdef OTHERLIBDIR
  3827. override FPCOPT+=$(addprefix -Fl,$(OTHERLIBDIR))
  3828. endif
  3829. ifdef OPT
  3830. override FPCOPT+=$(OPT)
  3831. endif
  3832. ifdef FPMAKEBUILDOPT
  3833. override FPMAKE_BUILD_OPT+=$(FPMAKEBUILDOPT)
  3834. endif
  3835. ifdef FPCOPTDEF
  3836. override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))
  3837. endif
  3838. ifdef CFGFILE
  3839. override FPCOPT+=@$(CFGFILE)
  3840. endif
  3841. ifdef USEENV
  3842. override FPCEXTCMD:=$(FPCOPT)
  3843. override FPCOPT:=!FPCEXTCMD
  3844. export FPCEXTCMD
  3845. endif
  3846. override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  3847. override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  3848. ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
  3849. override ACROSSCOMPILE=1
  3850. endif
  3851. ifdef ACROSSCOMPILE
  3852. override FPCOPT+=$(CROSSOPT)
  3853. endif
  3854. override COMPILER:=$(strip $(FPC) $(FPCOPT))
  3855. ifneq (,$(filter -sh,$(COMPILER)))
  3856. UseEXECPPAS=1
  3857. endif
  3858. ifneq (,$(filter -s,$(COMPILER)))
  3859. ifeq ($(FULL_SOURCE),$(FULL_TARGET))
  3860. UseEXECPPAS=1
  3861. endif
  3862. endif
  3863. ifneq ($(UseEXECPPAS),1)
  3864. EXECPPAS=
  3865. else
  3866. ifdef RUNBATCH
  3867. EXECPPAS:=@$(RUNBATCH) $(PPAS)
  3868. else
  3869. EXECPPAS:=@$(PPAS)
  3870. endif
  3871. endif
  3872. .PHONY: fpc_loaders
  3873. ifneq ($(TARGET_LOADERS),)
  3874. override ALLTARGET+=fpc_loaders
  3875. override CLEANTARGET+=fpc_loaders_clean
  3876. override INSTALLTARGET+=fpc_loaders_install
  3877. override LOADEROFILES:=$(addsuffix $(OEXT),$(TARGET_LOADERS))
  3878. endif
  3879. %$(OEXT): %$(LOADEREXT)
  3880. ifdef COMPILER_UNITTARGETDIR
  3881. $(AS) -o $(COMPILER_UNITTARGETDIR)/$*$(OEXT) $<
  3882. else
  3883. $(AS) -o $*$(OEXT) $<
  3884. endif
  3885. fpc_loaders: $(COMPILER_UNITTARGETDIR) $(LOADEROFILES)
  3886. fpc_loaders_clean:
  3887. ifdef COMPILER_UNITTARGETDIR
  3888. -$(DEL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES))
  3889. else
  3890. -$(DEL) $(LOADEROFILES)
  3891. endif
  3892. fpc_loaders_install:
  3893. $(MKDIR) $(INSTALL_UNITDIR)
  3894. ifdef COMPILER_UNITTARGETDIR
  3895. $(INSTALL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES)) $(INSTALL_UNITDIR)
  3896. else
  3897. $(INSTALL) $(LOADEROFILES) $(INSTALL_UNITDIR)
  3898. endif
  3899. .PHONY: fpc_units
  3900. ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
  3901. override ALLTARGET+=fpc_units
  3902. override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
  3903. override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))
  3904. override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  3905. override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  3906. endif
  3907. fpc_units: $(COMPILER_UNITTARGETDIR) $(UNITPPUFILES)
  3908. ifdef TARGET_RSTS
  3909. override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
  3910. override CLEANRSTFILES+=$(RSTFILES)
  3911. endif
  3912. .PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
  3913. $(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
  3914. @$(ECHOREDIR) Compiled > $(FPCMADE)
  3915. fpc_all: $(FPCMADE)
  3916. fpc_smart:
  3917. $(MAKE) all LINKSMART=1 CREATESMART=1
  3918. fpc_debug:
  3919. $(MAKE) all DEBUG=1
  3920. fpc_release:
  3921. $(MAKE) all RELEASE=1
  3922. .SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) $(LTOEXT) .pas .lpr .dpr .pp .rc .res
  3923. $(COMPILER_UNITTARGETDIR):
  3924. $(MKDIRTREE) $(COMPILER_UNITTARGETDIR)
  3925. $(COMPILER_TARGETDIR):
  3926. $(MKDIRTREE) $(COMPILER_TARGETDIR)
  3927. %$(PPUEXT): %.pp
  3928. $(COMPILER) $<
  3929. $(EXECPPAS)
  3930. %$(PPUEXT): %.pas
  3931. $(COMPILER) $<
  3932. $(EXECPPAS)
  3933. %$(EXEEXT): %.pp
  3934. $(COMPILER) $<
  3935. $(EXECPPAS)
  3936. %$(EXEEXT): %.pas
  3937. $(COMPILER) $<
  3938. $(EXECPPAS)
  3939. %$(EXEEXT): %.lpr
  3940. $(COMPILER) $<
  3941. $(EXECPPAS)
  3942. %$(EXEEXT): %.dpr
  3943. $(COMPILER) $<
  3944. $(EXECPPAS)
  3945. %.res: %.rc
  3946. windres -i $< -o $@
  3947. vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3948. vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3949. vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3950. vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3951. vpath %.inc $(COMPILER_INCLUDEDIR)
  3952. vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
  3953. vpath %$(LTOEXT) $(COMPILER_UNITTARGETDIR)
  3954. vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
  3955. .PHONY: fpc_shared
  3956. override INSTALLTARGET+=fpc_shared_install
  3957. ifndef SHARED_LIBVERSION
  3958. SHARED_LIBVERSION=$(FPC_VERSION)
  3959. endif
  3960. ifndef SHARED_LIBNAME
  3961. SHARED_LIBNAME=$(PACKAGE_NAME)
  3962. endif
  3963. ifndef SHARED_FULLNAME
  3964. SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
  3965. endif
  3966. ifndef SHARED_LIBUNITS
  3967. SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
  3968. override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
  3969. endif
  3970. fpc_shared:
  3971. ifdef HASSHAREDLIB
  3972. $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
  3973. ifneq ($(SHARED_BUILD),n)
  3974. $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR) -P$(BINUTILSPREFIX)
  3975. endif
  3976. else
  3977. @$(ECHO) Shared Libraries not supported
  3978. endif
  3979. fpc_shared_install:
  3980. ifneq ($(SHARED_BUILD),n)
  3981. ifneq ($(SHARED_LIBUNITS),)
  3982. ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
  3983. $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
  3984. endif
  3985. endif
  3986. endif
  3987. .PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
  3988. ifdef INSTALL_UNITS
  3989. override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
  3990. endif
  3991. ifdef INSTALL_BUILDUNIT
  3992. override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES))
  3993. endif
  3994. ifdef INSTALLPPUFILES
  3995. ifneq ($(IMPORTLIBPREFIX)-$(STATICLIBEXT),$(STATICLIBPREFIX)-$(STATICLIBEXT))
  3996. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  3997. else
  3998. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  3999. endif
  4000. ifneq ($(UNITTARGETDIRPREFIX),)
  4001. override INSTALLPPUFILENAMES:=$(notdir $(INSTALLPPUFILES))
  4002. override INSTALLPPULINKFILENAMES:=$(notdir $(INSTALLPPULINKFILES))
  4003. override INSTALLPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPUFILENAMES))
  4004. override INSTALLPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPULINKFILENAMES)))
  4005. endif
  4006. override INSTALL_CREATEPACKAGEFPC=1
  4007. endif
  4008. ifdef INSTALLEXEFILES
  4009. ifneq ($(TARGETDIRPREFIX),)
  4010. override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES)))
  4011. endif
  4012. endif
  4013. fpc_install: all $(INSTALLTARGET)
  4014. ifdef INSTALLEXEFILES
  4015. $(MKDIR) $(INSTALL_BINDIR)
  4016. $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
  4017. endif
  4018. ifdef INSTALL_CREATEPACKAGEFPC
  4019. ifdef FPCMAKE
  4020. ifdef PACKAGE_VERSION
  4021. ifneq ($(wildcard Makefile.fpc),)
  4022. $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc
  4023. $(MKDIR) $(INSTALL_UNITDIR)
  4024. $(INSTALL) Package.fpc $(INSTALL_UNITDIR)
  4025. endif
  4026. endif
  4027. endif
  4028. endif
  4029. ifdef INSTALLPPUFILES
  4030. $(MKDIR) $(INSTALL_UNITDIR)
  4031. $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)
  4032. ifneq ($(INSTALLPPULINKFILES),)
  4033. $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)
  4034. endif
  4035. ifneq ($(wildcard $(LIB_FULLNAME)),)
  4036. $(MKDIR) $(INSTALL_LIBDIR)
  4037. $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)
  4038. ifdef inUnix
  4039. ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)
  4040. endif
  4041. endif
  4042. endif
  4043. ifdef INSTALL_FILES
  4044. $(MKDIR) $(INSTALL_DATADIR)
  4045. $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)
  4046. endif
  4047. fpc_sourceinstall: distclean
  4048. $(MKDIR) $(INSTALL_SOURCEDIR)
  4049. $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)
  4050. fpc_exampleinstall: $(EXAMPLEINSTALLTARGET) $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
  4051. ifdef HASEXAMPLES
  4052. $(MKDIR) $(INSTALL_EXAMPLEDIR)
  4053. endif
  4054. ifdef EXAMPLESOURCEFILES
  4055. $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
  4056. endif
  4057. ifdef TARGET_EXAMPLEDIRS
  4058. $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
  4059. endif
  4060. .PHONY: fpc_clean fpc_cleanall fpc_distclean
  4061. ifdef EXEFILES
  4062. override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES))
  4063. override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES))
  4064. endif
  4065. ifdef CLEAN_PROGRAMS
  4066. override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS)))
  4067. override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS)))
  4068. endif
  4069. ifdef CLEAN_UNITS
  4070. override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))
  4071. endif
  4072. ifdef CLEANPPUFILES
  4073. override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES)))
  4074. ifdef DEBUGSYMEXT
  4075. override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES))
  4076. endif
  4077. override CLEANPPUFILENAMES:=$(CLEANPPUFILES)
  4078. override CLEANPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILENAMES))
  4079. override CLEANPPULINKFILENAMES:=$(CLEANPPULINKFILES)
  4080. override CLEANPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILENAMES)))
  4081. endif
  4082. fpc_clean: $(CLEANTARGET)
  4083. ifdef CLEANEXEFILES
  4084. -$(DEL) $(CLEANEXEFILES)
  4085. endif
  4086. ifdef CLEANEXEDBGFILES
  4087. -$(DELTREE) $(CLEANEXEDBGFILES)
  4088. endif
  4089. ifdef CLEANPPUFILES
  4090. -$(DEL) $(CLEANPPUFILES)
  4091. endif
  4092. ifneq ($(CLEANPPULINKFILES),)
  4093. -$(DEL) $(CLEANPPULINKFILES)
  4094. endif
  4095. ifdef CLEANRSTFILES
  4096. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  4097. endif
  4098. ifdef CLEAN_FILES
  4099. -$(DEL) $(CLEAN_FILES)
  4100. endif
  4101. ifdef LIB_NAME
  4102. -$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
  4103. endif
  4104. -$(DEL) $(FPCMADE) *$(FULL_TARGET).fpm Package.fpc *$(ASMEXT)
  4105. -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
  4106. -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
  4107. fpc_cleanall: $(CLEANTARGET)
  4108. ifdef CLEANEXEFILES
  4109. -$(DEL) $(CLEANEXEFILES)
  4110. endif
  4111. ifdef COMPILER_UNITTARGETDIR
  4112. ifdef CLEANPPUFILES
  4113. -$(DEL) $(CLEANPPUFILES)
  4114. endif
  4115. ifneq ($(CLEANPPULINKFILES),)
  4116. -$(DEL) $(CLEANPPULINKFILES)
  4117. endif
  4118. ifdef CLEANRSTFILES
  4119. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  4120. endif
  4121. endif
  4122. ifdef CLEAN_FILES
  4123. -$(DEL) $(CLEAN_FILES)
  4124. endif
  4125. -$(DELTREE) units
  4126. -$(DELTREE) bin
  4127. -$(DEL) *$(OEXT) *$(LTOEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
  4128. ifneq ($(PPUEXT),.ppu)
  4129. -$(DEL) *.o *.ppu *.a
  4130. endif
  4131. -$(DELTREE) *$(SMARTEXT)
  4132. -$(DEL) fpcmade.* Package.fpc *.fpm
  4133. -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
  4134. -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
  4135. ifdef AOUTEXT
  4136. -$(DEL) *$(AOUTEXT)
  4137. endif
  4138. ifdef DEBUGSYMEXT
  4139. -$(DEL) *$(DEBUGSYMEXT)
  4140. endif
  4141. ifdef LOCALFPMAKEBIN
  4142. -$(DEL) $(LOCALFPMAKEBIN)
  4143. -$(DEL) $(FPMAKEBINOBJ)
  4144. endif
  4145. fpc_distclean: cleanall
  4146. .PHONY: fpc_baseinfo
  4147. override INFORULES+=fpc_baseinfo
  4148. fpc_baseinfo:
  4149. @$(ECHO)
  4150. @$(ECHO) == Package info ==
  4151. @$(ECHO) Package Name..... $(PACKAGE_NAME)
  4152. @$(ECHO) Package Version.. $(PACKAGE_VERSION)
  4153. @$(ECHO)
  4154. @$(ECHO) == Configuration info ==
  4155. @$(ECHO)
  4156. @$(ECHO) FPC.......... $(FPC)
  4157. @$(ECHO) FPC Version.. $(FPC_VERSION)
  4158. @$(ECHO) Source CPU... $(CPU_SOURCE)
  4159. @$(ECHO) Target CPU... $(CPU_TARGET)
  4160. @$(ECHO) Source OS.... $(OS_SOURCE)
  4161. @$(ECHO) Target OS.... $(OS_TARGET)
  4162. @$(ECHO) Full Source.. $(FULL_SOURCE)
  4163. @$(ECHO) Full Target.. $(FULL_TARGET)
  4164. @$(ECHO) SourceSuffix. $(SOURCESUFFIX)
  4165. @$(ECHO) TargetSuffix. $(TARGETSUFFIX)
  4166. @$(ECHO) FPC fpmake... $(FPCFPMAKE)
  4167. @$(ECHO)
  4168. @$(ECHO) == Directory info ==
  4169. @$(ECHO)
  4170. @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES)
  4171. @$(ECHO)
  4172. @$(ECHO) Basedir......... $(BASEDIR)
  4173. @$(ECHO) FPCDir.......... $(FPCDIR)
  4174. @$(ECHO) CrossBinDir..... $(CROSSBINDIR)
  4175. @$(ECHO) UnitsDir........ $(UNITSDIR)
  4176. @$(ECHO) PackagesDir..... $(PACKAGESDIR)
  4177. @$(ECHO)
  4178. @$(ECHO) GCC library..... $(GCCLIBDIR)
  4179. @$(ECHO) Other library... $(OTHERLIBDIR)
  4180. @$(ECHO)
  4181. @$(ECHO) == Tools info ==
  4182. @$(ECHO)
  4183. @$(ECHO) As........ $(AS)
  4184. @$(ECHO) Ld........ $(LD)
  4185. @$(ECHO) Ar........ $(AR)
  4186. @$(ECHO) Rc........ $(RC)
  4187. @$(ECHO)
  4188. @$(ECHO) Mv........ $(MVPROG)
  4189. @$(ECHO) Cp........ $(CPPROG)
  4190. @$(ECHO) Rm........ $(RMPROG)
  4191. @$(ECHO) GInstall.. $(GINSTALL)
  4192. @$(ECHO) Echo...... $(ECHO)
  4193. @$(ECHO) Shell..... $(SHELL)
  4194. @$(ECHO) Date...... $(DATE)
  4195. @$(ECHO) FPCMake... $(FPCMAKE)
  4196. @$(ECHO) PPUMove... $(PPUMOVE)
  4197. @$(ECHO) Zip....... $(ZIPPROG)
  4198. @$(ECHO)
  4199. @$(ECHO) == Object info ==
  4200. @$(ECHO)
  4201. @$(ECHO) Target Loaders........ $(TARGET_LOADERS)
  4202. @$(ECHO) Target Units.......... $(TARGET_UNITS)
  4203. @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS)
  4204. @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)
  4205. @$(ECHO) Target Dirs........... $(TARGET_DIRS)
  4206. @$(ECHO) Target Examples....... $(TARGET_EXAMPLES)
  4207. @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)
  4208. @$(ECHO)
  4209. @$(ECHO) Clean Units......... $(CLEAN_UNITS)
  4210. @$(ECHO) Clean Files......... $(CLEAN_FILES)
  4211. @$(ECHO)
  4212. @$(ECHO) Install Units....... $(INSTALL_UNITS)
  4213. @$(ECHO) Install Files....... $(INSTALL_FILES)
  4214. @$(ECHO)
  4215. @$(ECHO) == Install info ==
  4216. @$(ECHO)
  4217. @$(ECHO) DateStr.............. $(DATESTR)
  4218. @$(ECHO) ZipName.............. $(ZIPNAME)
  4219. @$(ECHO) ZipPrefix............ $(ZIPPREFIX)
  4220. @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)
  4221. @$(ECHO) ZipSuffix............ $(ZIPSUFFIX)
  4222. @$(ECHO) FullZipName.......... $(FULLZIPNAME)
  4223. @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)
  4224. @$(ECHO)
  4225. @$(ECHO) Install base dir..... $(INSTALL_BASEDIR)
  4226. @$(ECHO) Install binary dir... $(INSTALL_BINDIR)
  4227. @$(ECHO) Install library dir.. $(INSTALL_LIBDIR)
  4228. @$(ECHO) Install units dir.... $(INSTALL_UNITDIR)
  4229. @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)
  4230. @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR)
  4231. @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR)
  4232. @$(ECHO) Install data dir..... $(INSTALL_DATADIR)
  4233. @$(ECHO)
  4234. @$(ECHO) Dist destination dir. $(DIST_DESTDIR)
  4235. @$(ECHO) Dist zip name........ $(DIST_ZIPNAME)
  4236. @$(ECHO)
  4237. .PHONY: fpc_info
  4238. fpc_info: $(INFORULES)
  4239. .PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \
  4240. fpc_makefile_dirs
  4241. fpc_makefile:
  4242. $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc
  4243. fpc_makefile_sub1:
  4244. ifdef TARGET_DIRS
  4245. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS))
  4246. endif
  4247. ifdef TARGET_EXAMPLEDIRS
  4248. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS))
  4249. endif
  4250. fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
  4251. fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
  4252. fpc_makefiles: fpc_makefile fpc_makefile_dirs
  4253. all: fpc_all
  4254. debug: fpc_debug
  4255. smart: fpc_smart
  4256. release: fpc_release
  4257. units: fpc_units
  4258. examples:
  4259. shared: fpc_shared
  4260. install: fpc_install
  4261. sourceinstall: fpc_sourceinstall
  4262. exampleinstall: fpc_exampleinstall
  4263. distinstall:
  4264. zipinstall:
  4265. zipsourceinstall:
  4266. zipexampleinstall:
  4267. zipdistinstall:
  4268. clean: fpc_clean
  4269. distclean: fpc_distclean
  4270. cleanall: fpc_cleanall
  4271. info: fpc_info
  4272. makefiles: fpc_makefiles
  4273. .PHONY: all debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean distclean cleanall info makefiles
  4274. ifneq ($(wildcard fpcmake.loc),)
  4275. include fpcmake.loc
  4276. endif
  4277. ifndef OSDIR
  4278. OSDIR=.
  4279. endif
  4280. ifndef PORTSDIR
  4281. PORTSDIR=$(OSDIR)
  4282. endif
  4283. ifndef DYNLIBSINCDIR
  4284. DYNLIBSINCDIR=$(OSDIR)
  4285. endif
  4286. ifndef INITCDIR
  4287. INITCDIR=$(OSDIR)
  4288. endif
  4289. ifndef DOSDIR
  4290. DOSDIR=$(OSDIR)
  4291. NSDOSDIR=$(NSDIR)/$(DOSDIR)
  4292. endif
  4293. ifndef SYSUTILSDIR
  4294. SYSUTILSDIR=$(OSDIR)
  4295. endif
  4296. ifndef NSSYSUTILSDIR
  4297. NSSYSUTILSDIR=$(NSDIR)/$(SYSUTILSDIR)
  4298. endif
  4299. ifndef CLASSESDIR
  4300. CLASSESDIR=$(OSDIR)
  4301. endif
  4302. ifndef NSCLASSESDIR
  4303. NSCLASSESDIR=$(NSDIR)/$(CLASSESDIR)
  4304. endif
  4305. ifndef NSBSDDIR
  4306. NSBSDDIR=$(NSDIR)/bsd
  4307. endif
  4308. ifdef FPC_DOTTEDUNITS
  4309. MACPAS_OPT:=$(MACPAS_OPT) -dFPC_DOTTEDUNITS
  4310. EXTPAS_OPT:=$(EXTPAS_OPT) -dFPC_DOTTEDUNITS
  4311. endif
  4312. $(SYSTEMUNIT)$(PPUEXT) : $(SYSTEMUNIT).pp $(SYSDEPS)
  4313. $(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg $<
  4314. UUCHAR_DEPS=$(INC)/uuchar.pp \
  4315. $(SYSTEMUNIT)$(PPUEXT) \
  4316. $(UUCHAR_DEPS_OS) $(UUCHAR_DEPS_CPU)
  4317. uuchar$(PPUEXT): $(UUCHAR_DEPS)
  4318. $(COMPILER) $(UUCHAR_OPT) $<
  4319. UACHAR_DEPS=$(INC)/uachar.pp \
  4320. $(SYSTEMUNIT)$(PPUEXT) \
  4321. $(UACHAR_DEPS_OS) $(UACHAR_DEPS_CPU)
  4322. uachar$(PPUEXT): $(UACHAR_DEPS)
  4323. $(COMPILER) $(UACHAR_OPT) $<
  4324. OBJPAS_DEPS= $(OBJPASDIR)/objpas.pp $(INC)/except.inc \
  4325. $(SYSTEMUNIT)$(PPUEXT) \
  4326. $(OBJPAS_DEPS_OS) $(OBJPAS_DEPS_SPU)
  4327. objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc $(SYSTEMUNIT)$(PPUEXT)
  4328. $(COMPILER) $(OBJPAS_OPT) -I$(OBJPASDIR) $<
  4329. MACPAS_DEPS=$(INC)/macpas.pp \
  4330. objpas$(PPUEXT) $(MATHUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4331. $(MACPAS_DEPS_OS) $(MACPAS_DEPS_CPU)
  4332. macpas$(PPUEXT) : $(MACPAS_DEPS)
  4333. $(COMPILER) $(MACPAS_OPT) $<
  4334. ISO7185_DEPS= $(INC)/$(ISO7185UNIT).pp \
  4335. $(SYSTEMUNIT)$(PPUEXT) \
  4336. $(ISO7185_DEPS_OS) $(ISO7185_DEPS_CPU)
  4337. iso7185$(PPUEXT) : $(ISO7185_DEPS)
  4338. $(COMPILER) $(ISO7185_OPT) $<
  4339. EXTPAS_DEPS=$(INC)/extpas.pp \
  4340. $(DOSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4341. $(EXTPAS_DEPS_OS) $(EXTPAS_DEPS_CPU)
  4342. extpas$(PPUEXT) : $(EXTPAS_DEPS)
  4343. $(COMPILER) $(EXTPAS_OPT) $<
  4344. FPINTRES_DEPS= $(INC)/fpintres.pp $(SYSTEMUNIT)$(PPUEXT) \
  4345. $(FPINTRES_DEPS_OS) $(FPINTRES_DEPS_CPU)
  4346. fpintres$(PPUEXT) : $(FPINTRES_DEPS)
  4347. $(COMPILER) $(FPINTRES_OPT) $<
  4348. HEAPTRC_DEPS=$(INC)/heaptrc.pp \
  4349. $(SYSTEMUNIT)$(PPUEXT) \
  4350. $(HEAPTRC_DEPS_OS) $(HEAPTRC_DEPS_CPU)
  4351. heaptrc$(PPUEXT) : $(HEAPTRC_DEPS)
  4352. $(COMPILER) $(HEAPTRC_OPT) $<
  4353. SOFTFPU_DEPS=$(INC)/softfpu.pp \
  4354. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4355. $(SOFTFPU_DEPS_OS) $(SOFTFPU_DEPS_CPU)
  4356. softfpu$(PPUEXT) : $(SOFTFPU_DEPS)
  4357. $(COMPILER) $(SOFTFPU_OPT) $<
  4358. System.SoftFPU$(PPUEXT) : $(NSINC)/System.SoftFPU.pp $(SOFTFPU_DEPS)
  4359. $(COMPILER) $(SOFTFPU_OPT) $<
  4360. SFPUX80_DEPS=$(INC)/sfpux80.pp $(INC)/softfpu.pp \
  4361. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4362. $(SFPUX80_DEPS_OS) $(SFPUX80_DEPS_CPU)
  4363. sfpux80$(PPUEXT) : $(SFPUX80_DEPS)
  4364. $(COMPILER) $(SFPUX80_OPT) $<
  4365. System.SoftFpuX80$(PPUEXT) : $(NSINC)/System.SoftFpuX80.pp $(SFPUX80_DEPS)
  4366. $(COMPILER) $(SFPUX80_OPT) $<
  4367. SFPU128_DEPS=$(INC)/sfpu128.pp $(INC)/softfpu.pp \
  4368. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4369. $(SFPU128_DEPS_OS) $(SFPU128_DEPS_CPU)
  4370. sfpu128$(PPUEXT) : $(SFPU128_DEPS)
  4371. $(COMPILER) $(SFPUX128_OPT) $<
  4372. System.SoftFpu128$(PPUEXT) : $(NSINC)/System.SoftFpu128.pp $(SFPU128_DEPS)
  4373. $(COMPILER) $(SFPUX128_OPT) $<
  4374. UFLOATX80_DEPS=$(INC)/ufloatx80.pp \
  4375. $(SFPUX80UNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4376. $(UFLOATX80_DEPS_OS) $(UFLOATX80_DEPS_CPU)
  4377. ufloatx80$(PPUEXT) : $(UFLOATX80_DEPS)
  4378. $(COMPILER) $(UFLOATX80_OPT) $<
  4379. System.UFloatX80$(PPUEXT) : $(NSINC)/System.UFloatX80.pp $(UFLOATX80_DEPS)
  4380. $(COMPILER) $(UFLOATX80_OPT) $<
  4381. UFLOAT128_DEPS=$(INC)/ufloat128.pp \
  4382. $(SFPU128UNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4383. $(UFLOAT128_DEPS_OS) $(UFLOAT128_DEPS_CPU)
  4384. ufloat128$(PPUEXT) : $(UFLOAT128_DEPS)
  4385. $(COMPILER) $(UFLOAT128_OPT) $<
  4386. System.UFloat128$(PPUEXT) : $(NSINC)/System.UFloat128.pp $(UFLOAT128_DEPS)
  4387. $(COMPILER) $(UFLOAT128_OPT) $<
  4388. STRINGS_DEPS=$(INC)/strings.pp $(INC)/stringsi.inc $(PROCINC)/stringss.inc $(PROCINC)/strings.inc \
  4389. $(SYSTEMUNIT)$(PPUEXT) \
  4390. $(STRINGS_DEPS_OS)
  4391. strings$(PPUEXT) : $(STRINGS_DEPS)
  4392. $(COMPILER) $(STRINGS_OPT) $<
  4393. System.Strings$(PPUEXT) : $(NSINC)/System.Strings.pp $(STRINGS_DEPS)
  4394. $(COMPILER) $(STRINGS_OPT) $<
  4395. PORTS_DEPS=$(PORTSDIR)/ports.pp \
  4396. $(SYSTEMUNIT)$(PPUEXT) \
  4397. $(PORTS_DEPS_OS) $(PORTS_DEPS_CPU)
  4398. ports$(PPUEXT) : $(PORTS_DEPS)
  4399. $(COMPILER) $(PORTS_OPT) $<
  4400. System.Ports$(PPUEXT) : $(NSINC)/System.Ports.pp $(PORTS_DEPS)
  4401. $(COMPILER) $(PORTS_OPT) $<
  4402. DYNLIBS_DEPS=$(INC)/dynlibs.pas $(OSDIR)/dynlibs.inc \
  4403. $(DLUNIT)$(PPUEXT) objpas$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) \
  4404. $(DYNLIBS_DEPS_OS) $(DYNLIBS_DEPS_CPU)
  4405. dynlibs$(PPUEXT) : $(DYNLIBS_DEPS)
  4406. $(COMPILER) $(DYNLIBS_OPT) $<
  4407. System.DynLibs$(PPUEXT) : $(NSINC)/System.DynLibs.pas $(DYNLIBS_DEPS)
  4408. $(COMPILER) $(DYNLIBS_OPT) $<
  4409. INITC_DEPS=$(INITCDIR)/initc.pp $(CTYPESUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4410. $(INITC_DEPS_OS) $(INITC_DEPS_CPU)
  4411. initc$(PPUEXT) : $(INITC_DEPS)
  4412. $(COMPILER) $(INITC_OPT) $<
  4413. System.InitC$(PPUEXT) : $(NSINC)/System.InitC.pp $(INITC_DEPS)
  4414. $(COMPILER) $(INITC_OPT) $<
  4415. UNIXCP_DEPS=$(UNIXINC)/unixcp.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
  4416. $(UNIXCP_DEPS_OS) $(UNIXCP_DEPS_CPU)
  4417. unixcp$(PPUEXT) : $(UNIXCP_DEPS)
  4418. $(COMPILER) $(UNIXCP_OPT) $(UNIXINC)/unixcp.pp
  4419. UnixApi.CP$(PPUEXT) : $(NSINC)/UnixApi.CP.pp $(UNIXCP_DEPS)
  4420. $(COMPILER) $(UNIXCP_OPT) $<
  4421. LINUX_DEPS=$(OSDIR)/linux.pp \
  4422. $(BASEUNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(SYSCALLUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4423. $(LINUX_DEPS_OS) $(LINUX_DEPS_CPU)
  4424. linux$(PPUEXT): $(LINUX_DEPS)
  4425. $(COMPILER) $<
  4426. LinuxApi$(PPUEXT): $(NSOSDIR)/LinuxApi.pp $(LINUX_DEPS)
  4427. $(COMPILER) $(LINUX_OPT) $<
  4428. LINUXVCS_DEPS=$(OSDIR)/linuxvcs.pp $(BASEUNIXUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4429. $(LINUXVCS_DEPS_OS) $(LINUXVCS_DEPS_CPU)
  4430. linuxvcs$(PPUEXT): $(LINUXVCS_DEPS)
  4431. $(COMPILER) $(LINUXVCS_OPT) $<
  4432. LinuxApi.Vcs$(PPUEXT): $(NSOSDIR)/LinuxApi.Vcs.pp $(LINUXVCS_DEPS)
  4433. $(COMPILER) $(LINUXVCS_OPT) $<
  4434. FPCYLIX_DEPS=fpcylix.pp \
  4435. $(CTHREADSUNIT)$(PPUEXT) $(CWSTRINGUNIT)$(PPUEXT) $(DYNLIBSUNIT)$(PPUEXT) \
  4436. objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4437. $(FPCYLIX_DEPS_OS) $(FPCYLIX_DEPS_CPU)
  4438. fpcylix$(PPUEXT) : $(FPCYLIX_DEPS)
  4439. $(COMPILER) $(FPCYLIX_OPT) $<
  4440. TERMIO_DEPS=$(OSDIR)/termio.pp $(BASEUNIXUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)\
  4441. $(TERMIO_DEPS_OS) $(TERMIO_DEPS_CPU)
  4442. termio$(PPUEXT) : $(TERMIO_DEPS)
  4443. $(COMPILER) $(TERMIO_OPT) $<
  4444. UnixApi.TermIO$(PPUEXT) : $(NSINC)/UnixApi.TermIO.pp $(TERMIO_DEPS)
  4445. $(COMPILER) $(TERMIO_OPT) $<
  4446. DOS_DEPS=$(DOSDIR)/dos.pp $(INC)/filerec.inc $(INC)/textrec.inc \
  4447. $(STRINGSUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4448. $(DOS_DEPS_OS) $(DOS_DEPS_CPU)
  4449. dos$(PPUEXT): $(DOS_DEPS)
  4450. $(COMPILER) $(DOS_OPTS) $<
  4451. TP.DOS$(PPUEXT): $(NSINC)/TP.DOS.pp $(DOS_DEPS)
  4452. $(COMPILER) $(DOS_OPTS) $<
  4453. SYSUTILS_UNIX_DEPS=$(UNIXUNIT)$(PPUEXT) $(ERRORSUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4454. $(SYSCALLUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4455. $(UNIXUTILUNIT)$(PPUEXT) $(INITCUNIT)$(PPUEXT)
  4456. SYSUTILS_DEPS=$(SYSUTILSDIR)/sysutils.pp $(wildcard $(OBJPASDIR)/$(SYSUTILSUNIT)/*.inc) \
  4457. objpas$(PPUEXT) $(SYSCONSTUNIT)$(PPUEXT) \
  4458. $(SYSUTILS_DEPS_OS) $(SYSUTILS_DEPS_CPU)
  4459. sysutils$(PPUEXT) : $(SYSUTILS_DEPS)
  4460. $(COMPILER) -Fi$(OBJPASDIR)/$(SYSUTILSUNIT) $<
  4461. System.SysUtils$(PPUEXT) : $(NSINC)/System.SysUtils.pp $(SYSUTILS_DEPS)
  4462. $(COMPILER) $(SYSUTILS_OPT) -Fi$(OBJPASDIR)/sysutils $<
  4463. CLASSES_DEPS=$(CLASSESDIR)/classes.pp $(wildcard $(OBJPASDIR)/$(CLASSESUNIT)/*.inc) \
  4464. $(SYSUTILSUNIT)$(PPUEXT) $(TYPINFOUNIT)$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) \
  4465. $(FGLUNIT)$(PPUEXT) $(TYPESUNIT)$(PPUEXT) \
  4466. $(CLASSES_DEPS_OS) $(CLASSES_DEPS_CPU)
  4467. classes$(PPUEXT) : $(CLASSES_DEPS)
  4468. $(COMPILER) -Fi$(OBJPASDIR)/classes $(CLASSES_OPT) $<
  4469. System.Classes$(PPUEXT) : $(NSINC)/System.Classes.pp $(CLASSES_DEPS)
  4470. $(COMPILER) -Fi$(OBJPASDIR)/classes $(CLASSES_OPT) $<
  4471. TYPINFO_DEPS=$(OBJPASDIR)/typinfo.pp \
  4472. objpas$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) \
  4473. $(TYPINFO_DEPS_OS) $(TYPINFO_DEPS_CPU)
  4474. typinfo$(PPUEXT): $(TYPINFO_DEPS)
  4475. $(COMPILER) -Sg $(TYPINFO_OPT) $<
  4476. System.TypInfo$(PPUEXT): $(NSINC)/System.TypInfo.pp
  4477. $(COMPILER) -Fi$(OBJPASDIR) -Sg $(TYPINFO_OPT) $<
  4478. CHARACTER_DEPS=$(OBJPASDIR)/character.pas \
  4479. $(SYSUTILSUNIT)$(PPUEXT) objpas$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) \
  4480. $(CHARACTER_DEPS_OS) $(CHARACTER_DEPS_CPU)
  4481. character$(PPUEXT): $(CHARACTER_DEPS)
  4482. $(COMPILER) $(CHARACTER_OPT) $<
  4483. System.Character$(PPUEXT): $(NSINC)/System.Character.pas $(CHARACTER_DEPS)
  4484. $(COMPILER) $(CHARACTER_OPT) -Fi$(OBJPASDIR) $<
  4485. MATH_DEPS= $(OBJPASDIR)/math.pp \
  4486. objpas$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4487. $(MATH_DEPS_OS) $(MATH_DEPS_CPU)
  4488. math$(PPUEXT): $(MATH_DEPS)
  4489. $(COMPILER) $(MATH_OPT) $<
  4490. System.Math$(PPUEXT): $(NSINC)/System.Math.pp $(MATH_DEPS)
  4491. $(COMPILER) $(MATH_OPT) -Fi$(OBJPASDIR) $<
  4492. FGL_DEPS=$(OBJPASDIR)/fgl.pp \
  4493. objpas$(PPUEXT) $(TYPESUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4494. $(SYSUTILSUNIT)$(PPUEXT) $(SORTBASEUNIT)$(PPUEXT) \
  4495. $(FCL_DEPS_OS) $(FCL_DEPS_CPU)
  4496. fgl$(PPUEXT) : $(FGL_DEPS)
  4497. $(COMPILER) $(FGL_OPT) $<
  4498. System.FGL$(PPUEXT) : $(NSINC)/System.FGL.pp $(FGL_DEPS)
  4499. $(COMPILER) -Fi$(OBJPASDIR) $(FGL_OPT) $<
  4500. TYPES_DEPS=$(OBJPASDIR)/types.pp \
  4501. objpas$(PPUEXT) $(MATHUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4502. $(TYPES_DEPS_OS) $(TYPES_DEPS_CPU)
  4503. types$(PPUEXT) : $(TYPES_DEPS)
  4504. $(COMPILER) $(TYPES_OPT) $<
  4505. System.Types$(PPUEXT) : $(NSINC)/System.Types.pp $(TYPES_DEPS)
  4506. $(COMPILER) -Fi$(OBJPASDIR) $(TYPES_OPT) $<
  4507. SYSCONST_DEPS=$(OBJPASDIR)/sysconst.pp \
  4508. objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4509. $(SYSCONST_DEPS_OS) $(SYSCONST_DEPS_CPU)
  4510. sysconst$(PPUEXT) : $(SYSCONST_DEPS)
  4511. $(COMPILER) $(SYSCONST_OPT) $<
  4512. System.SysConst$(PPUEXT) : $(NSINC)/System.SysConst.pp $(SYSCONST_DEPS)
  4513. $(COMPILER) -Fi$(OBJPASDIR) $(SYSCONST_OPT) $<
  4514. RTLCONSTS_DEPS=$(OBJPASDIR)/rtlconsts.pp \
  4515. objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4516. $(RTLCONST_DEPS_OS) $(RTLCONST_DEPS_CPU)
  4517. rtlconsts$(PPUEXT) : $(RTLCONSTS_DEPS)
  4518. $(COMPILER) $(RTLCONSTS_OPT) $<
  4519. System.RtlConsts$(PPUEXT) : $(NSINC)/System.RtlConsts.pp $(RTLCONSTS_DEPS)
  4520. $(COMPILER) -Fi$(OBJPASDIR) $(RTLCONSTS_OPT) $<
  4521. ifneq ($(findstring $(ARCH),x86_64 i386),)
  4522. CPU_DEPS_OS:=$(CPU_DEPS_OS) $(SYSUTILSUNIT)$(PPUEXT)
  4523. endif
  4524. CPU_DEPS=$(PROCINC)/cpu.pp \
  4525. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4526. $(CPU_DEPS_OS) $(CPU_DEPS_CPU)
  4527. cpu$(PPUEXT) : $(CPU_DEPS)
  4528. $(COMPILER) $(CPU_OPT) $<
  4529. System.CPU$(PPUEXT) : $(NSINC)/System.CPU.pp
  4530. $(COMPILER) $(CPU_OPT) $<
  4531. MMX_DEPS=$(PROCINC)/mmx.pp \
  4532. $(CPUUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4533. $(MMX_DEPS_OS) $(MMX_DEPS_CPU)
  4534. mmx$(PPUEXT) : $(MMX_DEPS)
  4535. $(COMPILER) $(MMX_OPT) $<
  4536. System.MMX$(PPUEXT) : $(NSINC)/System.MMX $(MMX_DEPS)
  4537. $(COMPILER) $(MMX_OPT) $<
  4538. X86_DEPS = $(UNIXINC)/x86.pp \
  4539. $(BASEUNIXUNIT)$(PPUEXT) $(SYSCALLUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4540. $(X86_DEPS_OS) $(X86_DEPS_CPU)
  4541. x86$(PPUEXT) : $(X86_DEPS)
  4542. $(COMPILER) $(X86_OPT) $<
  4543. System.X86$(PPUEXT) : $(NSINC)/System.X86.pp $(X86_DEPS)
  4544. $(COMPILER) $(X86_OPT) $<
  4545. GETOPTS_DEPS=$(INC)/getopts.pp \
  4546. $(SYSTEMUNIT)$(PPUEXT) \
  4547. $(GETOPTS_DEPS_OS) $(GETOPTS_DEPS_CPU)
  4548. getopts$(PPUEXT) : $(GETOPTS_DEPS)
  4549. $(COMPILER) $(GETOPTS_OPT) $<
  4550. System.GetOpts$(PPUEXT) : $(NSINC)/System.GetOpts.pp $(GETOPTS_DEPS)
  4551. $(COMPILER) $(GETOPTS_OPT) $<
  4552. LINEINFO_DEPS=$(INC)/lineinfo.pp \
  4553. $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) \
  4554. $(LINEINFO_DEPS_OS) $(LINEINFO_DEPS_CPU)
  4555. lineinfo$(PPUEXT) : $(LINEINFO_DEPS)
  4556. $(COMPILER) $(LINEINFO_OPT) $<
  4557. System.LineInfo$(PPUEXT) : $(NSINC)/System.LineInfo.pp $(LINEINFO_DEPS)
  4558. $(COMPILER) $(LINEINFO_OPT) $<
  4559. EXEINFO_DEPS=$(INC)/exeinfo.pp \
  4560. $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4561. $(EXEINFO_DEPS_OS) $(EXEINFO_DEPS_CPU)
  4562. exeinfo$(PPUEXT) : $(EXEINFO_DEPS)
  4563. $(COMPILER) $(EXEINFO_OPT) $<
  4564. System.ExeInfo$(PPUEXT) : $(NSINC)/System.ExeInfo.pp $(LINEINFO_DEPS)
  4565. $(COMPILER) $(EXEINFO_OPT) $<
  4566. LNFODWRF_DEPS=$(INC)/lnfodwrf.pp \
  4567. $(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(LINEINFOUNIT)$(PPUEXT) \
  4568. $(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
  4569. $(LNFODWRF_DEPS_OS) $(LNFODWRF_DEPS_CPU)
  4570. lnfodwrf$(PPUEXT) : $(LNFODWRF_DEPS)
  4571. $(COMPILER) $(LNFODWRF_OPT) $<
  4572. System.LineInfo.Dwarf$(PPUEXT) : $(NSINC)/System.LineInfo.Dwarf.pp $(LNFODWRF_DEPS)
  4573. $(COMPILER) $(LNFODWRF_OPT) $<
  4574. LNFOGDB_DEPS=$(UNIXINC)/lnfogdb.pp \
  4575. $(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(LINEINFOUNIT)$(PPUEXT) \
  4576. $(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
  4577. $(LNFOGDB_DEPS_OS) $(LNFOGDB_DEPS_CPU)
  4578. lnfogdb$(PPUEXT) : $(LNFOGDB_DEPS)
  4579. $(COMPILER) $(LNFOGDB_OPT) $<
  4580. System.LineInfo.Gdb$(PPUEXT) : $(NSINC)/System.LineInfo.Gdb.pp $(LNFOGDB_DEPS)
  4581. $(COMPILER) $(LNFOGDB_OPT) $<
  4582. CHARSET_DEPS=$(INC)/charset.pp \
  4583. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4584. $(CHARSET_DEPS_OS) $(CHARSET_DEPS_CPU)
  4585. charset$(PPUEXT) : $(CHARSET_DEPS)
  4586. $(COMPILER) $(CHARSET_OPT) $<
  4587. System.CharSet$(PPUEXT) : $(NSINC)/System.CharSet.pp $(CHARSET_DEPS)
  4588. $(COMPILER) $(CHARSET_OPT) $<
  4589. CPALL_DEPS=$(RTL)/charmaps/cpall.pas \
  4590. system$(PPUEXT) $(CHARSETUNIT)$(PPUEXT) \
  4591. $(CPALL_DEPS_OS) $(CPALL_DEPS_CPU)
  4592. cpall$(PPUEXT): $(CPALL_DEPS)
  4593. $(COMPILER) $(CPALL_OPT) -Fu$(INC) -Fi$(RTL)/charmaps $<
  4594. System.CodePages.All$(PPUEXT): $(NSINC)/System.CodePages.All.pas $(CPALL_DEPS)
  4595. $(COMPILER) $(CPALL_OPT) -Fu$(INC) -Fi$(RTL)/charmaps $<
  4596. FPWIDESTRING_DEPS=$(OBJPASDIR)/fpwidestring.pp \
  4597. $(CHARACTERUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(CPALLUNIT)$(PPUEXT) \
  4598. $(FPWIDESTRING_DEPS_OS) $(FPWIDESTRING_DEPS_CPU)
  4599. fpwidestring$(PPUEXT): $(FPWIDESTRING_DEPS)
  4600. $(COMPILER) $(FPWIDESTRING_OPT) $<
  4601. System.FPWideString$(PPUEXT): $(NSINC)/System.FPWideString.pp $(FPWIDESTRING_DEPS)
  4602. $(COMPILER) -Fi$(OBJPASDIR) $(FPWIDESTRING_OPT) $<
  4603. SORTBASE_DEPS=$(INC)/sortbase.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4604. $(SORTBASE_DEPS_OS) $(SORTBASE_DEPS_CPU)
  4605. sortbase$(PPUEXT) : $(SORTBASE_DEPS)
  4606. $(COMPILER) $(SORTBASE_OPT) $<
  4607. System.SortBase$(PPUEXT) : $(NSINC)/System.SortBase.pp $(SORTBASE_DEPS)
  4608. $(COMPILER) $(SORTBASE_OPT) $<
  4609. CALLSPEC_DEPS=$(INC)/callspec.pp \
  4610. $(SYSTEMUNIT)$(PPUEXT) \
  4611. $(CALLSPEC_DEPS_OS) $(CALLSPEC_DEPS_CPU)
  4612. callspec$(PPUEXT) : $(CALLSPEC_DEPS)
  4613. $(COMPILER) $(CALLSPEC_OPT) $<
  4614. System.CallSpec$(PPUEXT) : $(NSINC)/System.CallSpec.pp $(CALLSPEC_DEPS)
  4615. $(COMPILER) $(CALLSPEC_OPT) $<
  4616. CMEM_DEPS=$(INC)/cmem.pp \
  4617. $(SYSTEMUNIT)$(PPUEXT) \
  4618. $(CMEM_DEPS_OS) $(CMEM_DEPS_CPU)
  4619. cmem$(PPUEXT) : $(CMEM_DEPS)
  4620. $(COMPILER) $(CMEM_OPT) $<
  4621. System.CMem$(PPUEXT) : $(NSINC)/System.CMem.pp $(CMEM_DEPS)
  4622. $(COMPILER) $(CMEM_OPT) $<
  4623. BASEUNIX_DEPS=$(UNIXINC)/baseunix.pp $(UNIXINC)/ctypes.inc \
  4624. $(UNIXINC)/bunxh.inc $(UNIXINC)/gensigset.inc $(OSDIR)/ptypes.inc $(OSDIR)/errno.inc \
  4625. $(UNIXTYPEUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4626. $(BASEUNIX_DEPS_OS) $(BASEUNIX_DEPS_CPU)
  4627. baseunix$(PPUEXT): $(BASEUNIX_DEPS)
  4628. $(COMPILER) $(BASEUNIX_OPT) $<
  4629. UnixApi.Base$(PPUEXT): $(NSINC)/UnixApi.Base.pp $(BASEUNIX_DEPS)
  4630. $(COMPILER) $(BASEUNIX_OPT) $<
  4631. UNIX_DEPS=$(UNIXINC)/unix.pp \
  4632. $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
  4633. $(UNIXUTILUNIT)$(PPUEXT) \
  4634. $(INC)/textrec.inc $(INC)/filerec.inc $(UNIXINC)/timezone.inc \
  4635. $(OSDIR)/unxconst.inc $(OSDIR)/unxfunc.inc \
  4636. $(UNIX_DEPS_OS) $(UNIX_DEPS_CPU)
  4637. unix$(PPUEXT): $(UNIX_DEPS)
  4638. $(COMPILER) $(UNIX_OPT) $<
  4639. UnixApi.Unix$(PPUEXT) : $(NSINC)/UnixApi.Unix.pp $(UNIX_DEPS)
  4640. $(COMPILER) $(UNIX_OPT) $<
  4641. SYSCALL_DEPS=$(UNIXINC)/syscall.pp \
  4642. $(SYSTEMUNIT)$(PPUEXT)\
  4643. $(SYSCALL_DEPS_OS) $(SYSCALL_DEPS_CPU)
  4644. syscall$(PPUEXT) : $(SYSCALL_DEPS)
  4645. $(COMPILER) $(SYSCALL_OPT) $<
  4646. UnixApi.SysCall$(PPUEXT) : $(NSINC)/UnixApi.SysCall.pp $(SYSCALL_DEPS)
  4647. $(COMPILER) $(SYSCALL_OPT) $<
  4648. UNIXUTIL_DEPS=$(UNIXINC)/unixutil.pp $(INC)/textrec.inc $(INC)/filerec.inc\
  4649. $(BASEUNIXUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)\
  4650. $(UNIXUTILDEPSOS)
  4651. unixutil$(PPUEXT) : $(UNIXUTIL_DEPS)
  4652. $(COMPILER) $(UNIXUTIL_OPT) $<
  4653. UnixApi.Utils$(PPUEXT) : $(NSINC)/UnixApi.Utils.pp $(UNIXUTIL_DEPS)
  4654. $(COMPILER) $(UNIXUTIL_OPT) $<
  4655. UNIXTYPE_DEPS=$(UNIXINC)/unixtype.pp \
  4656. $(SYSTEMUNIT)$(PPUEXT) $(OSDIR)/ptypes.inc $(UNIXINC)/ctypes.inc \
  4657. $(UNIXTYPE_DEPS_OS) $(UNIXTYPE_DEPS_CPU)
  4658. unixtype$(PPUEXT) : $(UNIXTYPE_DEPS)
  4659. $(COMPILER) $(UNIXTYPE_OPT) $(UNIXINC)/unixtype.pp
  4660. UnixApi.Types$(PPUEXT) : $(NSINC)/UnixApi.Types.pp $(UNIXTYPE_DEPS)
  4661. $(COMPILER) $(UNIXTYPE_OPT) $<
  4662. DL_DEPS=$(UNIXINC)/dl.pp \
  4663. $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
  4664. $(DL_DEPS_OS) $(DL_DEPS_CPU)
  4665. dl$(PPUEXT) : $(DL_DEPS)
  4666. $(COMPILER) $(DL_OPT) $<
  4667. UnixApi.Dl$(PPUEXT) : $(NSINC)/UnixApi.Dl.pp $(DL_DEPS)
  4668. $(COMPILER) $(DL_OPT) $<
  4669. ERRORS_DEPS=$(UNIXINC)/errors.pp \
  4670. $(STRINGSUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4671. $(ERRORS_DEPS_OS) $(ERRORS_DEPS_CPU)
  4672. errors$(PPUEXT) : $(ERRORS_DEPS)
  4673. $(COMPILER) $(ERRORS_OPT) $<
  4674. UnixApi.Errors$(PPUEXT) : $(NSINC)/UnixApi.Errors.pp $(ERRORS_DEPS)
  4675. $(COMPILER) $(ERRORS_OPT) $<
  4676. CTHREADS_DEPS=$(UNIXINC)/cthreads.pp \
  4677. $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) \
  4678. $(BASEUNIXUNIT)$(PPUEXT) $(INITCUNIT)$(PPUEXT) $(DLUNIT)$(PPUEXT) \
  4679. $(CTHREADS_DEPS_OS) $(CTHREADS_DEPS_CPU)
  4680. cthreads$(PPUEXT) : $(CTHREADS_DEPS)
  4681. $(COMPILER) $(CTHREADS_OPT) $<
  4682. UnixApi.CThreads$(PPUEXT) : $(NSINC)/UnixApi.CThreads.pp $(CTHREADS_DEPS)
  4683. $(COMPILER) $(CTHREADS_OPT) $<
  4684. CWSTRING_DEPS=$(UNIXINC)/cwstring.pp \
  4685. $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
  4686. $(UNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
  4687. $(DYNLIBSUNIT)$(PPUEXT) $(UNIXCPUNIT)$(PPUEXT) \
  4688. $(CWSTRING_DEPS_OS) $(CWSTRING_DEPS_CPU)
  4689. cwstring$(PPUEXT) : $(CWSTRING_DEPS)
  4690. $(COMPILER) $(CWSTRING_OPT) $<
  4691. UnixApi.CWString$(PPUEXT) : $(NSINC)/UnixApi.CWString.pp $(CWSTRING_DEPS)
  4692. $(COMPILER) $(CWSTRING_OPT) $<
  4693. CTYPES_DEPS=$(INC)/ctypes.pp \
  4694. $(SYSTEMUNIT)$(PPUEXT) \
  4695. $(CTYPES_DEPS_OS) $(CTYPES_DEPS_CPU)
  4696. ctypes$(PPUEXT) : $(CTYPES_DEPS)
  4697. $(COMPILER) $(CTYPES_OPT) $<
  4698. System.CTypes$(PPUEXT) : $(NSINC)/System.CTypes.pp $(CTYPES_DEPS)
  4699. $(COMPILER) $(CTYPES_OPT) $<
  4700. OBJC_DEPS=$(INC)/objc.pp $(INC)/objc.pp $(INC)/objc1.inc $(INC)/objcnf.inc \
  4701. $(SYSTEMUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4702. $(OBJC_DEPS_OS) $(OBJC_DEPS_CPU)
  4703. objc$(PPUEXT) : $(OBJC_DEPS)
  4704. $(COMPILER) $(OBJC_OPT) $<
  4705. OBJCBASE_DEPS=$(INC)/objcbase.pp \
  4706. $(SYSTEMUNIT)$(PPUEXT) $(OBJCUNIT)$(PPUEXT) \
  4707. $(OBJCBASE_DEPS_OS) $(OBJCBASE_DEPS_CPU)
  4708. objcbase$(PPUEXT) : $(OBJCBASE_DEPS)
  4709. $(COMPILER) $(OBJCBASE_OPT) $<
  4710. BLOCKRTL_DEPS=$(INC)/blockrtl.pp \
  4711. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) $(INITCUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
  4712. $(BLOCKRTL_DEPS_OS) $(BLOCKRTL_DEPS_CPU)
  4713. blockrtl$(PPUEXT) : $(BLOCKRTL_DEPS)
  4714. $(COMPILER) $(BLOCKRTL_OPT) $<
  4715. WINDOWS_DEPS=windows.pp $(SYSTEMUNIT)$(PPUEXT) \
  4716. $(WINDOWS_DEPS_OS) $(WINDOWS_DEPS_CPU)
  4717. windows$(PPUEXT): $(WINDOWS_DEPS)
  4718. $(COMPILER) $(WINDOWS_OPT) $<
  4719. WinApi.Windows$(PPUEXT): $(NSOSDIR)/WinApi.Windows.pp $(WINDOWS_DEPS)
  4720. $(COMPILER) -Fi$(WININC) -Fi$(WINDIR) $(WINDOWS_OPT) $<
  4721. WINDIRS_DEPS=windirs.pp $(WINDOWSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4722. $(WINDIRS_DEPS_OS) $(WINDIRS_DEPS_CPU)
  4723. windirs$(PPUEXT): $(WINDIRS_DEPS)
  4724. $(COMPILER) $(WINDIRS_OPT) $<
  4725. WinApi.WinDirs$(PPUEXT): $(NSOSDIR)/WinApi.WinDirs.pp $(WINDIRS_DEPS)
  4726. $(COMPILER) -Fi$(WININC) -Fi$(WINDIR) $(WINDIRS_OPT) $<
  4727. SYSCTL_DEPS=$(BSDINC)/sysctl.pp $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4728. $(SYSCTL_DEPS_OS) $(SYSCTL_DEPS_CPU)
  4729. sysctl$(PPUEXT) : $(SYSCTL_DEPS)
  4730. $(COMPILER) $(SYSCTL_OPT) $<
  4731. BsdApi.SysCtl$(PPUEXT) : $(NSBSDDIR)/BsdApi.SysCtl.pp $(SYSCTL_DEPS)
  4732. $(COMPILER) $(BSD_OPT) $<
  4733. BSD_DEPS=$(BSDINC)/bsd.pas $(INITCUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) \
  4734. $(BSD_DEPS_OS) $(BSD_DEPS_CPU)
  4735. bsd$(PPUEXT): $(BSD_DEPS)
  4736. $(COMPILER) $(BSD_OPT) $<
  4737. BsdApi$(PPUEXT): $(NSBSDDIR)/BsdApi.pp $(BSD_DEPS)
  4738. $(COMPILER) $(BSD_OPT) $<
  4739. .NOTPARALLEL:
  4740. include $(INC)/makefile.inc
  4741. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  4742. include $(PROCINC)/makefile.cpu
  4743. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  4744. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
  4745. prt0$(OEXT) : $(CPU_TARGET)/$(PRT0).as
  4746. $(AS) -o $(UNITTARGETDIRPREFIX)prt0$(OEXT) $(CPU_TARGET)/$(PRT0).as
  4747. si_prc$(PPUEXT) : si_prc.pp si_intf.inc si_impl.inc $(ARCH)/openbsd_ident.inc $(ARCH)/si_prc.inc $(SYSTEMUNIT)$(PPUEXT)
  4748. $(COMPILER) $<
  4749. si_c$(PPUEXT) : si_c.pp si_intf.inc si_impl.inc $(ARCH)/openbsd_ident.inc $(ARCH)/si_c.inc $(SYSTEMUNIT)$(PPUEXT)
  4750. $(COMPILER) $<
  4751. si_dll$(PPUEXT) : si_dll.pp si_intf.inc si_impl.inc $(ARCH)/openbsd_ident.inc $(ARCH)/si_dll.inc $(SYSTEMUNIT)$(PPUEXT)
  4752. $(COMPILER) $<
  4753. si_g$(PPUEXT) : si_g.pp si_intf.inc si_impl.inc $(ARCH)/openbsd_ident.inc $(ARCH)/si_g.inc $(SYSTEMUNIT)$(PPUEXT)
  4754. $(COMPILER) $<
  4755. $(SYSTEMUNIT)$(PPUEXT) : $(BSDINC)/$(SYSTEMUNIT).pp sysconst.inc systypes.inc syscalls.inc $(SYSDEPS)
  4756. $(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg $(BSDINC)/$(SYSTEMUNIT).pp
  4757. uuchar$(PPUEXT): $(INC)/uuchar.pp $(SYSTEMUNIT)$(PPUEXT)
  4758. $(COMPILER) $<
  4759. objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc $(SYSTEMUNIT)$(PPUEXT)
  4760. $(COMPILER) -I$(OBJPASDIR) $(OBJPASDIR)/objpas.pp
  4761. strings$(PPUEXT) : $(INC)/strings.pp $(INC)/stringsi.inc\
  4762. $(PROCINC)/strings.inc $(PROCINC)/stringss.inc\
  4763. $(SYSTEMUNIT)$(PPUEXT)
  4764. $(COMPILER) $(INC)/strings.pp
  4765. fpintres$(PPUEXT): $(INC)/fpintres.pp $(SYSTEMUNIT)$(PPUEXT)
  4766. $(COMPILER) $<
  4767. unixtype$(PPUEXT): $(UNIXINC)/unixtype.pp $(UNIXINC)/ctypes.inc ptypes.inc $(SYSTEMUNIT)$(PPUEXT)
  4768. $(COMPILER) $<
  4769. baseunix$(PPUEXT) : errno.inc ptypes.inc $(UNIXINC)/ctypes.inc \
  4770. signal.inc $(UNIXINC)/bunxh.inc \
  4771. $(BSDINC)/bunxsysc.inc $(BSDPROCINC)/syscallh.inc sysnr.inc \
  4772. $(BSDINC)/ostypes.inc $(BSDINC)/osmacro.inc $(UNIXINC)/gensigset.inc \
  4773. $(UNIXINC)/genfuncs.inc $(SYSTEMUNIT)$(PPUEXT)
  4774. $(COMPILER) -Fu../unix -Fu../bsd ../unix/baseunix.pp
  4775. unix$(PPUEXT) : $(UNIXINC)/unix.pp strings$(PPUEXT) $(INC)/textrec.inc $(INC)/filerec.inc \
  4776. unxconst.inc $(UNIXINC)/timezone.inc \
  4777. unxfunc.inc baseunix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4778. $(COMPILER) $<
  4779. linux$(PPUEXT) : baseunix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4780. $(COMPILER) $<
  4781. unixcp$(PPUEXT) : $(UNIXINC)/unixcp.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) baseunix$(PPUEXT)
  4782. $(COMPILER) $(UNIXINC)/unixcp.pp
  4783. unixutil$(PPUEXT) : $(UNIXINC)/unixutil.pp $(SYSTEMUNIT)$(PPUEXT)
  4784. $(COMPILER) $<
  4785. dos$(PPUEXT) : $(UNIXINC)/dos.pp $(INC)/filerec.inc $(INC)/textrec.inc strings$(PPUEXT) \
  4786. unix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4787. $(COMPILER) $(UNIXINC)/dos.pp
  4788. sysutils$(PPUEXT) : $(UNIXINC)/sysutils.pp $(wildcard $(OBJPASDIR)/sysutils/*.inc) \
  4789. objpas$(PPUEXT) unix$(PPUEXT) errors$(PPUEXT) sysconst$(PPUEXT)
  4790. $(COMPILER) -Fi$(OBJPASDIR)/sysutils $(UNIXINC)/sysutils.pp
  4791. classes$(PPUEXT) : $(UNIXINC)/classes.pp $(wildcard $(OBJPASDIR)/classes/*.inc) \
  4792. sysutils$(PPUEXT) typinfo$(PPUEXT) fgl$(PPUEXT) sortbase$(PPUEXT)
  4793. $(COMPILER) -Fi$(OBJPASDIR)/classes $(UNIXINC)/classes.pp
  4794. fgl$(PPUEXT) : $(OBJPASDIR)/fgl.pp objpas$(PPUEXT) types$(PPUEXT) system$(PPUEXT) sysutils$(PPUEXT) sortbase$(PPUEXT)
  4795. $(COMPILER) $(OBJPASDIR)/fgl.pp
  4796. rtlconsts$(PPUEXT) : $(OBJPASDIR)/rtlconsts.pp
  4797. $(COMPILER) $(OBJPASDIR)/rtlconsts.pp
  4798. typinfo$(PPUEXT): $(OBJPASDIR)/typinfo.pp objpas$(PPUEXT)
  4799. $(COMPILER) -Sg $(OBJPASDIR)/typinfo.pp
  4800. math$(PPUEXT): $(OBJPASDIR)/math.pp objpas$(PPUEXT) sysutils$(PPUEXT)
  4801. $(COMPILER) $(OBJPASDIR)/math.pp
  4802. types$(PPUEXT) : $(OBJPASDIR)/types.pp objpas$(PPUEXT) math$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4803. $(COMPILER) $(OBJPASDIR)/types.pp
  4804. ctypes$(PPUEXT) : $(INC)/ctypes.pp unixtype$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4805. $(COMPILER) $<
  4806. dl$(PPUEXT) : $(UNIXINC)/dl.pp ctypes$(PPUEXT) objpas$(PPUEXT)
  4807. $(COMPILER) $<
  4808. dynlibs$(PPUEXT) : $(INC)/dynlibs.pas $(UNIXINC)/dynlibs.inc dl$(PPUEXT) objpas$(PPUEXT)
  4809. $(COMPILER) $<
  4810. cwstring$(PPUEXT) : $(UNIXINC)/cwstring.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT) baseunix$(PPUEXT) unix$(PPUEXT) unixtype$(PPUEXT) ctypes$(PPUEXT) dynlibs$(PPUEXT)
  4811. $(COMPILER) $<
  4812. character$(PPUEXT): sysutils$(PPUEXT) $(OBJPASDIR)/character.pas objpas$(PPUEXT) rtlconsts$(PPUEXT)
  4813. $(COMPILER) $(OBJPASDIR)/character.pas
  4814. macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT)
  4815. $(COMPILER) $(INC)/macpas.pp
  4816. iso7185$(PPUEXT) : $(INC)/iso7185.pp $(SYSTEMUNIT)$(PPUEXT)
  4817. $(COMPILER) $(INC)/iso7185.pp
  4818. extpas$(PPUEXT) : $(INC)/extpas.pp dos$(PPUEXT)
  4819. $(COMPILER) $(INC)/extpas.pp
  4820. x86$(PPUEXT) : $(UNIXINC)/x86.pp $(SYSTEMUNIT)$(PPUEXT)
  4821. $(COMPILER) $<
  4822. ports$(PPUEXT) : $(UNIXINC)/ports.pp $(SYSTEMUNIT)$(PPUEXT)
  4823. $(COMPILER) $<
  4824. ifneq ($(findstring $(ARCH),x86_64 i386),)
  4825. cpu$(PPUEXT) : $(PROCINC)/cpu.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT)
  4826. $(COMPILER) $<
  4827. else
  4828. cpu$(PPUEXT) : $(PROCINC)/cpu.pp $(SYSTEMUNIT)$(PPUEXT)
  4829. $(COMPILER) $<
  4830. endif
  4831. mmx$(PPUEXT) : $(PROCINC)/mmx.pp cpu$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4832. $(COMPILER) $<
  4833. getopts$(PPUEXT) : $(INC)/getopts.pp $(SYSTEMUNIT)$(PPUEXT)
  4834. $(COMPILER) $<
  4835. heaptrc$(PPUEXT) : $(INC)/heaptrc.pp $(SYSTEMUNIT)$(PPUEXT)
  4836. $(COMPILER) -Sg $(INC)/heaptrc.pp
  4837. lineinfo$(PPUEXT) : $(INC)/lineinfo.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT)
  4838. $(COMPILER) $<
  4839. lnfodwrf$(PPUEXT) : $(INC)/lnfodwrf.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT) lineinfo$(PPUEXT)
  4840. $(COMPILER) $<
  4841. charset$(PPUEXT) : $(INC)/charset.pp $(SYSTEMUNIT)$(PPUEXT)
  4842. $(COMPILER) $<
  4843. cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) charset$(PPUEXT)
  4844. $(COMPILER) -Fu$(INC) -Fi$(RTL)/charmaps $(RTL)/charmaps/cpall.pas
  4845. fpwidestring$(PPUEXT): $(OBJPASDIR)/fpwidestring.pp character$(PPUEXT) unixcp$(PPUEXT)
  4846. $(COMPILER) $<
  4847. bsd$(PPUEXT) : $(BSDINC)/bsd.pas initc$(PPUEXT) unix$(PPUEXT) syscall$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4848. $(COMPILER) $<
  4849. initc$(PPUEXT) : $(UNIXINC)/initc.pp ctypes$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4850. $(COMPILER) $<
  4851. sortbase$(PPUEXT) : $(INC)/sortbase.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4852. $(COMPILER) $<
  4853. cmem$(PPUEXT) : $(INC)/cmem.pp $(SYSTEMUNIT)$(PPUEXT)
  4854. $(COMPILER) $<
  4855. errors$(PPUEXT) : $(UNIXINC)/errors.pp strings$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4856. $(COMPILER) $<
  4857. callspec$(PPUEXT) : $(INC)/callspec.pp $(SYSTEMUNIT)$(PPUEXT)
  4858. $(COMPILER) $<
  4859. syscall$(PPUEXT) : $(UNIXINC)/syscall.pp baseunix$(PPUEXT)
  4860. $(COMPILER) $<
  4861. sysctl$(PPUEXT) : $(BSDINC)/sysctl.pp $(SYSTEMUNIT)$(PPUEXT) syscall$(PPUEXT) unixtype$(PPUEXT)
  4862. $(COMPILER) -Fu$(UNIXINC) -Fu$(BSDINC) $(BSDINC)/sysctl.pp
  4863. sysconst$(PPUEXT) : $(OBJPASDIR)/sysconst.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4864. $(COMPILER) $(OBJPASDIR)/sysconst.pp
  4865. cthreads$(PPUEXT) : $(UNIXINC)/cthreads.pp
  4866. $(COMPILER) $<
  4867. rtlconst$(PPUEXT) : $(OBJPASDIR)/rtlconst.pp
  4868. $(COMPILER) $(OBJPASDIR)/rtlconst.pp
  4869. softfpu$(PPUEXT) : $(INC)/softfpu.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT)
  4870. $(COMPILER) $<
  4871. sfpux80$(PPUEXT) : $(INC)/sfpux80.pp $(INC)/softfpu.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT)
  4872. $(COMPILER) $<
  4873. sfpu128$(PPUEXT) : $(INC)/sfpu128.pp $(INC)/softfpu.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT)
  4874. $(COMPILER) $<
  4875. ufloatx80$(PPUEXT) : $(INC)/ufloatx80.pp sfpux80$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4876. $(COMPILER) $<
  4877. ufloat128$(PPUEXT) : $(INC)/ufloat128.pp sfpu128$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4878. $(COMPILER) $<