Makefile 228 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831
  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=dragonfly
  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. COMMON=$(RTL)/common
  875. PROCINC=$(RTL)/$(CPU_TARGET)
  876. OSPROCINC=$(RTL)/dragonfly/$(CPU_TARGET)
  877. BSDINC=$(RTL)/bsd
  878. BSDPROCINC=$(BSDINC)/$(CPU_TARGET)
  879. UNIXINC=$(RTL)/unix
  880. UNITPREFIX=rtl
  881. CPU_UNITS=
  882. ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
  883. SYSTEMUNIT=system
  884. loaders+=gprt0
  885. else
  886. SYSTEMUNIT=sysbsd
  887. override FPCOPT+=-dUNIX
  888. endif
  889. ifeq ($(ARCH),x86_64)
  890. CPU_UNITS=x86 ports cpu
  891. endif
  892. ifdef RELEASE
  893. override FPCOPT+=-Ur
  894. endif
  895. OBJPASDIR=$(RTL)/objpas
  896. ifeq ($(CPU_OS_TARGET),i386-linux)
  897. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  898. endif
  899. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  900. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  901. endif
  902. ifeq ($(CPU_OS_TARGET),i386-win32)
  903. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  904. endif
  905. ifeq ($(CPU_OS_TARGET),i386-os2)
  906. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  907. endif
  908. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  909. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  910. endif
  911. ifeq ($(CPU_OS_TARGET),i386-beos)
  912. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  913. endif
  914. ifeq ($(CPU_OS_TARGET),i386-haiku)
  915. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  916. endif
  917. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  918. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  919. endif
  920. ifeq ($(CPU_OS_TARGET),i386-solaris)
  921. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  922. endif
  923. ifeq ($(CPU_OS_TARGET),i386-netware)
  924. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  925. endif
  926. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  927. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  928. endif
  929. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  930. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  931. endif
  932. ifeq ($(CPU_OS_TARGET),i386-darwin)
  933. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  934. endif
  935. ifeq ($(CPU_OS_TARGET),i386-emx)
  936. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  937. endif
  938. ifeq ($(CPU_OS_TARGET),i386-watcom)
  939. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  940. endif
  941. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  942. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  943. endif
  944. ifeq ($(CPU_OS_TARGET),i386-wince)
  945. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  946. endif
  947. ifeq ($(CPU_OS_TARGET),i386-embedded)
  948. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  949. endif
  950. ifeq ($(CPU_OS_TARGET),i386-symbian)
  951. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  952. endif
  953. ifeq ($(CPU_OS_TARGET),i386-nativent)
  954. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  955. endif
  956. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  957. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  958. endif
  959. ifeq ($(CPU_OS_TARGET),i386-android)
  960. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  961. endif
  962. ifeq ($(CPU_OS_TARGET),i386-aros)
  963. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  964. endif
  965. ifeq ($(CPU_OS_TARGET),m68k-linux)
  966. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  967. endif
  968. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  969. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  970. endif
  971. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  972. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  973. endif
  974. ifeq ($(CPU_OS_TARGET),m68k-atari)
  975. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  976. endif
  977. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  978. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  979. endif
  980. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  981. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  982. endif
  983. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  984. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  985. endif
  986. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  987. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  988. endif
  989. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  990. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  991. endif
  992. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  993. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  994. endif
  995. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  996. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  997. endif
  998. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  999. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1000. endif
  1001. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  1002. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1003. endif
  1004. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  1005. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1006. endif
  1007. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  1008. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1009. endif
  1010. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  1011. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1012. endif
  1013. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  1014. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1015. endif
  1016. ifeq ($(CPU_OS_TARGET),sparc-linux)
  1017. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1018. endif
  1019. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  1020. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1021. endif
  1022. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  1023. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1024. endif
  1025. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  1026. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1027. endif
  1028. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  1029. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1030. endif
  1031. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  1032. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1033. endif
  1034. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  1035. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1036. endif
  1037. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  1038. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1039. endif
  1040. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  1041. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1042. endif
  1043. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  1044. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1045. endif
  1046. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  1047. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1048. endif
  1049. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  1050. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1051. endif
  1052. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  1053. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1054. endif
  1055. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  1056. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1057. endif
  1058. ifeq ($(CPU_OS_TARGET),x86_64-android)
  1059. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1060. endif
  1061. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  1062. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1063. endif
  1064. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  1065. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1066. endif
  1067. ifeq ($(CPU_OS_TARGET),arm-linux)
  1068. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1069. endif
  1070. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  1071. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1072. endif
  1073. ifeq ($(CPU_OS_TARGET),arm-palmos)
  1074. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1075. endif
  1076. ifeq ($(CPU_OS_TARGET),arm-wince)
  1077. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1078. endif
  1079. ifeq ($(CPU_OS_TARGET),arm-gba)
  1080. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1081. endif
  1082. ifeq ($(CPU_OS_TARGET),arm-nds)
  1083. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1084. endif
  1085. ifeq ($(CPU_OS_TARGET),arm-embedded)
  1086. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1087. endif
  1088. ifeq ($(CPU_OS_TARGET),arm-symbian)
  1089. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1090. endif
  1091. ifeq ($(CPU_OS_TARGET),arm-android)
  1092. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1093. endif
  1094. ifeq ($(CPU_OS_TARGET),arm-aros)
  1095. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1096. endif
  1097. ifeq ($(CPU_OS_TARGET),arm-freertos)
  1098. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1099. endif
  1100. ifeq ($(CPU_OS_TARGET),arm-ios)
  1101. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1102. endif
  1103. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  1104. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1105. endif
  1106. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  1107. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1108. endif
  1109. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  1110. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1111. endif
  1112. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  1113. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1114. endif
  1115. ifeq ($(CPU_OS_TARGET),avr-embedded)
  1116. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1117. endif
  1118. ifeq ($(CPU_OS_TARGET),armeb-linux)
  1119. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1120. endif
  1121. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  1122. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1123. endif
  1124. ifeq ($(CPU_OS_TARGET),mips-linux)
  1125. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1126. endif
  1127. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  1128. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1129. endif
  1130. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  1131. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1132. endif
  1133. ifeq ($(CPU_OS_TARGET),mipsel-android)
  1134. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1135. endif
  1136. ifeq ($(CPU_OS_TARGET),mips64-linux)
  1137. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1138. endif
  1139. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  1140. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1141. endif
  1142. ifeq ($(CPU_OS_TARGET),jvm-java)
  1143. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1144. endif
  1145. ifeq ($(CPU_OS_TARGET),jvm-android)
  1146. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1147. endif
  1148. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  1149. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1150. endif
  1151. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  1152. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1153. endif
  1154. ifeq ($(CPU_OS_TARGET),i8086-win16)
  1155. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1156. endif
  1157. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  1158. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1159. endif
  1160. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  1161. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1162. endif
  1163. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  1164. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1165. endif
  1166. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  1167. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1168. endif
  1169. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  1170. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1171. endif
  1172. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  1173. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1174. endif
  1175. ifeq ($(CPU_OS_TARGET),aarch64-android)
  1176. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1177. endif
  1178. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  1179. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1180. endif
  1181. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  1182. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1183. endif
  1184. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  1185. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1186. endif
  1187. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  1188. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1189. endif
  1190. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  1191. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1192. endif
  1193. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  1194. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1195. endif
  1196. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  1197. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1198. endif
  1199. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  1200. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1201. endif
  1202. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  1203. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1204. endif
  1205. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  1206. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1207. endif
  1208. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  1209. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1210. endif
  1211. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  1212. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1213. endif
  1214. ifeq ($(CPU_OS_TARGET),z80-embedded)
  1215. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1216. endif
  1217. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  1218. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1219. endif
  1220. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  1221. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1222. endif
  1223. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  1224. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1225. endif
  1226. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  1227. override TARGET_UNITS+=$(SYSTEMUNIT) uuchar unixtype ctypes objpas macpas iso7185 extpas strings syscall sysctl baseunix unixutil character unix rtlconsts initc cmem dl termio sysutils math typinfo types sortbase classes fgl dynlibs $(CPU_UNITS) charset cpall getopts heaptrc lnfodwrf lineinfo errors bsd console sysconst cthreads dos cwstring fpintres unixcp fpwidestring softfpu sfpux80 ufloatx80 sfpu128 ufloat128
  1228. endif
  1229. ifeq ($(CPU_OS_TARGET),i386-linux)
  1230. 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
  1231. endif
  1232. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  1233. 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
  1234. endif
  1235. ifeq ($(CPU_OS_TARGET),i386-win32)
  1236. 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
  1237. endif
  1238. ifeq ($(CPU_OS_TARGET),i386-os2)
  1239. 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
  1240. endif
  1241. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  1242. 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
  1243. endif
  1244. ifeq ($(CPU_OS_TARGET),i386-beos)
  1245. 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
  1246. endif
  1247. ifeq ($(CPU_OS_TARGET),i386-haiku)
  1248. 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
  1249. endif
  1250. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  1251. 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
  1252. endif
  1253. ifeq ($(CPU_OS_TARGET),i386-solaris)
  1254. 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
  1255. endif
  1256. ifeq ($(CPU_OS_TARGET),i386-netware)
  1257. 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
  1258. endif
  1259. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  1260. 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
  1261. endif
  1262. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  1263. 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
  1264. endif
  1265. ifeq ($(CPU_OS_TARGET),i386-darwin)
  1266. 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
  1267. endif
  1268. ifeq ($(CPU_OS_TARGET),i386-emx)
  1269. 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
  1270. endif
  1271. ifeq ($(CPU_OS_TARGET),i386-watcom)
  1272. 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
  1273. endif
  1274. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  1275. 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
  1276. endif
  1277. ifeq ($(CPU_OS_TARGET),i386-wince)
  1278. 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
  1279. endif
  1280. ifeq ($(CPU_OS_TARGET),i386-embedded)
  1281. 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
  1282. endif
  1283. ifeq ($(CPU_OS_TARGET),i386-symbian)
  1284. 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
  1285. endif
  1286. ifeq ($(CPU_OS_TARGET),i386-nativent)
  1287. 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
  1288. endif
  1289. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  1290. 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
  1291. endif
  1292. ifeq ($(CPU_OS_TARGET),i386-android)
  1293. 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
  1294. endif
  1295. ifeq ($(CPU_OS_TARGET),i386-aros)
  1296. 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
  1297. endif
  1298. ifeq ($(CPU_OS_TARGET),m68k-linux)
  1299. 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
  1300. endif
  1301. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  1302. 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
  1303. endif
  1304. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  1305. 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
  1306. endif
  1307. ifeq ($(CPU_OS_TARGET),m68k-atari)
  1308. 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
  1309. endif
  1310. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  1311. 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
  1312. endif
  1313. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  1314. 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
  1315. endif
  1316. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  1317. 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
  1318. endif
  1319. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  1320. 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
  1321. endif
  1322. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  1323. 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
  1324. endif
  1325. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1326. 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
  1327. endif
  1328. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  1329. 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
  1330. endif
  1331. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  1332. 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
  1333. endif
  1334. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  1335. 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
  1336. endif
  1337. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  1338. 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
  1339. endif
  1340. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  1341. 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
  1342. endif
  1343. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  1344. 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
  1345. endif
  1346. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  1347. 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
  1348. endif
  1349. ifeq ($(CPU_OS_TARGET),sparc-linux)
  1350. 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
  1351. endif
  1352. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  1353. 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
  1354. endif
  1355. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  1356. 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
  1357. endif
  1358. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  1359. 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
  1360. endif
  1361. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  1362. 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
  1363. endif
  1364. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  1365. 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
  1366. endif
  1367. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  1368. 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
  1369. endif
  1370. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  1371. 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
  1372. endif
  1373. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  1374. 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
  1375. endif
  1376. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  1377. 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
  1378. endif
  1379. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  1380. 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
  1381. endif
  1382. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  1383. 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
  1384. endif
  1385. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  1386. 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
  1387. endif
  1388. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  1389. 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
  1390. endif
  1391. ifeq ($(CPU_OS_TARGET),x86_64-android)
  1392. 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
  1393. endif
  1394. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  1395. 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
  1396. endif
  1397. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  1398. 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
  1399. endif
  1400. ifeq ($(CPU_OS_TARGET),arm-linux)
  1401. 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
  1402. endif
  1403. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  1404. 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
  1405. endif
  1406. ifeq ($(CPU_OS_TARGET),arm-palmos)
  1407. 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
  1408. endif
  1409. ifeq ($(CPU_OS_TARGET),arm-wince)
  1410. 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
  1411. endif
  1412. ifeq ($(CPU_OS_TARGET),arm-gba)
  1413. 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
  1414. endif
  1415. ifeq ($(CPU_OS_TARGET),arm-nds)
  1416. 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
  1417. endif
  1418. ifeq ($(CPU_OS_TARGET),arm-embedded)
  1419. 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
  1420. endif
  1421. ifeq ($(CPU_OS_TARGET),arm-symbian)
  1422. 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
  1423. endif
  1424. ifeq ($(CPU_OS_TARGET),arm-android)
  1425. 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
  1426. endif
  1427. ifeq ($(CPU_OS_TARGET),arm-aros)
  1428. 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
  1429. endif
  1430. ifeq ($(CPU_OS_TARGET),arm-freertos)
  1431. 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
  1432. endif
  1433. ifeq ($(CPU_OS_TARGET),arm-ios)
  1434. 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
  1435. endif
  1436. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  1437. 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
  1438. endif
  1439. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  1440. 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
  1441. endif
  1442. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  1443. 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
  1444. endif
  1445. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  1446. 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
  1447. endif
  1448. ifeq ($(CPU_OS_TARGET),avr-embedded)
  1449. 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
  1450. endif
  1451. ifeq ($(CPU_OS_TARGET),armeb-linux)
  1452. 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
  1453. endif
  1454. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  1455. 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
  1456. endif
  1457. ifeq ($(CPU_OS_TARGET),mips-linux)
  1458. 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
  1459. endif
  1460. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  1461. 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
  1462. endif
  1463. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  1464. 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
  1465. endif
  1466. ifeq ($(CPU_OS_TARGET),mipsel-android)
  1467. 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
  1468. endif
  1469. ifeq ($(CPU_OS_TARGET),mips64-linux)
  1470. 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
  1471. endif
  1472. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  1473. 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
  1474. endif
  1475. ifeq ($(CPU_OS_TARGET),jvm-java)
  1476. 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
  1477. endif
  1478. ifeq ($(CPU_OS_TARGET),jvm-android)
  1479. 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
  1480. endif
  1481. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  1482. 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
  1483. endif
  1484. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  1485. 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
  1486. endif
  1487. ifeq ($(CPU_OS_TARGET),i8086-win16)
  1488. 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
  1489. endif
  1490. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  1491. 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
  1492. endif
  1493. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  1494. 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
  1495. endif
  1496. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  1497. 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
  1498. endif
  1499. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  1500. 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
  1501. endif
  1502. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  1503. 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
  1504. endif
  1505. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  1506. 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
  1507. endif
  1508. ifeq ($(CPU_OS_TARGET),aarch64-android)
  1509. 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
  1510. endif
  1511. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  1512. 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
  1513. endif
  1514. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  1515. 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
  1516. endif
  1517. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  1518. 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
  1519. endif
  1520. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  1521. 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
  1522. endif
  1523. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  1524. 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
  1525. endif
  1526. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  1527. 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
  1528. endif
  1529. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  1530. 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
  1531. endif
  1532. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  1533. 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
  1534. endif
  1535. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  1536. 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
  1537. endif
  1538. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  1539. 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
  1540. endif
  1541. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  1542. 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
  1543. endif
  1544. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  1545. 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
  1546. endif
  1547. ifeq ($(CPU_OS_TARGET),z80-embedded)
  1548. 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
  1549. endif
  1550. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  1551. 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
  1552. endif
  1553. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  1554. 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
  1555. endif
  1556. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  1557. 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
  1558. endif
  1559. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  1560. 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
  1561. endif
  1562. ifeq ($(CPU_OS_TARGET),i386-linux)
  1563. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1564. endif
  1565. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  1566. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1567. endif
  1568. ifeq ($(CPU_OS_TARGET),i386-win32)
  1569. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1570. endif
  1571. ifeq ($(CPU_OS_TARGET),i386-os2)
  1572. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1573. endif
  1574. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  1575. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1576. endif
  1577. ifeq ($(CPU_OS_TARGET),i386-beos)
  1578. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1579. endif
  1580. ifeq ($(CPU_OS_TARGET),i386-haiku)
  1581. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1582. endif
  1583. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  1584. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1585. endif
  1586. ifeq ($(CPU_OS_TARGET),i386-solaris)
  1587. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1588. endif
  1589. ifeq ($(CPU_OS_TARGET),i386-netware)
  1590. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1591. endif
  1592. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  1593. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1594. endif
  1595. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  1596. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1597. endif
  1598. ifeq ($(CPU_OS_TARGET),i386-darwin)
  1599. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1600. endif
  1601. ifeq ($(CPU_OS_TARGET),i386-emx)
  1602. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1603. endif
  1604. ifeq ($(CPU_OS_TARGET),i386-watcom)
  1605. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1606. endif
  1607. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  1608. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1609. endif
  1610. ifeq ($(CPU_OS_TARGET),i386-wince)
  1611. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1612. endif
  1613. ifeq ($(CPU_OS_TARGET),i386-embedded)
  1614. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1615. endif
  1616. ifeq ($(CPU_OS_TARGET),i386-symbian)
  1617. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1618. endif
  1619. ifeq ($(CPU_OS_TARGET),i386-nativent)
  1620. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1621. endif
  1622. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  1623. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1624. endif
  1625. ifeq ($(CPU_OS_TARGET),i386-android)
  1626. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1627. endif
  1628. ifeq ($(CPU_OS_TARGET),i386-aros)
  1629. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1630. endif
  1631. ifeq ($(CPU_OS_TARGET),m68k-linux)
  1632. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1633. endif
  1634. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  1635. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1636. endif
  1637. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  1638. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1639. endif
  1640. ifeq ($(CPU_OS_TARGET),m68k-atari)
  1641. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1642. endif
  1643. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  1644. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1645. endif
  1646. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  1647. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1648. endif
  1649. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  1650. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1651. endif
  1652. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  1653. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1654. endif
  1655. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  1656. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1657. endif
  1658. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1659. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1660. endif
  1661. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  1662. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1663. endif
  1664. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  1665. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1666. endif
  1667. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  1668. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1669. endif
  1670. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  1671. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1672. endif
  1673. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  1674. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1675. endif
  1676. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  1677. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1678. endif
  1679. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  1680. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1681. endif
  1682. ifeq ($(CPU_OS_TARGET),sparc-linux)
  1683. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1684. endif
  1685. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  1686. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1687. endif
  1688. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  1689. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1690. endif
  1691. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  1692. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1693. endif
  1694. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  1695. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1696. endif
  1697. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  1698. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1699. endif
  1700. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  1701. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1702. endif
  1703. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  1704. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1705. endif
  1706. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  1707. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1708. endif
  1709. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  1710. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1711. endif
  1712. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  1713. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1714. endif
  1715. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  1716. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1717. endif
  1718. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  1719. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1720. endif
  1721. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  1722. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1723. endif
  1724. ifeq ($(CPU_OS_TARGET),x86_64-android)
  1725. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1726. endif
  1727. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  1728. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1729. endif
  1730. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  1731. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1732. endif
  1733. ifeq ($(CPU_OS_TARGET),arm-linux)
  1734. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1735. endif
  1736. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  1737. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1738. endif
  1739. ifeq ($(CPU_OS_TARGET),arm-palmos)
  1740. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1741. endif
  1742. ifeq ($(CPU_OS_TARGET),arm-wince)
  1743. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1744. endif
  1745. ifeq ($(CPU_OS_TARGET),arm-gba)
  1746. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1747. endif
  1748. ifeq ($(CPU_OS_TARGET),arm-nds)
  1749. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1750. endif
  1751. ifeq ($(CPU_OS_TARGET),arm-embedded)
  1752. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1753. endif
  1754. ifeq ($(CPU_OS_TARGET),arm-symbian)
  1755. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1756. endif
  1757. ifeq ($(CPU_OS_TARGET),arm-android)
  1758. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1759. endif
  1760. ifeq ($(CPU_OS_TARGET),arm-aros)
  1761. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1762. endif
  1763. ifeq ($(CPU_OS_TARGET),arm-freertos)
  1764. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1765. endif
  1766. ifeq ($(CPU_OS_TARGET),arm-ios)
  1767. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1768. endif
  1769. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  1770. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1771. endif
  1772. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  1773. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1774. endif
  1775. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  1776. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1777. endif
  1778. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  1779. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1780. endif
  1781. ifeq ($(CPU_OS_TARGET),avr-embedded)
  1782. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1783. endif
  1784. ifeq ($(CPU_OS_TARGET),armeb-linux)
  1785. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1786. endif
  1787. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  1788. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1789. endif
  1790. ifeq ($(CPU_OS_TARGET),mips-linux)
  1791. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1792. endif
  1793. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  1794. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1795. endif
  1796. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  1797. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1798. endif
  1799. ifeq ($(CPU_OS_TARGET),mipsel-android)
  1800. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1801. endif
  1802. ifeq ($(CPU_OS_TARGET),mips64-linux)
  1803. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1804. endif
  1805. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  1806. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1807. endif
  1808. ifeq ($(CPU_OS_TARGET),jvm-java)
  1809. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1810. endif
  1811. ifeq ($(CPU_OS_TARGET),jvm-android)
  1812. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1813. endif
  1814. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  1815. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1816. endif
  1817. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  1818. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1819. endif
  1820. ifeq ($(CPU_OS_TARGET),i8086-win16)
  1821. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1822. endif
  1823. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  1824. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1825. endif
  1826. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  1827. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1828. endif
  1829. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  1830. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1831. endif
  1832. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  1833. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1834. endif
  1835. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  1836. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1837. endif
  1838. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  1839. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1840. endif
  1841. ifeq ($(CPU_OS_TARGET),aarch64-android)
  1842. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1843. endif
  1844. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  1845. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1846. endif
  1847. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  1848. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1849. endif
  1850. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  1851. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1852. endif
  1853. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  1854. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1855. endif
  1856. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  1857. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1858. endif
  1859. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  1860. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1861. endif
  1862. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  1863. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1864. endif
  1865. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  1866. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1867. endif
  1868. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  1869. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1870. endif
  1871. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  1872. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1873. endif
  1874. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  1875. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1876. endif
  1877. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  1878. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1879. endif
  1880. ifeq ($(CPU_OS_TARGET),z80-embedded)
  1881. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1882. endif
  1883. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  1884. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1885. endif
  1886. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  1887. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1888. endif
  1889. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  1890. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1891. endif
  1892. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  1893. override TARGET_LOADERS+=prt0 cprt0 gprt0 dllprt0
  1894. endif
  1895. ifeq ($(CPU_OS_TARGET),i386-linux)
  1896. override TARGET_RSTS+=math typinfo classes sysconst
  1897. endif
  1898. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  1899. override TARGET_RSTS+=math typinfo classes sysconst
  1900. endif
  1901. ifeq ($(CPU_OS_TARGET),i386-win32)
  1902. override TARGET_RSTS+=math typinfo classes sysconst
  1903. endif
  1904. ifeq ($(CPU_OS_TARGET),i386-os2)
  1905. override TARGET_RSTS+=math typinfo classes sysconst
  1906. endif
  1907. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  1908. override TARGET_RSTS+=math typinfo classes sysconst
  1909. endif
  1910. ifeq ($(CPU_OS_TARGET),i386-beos)
  1911. override TARGET_RSTS+=math typinfo classes sysconst
  1912. endif
  1913. ifeq ($(CPU_OS_TARGET),i386-haiku)
  1914. override TARGET_RSTS+=math typinfo classes sysconst
  1915. endif
  1916. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  1917. override TARGET_RSTS+=math typinfo classes sysconst
  1918. endif
  1919. ifeq ($(CPU_OS_TARGET),i386-solaris)
  1920. override TARGET_RSTS+=math typinfo classes sysconst
  1921. endif
  1922. ifeq ($(CPU_OS_TARGET),i386-netware)
  1923. override TARGET_RSTS+=math typinfo classes sysconst
  1924. endif
  1925. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  1926. override TARGET_RSTS+=math typinfo classes sysconst
  1927. endif
  1928. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  1929. override TARGET_RSTS+=math typinfo classes sysconst
  1930. endif
  1931. ifeq ($(CPU_OS_TARGET),i386-darwin)
  1932. override TARGET_RSTS+=math typinfo classes sysconst
  1933. endif
  1934. ifeq ($(CPU_OS_TARGET),i386-emx)
  1935. override TARGET_RSTS+=math typinfo classes sysconst
  1936. endif
  1937. ifeq ($(CPU_OS_TARGET),i386-watcom)
  1938. override TARGET_RSTS+=math typinfo classes sysconst
  1939. endif
  1940. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  1941. override TARGET_RSTS+=math typinfo classes sysconst
  1942. endif
  1943. ifeq ($(CPU_OS_TARGET),i386-wince)
  1944. override TARGET_RSTS+=math typinfo classes sysconst
  1945. endif
  1946. ifeq ($(CPU_OS_TARGET),i386-embedded)
  1947. override TARGET_RSTS+=math typinfo classes sysconst
  1948. endif
  1949. ifeq ($(CPU_OS_TARGET),i386-symbian)
  1950. override TARGET_RSTS+=math typinfo classes sysconst
  1951. endif
  1952. ifeq ($(CPU_OS_TARGET),i386-nativent)
  1953. override TARGET_RSTS+=math typinfo classes sysconst
  1954. endif
  1955. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  1956. override TARGET_RSTS+=math typinfo classes sysconst
  1957. endif
  1958. ifeq ($(CPU_OS_TARGET),i386-android)
  1959. override TARGET_RSTS+=math typinfo classes sysconst
  1960. endif
  1961. ifeq ($(CPU_OS_TARGET),i386-aros)
  1962. override TARGET_RSTS+=math typinfo classes sysconst
  1963. endif
  1964. ifeq ($(CPU_OS_TARGET),m68k-linux)
  1965. override TARGET_RSTS+=math typinfo classes sysconst
  1966. endif
  1967. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  1968. override TARGET_RSTS+=math typinfo classes sysconst
  1969. endif
  1970. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  1971. override TARGET_RSTS+=math typinfo classes sysconst
  1972. endif
  1973. ifeq ($(CPU_OS_TARGET),m68k-atari)
  1974. override TARGET_RSTS+=math typinfo classes sysconst
  1975. endif
  1976. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  1977. override TARGET_RSTS+=math typinfo classes sysconst
  1978. endif
  1979. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  1980. override TARGET_RSTS+=math typinfo classes sysconst
  1981. endif
  1982. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  1983. override TARGET_RSTS+=math typinfo classes sysconst
  1984. endif
  1985. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  1986. override TARGET_RSTS+=math typinfo classes sysconst
  1987. endif
  1988. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  1989. override TARGET_RSTS+=math typinfo classes sysconst
  1990. endif
  1991. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  1992. override TARGET_RSTS+=math typinfo classes sysconst
  1993. endif
  1994. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  1995. override TARGET_RSTS+=math typinfo classes sysconst
  1996. endif
  1997. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  1998. override TARGET_RSTS+=math typinfo classes sysconst
  1999. endif
  2000. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  2001. override TARGET_RSTS+=math typinfo classes sysconst
  2002. endif
  2003. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  2004. override TARGET_RSTS+=math typinfo classes sysconst
  2005. endif
  2006. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  2007. override TARGET_RSTS+=math typinfo classes sysconst
  2008. endif
  2009. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  2010. override TARGET_RSTS+=math typinfo classes sysconst
  2011. endif
  2012. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  2013. override TARGET_RSTS+=math typinfo classes sysconst
  2014. endif
  2015. ifeq ($(CPU_OS_TARGET),sparc-linux)
  2016. override TARGET_RSTS+=math typinfo classes sysconst
  2017. endif
  2018. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  2019. override TARGET_RSTS+=math typinfo classes sysconst
  2020. endif
  2021. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  2022. override TARGET_RSTS+=math typinfo classes sysconst
  2023. endif
  2024. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  2025. override TARGET_RSTS+=math typinfo classes sysconst
  2026. endif
  2027. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  2028. override TARGET_RSTS+=math typinfo classes sysconst
  2029. endif
  2030. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  2031. override TARGET_RSTS+=math typinfo classes sysconst
  2032. endif
  2033. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  2034. override TARGET_RSTS+=math typinfo classes sysconst
  2035. endif
  2036. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  2037. override TARGET_RSTS+=math typinfo classes sysconst
  2038. endif
  2039. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  2040. override TARGET_RSTS+=math typinfo classes sysconst
  2041. endif
  2042. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  2043. override TARGET_RSTS+=math typinfo classes sysconst
  2044. endif
  2045. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  2046. override TARGET_RSTS+=math typinfo classes sysconst
  2047. endif
  2048. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  2049. override TARGET_RSTS+=math typinfo classes sysconst
  2050. endif
  2051. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  2052. override TARGET_RSTS+=math typinfo classes sysconst
  2053. endif
  2054. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  2055. override TARGET_RSTS+=math typinfo classes sysconst
  2056. endif
  2057. ifeq ($(CPU_OS_TARGET),x86_64-android)
  2058. override TARGET_RSTS+=math typinfo classes sysconst
  2059. endif
  2060. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  2061. override TARGET_RSTS+=math typinfo classes sysconst
  2062. endif
  2063. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  2064. override TARGET_RSTS+=math typinfo classes sysconst
  2065. endif
  2066. ifeq ($(CPU_OS_TARGET),arm-linux)
  2067. override TARGET_RSTS+=math typinfo classes sysconst
  2068. endif
  2069. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  2070. override TARGET_RSTS+=math typinfo classes sysconst
  2071. endif
  2072. ifeq ($(CPU_OS_TARGET),arm-palmos)
  2073. override TARGET_RSTS+=math typinfo classes sysconst
  2074. endif
  2075. ifeq ($(CPU_OS_TARGET),arm-wince)
  2076. override TARGET_RSTS+=math typinfo classes sysconst
  2077. endif
  2078. ifeq ($(CPU_OS_TARGET),arm-gba)
  2079. override TARGET_RSTS+=math typinfo classes sysconst
  2080. endif
  2081. ifeq ($(CPU_OS_TARGET),arm-nds)
  2082. override TARGET_RSTS+=math typinfo classes sysconst
  2083. endif
  2084. ifeq ($(CPU_OS_TARGET),arm-embedded)
  2085. override TARGET_RSTS+=math typinfo classes sysconst
  2086. endif
  2087. ifeq ($(CPU_OS_TARGET),arm-symbian)
  2088. override TARGET_RSTS+=math typinfo classes sysconst
  2089. endif
  2090. ifeq ($(CPU_OS_TARGET),arm-android)
  2091. override TARGET_RSTS+=math typinfo classes sysconst
  2092. endif
  2093. ifeq ($(CPU_OS_TARGET),arm-aros)
  2094. override TARGET_RSTS+=math typinfo classes sysconst
  2095. endif
  2096. ifeq ($(CPU_OS_TARGET),arm-freertos)
  2097. override TARGET_RSTS+=math typinfo classes sysconst
  2098. endif
  2099. ifeq ($(CPU_OS_TARGET),arm-ios)
  2100. override TARGET_RSTS+=math typinfo classes sysconst
  2101. endif
  2102. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  2103. override TARGET_RSTS+=math typinfo classes sysconst
  2104. endif
  2105. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  2106. override TARGET_RSTS+=math typinfo classes sysconst
  2107. endif
  2108. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  2109. override TARGET_RSTS+=math typinfo classes sysconst
  2110. endif
  2111. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  2112. override TARGET_RSTS+=math typinfo classes sysconst
  2113. endif
  2114. ifeq ($(CPU_OS_TARGET),avr-embedded)
  2115. override TARGET_RSTS+=math typinfo classes sysconst
  2116. endif
  2117. ifeq ($(CPU_OS_TARGET),armeb-linux)
  2118. override TARGET_RSTS+=math typinfo classes sysconst
  2119. endif
  2120. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  2121. override TARGET_RSTS+=math typinfo classes sysconst
  2122. endif
  2123. ifeq ($(CPU_OS_TARGET),mips-linux)
  2124. override TARGET_RSTS+=math typinfo classes sysconst
  2125. endif
  2126. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  2127. override TARGET_RSTS+=math typinfo classes sysconst
  2128. endif
  2129. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  2130. override TARGET_RSTS+=math typinfo classes sysconst
  2131. endif
  2132. ifeq ($(CPU_OS_TARGET),mipsel-android)
  2133. override TARGET_RSTS+=math typinfo classes sysconst
  2134. endif
  2135. ifeq ($(CPU_OS_TARGET),mips64-linux)
  2136. override TARGET_RSTS+=math typinfo classes sysconst
  2137. endif
  2138. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  2139. override TARGET_RSTS+=math typinfo classes sysconst
  2140. endif
  2141. ifeq ($(CPU_OS_TARGET),jvm-java)
  2142. override TARGET_RSTS+=math typinfo classes sysconst
  2143. endif
  2144. ifeq ($(CPU_OS_TARGET),jvm-android)
  2145. override TARGET_RSTS+=math typinfo classes sysconst
  2146. endif
  2147. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  2148. override TARGET_RSTS+=math typinfo classes sysconst
  2149. endif
  2150. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  2151. override TARGET_RSTS+=math typinfo classes sysconst
  2152. endif
  2153. ifeq ($(CPU_OS_TARGET),i8086-win16)
  2154. override TARGET_RSTS+=math typinfo classes sysconst
  2155. endif
  2156. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  2157. override TARGET_RSTS+=math typinfo classes sysconst
  2158. endif
  2159. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  2160. override TARGET_RSTS+=math typinfo classes sysconst
  2161. endif
  2162. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  2163. override TARGET_RSTS+=math typinfo classes sysconst
  2164. endif
  2165. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  2166. override TARGET_RSTS+=math typinfo classes sysconst
  2167. endif
  2168. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  2169. override TARGET_RSTS+=math typinfo classes sysconst
  2170. endif
  2171. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  2172. override TARGET_RSTS+=math typinfo classes sysconst
  2173. endif
  2174. ifeq ($(CPU_OS_TARGET),aarch64-android)
  2175. override TARGET_RSTS+=math typinfo classes sysconst
  2176. endif
  2177. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  2178. override TARGET_RSTS+=math typinfo classes sysconst
  2179. endif
  2180. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  2181. override TARGET_RSTS+=math typinfo classes sysconst
  2182. endif
  2183. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  2184. override TARGET_RSTS+=math typinfo classes sysconst
  2185. endif
  2186. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  2187. override TARGET_RSTS+=math typinfo classes sysconst
  2188. endif
  2189. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  2190. override TARGET_RSTS+=math typinfo classes sysconst
  2191. endif
  2192. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  2193. override TARGET_RSTS+=math typinfo classes sysconst
  2194. endif
  2195. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  2196. override TARGET_RSTS+=math typinfo classes sysconst
  2197. endif
  2198. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  2199. override TARGET_RSTS+=math typinfo classes sysconst
  2200. endif
  2201. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  2202. override TARGET_RSTS+=math typinfo classes sysconst
  2203. endif
  2204. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  2205. override TARGET_RSTS+=math typinfo classes sysconst
  2206. endif
  2207. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  2208. override TARGET_RSTS+=math typinfo classes sysconst
  2209. endif
  2210. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  2211. override TARGET_RSTS+=math typinfo classes sysconst
  2212. endif
  2213. ifeq ($(CPU_OS_TARGET),z80-embedded)
  2214. override TARGET_RSTS+=math typinfo classes sysconst
  2215. endif
  2216. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  2217. override TARGET_RSTS+=math typinfo classes sysconst
  2218. endif
  2219. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  2220. override TARGET_RSTS+=math typinfo classes sysconst
  2221. endif
  2222. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  2223. override TARGET_RSTS+=math typinfo classes sysconst
  2224. endif
  2225. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  2226. override TARGET_RSTS+=math typinfo classes sysconst
  2227. endif
  2228. override INSTALL_FPCPACKAGE=y y y
  2229. ifeq ($(CPU_OS_TARGET),i386-linux)
  2230. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2231. endif
  2232. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  2233. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2234. endif
  2235. ifeq ($(CPU_OS_TARGET),i386-win32)
  2236. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2237. endif
  2238. ifeq ($(CPU_OS_TARGET),i386-os2)
  2239. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2240. endif
  2241. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  2242. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2243. endif
  2244. ifeq ($(CPU_OS_TARGET),i386-beos)
  2245. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2246. endif
  2247. ifeq ($(CPU_OS_TARGET),i386-haiku)
  2248. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2249. endif
  2250. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  2251. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2252. endif
  2253. ifeq ($(CPU_OS_TARGET),i386-solaris)
  2254. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2255. endif
  2256. ifeq ($(CPU_OS_TARGET),i386-netware)
  2257. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2258. endif
  2259. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  2260. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2261. endif
  2262. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  2263. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2264. endif
  2265. ifeq ($(CPU_OS_TARGET),i386-darwin)
  2266. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2267. endif
  2268. ifeq ($(CPU_OS_TARGET),i386-emx)
  2269. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2270. endif
  2271. ifeq ($(CPU_OS_TARGET),i386-watcom)
  2272. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2273. endif
  2274. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  2275. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2276. endif
  2277. ifeq ($(CPU_OS_TARGET),i386-wince)
  2278. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2279. endif
  2280. ifeq ($(CPU_OS_TARGET),i386-embedded)
  2281. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2282. endif
  2283. ifeq ($(CPU_OS_TARGET),i386-symbian)
  2284. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2285. endif
  2286. ifeq ($(CPU_OS_TARGET),i386-nativent)
  2287. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2288. endif
  2289. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  2290. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2291. endif
  2292. ifeq ($(CPU_OS_TARGET),i386-android)
  2293. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2294. endif
  2295. ifeq ($(CPU_OS_TARGET),i386-aros)
  2296. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2297. endif
  2298. ifeq ($(CPU_OS_TARGET),m68k-linux)
  2299. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2300. endif
  2301. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  2302. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2303. endif
  2304. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  2305. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2306. endif
  2307. ifeq ($(CPU_OS_TARGET),m68k-atari)
  2308. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2309. endif
  2310. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  2311. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2312. endif
  2313. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  2314. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2315. endif
  2316. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  2317. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2318. endif
  2319. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  2320. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2321. endif
  2322. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  2323. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2324. endif
  2325. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  2326. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2327. endif
  2328. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  2329. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2330. endif
  2331. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  2332. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2333. endif
  2334. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  2335. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2336. endif
  2337. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  2338. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2339. endif
  2340. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  2341. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2342. endif
  2343. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  2344. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2345. endif
  2346. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  2347. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2348. endif
  2349. ifeq ($(CPU_OS_TARGET),sparc-linux)
  2350. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2351. endif
  2352. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  2353. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2354. endif
  2355. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  2356. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2357. endif
  2358. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  2359. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2360. endif
  2361. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  2362. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2363. endif
  2364. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  2365. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2366. endif
  2367. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  2368. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2369. endif
  2370. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  2371. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2372. endif
  2373. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  2374. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2375. endif
  2376. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  2377. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2378. endif
  2379. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  2380. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2381. endif
  2382. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  2383. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2384. endif
  2385. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  2386. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2387. endif
  2388. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  2389. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2390. endif
  2391. ifeq ($(CPU_OS_TARGET),x86_64-android)
  2392. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2393. endif
  2394. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  2395. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2396. endif
  2397. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  2398. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2399. endif
  2400. ifeq ($(CPU_OS_TARGET),arm-linux)
  2401. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2402. endif
  2403. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  2404. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2405. endif
  2406. ifeq ($(CPU_OS_TARGET),arm-palmos)
  2407. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2408. endif
  2409. ifeq ($(CPU_OS_TARGET),arm-wince)
  2410. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2411. endif
  2412. ifeq ($(CPU_OS_TARGET),arm-gba)
  2413. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2414. endif
  2415. ifeq ($(CPU_OS_TARGET),arm-nds)
  2416. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2417. endif
  2418. ifeq ($(CPU_OS_TARGET),arm-embedded)
  2419. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2420. endif
  2421. ifeq ($(CPU_OS_TARGET),arm-symbian)
  2422. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2423. endif
  2424. ifeq ($(CPU_OS_TARGET),arm-android)
  2425. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2426. endif
  2427. ifeq ($(CPU_OS_TARGET),arm-aros)
  2428. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2429. endif
  2430. ifeq ($(CPU_OS_TARGET),arm-freertos)
  2431. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2432. endif
  2433. ifeq ($(CPU_OS_TARGET),arm-ios)
  2434. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2435. endif
  2436. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  2437. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2438. endif
  2439. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  2440. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2441. endif
  2442. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  2443. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2444. endif
  2445. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  2446. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2447. endif
  2448. ifeq ($(CPU_OS_TARGET),avr-embedded)
  2449. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2450. endif
  2451. ifeq ($(CPU_OS_TARGET),armeb-linux)
  2452. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2453. endif
  2454. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  2455. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2456. endif
  2457. ifeq ($(CPU_OS_TARGET),mips-linux)
  2458. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2459. endif
  2460. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  2461. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2462. endif
  2463. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  2464. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2465. endif
  2466. ifeq ($(CPU_OS_TARGET),mipsel-android)
  2467. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2468. endif
  2469. ifeq ($(CPU_OS_TARGET),mips64-linux)
  2470. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2471. endif
  2472. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  2473. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2474. endif
  2475. ifeq ($(CPU_OS_TARGET),jvm-java)
  2476. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2477. endif
  2478. ifeq ($(CPU_OS_TARGET),jvm-android)
  2479. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2480. endif
  2481. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  2482. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2483. endif
  2484. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  2485. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2486. endif
  2487. ifeq ($(CPU_OS_TARGET),i8086-win16)
  2488. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2489. endif
  2490. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  2491. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2492. endif
  2493. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  2494. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2495. endif
  2496. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  2497. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2498. endif
  2499. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  2500. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2501. endif
  2502. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  2503. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2504. endif
  2505. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  2506. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2507. endif
  2508. ifeq ($(CPU_OS_TARGET),aarch64-android)
  2509. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2510. endif
  2511. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  2512. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2513. endif
  2514. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  2515. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2516. endif
  2517. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  2518. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2519. endif
  2520. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  2521. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2522. endif
  2523. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  2524. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2525. endif
  2526. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  2527. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2528. endif
  2529. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  2530. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2531. endif
  2532. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  2533. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2534. endif
  2535. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  2536. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2537. endif
  2538. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  2539. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2540. endif
  2541. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  2542. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2543. endif
  2544. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  2545. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2546. endif
  2547. ifeq ($(CPU_OS_TARGET),z80-embedded)
  2548. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2549. endif
  2550. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  2551. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2552. endif
  2553. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  2554. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2555. endif
  2556. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  2557. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2558. endif
  2559. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  2560. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(BSDPROCINC) $(OSPROCINC)
  2561. endif
  2562. ifeq ($(CPU_OS_TARGET),i386-linux)
  2563. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2564. endif
  2565. ifeq ($(CPU_OS_TARGET),i386-go32v2)
  2566. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2567. endif
  2568. ifeq ($(CPU_OS_TARGET),i386-win32)
  2569. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2570. endif
  2571. ifeq ($(CPU_OS_TARGET),i386-os2)
  2572. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2573. endif
  2574. ifeq ($(CPU_OS_TARGET),i386-freebsd)
  2575. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2576. endif
  2577. ifeq ($(CPU_OS_TARGET),i386-beos)
  2578. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2579. endif
  2580. ifeq ($(CPU_OS_TARGET),i386-haiku)
  2581. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2582. endif
  2583. ifeq ($(CPU_OS_TARGET),i386-netbsd)
  2584. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2585. endif
  2586. ifeq ($(CPU_OS_TARGET),i386-solaris)
  2587. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2588. endif
  2589. ifeq ($(CPU_OS_TARGET),i386-netware)
  2590. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2591. endif
  2592. ifeq ($(CPU_OS_TARGET),i386-openbsd)
  2593. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2594. endif
  2595. ifeq ($(CPU_OS_TARGET),i386-wdosx)
  2596. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2597. endif
  2598. ifeq ($(CPU_OS_TARGET),i386-darwin)
  2599. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2600. endif
  2601. ifeq ($(CPU_OS_TARGET),i386-emx)
  2602. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2603. endif
  2604. ifeq ($(CPU_OS_TARGET),i386-watcom)
  2605. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2606. endif
  2607. ifeq ($(CPU_OS_TARGET),i386-netwlibc)
  2608. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2609. endif
  2610. ifeq ($(CPU_OS_TARGET),i386-wince)
  2611. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2612. endif
  2613. ifeq ($(CPU_OS_TARGET),i386-embedded)
  2614. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2615. endif
  2616. ifeq ($(CPU_OS_TARGET),i386-symbian)
  2617. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2618. endif
  2619. ifeq ($(CPU_OS_TARGET),i386-nativent)
  2620. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2621. endif
  2622. ifeq ($(CPU_OS_TARGET),i386-iphonesim)
  2623. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2624. endif
  2625. ifeq ($(CPU_OS_TARGET),i386-android)
  2626. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2627. endif
  2628. ifeq ($(CPU_OS_TARGET),i386-aros)
  2629. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2630. endif
  2631. ifeq ($(CPU_OS_TARGET),m68k-linux)
  2632. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2633. endif
  2634. ifeq ($(CPU_OS_TARGET),m68k-netbsd)
  2635. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2636. endif
  2637. ifeq ($(CPU_OS_TARGET),m68k-amiga)
  2638. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2639. endif
  2640. ifeq ($(CPU_OS_TARGET),m68k-atari)
  2641. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2642. endif
  2643. ifeq ($(CPU_OS_TARGET),m68k-palmos)
  2644. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2645. endif
  2646. ifeq ($(CPU_OS_TARGET),m68k-macosclassic)
  2647. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2648. endif
  2649. ifeq ($(CPU_OS_TARGET),m68k-embedded)
  2650. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2651. endif
  2652. ifeq ($(CPU_OS_TARGET),m68k-sinclairql)
  2653. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2654. endif
  2655. ifeq ($(CPU_OS_TARGET),powerpc-linux)
  2656. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2657. endif
  2658. ifeq ($(CPU_OS_TARGET),powerpc-netbsd)
  2659. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2660. endif
  2661. ifeq ($(CPU_OS_TARGET),powerpc-amiga)
  2662. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2663. endif
  2664. ifeq ($(CPU_OS_TARGET),powerpc-macosclassic)
  2665. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2666. endif
  2667. ifeq ($(CPU_OS_TARGET),powerpc-darwin)
  2668. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2669. endif
  2670. ifeq ($(CPU_OS_TARGET),powerpc-morphos)
  2671. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2672. endif
  2673. ifeq ($(CPU_OS_TARGET),powerpc-embedded)
  2674. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2675. endif
  2676. ifeq ($(CPU_OS_TARGET),powerpc-wii)
  2677. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2678. endif
  2679. ifeq ($(CPU_OS_TARGET),powerpc-aix)
  2680. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2681. endif
  2682. ifeq ($(CPU_OS_TARGET),sparc-linux)
  2683. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2684. endif
  2685. ifeq ($(CPU_OS_TARGET),sparc-netbsd)
  2686. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2687. endif
  2688. ifeq ($(CPU_OS_TARGET),sparc-solaris)
  2689. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2690. endif
  2691. ifeq ($(CPU_OS_TARGET),sparc-embedded)
  2692. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2693. endif
  2694. ifeq ($(CPU_OS_TARGET),x86_64-linux)
  2695. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2696. endif
  2697. ifeq ($(CPU_OS_TARGET),x86_64-freebsd)
  2698. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2699. endif
  2700. ifeq ($(CPU_OS_TARGET),x86_64-haiku)
  2701. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2702. endif
  2703. ifeq ($(CPU_OS_TARGET),x86_64-netbsd)
  2704. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2705. endif
  2706. ifeq ($(CPU_OS_TARGET),x86_64-solaris)
  2707. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2708. endif
  2709. ifeq ($(CPU_OS_TARGET),x86_64-openbsd)
  2710. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2711. endif
  2712. ifeq ($(CPU_OS_TARGET),x86_64-darwin)
  2713. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2714. endif
  2715. ifeq ($(CPU_OS_TARGET),x86_64-win64)
  2716. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2717. endif
  2718. ifeq ($(CPU_OS_TARGET),x86_64-embedded)
  2719. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2720. endif
  2721. ifeq ($(CPU_OS_TARGET),x86_64-iphonesim)
  2722. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2723. endif
  2724. ifeq ($(CPU_OS_TARGET),x86_64-android)
  2725. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2726. endif
  2727. ifeq ($(CPU_OS_TARGET),x86_64-aros)
  2728. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2729. endif
  2730. ifeq ($(CPU_OS_TARGET),x86_64-dragonfly)
  2731. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2732. endif
  2733. ifeq ($(CPU_OS_TARGET),arm-linux)
  2734. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2735. endif
  2736. ifeq ($(CPU_OS_TARGET),arm-netbsd)
  2737. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2738. endif
  2739. ifeq ($(CPU_OS_TARGET),arm-palmos)
  2740. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2741. endif
  2742. ifeq ($(CPU_OS_TARGET),arm-wince)
  2743. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2744. endif
  2745. ifeq ($(CPU_OS_TARGET),arm-gba)
  2746. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2747. endif
  2748. ifeq ($(CPU_OS_TARGET),arm-nds)
  2749. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2750. endif
  2751. ifeq ($(CPU_OS_TARGET),arm-embedded)
  2752. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2753. endif
  2754. ifeq ($(CPU_OS_TARGET),arm-symbian)
  2755. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2756. endif
  2757. ifeq ($(CPU_OS_TARGET),arm-android)
  2758. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2759. endif
  2760. ifeq ($(CPU_OS_TARGET),arm-aros)
  2761. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2762. endif
  2763. ifeq ($(CPU_OS_TARGET),arm-freertos)
  2764. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2765. endif
  2766. ifeq ($(CPU_OS_TARGET),arm-ios)
  2767. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2768. endif
  2769. ifeq ($(CPU_OS_TARGET),powerpc64-linux)
  2770. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2771. endif
  2772. ifeq ($(CPU_OS_TARGET),powerpc64-darwin)
  2773. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2774. endif
  2775. ifeq ($(CPU_OS_TARGET),powerpc64-embedded)
  2776. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2777. endif
  2778. ifeq ($(CPU_OS_TARGET),powerpc64-aix)
  2779. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2780. endif
  2781. ifeq ($(CPU_OS_TARGET),avr-embedded)
  2782. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2783. endif
  2784. ifeq ($(CPU_OS_TARGET),armeb-linux)
  2785. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2786. endif
  2787. ifeq ($(CPU_OS_TARGET),armeb-embedded)
  2788. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2789. endif
  2790. ifeq ($(CPU_OS_TARGET),mips-linux)
  2791. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2792. endif
  2793. ifeq ($(CPU_OS_TARGET),mipsel-linux)
  2794. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2795. endif
  2796. ifeq ($(CPU_OS_TARGET),mipsel-embedded)
  2797. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2798. endif
  2799. ifeq ($(CPU_OS_TARGET),mipsel-android)
  2800. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2801. endif
  2802. ifeq ($(CPU_OS_TARGET),mips64-linux)
  2803. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2804. endif
  2805. ifeq ($(CPU_OS_TARGET),mips64el-linux)
  2806. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2807. endif
  2808. ifeq ($(CPU_OS_TARGET),jvm-java)
  2809. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2810. endif
  2811. ifeq ($(CPU_OS_TARGET),jvm-android)
  2812. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2813. endif
  2814. ifeq ($(CPU_OS_TARGET),i8086-embedded)
  2815. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2816. endif
  2817. ifeq ($(CPU_OS_TARGET),i8086-msdos)
  2818. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2819. endif
  2820. ifeq ($(CPU_OS_TARGET),i8086-win16)
  2821. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2822. endif
  2823. ifeq ($(CPU_OS_TARGET),aarch64-linux)
  2824. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2825. endif
  2826. ifeq ($(CPU_OS_TARGET),aarch64-freebsd)
  2827. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2828. endif
  2829. ifeq ($(CPU_OS_TARGET),aarch64-darwin)
  2830. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2831. endif
  2832. ifeq ($(CPU_OS_TARGET),aarch64-win64)
  2833. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2834. endif
  2835. ifeq ($(CPU_OS_TARGET),aarch64-embedded)
  2836. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2837. endif
  2838. ifeq ($(CPU_OS_TARGET),aarch64-iphonesim)
  2839. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2840. endif
  2841. ifeq ($(CPU_OS_TARGET),aarch64-android)
  2842. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2843. endif
  2844. ifeq ($(CPU_OS_TARGET),aarch64-ios)
  2845. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2846. endif
  2847. ifeq ($(CPU_OS_TARGET),wasm32-embedded)
  2848. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2849. endif
  2850. ifeq ($(CPU_OS_TARGET),wasm32-wasi)
  2851. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2852. endif
  2853. ifeq ($(CPU_OS_TARGET),sparc64-linux)
  2854. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2855. endif
  2856. ifeq ($(CPU_OS_TARGET),riscv32-linux)
  2857. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2858. endif
  2859. ifeq ($(CPU_OS_TARGET),riscv32-embedded)
  2860. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2861. endif
  2862. ifeq ($(CPU_OS_TARGET),riscv32-freertos)
  2863. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2864. endif
  2865. ifeq ($(CPU_OS_TARGET),riscv64-linux)
  2866. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2867. endif
  2868. ifeq ($(CPU_OS_TARGET),riscv64-embedded)
  2869. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2870. endif
  2871. ifeq ($(CPU_OS_TARGET),xtensa-linux)
  2872. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2873. endif
  2874. ifeq ($(CPU_OS_TARGET),xtensa-embedded)
  2875. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2876. endif
  2877. ifeq ($(CPU_OS_TARGET),xtensa-freertos)
  2878. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2879. endif
  2880. ifeq ($(CPU_OS_TARGET),z80-embedded)
  2881. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2882. endif
  2883. ifeq ($(CPU_OS_TARGET),z80-zxspectrum)
  2884. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2885. endif
  2886. ifeq ($(CPU_OS_TARGET),z80-msxdos)
  2887. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2888. endif
  2889. ifeq ($(CPU_OS_TARGET),z80-amstradcpc)
  2890. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2891. endif
  2892. ifeq ($(CPU_OS_TARGET),loongarch64-linux)
  2893. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(UNIXINC) $(BSDINC) $(COMMON)
  2894. endif
  2895. ifdef REQUIRE_UNITSDIR
  2896. override UNITSDIR+=$(REQUIRE_UNITSDIR)
  2897. endif
  2898. ifdef REQUIRE_PACKAGESDIR
  2899. override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
  2900. endif
  2901. ifdef ZIPINSTALL
  2902. ifneq ($(filter $(OS_TARGET),$(UNIXs)),)
  2903. UNIXHier=1
  2904. endif
  2905. else
  2906. ifneq ($(filter $(OS_SOURCE),$(UNIXs)),)
  2907. UNIXHier=1
  2908. endif
  2909. endif
  2910. ifndef INSTALL_PREFIX
  2911. ifdef PREFIX
  2912. INSTALL_PREFIX=$(PREFIX)
  2913. endif
  2914. endif
  2915. ifndef INSTALL_PREFIX
  2916. ifdef UNIXHier
  2917. INSTALL_PREFIX=/usr/local
  2918. else
  2919. ifdef INSTALL_FPCPACKAGE
  2920. INSTALL_BASEDIR:=/pp
  2921. else
  2922. INSTALL_BASEDIR:=/$(PACKAGE_NAME)
  2923. endif
  2924. endif
  2925. endif
  2926. export INSTALL_PREFIX
  2927. ifdef INSTALL_FPCSUBDIR
  2928. export INSTALL_FPCSUBDIR
  2929. endif
  2930. ifndef DIST_DESTDIR
  2931. DIST_DESTDIR:=$(BASEDIR)
  2932. endif
  2933. export DIST_DESTDIR
  2934. ifndef COMPILER_UNITTARGETDIR
  2935. ifdef PACKAGEDIR_MAIN
  2936. COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX)
  2937. else
  2938. COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX)
  2939. endif
  2940. endif
  2941. ifndef COMPILER_TARGETDIR
  2942. COMPILER_TARGETDIR=.
  2943. endif
  2944. ifndef INSTALL_BASEDIR
  2945. ifdef UNIXHier
  2946. ifdef INSTALL_FPCPACKAGE
  2947. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION)
  2948. else
  2949. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME)
  2950. endif
  2951. else
  2952. INSTALL_BASEDIR:=$(INSTALL_PREFIX)
  2953. endif
  2954. endif
  2955. ifndef INSTALL_BINDIR
  2956. ifdef UNIXHier
  2957. INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
  2958. else
  2959. INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
  2960. ifdef INSTALL_FPCPACKAGE
  2961. ifdef CROSSCOMPILE
  2962. ifdef CROSSINSTALL
  2963. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX)
  2964. else
  2965. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  2966. endif
  2967. else
  2968. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  2969. endif
  2970. endif
  2971. endif
  2972. endif
  2973. ifndef INSTALL_UNITDIR
  2974. INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX)
  2975. ifdef INSTALL_FPCPACKAGE
  2976. ifdef PACKAGE_NAME
  2977. INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME)
  2978. endif
  2979. endif
  2980. endif
  2981. ifndef INSTALL_LIBDIR
  2982. ifdef UNIXHier
  2983. INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib
  2984. else
  2985. INSTALL_LIBDIR:=$(INSTALL_UNITDIR)
  2986. endif
  2987. endif
  2988. ifndef INSTALL_SOURCEDIR
  2989. ifdef UNIXHier
  2990. ifdef BSDhier
  2991. SRCPREFIXDIR=share/src
  2992. else
  2993. ifdef linuxHier
  2994. SRCPREFIXDIR=share/src
  2995. else
  2996. SRCPREFIXDIR=src
  2997. endif
  2998. endif
  2999. ifdef INSTALL_FPCPACKAGE
  3000. ifdef INSTALL_FPCSUBDIR
  3001. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  3002. else
  3003. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  3004. endif
  3005. else
  3006. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3007. endif
  3008. else
  3009. ifdef INSTALL_FPCPACKAGE
  3010. ifdef INSTALL_FPCSUBDIR
  3011. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  3012. else
  3013. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
  3014. endif
  3015. else
  3016. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
  3017. endif
  3018. endif
  3019. endif
  3020. ifndef INSTALL_DOCDIR
  3021. ifdef UNIXHier
  3022. ifdef BSDhier
  3023. DOCPREFIXDIR=share/doc
  3024. else
  3025. ifdef linuxHier
  3026. DOCPREFIXDIR=share/doc
  3027. else
  3028. DOCPREFIXDIR=doc
  3029. endif
  3030. endif
  3031. ifdef INSTALL_FPCPACKAGE
  3032. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  3033. else
  3034. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3035. endif
  3036. else
  3037. ifdef INSTALL_FPCPACKAGE
  3038. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME)
  3039. else
  3040. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc
  3041. endif
  3042. endif
  3043. endif
  3044. ifndef INSTALL_EXAMPLEDIR
  3045. ifdef UNIXHier
  3046. ifdef INSTALL_FPCPACKAGE
  3047. ifdef BSDhier
  3048. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  3049. else
  3050. ifdef linuxHier
  3051. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples
  3052. else
  3053. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME)
  3054. endif
  3055. endif
  3056. else
  3057. ifdef BSDhier
  3058. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3059. else
  3060. ifdef linuxHier
  3061. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3062. else
  3063. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  3064. endif
  3065. endif
  3066. endif
  3067. else
  3068. ifdef INSTALL_FPCPACKAGE
  3069. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME)
  3070. else
  3071. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples
  3072. endif
  3073. endif
  3074. endif
  3075. ifndef INSTALL_DATADIR
  3076. INSTALL_DATADIR=$(INSTALL_BASEDIR)
  3077. endif
  3078. ifndef INSTALL_SHAREDDIR
  3079. INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
  3080. endif
  3081. ifdef CROSSCOMPILE
  3082. ifndef CROSSBINDIR
  3083. CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
  3084. ifeq ($(CROSSBINDIR),)
  3085. CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE))
  3086. endif
  3087. endif
  3088. else
  3089. CROSSBINDIR=
  3090. endif
  3091. ifeq ($(OS_SOURCE),linux)
  3092. ifndef GCCLIBDIR
  3093. ifeq ($(CPU_TARGET),i386)
  3094. ifneq ($(filter x86_64,$(shell uname -a)),)
  3095. ifeq ($(BINUTILSPREFIX),)
  3096. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  3097. else
  3098. CROSSGCCOPT=-m32
  3099. endif
  3100. endif
  3101. endif
  3102. ifeq ($(CPU_TARGET),powerpc)
  3103. ifeq ($(BINUTILSPREFIX),)
  3104. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  3105. else
  3106. CROSSGCCOPT=-m32
  3107. endif
  3108. endif
  3109. ifeq ($(CPU_TARGET),powerpc64)
  3110. ifeq ($(BINUTILSPREFIX),)
  3111. GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
  3112. else
  3113. CROSSGCCOPT=-m64
  3114. endif
  3115. endif
  3116. ifeq ($(CPU_TARGET),sparc)
  3117. ifneq ($(filter sparc64,$(shell uname -a)),)
  3118. ifeq ($(BINUTILSPREFIX),)
  3119. GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
  3120. else
  3121. CROSSGCCOPT=-m32
  3122. endif
  3123. endif
  3124. endif
  3125. ifneq ($(filter $(CPU_TARGET),mips64 mipsel64),)
  3126. ifeq ($(BINUTILSPREFIX),)
  3127. GCCLIBDIR:=$(shell dirname `gcc -mabi=64 -print-libgcc-file-name`)
  3128. else
  3129. CROSSGCCOPT=-mabi=64
  3130. endif
  3131. endif
  3132. ifneq ($(filter $(CPU_TARGET),mips mipsel),)
  3133. ifeq ($(BINUTILSPREFIX),)
  3134. GCCLIBDIR:=$(shell dirname `gcc -mabi=32 -print-libgcc-file-name`)
  3135. else
  3136. CROSSGCCOPT=-mabi=32
  3137. endif
  3138. endif
  3139. ifeq ($(BINUTILSPREFIX),)
  3140. ifeq ($(GCCLIBDIR),)
  3141. GCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
  3142. endif
  3143. else
  3144. ifeq ($(CROSSGCCOPT),)
  3145. CROSSGCCOPT=-g
  3146. endif
  3147. endif
  3148. endif
  3149. ifdef FPCFPMAKE
  3150. FPCFPMAKE_CPU_TARGET=$(shell $(FPCFPMAKE) -iTP)
  3151. ifeq ($(CPU_TARGET),$(FPCFPMAKE_CPU_TARGET))
  3152. FPCMAKEGCCLIBDIR:=$(GCCLIBDIR)
  3153. else
  3154. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),aarch64 powerpc64 riscv64 sparc64 x86_64 loongarch64),)
  3155. FPCMAKE_CROSSGCCOPT=-m64
  3156. else
  3157. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),mips64 mips64el),)
  3158. FPCMAKE_CROSSGCCOPT=-mabi=64
  3159. else
  3160. ifneq ($(filter $(FPCFPMAKE_CPU_TARGET),mips mipsel),)
  3161. FPCMAKE_CROSSGCCOPT=-mabi=32
  3162. else
  3163. ifeq ($(FPCFPMAKE_CPU_TARGET),riscv64)
  3164. FPCMAKE_CROSSGCCOPT=-mabi=lp64
  3165. else
  3166. ifeq ($(FPCFPMAKE_CPU_TARGET),riscv32)
  3167. FPCMAKE_CROSSGCCOPT=-mabi=ilp32
  3168. else
  3169. ifeq ($(FPCFPMAKE_CPU_TARGET),loongarch64)
  3170. FPCMAKE_CROSSGCCOPT=-mabi=lp64d
  3171. else
  3172. FPCMAKE_CROSSGCCOPT=-m32
  3173. endif
  3174. endif
  3175. endif
  3176. endif
  3177. endif
  3178. endif
  3179. FPCMAKEGCCLIBDIR:=$(shell dirname `gcc $(FPCMAKE_CROSSGCCOPT) -print-libgcc-file-name`)
  3180. endif
  3181. endif
  3182. ifndef FPCMAKEGCCLIBDIR
  3183. FPCMAKEGCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
  3184. endif
  3185. ifndef GCCLIBDIR
  3186. CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
  3187. ifneq ($(CROSSGCC),)
  3188. GCCLIBDIR:=$(shell dirname `$(CROSSGCC) $(CROSSGCCOPT) -print-libgcc-file-name`)
  3189. endif
  3190. endif
  3191. endif
  3192. ifdef inUnix
  3193. ifeq ($(OS_SOURCE),netbsd)
  3194. OTHERLIBDIR:=/usr/pkg/lib
  3195. endif
  3196. export GCCLIBDIR FPCMAKEGCCLIBDIR OTHERLIBDIR
  3197. endif
  3198. BATCHEXT=.bat
  3199. LOADEREXT=.as
  3200. EXEEXT=.exe
  3201. PPLEXT=.ppl
  3202. PPUEXT=.ppu
  3203. OEXT=.o
  3204. LTOEXT=.bc
  3205. ASMEXT=.s
  3206. SMARTEXT=.sl
  3207. STATICLIBEXT=.a
  3208. SHAREDLIBEXT=.so
  3209. SHAREDLIBPREFIX=libfp
  3210. STATICLIBPREFIX=libp
  3211. IMPORTLIBPREFIX=libimp
  3212. RSTEXT=.rst
  3213. EXEDBGEXT=.dbg
  3214. ifeq ($(OS_TARGET),go32v1)
  3215. STATICLIBPREFIX=
  3216. SHORTSUFFIX=v1
  3217. endif
  3218. ifeq ($(OS_TARGET),go32v2)
  3219. STATICLIBPREFIX=
  3220. SHORTSUFFIX=dos
  3221. IMPORTLIBPREFIX=
  3222. endif
  3223. ifeq ($(OS_TARGET),watcom)
  3224. STATICLIBPREFIX=
  3225. OEXT=.obj
  3226. ASMEXT=.asm
  3227. SHAREDLIBEXT=.dll
  3228. SHORTSUFFIX=wat
  3229. IMPORTLIBPREFIX=
  3230. endif
  3231. ifneq ($(CPU_TARGET),jvm)
  3232. ifeq ($(OS_TARGET),android)
  3233. BATCHEXT=.sh
  3234. EXEEXT=
  3235. HASSHAREDLIB=1
  3236. SHORTSUFFIX=lnx
  3237. endif
  3238. endif
  3239. ifeq ($(OS_TARGET),linux)
  3240. BATCHEXT=.sh
  3241. EXEEXT=
  3242. HASSHAREDLIB=1
  3243. SHORTSUFFIX=lnx
  3244. endif
  3245. ifeq ($(OS_TARGET),dragonfly)
  3246. BATCHEXT=.sh
  3247. EXEEXT=
  3248. HASSHAREDLIB=1
  3249. SHORTSUFFIX=df
  3250. endif
  3251. ifeq ($(OS_TARGET),freebsd)
  3252. BATCHEXT=.sh
  3253. EXEEXT=
  3254. HASSHAREDLIB=1
  3255. SHORTSUFFIX=fbs
  3256. endif
  3257. ifeq ($(OS_TARGET),netbsd)
  3258. BATCHEXT=.sh
  3259. EXEEXT=
  3260. HASSHAREDLIB=1
  3261. SHORTSUFFIX=nbs
  3262. endif
  3263. ifeq ($(OS_TARGET),openbsd)
  3264. BATCHEXT=.sh
  3265. EXEEXT=
  3266. HASSHAREDLIB=1
  3267. SHORTSUFFIX=obs
  3268. endif
  3269. ifeq ($(OS_TARGET),win32)
  3270. SHAREDLIBEXT=.dll
  3271. SHORTSUFFIX=w32
  3272. endif
  3273. ifeq ($(OS_TARGET),os2)
  3274. BATCHEXT=.cmd
  3275. AOUTEXT=.out
  3276. STATICLIBPREFIX=
  3277. SHAREDLIBEXT=.dll
  3278. SHORTSUFFIX=os2
  3279. ECHO=echo
  3280. IMPORTLIBPREFIX=
  3281. endif
  3282. ifeq ($(OS_TARGET),emx)
  3283. BATCHEXT=.cmd
  3284. AOUTEXT=.out
  3285. STATICLIBPREFIX=
  3286. SHAREDLIBEXT=.dll
  3287. SHORTSUFFIX=emx
  3288. ECHO=echo
  3289. IMPORTLIBPREFIX=
  3290. endif
  3291. ifeq ($(OS_TARGET),amiga)
  3292. EXEEXT=
  3293. SHAREDLIBEXT=.library
  3294. SHORTSUFFIX=amg
  3295. endif
  3296. ifeq ($(OS_TARGET),aros)
  3297. EXEEXT=
  3298. SHAREDLIBEXT=.library
  3299. SHORTSUFFIX=aros
  3300. endif
  3301. ifeq ($(OS_TARGET),morphos)
  3302. EXEEXT=
  3303. SHAREDLIBEXT=.library
  3304. SHORTSUFFIX=mos
  3305. endif
  3306. ifeq ($(OS_TARGET),atari)
  3307. EXEEXT=.ttp
  3308. SHORTSUFFIX=ata
  3309. endif
  3310. ifeq ($(OS_TARGET),beos)
  3311. BATCHEXT=.sh
  3312. EXEEXT=
  3313. SHORTSUFFIX=be
  3314. endif
  3315. ifeq ($(OS_TARGET),haiku)
  3316. BATCHEXT=.sh
  3317. EXEEXT=
  3318. SHORTSUFFIX=hai
  3319. endif
  3320. ifeq ($(OS_TARGET),solaris)
  3321. BATCHEXT=.sh
  3322. EXEEXT=
  3323. SHORTSUFFIX=sun
  3324. endif
  3325. ifeq ($(OS_TARGET),qnx)
  3326. BATCHEXT=.sh
  3327. EXEEXT=
  3328. SHORTSUFFIX=qnx
  3329. endif
  3330. ifeq ($(OS_TARGET),netware)
  3331. EXEEXT=.nlm
  3332. STATICLIBPREFIX=
  3333. SHORTSUFFIX=nw
  3334. IMPORTLIBPREFIX=imp
  3335. endif
  3336. ifeq ($(OS_TARGET),netwlibc)
  3337. EXEEXT=.nlm
  3338. STATICLIBPREFIX=
  3339. SHORTSUFFIX=nwl
  3340. IMPORTLIBPREFIX=imp
  3341. endif
  3342. ifeq ($(OS_TARGET),macosclassic)
  3343. BATCHEXT=
  3344. EXEEXT=
  3345. DEBUGSYMEXT=.xcoff
  3346. SHORTSUFFIX=mac
  3347. IMPORTLIBPREFIX=imp
  3348. endif
  3349. ifneq ($(filter $(OS_TARGET),darwin iphonesim ios),)
  3350. BATCHEXT=.sh
  3351. EXEEXT=
  3352. HASSHAREDLIB=1
  3353. SHORTSUFFIX=dwn
  3354. EXEDBGEXT=.dSYM
  3355. endif
  3356. ifeq ($(OS_TARGET),gba)
  3357. EXEEXT=.gba
  3358. SHAREDLIBEXT=.so
  3359. SHORTSUFFIX=gba
  3360. endif
  3361. ifeq ($(OS_TARGET),symbian)
  3362. SHAREDLIBEXT=.dll
  3363. SHORTSUFFIX=symbian
  3364. endif
  3365. ifeq ($(OS_TARGET),NativeNT)
  3366. SHAREDLIBEXT=.dll
  3367. SHORTSUFFIX=nativent
  3368. endif
  3369. ifeq ($(OS_TARGET),wii)
  3370. EXEEXT=.dol
  3371. SHAREDLIBEXT=.so
  3372. SHORTSUFFIX=wii
  3373. endif
  3374. ifeq ($(OS_TARGET),aix)
  3375. BATCHEXT=.sh
  3376. EXEEXT=
  3377. SHAREDLIBEXT=.a
  3378. SHORTSUFFIX=aix
  3379. endif
  3380. ifeq ($(OS_TARGET),java)
  3381. OEXT=.class
  3382. ASMEXT=.j
  3383. SHAREDLIBEXT=.jar
  3384. SHORTSUFFIX=java
  3385. endif
  3386. ifeq ($(CPU_TARGET),jvm)
  3387. ifeq ($(OS_TARGET),android)
  3388. OEXT=.class
  3389. ASMEXT=.j
  3390. SHAREDLIBEXT=.jar
  3391. SHORTSUFFIX=android
  3392. endif
  3393. endif
  3394. ifeq ($(OS_TARGET),msdos)
  3395. STATICLIBPREFIX=
  3396. STATICLIBEXT=.a
  3397. SHORTSUFFIX=d16
  3398. endif
  3399. ifeq ($(OS_TARGET),msxdos)
  3400. STATICLIBPREFIX=
  3401. STATICLIBEXT=.a
  3402. SHORTSUFFIX=msd
  3403. endif
  3404. ifeq ($(OS_TARGET),embedded)
  3405. ifeq ($(CPU_TARGET),i8086)
  3406. STATICLIBPREFIX=
  3407. STATICLIBEXT=.a
  3408. else
  3409. EXEEXT=.bin
  3410. endif
  3411. ifeq ($(CPU_TARGET),z80)
  3412. OEXT=.rel
  3413. endif
  3414. SHORTSUFFIX=emb
  3415. endif
  3416. ifeq ($(OS_TARGET),win16)
  3417. STATICLIBPREFIX=
  3418. STATICLIBEXT=.a
  3419. SHAREDLIBEXT=.dll
  3420. SHORTSUFFIX=w16
  3421. endif
  3422. ifeq ($(OS_TARGET),zxspectrum)
  3423. OEXT=.rel
  3424. endif
  3425. ifeq ($(OS_TARGET),wasi)
  3426. EXEEXT=.wasm
  3427. endif
  3428. ifneq ($(filter $(OS_SOURCE),$(LIMIT83fs)),)
  3429. FPCMADE=fpcmade.$(SHORTSUFFIX)
  3430. ZIPSUFFIX=$(SHORTSUFFIX)
  3431. ZIPCROSSPREFIX=
  3432. ZIPSOURCESUFFIX=src
  3433. ZIPEXAMPLESUFFIX=exm
  3434. else
  3435. FPCMADE=fpcmade.$(TARGETSUFFIX)
  3436. ZIPSOURCESUFFIX=.source
  3437. ZIPEXAMPLESUFFIX=.examples
  3438. ifdef CROSSCOMPILE
  3439. ZIPSUFFIX=.$(SOURCESUFFIX)
  3440. ZIPCROSSPREFIX=$(TARGETSUFFIX)-
  3441. else
  3442. ZIPSUFFIX=.$(TARGETSUFFIX)
  3443. ZIPCROSSPREFIX=
  3444. endif
  3445. endif
  3446. ifndef ECHO
  3447. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  3448. ifeq ($(ECHO),)
  3449. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  3450. ifeq ($(ECHO),)
  3451. ECHO= __missing_command_ECHO
  3452. else
  3453. ECHO:=$(firstword $(ECHO))
  3454. endif
  3455. else
  3456. ECHO:=$(firstword $(ECHO))
  3457. endif
  3458. endif
  3459. export ECHO
  3460. ifndef DATE
  3461. DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH))))
  3462. ifeq ($(DATE),)
  3463. DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH))))
  3464. ifeq ($(DATE),)
  3465. DATE= __missing_command_DATE
  3466. else
  3467. DATE:=$(firstword $(DATE))
  3468. endif
  3469. else
  3470. DATE:=$(firstword $(DATE))
  3471. endif
  3472. endif
  3473. export DATE
  3474. ifndef GINSTALL
  3475. GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH))))
  3476. ifeq ($(GINSTALL),)
  3477. GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH))))
  3478. ifeq ($(GINSTALL),)
  3479. GINSTALL= __missing_command_GINSTALL
  3480. else
  3481. GINSTALL:=$(firstword $(GINSTALL))
  3482. endif
  3483. else
  3484. GINSTALL:=$(firstword $(GINSTALL))
  3485. endif
  3486. endif
  3487. export GINSTALL
  3488. ifndef CPPROG
  3489. CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH))))
  3490. ifeq ($(CPPROG),)
  3491. CPPROG= __missing_command_CPPROG
  3492. else
  3493. CPPROG:=$(firstword $(CPPROG))
  3494. endif
  3495. endif
  3496. export CPPROG
  3497. ifndef RMPROG
  3498. RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH))))
  3499. ifeq ($(RMPROG),)
  3500. RMPROG= __missing_command_RMPROG
  3501. else
  3502. RMPROG:=$(firstword $(RMPROG))
  3503. endif
  3504. endif
  3505. export RMPROG
  3506. ifndef MVPROG
  3507. MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH))))
  3508. ifeq ($(MVPROG),)
  3509. MVPROG= __missing_command_MVPROG
  3510. else
  3511. MVPROG:=$(firstword $(MVPROG))
  3512. endif
  3513. endif
  3514. export MVPROG
  3515. ifndef MKDIRPROG
  3516. MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH))))
  3517. ifeq ($(MKDIRPROG),)
  3518. MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH))))
  3519. ifeq ($(MKDIRPROG),)
  3520. MKDIRPROG= __missing_command_MKDIRPROG
  3521. else
  3522. MKDIRPROG:=$(firstword $(MKDIRPROG))
  3523. endif
  3524. else
  3525. MKDIRPROG:=$(firstword $(MKDIRPROG))
  3526. endif
  3527. endif
  3528. export MKDIRPROG
  3529. ifndef ECHOREDIR
  3530. ifndef inUnix
  3531. ECHOREDIR=echo
  3532. else
  3533. ECHOREDIR=$(ECHO)
  3534. endif
  3535. endif
  3536. ifndef COPY
  3537. COPY:=$(CPPROG) -fp
  3538. endif
  3539. ifndef COPYTREE
  3540. COPYTREE:=$(CPPROG) -Rfp
  3541. endif
  3542. ifndef MKDIRTREE
  3543. MKDIRTREE:=$(MKDIRPROG) -p
  3544. endif
  3545. ifndef MOVE
  3546. MOVE:=$(MVPROG) -f
  3547. endif
  3548. ifndef DEL
  3549. DEL:=$(RMPROG) -f
  3550. endif
  3551. ifndef DELTREE
  3552. DELTREE:=$(RMPROG) -rf
  3553. endif
  3554. ifndef INSTALL
  3555. ifdef inUnix
  3556. INSTALL:=$(GINSTALL) -c -m 644
  3557. else
  3558. INSTALL:=$(COPY)
  3559. endif
  3560. endif
  3561. ifndef INSTALLEXE
  3562. ifdef inUnix
  3563. INSTALLEXE:=$(GINSTALL) -c -m 755
  3564. else
  3565. INSTALLEXE:=$(COPY)
  3566. endif
  3567. endif
  3568. ifndef MKDIR
  3569. MKDIR:=$(GINSTALL) -m 755 -d
  3570. endif
  3571. export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
  3572. ifndef PPUMOVE
  3573. PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH))))
  3574. ifeq ($(PPUMOVE),)
  3575. PPUMOVE= __missing_command_PPUMOVE
  3576. else
  3577. PPUMOVE:=$(firstword $(PPUMOVE))
  3578. endif
  3579. endif
  3580. export PPUMOVE
  3581. ifndef FPCMAKE
  3582. FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH))))
  3583. ifeq ($(FPCMAKE),)
  3584. FPCMAKE= __missing_command_FPCMAKE
  3585. else
  3586. FPCMAKE:=$(firstword $(FPCMAKE))
  3587. endif
  3588. endif
  3589. export FPCMAKE
  3590. ifndef ZIPPROG
  3591. ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH))))
  3592. ifeq ($(ZIPPROG),)
  3593. ZIPPROG= __missing_command_ZIPPROG
  3594. else
  3595. ZIPPROG:=$(firstword $(ZIPPROG))
  3596. endif
  3597. endif
  3598. export ZIPPROG
  3599. ifndef TARPROG
  3600. TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
  3601. ifeq ($(TARPROG),)
  3602. TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
  3603. ifeq ($(TARPROG),)
  3604. TARPROG= __missing_command_TARPROG
  3605. else
  3606. TARPROG:=$(firstword $(TARPROG))
  3607. endif
  3608. else
  3609. TARPROG:=$(firstword $(TARPROG))
  3610. endif
  3611. endif
  3612. export TARPROG
  3613. ASNAME=$(BINUTILSPREFIX)as
  3614. LDNAME=$(BINUTILSPREFIX)ld
  3615. ARNAME=$(BINUTILSPREFIX)ar
  3616. RCNAME=$(BINUTILSPREFIX)rc
  3617. NASMNAME=$(BINUTILSPREFIX)nasm
  3618. ifndef ASPROG
  3619. ifdef CROSSBINDIR
  3620. ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
  3621. else
  3622. ASPROG=$(ASNAME)
  3623. endif
  3624. endif
  3625. ifndef LDPROG
  3626. ifdef CROSSBINDIR
  3627. LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)
  3628. else
  3629. LDPROG=$(LDNAME)
  3630. endif
  3631. endif
  3632. ifndef RCPROG
  3633. ifdef CROSSBINDIR
  3634. RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)
  3635. else
  3636. RCPROG=$(RCNAME)
  3637. endif
  3638. endif
  3639. ifndef ARPROG
  3640. ifdef CROSSBINDIR
  3641. ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)
  3642. else
  3643. ARPROG=$(ARNAME)
  3644. endif
  3645. endif
  3646. ifndef NASMPROG
  3647. ifdef CROSSBINDIR
  3648. NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
  3649. else
  3650. NASMPROG=$(NASMNAME)
  3651. endif
  3652. endif
  3653. AS=$(ASPROG)
  3654. LD=$(LDPROG)
  3655. RC=$(RCPROG)
  3656. AR=$(ARPROG)
  3657. NASM=$(NASMPROG)
  3658. ifdef inUnix
  3659. PPAS=./ppas$(SRCBATCHEXT)
  3660. else
  3661. PPAS=ppas$(SRCBATCHEXT)
  3662. endif
  3663. ifdef inUnix
  3664. LDCONFIG=ldconfig
  3665. else
  3666. LDCONFIG=
  3667. endif
  3668. ifdef DATE
  3669. DATESTR:=$(shell $(DATE) +%Y%m%d)
  3670. else
  3671. DATESTR=
  3672. endif
  3673. ZIPOPT=-9
  3674. ZIPEXT=.zip
  3675. ifeq ($(USETAR),bz2)
  3676. TAROPT=vj
  3677. TAREXT=.tar.bz2
  3678. else
  3679. TAROPT=vz
  3680. TAREXT=.tar.gz
  3681. endif
  3682. ifndef NOCPUDEF
  3683. override FPCOPTDEF=$(ARCH)
  3684. endif
  3685. ifneq ($(OS_TARGET),$(OS_SOURCE))
  3686. override FPCOPT+=-T$(OS_TARGET)
  3687. endif
  3688. ifneq ($(CPU_TARGET),$(CPU_SOURCE))
  3689. override FPCOPT+=-P$(ARCH)
  3690. endif
  3691. ifeq ($(OS_SOURCE),openbsd)
  3692. override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
  3693. override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH)
  3694. override FPMAKE_BUILD_OPT+=-FD$(NEW_BINUTILS_PATH)
  3695. endif
  3696. ifndef CROSSBOOTSTRAP
  3697. ifneq ($(BINUTILSPREFIX),)
  3698. override FPCOPT+=-XP$(BINUTILSPREFIX)
  3699. ifneq ($(RLINKPATH),)
  3700. override FPCOPT+=-Xr$(RLINKPATH)
  3701. endif
  3702. endif
  3703. endif
  3704. ifndef CROSSCOMPILE
  3705. ifneq ($(BINUTILSPREFIX),)
  3706. override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
  3707. override FPMAKE_BUILD_OPT+=-XP$(BINUTILSPREFIX)
  3708. endif
  3709. endif
  3710. ifdef UNITDIR
  3711. override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
  3712. endif
  3713. ifdef LIBDIR
  3714. override FPCOPT+=$(addprefix -Fl,$(LIBDIR))
  3715. endif
  3716. ifdef OBJDIR
  3717. override FPCOPT+=$(addprefix -Fo,$(OBJDIR))
  3718. endif
  3719. ifdef INCDIR
  3720. override FPCOPT+=$(addprefix -Fi,$(INCDIR))
  3721. endif
  3722. ifdef LINKSMART
  3723. override FPCOPT+=-XX
  3724. endif
  3725. ifdef CREATESMART
  3726. override FPCOPT+=-CX
  3727. endif
  3728. ifdef DEBUG
  3729. override FPCOPT+=-gl
  3730. override FPCOPTDEF+=DEBUG
  3731. endif
  3732. ifdef RELEASE
  3733. FPCCPUOPT:=-O2
  3734. override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
  3735. override FPCOPTDEF+=RELEASE
  3736. endif
  3737. ifdef STRIP
  3738. override FPCOPT+=-Xs
  3739. endif
  3740. ifdef OPTIMIZE
  3741. override FPCOPT+=-O2
  3742. endif
  3743. ifdef VERBOSE
  3744. override FPCOPT+=-vwni
  3745. endif
  3746. ifdef COMPILER_OPTIONS
  3747. override FPCOPT+=$(COMPILER_OPTIONS)
  3748. endif
  3749. ifdef COMPILER_UNITDIR
  3750. override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))
  3751. endif
  3752. ifdef COMPILER_LIBRARYDIR
  3753. override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))
  3754. endif
  3755. ifdef COMPILER_OBJECTDIR
  3756. override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))
  3757. endif
  3758. ifdef COMPILER_INCLUDEDIR
  3759. override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))
  3760. endif
  3761. ifdef CROSSBINDIR
  3762. override FPCOPT+=-FD$(CROSSBINDIR)
  3763. endif
  3764. ifdef COMPILER_TARGETDIR
  3765. override FPCOPT+=-FE$(COMPILER_TARGETDIR)
  3766. ifeq ($(COMPILER_TARGETDIR),.)
  3767. override TARGETDIRPREFIX=
  3768. else
  3769. override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/
  3770. endif
  3771. endif
  3772. ifdef COMPILER_UNITTARGETDIR
  3773. override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)
  3774. ifeq ($(COMPILER_UNITTARGETDIR),.)
  3775. override UNITTARGETDIRPREFIX=
  3776. else
  3777. override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/
  3778. endif
  3779. else
  3780. ifdef COMPILER_TARGETDIR
  3781. override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
  3782. override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
  3783. endif
  3784. endif
  3785. ifdef SYSROOTPATH
  3786. override FPCOPT+=-XR$(SYSROOTPATH)
  3787. else
  3788. ifeq ($(OS_TARGET),$(OS_SOURCE))
  3789. ifeq ($(OS_TARGET),darwin)
  3790. ifeq ($(CPU_TARGET),aarch64)
  3791. ifneq ($(wildcard /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk),)
  3792. override FPCOPT+=-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
  3793. endif
  3794. endif
  3795. endif
  3796. endif
  3797. endif
  3798. ifdef CREATESHARED
  3799. override FPCOPT+=-Cg
  3800. endif
  3801. ifneq ($(filter $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
  3802. ifneq ($(filter $(CPU_TARGET),x86_64 mips mipsel mips64 mips64el riscv64 powerpc64),)
  3803. override FPCOPT+=-Cg
  3804. endif
  3805. endif
  3806. ifneq ($(filter $(CPU_TARGET),z80),)
  3807. override FPCOPT+=-CX -XX
  3808. endif
  3809. ifdef LINKSHARED
  3810. endif
  3811. ifdef GCCLIBDIR
  3812. override FPCOPT+=-Fl$(GCCLIBDIR)
  3813. ifdef FPCMAKEGCCLIBDIR
  3814. override FPCMAKEOPT+=-Fl$(FPCMAKEGCCLIBDIR)
  3815. else
  3816. override FPCMAKEOPT+=-Fl$(GCCLIBDIR)
  3817. endif
  3818. endif
  3819. ifdef OTHERLIBDIR
  3820. override FPCOPT+=$(addprefix -Fl,$(OTHERLIBDIR))
  3821. endif
  3822. ifdef OPT
  3823. override FPCOPT+=$(OPT)
  3824. endif
  3825. ifdef FPMAKEBUILDOPT
  3826. override FPMAKE_BUILD_OPT+=$(FPMAKEBUILDOPT)
  3827. endif
  3828. ifdef FPCOPTDEF
  3829. override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))
  3830. endif
  3831. ifdef CFGFILE
  3832. override FPCOPT+=@$(CFGFILE)
  3833. endif
  3834. ifdef USEENV
  3835. override FPCEXTCMD:=$(FPCOPT)
  3836. override FPCOPT:=!FPCEXTCMD
  3837. export FPCEXTCMD
  3838. endif
  3839. override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  3840. override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  3841. ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
  3842. override ACROSSCOMPILE=1
  3843. endif
  3844. ifdef ACROSSCOMPILE
  3845. override FPCOPT+=$(CROSSOPT)
  3846. endif
  3847. override COMPILER:=$(strip $(FPC) $(FPCOPT))
  3848. ifneq (,$(filter -sh,$(COMPILER)))
  3849. UseEXECPPAS=1
  3850. endif
  3851. ifneq (,$(filter -s,$(COMPILER)))
  3852. ifeq ($(FULL_SOURCE),$(FULL_TARGET))
  3853. UseEXECPPAS=1
  3854. endif
  3855. endif
  3856. ifneq ($(UseEXECPPAS),1)
  3857. EXECPPAS=
  3858. else
  3859. ifdef RUNBATCH
  3860. EXECPPAS:=@$(RUNBATCH) $(PPAS)
  3861. else
  3862. EXECPPAS:=@$(PPAS)
  3863. endif
  3864. endif
  3865. .PHONY: fpc_loaders
  3866. ifneq ($(TARGET_LOADERS),)
  3867. override ALLTARGET+=fpc_loaders
  3868. override CLEANTARGET+=fpc_loaders_clean
  3869. override INSTALLTARGET+=fpc_loaders_install
  3870. override LOADEROFILES:=$(addsuffix $(OEXT),$(TARGET_LOADERS))
  3871. endif
  3872. %$(OEXT): %$(LOADEREXT)
  3873. ifdef COMPILER_UNITTARGETDIR
  3874. $(AS) -o $(COMPILER_UNITTARGETDIR)/$*$(OEXT) $<
  3875. else
  3876. $(AS) -o $*$(OEXT) $<
  3877. endif
  3878. fpc_loaders: $(COMPILER_UNITTARGETDIR) $(LOADEROFILES)
  3879. fpc_loaders_clean:
  3880. ifdef COMPILER_UNITTARGETDIR
  3881. -$(DEL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES))
  3882. else
  3883. -$(DEL) $(LOADEROFILES)
  3884. endif
  3885. fpc_loaders_install:
  3886. $(MKDIR) $(INSTALL_UNITDIR)
  3887. ifdef COMPILER_UNITTARGETDIR
  3888. $(INSTALL) $(addprefix $(COMPILER_UNITTARGETDIR)/,$(LOADEROFILES)) $(INSTALL_UNITDIR)
  3889. else
  3890. $(INSTALL) $(LOADEROFILES) $(INSTALL_UNITDIR)
  3891. endif
  3892. .PHONY: fpc_units
  3893. ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
  3894. override ALLTARGET+=fpc_units
  3895. override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
  3896. override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))
  3897. override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  3898. override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  3899. endif
  3900. fpc_units: $(COMPILER_UNITTARGETDIR) $(UNITPPUFILES)
  3901. ifdef TARGET_RSTS
  3902. override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
  3903. override CLEANRSTFILES+=$(RSTFILES)
  3904. endif
  3905. .PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
  3906. $(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
  3907. @$(ECHOREDIR) Compiled > $(FPCMADE)
  3908. fpc_all: $(FPCMADE)
  3909. fpc_smart:
  3910. $(MAKE) all LINKSMART=1 CREATESMART=1
  3911. fpc_debug:
  3912. $(MAKE) all DEBUG=1
  3913. fpc_release:
  3914. $(MAKE) all RELEASE=1
  3915. .SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) $(LTOEXT) .pas .lpr .dpr .pp .rc .res
  3916. $(COMPILER_UNITTARGETDIR):
  3917. $(MKDIRTREE) $(COMPILER_UNITTARGETDIR)
  3918. $(COMPILER_TARGETDIR):
  3919. $(MKDIRTREE) $(COMPILER_TARGETDIR)
  3920. %$(PPUEXT): %.pp
  3921. $(COMPILER) $<
  3922. $(EXECPPAS)
  3923. %$(PPUEXT): %.pas
  3924. $(COMPILER) $<
  3925. $(EXECPPAS)
  3926. %$(EXEEXT): %.pp
  3927. $(COMPILER) $<
  3928. $(EXECPPAS)
  3929. %$(EXEEXT): %.pas
  3930. $(COMPILER) $<
  3931. $(EXECPPAS)
  3932. %$(EXEEXT): %.lpr
  3933. $(COMPILER) $<
  3934. $(EXECPPAS)
  3935. %$(EXEEXT): %.dpr
  3936. $(COMPILER) $<
  3937. $(EXECPPAS)
  3938. %.res: %.rc
  3939. windres -i $< -o $@
  3940. vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3941. vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3942. vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3943. vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  3944. vpath %.inc $(COMPILER_INCLUDEDIR)
  3945. vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
  3946. vpath %$(LTOEXT) $(COMPILER_UNITTARGETDIR)
  3947. vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
  3948. .PHONY: fpc_shared
  3949. override INSTALLTARGET+=fpc_shared_install
  3950. ifndef SHARED_LIBVERSION
  3951. SHARED_LIBVERSION=$(FPC_VERSION)
  3952. endif
  3953. ifndef SHARED_LIBNAME
  3954. SHARED_LIBNAME=$(PACKAGE_NAME)
  3955. endif
  3956. ifndef SHARED_FULLNAME
  3957. SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
  3958. endif
  3959. ifndef SHARED_LIBUNITS
  3960. SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
  3961. override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
  3962. endif
  3963. fpc_shared:
  3964. ifdef HASSHAREDLIB
  3965. $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
  3966. ifneq ($(SHARED_BUILD),n)
  3967. $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR) -P$(BINUTILSPREFIX)
  3968. endif
  3969. else
  3970. @$(ECHO) Shared Libraries not supported
  3971. endif
  3972. fpc_shared_install:
  3973. ifneq ($(SHARED_BUILD),n)
  3974. ifneq ($(SHARED_LIBUNITS),)
  3975. ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
  3976. $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
  3977. endif
  3978. endif
  3979. endif
  3980. .PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
  3981. ifdef INSTALL_UNITS
  3982. override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
  3983. endif
  3984. ifdef INSTALL_BUILDUNIT
  3985. override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES))
  3986. endif
  3987. ifdef INSTALLPPUFILES
  3988. ifneq ($(IMPORTLIBPREFIX)-$(STATICLIBEXT),$(STATICLIBPREFIX)-$(STATICLIBEXT))
  3989. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  3990. else
  3991. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  3992. endif
  3993. ifneq ($(UNITTARGETDIRPREFIX),)
  3994. override INSTALLPPUFILENAMES:=$(notdir $(INSTALLPPUFILES))
  3995. override INSTALLPPULINKFILENAMES:=$(notdir $(INSTALLPPULINKFILES))
  3996. override INSTALLPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPUFILENAMES))
  3997. override INSTALLPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPULINKFILENAMES)))
  3998. endif
  3999. override INSTALL_CREATEPACKAGEFPC=1
  4000. endif
  4001. ifdef INSTALLEXEFILES
  4002. ifneq ($(TARGETDIRPREFIX),)
  4003. override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES)))
  4004. endif
  4005. endif
  4006. fpc_install: all $(INSTALLTARGET)
  4007. ifdef INSTALLEXEFILES
  4008. $(MKDIR) $(INSTALL_BINDIR)
  4009. $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
  4010. endif
  4011. ifdef INSTALL_CREATEPACKAGEFPC
  4012. ifdef FPCMAKE
  4013. ifdef PACKAGE_VERSION
  4014. ifneq ($(wildcard Makefile.fpc),)
  4015. $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc
  4016. $(MKDIR) $(INSTALL_UNITDIR)
  4017. $(INSTALL) Package.fpc $(INSTALL_UNITDIR)
  4018. endif
  4019. endif
  4020. endif
  4021. endif
  4022. ifdef INSTALLPPUFILES
  4023. $(MKDIR) $(INSTALL_UNITDIR)
  4024. $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)
  4025. ifneq ($(INSTALLPPULINKFILES),)
  4026. $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)
  4027. endif
  4028. ifneq ($(wildcard $(LIB_FULLNAME)),)
  4029. $(MKDIR) $(INSTALL_LIBDIR)
  4030. $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)
  4031. ifdef inUnix
  4032. ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)
  4033. endif
  4034. endif
  4035. endif
  4036. ifdef INSTALL_FILES
  4037. $(MKDIR) $(INSTALL_DATADIR)
  4038. $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)
  4039. endif
  4040. fpc_sourceinstall: distclean
  4041. $(MKDIR) $(INSTALL_SOURCEDIR)
  4042. $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)
  4043. fpc_exampleinstall: $(EXAMPLEINSTALLTARGET) $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
  4044. ifdef HASEXAMPLES
  4045. $(MKDIR) $(INSTALL_EXAMPLEDIR)
  4046. endif
  4047. ifdef EXAMPLESOURCEFILES
  4048. $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
  4049. endif
  4050. ifdef TARGET_EXAMPLEDIRS
  4051. $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
  4052. endif
  4053. .PHONY: fpc_clean fpc_cleanall fpc_distclean
  4054. ifdef EXEFILES
  4055. override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES))
  4056. override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES))
  4057. endif
  4058. ifdef CLEAN_PROGRAMS
  4059. override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS)))
  4060. override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS)))
  4061. endif
  4062. ifdef CLEAN_UNITS
  4063. override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))
  4064. endif
  4065. ifdef CLEANPPUFILES
  4066. override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES)))
  4067. ifdef DEBUGSYMEXT
  4068. override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES))
  4069. endif
  4070. override CLEANPPUFILENAMES:=$(CLEANPPUFILES)
  4071. override CLEANPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILENAMES))
  4072. override CLEANPPULINKFILENAMES:=$(CLEANPPULINKFILES)
  4073. override CLEANPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILENAMES)))
  4074. endif
  4075. fpc_clean: $(CLEANTARGET)
  4076. ifdef CLEANEXEFILES
  4077. -$(DEL) $(CLEANEXEFILES)
  4078. endif
  4079. ifdef CLEANEXEDBGFILES
  4080. -$(DELTREE) $(CLEANEXEDBGFILES)
  4081. endif
  4082. ifdef CLEANPPUFILES
  4083. -$(DEL) $(CLEANPPUFILES)
  4084. endif
  4085. ifneq ($(CLEANPPULINKFILES),)
  4086. -$(DEL) $(CLEANPPULINKFILES)
  4087. endif
  4088. ifdef CLEANRSTFILES
  4089. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  4090. endif
  4091. ifdef CLEAN_FILES
  4092. -$(DEL) $(CLEAN_FILES)
  4093. endif
  4094. ifdef LIB_NAME
  4095. -$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
  4096. endif
  4097. -$(DEL) $(FPCMADE) *$(FULL_TARGET).fpm Package.fpc *$(ASMEXT)
  4098. -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
  4099. -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
  4100. fpc_cleanall: $(CLEANTARGET)
  4101. ifdef CLEANEXEFILES
  4102. -$(DEL) $(CLEANEXEFILES)
  4103. endif
  4104. ifdef COMPILER_UNITTARGETDIR
  4105. ifdef CLEANPPUFILES
  4106. -$(DEL) $(CLEANPPUFILES)
  4107. endif
  4108. ifneq ($(CLEANPPULINKFILES),)
  4109. -$(DEL) $(CLEANPPULINKFILES)
  4110. endif
  4111. ifdef CLEANRSTFILES
  4112. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  4113. endif
  4114. endif
  4115. ifdef CLEAN_FILES
  4116. -$(DEL) $(CLEAN_FILES)
  4117. endif
  4118. -$(DELTREE) units
  4119. -$(DELTREE) bin
  4120. -$(DEL) *$(OEXT) *$(LTOEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
  4121. ifneq ($(PPUEXT),.ppu)
  4122. -$(DEL) *.o *.ppu *.a
  4123. endif
  4124. -$(DELTREE) *$(SMARTEXT)
  4125. -$(DEL) fpcmade.* Package.fpc *.fpm
  4126. -$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
  4127. -$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
  4128. ifdef AOUTEXT
  4129. -$(DEL) *$(AOUTEXT)
  4130. endif
  4131. ifdef DEBUGSYMEXT
  4132. -$(DEL) *$(DEBUGSYMEXT)
  4133. endif
  4134. ifdef LOCALFPMAKEBIN
  4135. -$(DEL) $(LOCALFPMAKEBIN)
  4136. -$(DEL) $(FPMAKEBINOBJ)
  4137. endif
  4138. fpc_distclean: cleanall
  4139. .PHONY: fpc_baseinfo
  4140. override INFORULES+=fpc_baseinfo
  4141. fpc_baseinfo:
  4142. @$(ECHO)
  4143. @$(ECHO) == Package info ==
  4144. @$(ECHO) Package Name..... $(PACKAGE_NAME)
  4145. @$(ECHO) Package Version.. $(PACKAGE_VERSION)
  4146. @$(ECHO)
  4147. @$(ECHO) == Configuration info ==
  4148. @$(ECHO)
  4149. @$(ECHO) FPC.......... $(FPC)
  4150. @$(ECHO) FPC Version.. $(FPC_VERSION)
  4151. @$(ECHO) Source CPU... $(CPU_SOURCE)
  4152. @$(ECHO) Target CPU... $(CPU_TARGET)
  4153. @$(ECHO) Source OS.... $(OS_SOURCE)
  4154. @$(ECHO) Target OS.... $(OS_TARGET)
  4155. @$(ECHO) Full Source.. $(FULL_SOURCE)
  4156. @$(ECHO) Full Target.. $(FULL_TARGET)
  4157. @$(ECHO) SourceSuffix. $(SOURCESUFFIX)
  4158. @$(ECHO) TargetSuffix. $(TARGETSUFFIX)
  4159. @$(ECHO) FPC fpmake... $(FPCFPMAKE)
  4160. @$(ECHO)
  4161. @$(ECHO) == Directory info ==
  4162. @$(ECHO)
  4163. @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES)
  4164. @$(ECHO)
  4165. @$(ECHO) Basedir......... $(BASEDIR)
  4166. @$(ECHO) FPCDir.......... $(FPCDIR)
  4167. @$(ECHO) CrossBinDir..... $(CROSSBINDIR)
  4168. @$(ECHO) UnitsDir........ $(UNITSDIR)
  4169. @$(ECHO) PackagesDir..... $(PACKAGESDIR)
  4170. @$(ECHO)
  4171. @$(ECHO) GCC library..... $(GCCLIBDIR)
  4172. @$(ECHO) Other library... $(OTHERLIBDIR)
  4173. @$(ECHO)
  4174. @$(ECHO) == Tools info ==
  4175. @$(ECHO)
  4176. @$(ECHO) As........ $(AS)
  4177. @$(ECHO) Ld........ $(LD)
  4178. @$(ECHO) Ar........ $(AR)
  4179. @$(ECHO) Rc........ $(RC)
  4180. @$(ECHO)
  4181. @$(ECHO) Mv........ $(MVPROG)
  4182. @$(ECHO) Cp........ $(CPPROG)
  4183. @$(ECHO) Rm........ $(RMPROG)
  4184. @$(ECHO) GInstall.. $(GINSTALL)
  4185. @$(ECHO) Echo...... $(ECHO)
  4186. @$(ECHO) Shell..... $(SHELL)
  4187. @$(ECHO) Date...... $(DATE)
  4188. @$(ECHO) FPCMake... $(FPCMAKE)
  4189. @$(ECHO) PPUMove... $(PPUMOVE)
  4190. @$(ECHO) Zip....... $(ZIPPROG)
  4191. @$(ECHO)
  4192. @$(ECHO) == Object info ==
  4193. @$(ECHO)
  4194. @$(ECHO) Target Loaders........ $(TARGET_LOADERS)
  4195. @$(ECHO) Target Units.......... $(TARGET_UNITS)
  4196. @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS)
  4197. @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)
  4198. @$(ECHO) Target Dirs........... $(TARGET_DIRS)
  4199. @$(ECHO) Target Examples....... $(TARGET_EXAMPLES)
  4200. @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)
  4201. @$(ECHO)
  4202. @$(ECHO) Clean Units......... $(CLEAN_UNITS)
  4203. @$(ECHO) Clean Files......... $(CLEAN_FILES)
  4204. @$(ECHO)
  4205. @$(ECHO) Install Units....... $(INSTALL_UNITS)
  4206. @$(ECHO) Install Files....... $(INSTALL_FILES)
  4207. @$(ECHO)
  4208. @$(ECHO) == Install info ==
  4209. @$(ECHO)
  4210. @$(ECHO) DateStr.............. $(DATESTR)
  4211. @$(ECHO) ZipName.............. $(ZIPNAME)
  4212. @$(ECHO) ZipPrefix............ $(ZIPPREFIX)
  4213. @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)
  4214. @$(ECHO) ZipSuffix............ $(ZIPSUFFIX)
  4215. @$(ECHO) FullZipName.......... $(FULLZIPNAME)
  4216. @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)
  4217. @$(ECHO)
  4218. @$(ECHO) Install base dir..... $(INSTALL_BASEDIR)
  4219. @$(ECHO) Install binary dir... $(INSTALL_BINDIR)
  4220. @$(ECHO) Install library dir.. $(INSTALL_LIBDIR)
  4221. @$(ECHO) Install units dir.... $(INSTALL_UNITDIR)
  4222. @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)
  4223. @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR)
  4224. @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR)
  4225. @$(ECHO) Install data dir..... $(INSTALL_DATADIR)
  4226. @$(ECHO)
  4227. @$(ECHO) Dist destination dir. $(DIST_DESTDIR)
  4228. @$(ECHO) Dist zip name........ $(DIST_ZIPNAME)
  4229. @$(ECHO)
  4230. .PHONY: fpc_info
  4231. fpc_info: $(INFORULES)
  4232. .PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \
  4233. fpc_makefile_dirs
  4234. fpc_makefile:
  4235. $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc
  4236. fpc_makefile_sub1:
  4237. ifdef TARGET_DIRS
  4238. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS))
  4239. endif
  4240. ifdef TARGET_EXAMPLEDIRS
  4241. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS))
  4242. endif
  4243. fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
  4244. fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
  4245. fpc_makefiles: fpc_makefile fpc_makefile_dirs
  4246. all: fpc_all
  4247. debug: fpc_debug
  4248. smart: fpc_smart
  4249. release: fpc_release
  4250. units: fpc_units
  4251. examples:
  4252. shared: fpc_shared
  4253. install: fpc_install
  4254. sourceinstall: fpc_sourceinstall
  4255. exampleinstall: fpc_exampleinstall
  4256. distinstall:
  4257. zipinstall:
  4258. zipsourceinstall:
  4259. zipexampleinstall:
  4260. zipdistinstall:
  4261. clean: fpc_clean
  4262. distclean: fpc_distclean
  4263. cleanall: fpc_cleanall
  4264. info: fpc_info
  4265. makefiles: fpc_makefiles
  4266. .PHONY: all debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean distclean cleanall info makefiles
  4267. ifneq ($(wildcard fpcmake.loc),)
  4268. include fpcmake.loc
  4269. endif
  4270. ifndef OSDIR
  4271. OSDIR=.
  4272. endif
  4273. ifndef PORTSDIR
  4274. PORTSDIR=$(OSDIR)
  4275. endif
  4276. ifndef DYNLIBSINCDIR
  4277. DYNLIBSINCDIR=$(OSDIR)
  4278. endif
  4279. ifndef INITCDIR
  4280. INITCDIR=$(OSDIR)
  4281. endif
  4282. ifndef DOSDIR
  4283. DOSDIR=$(OSDIR)
  4284. NSDOSDIR=$(NSDIR)/$(DOSDIR)
  4285. endif
  4286. ifndef SYSUTILSDIR
  4287. SYSUTILSDIR=$(OSDIR)
  4288. endif
  4289. ifndef NSSYSUTILSDIR
  4290. NSSYSUTILSDIR=$(NSDIR)/$(SYSUTILSDIR)
  4291. endif
  4292. ifndef CLASSESDIR
  4293. CLASSESDIR=$(OSDIR)
  4294. endif
  4295. ifndef NSCLASSESDIR
  4296. NSCLASSESDIR=$(NSDIR)/$(CLASSESDIR)
  4297. endif
  4298. ifndef NSBSDDIR
  4299. NSBSDDIR=$(NSDIR)/bsd
  4300. endif
  4301. ifdef FPC_DOTTEDUNITS
  4302. MACPAS_OPT:=$(MACPAS_OPT) -dFPC_DOTTEDUNITS
  4303. EXTPAS_OPT:=$(EXTPAS_OPT) -dFPC_DOTTEDUNITS
  4304. endif
  4305. $(SYSTEMUNIT)$(PPUEXT) : $(SYSTEMUNIT).pp $(SYSDEPS)
  4306. $(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg $<
  4307. UUCHAR_DEPS=$(INC)/uuchar.pp \
  4308. $(SYSTEMUNIT)$(PPUEXT) \
  4309. $(UUCHAR_DEPS_OS) $(UUCHAR_DEPS_CPU)
  4310. uuchar$(PPUEXT): $(UUCHAR_DEPS)
  4311. $(COMPILER) $(UUCHAR_OPT) $<
  4312. UACHAR_DEPS=$(INC)/uachar.pp \
  4313. $(SYSTEMUNIT)$(PPUEXT) \
  4314. $(UACHAR_DEPS_OS) $(UACHAR_DEPS_CPU)
  4315. uachar$(PPUEXT): $(UACHAR_DEPS)
  4316. $(COMPILER) $(UACHAR_OPT) $<
  4317. OBJPAS_DEPS= $(OBJPASDIR)/objpas.pp $(INC)/except.inc \
  4318. $(SYSTEMUNIT)$(PPUEXT) \
  4319. $(OBJPAS_DEPS_OS) $(OBJPAS_DEPS_SPU)
  4320. objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc $(SYSTEMUNIT)$(PPUEXT)
  4321. $(COMPILER) $(OBJPAS_OPT) -I$(OBJPASDIR) $<
  4322. MACPAS_DEPS=$(INC)/macpas.pp \
  4323. objpas$(PPUEXT) $(MATHUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4324. $(MACPAS_DEPS_OS) $(MACPAS_DEPS_CPU)
  4325. macpas$(PPUEXT) : $(MACPAS_DEPS)
  4326. $(COMPILER) $(MACPAS_OPT) $<
  4327. ISO7185_DEPS= $(INC)/$(ISO7185UNIT).pp \
  4328. $(SYSTEMUNIT)$(PPUEXT) \
  4329. $(ISO7185_DEPS_OS) $(ISO7185_DEPS_CPU)
  4330. iso7185$(PPUEXT) : $(ISO7185_DEPS)
  4331. $(COMPILER) $(ISO7185_OPT) $<
  4332. EXTPAS_DEPS=$(INC)/extpas.pp \
  4333. $(DOSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4334. $(EXTPAS_DEPS_OS) $(EXTPAS_DEPS_CPU)
  4335. extpas$(PPUEXT) : $(EXTPAS_DEPS)
  4336. $(COMPILER) $(EXTPAS_OPT) $<
  4337. FPINTRES_DEPS= $(INC)/fpintres.pp $(SYSTEMUNIT)$(PPUEXT) \
  4338. $(FPINTRES_DEPS_OS) $(FPINTRES_DEPS_CPU)
  4339. fpintres$(PPUEXT) : $(FPINTRES_DEPS)
  4340. $(COMPILER) $(FPINTRES_OPT) $<
  4341. HEAPTRC_DEPS=$(INC)/heaptrc.pp \
  4342. $(SYSTEMUNIT)$(PPUEXT) \
  4343. $(HEAPTRC_DEPS_OS) $(HEAPTRC_DEPS_CPU)
  4344. heaptrc$(PPUEXT) : $(HEAPTRC_DEPS)
  4345. $(COMPILER) $(HEAPTRC_OPT) $<
  4346. SOFTFPU_DEPS=$(INC)/softfpu.pp \
  4347. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4348. $(SOFTFPU_DEPS_OS) $(SOFTFPU_DEPS_CPU)
  4349. softfpu$(PPUEXT) : $(SOFTFPU_DEPS)
  4350. $(COMPILER) $(SOFTFPU_OPT) $<
  4351. System.SoftFPU$(PPUEXT) : $(NSINC)/System.SoftFPU.pp $(SOFTFPU_DEPS)
  4352. $(COMPILER) $(SOFTFPU_OPT) $<
  4353. SFPUX80_DEPS=$(INC)/sfpux80.pp $(INC)/softfpu.pp \
  4354. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4355. $(SFPUX80_DEPS_OS) $(SFPUX80_DEPS_CPU)
  4356. sfpux80$(PPUEXT) : $(SFPUX80_DEPS)
  4357. $(COMPILER) $(SFPUX80_OPT) $<
  4358. System.SoftFpuX80$(PPUEXT) : $(NSINC)/System.SoftFpuX80.pp $(SFPUX80_DEPS)
  4359. $(COMPILER) $(SFPUX80_OPT) $<
  4360. SFPU128_DEPS=$(INC)/sfpu128.pp $(INC)/softfpu.pp \
  4361. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4362. $(SFPU128_DEPS_OS) $(SFPU128_DEPS_CPU)
  4363. sfpu128$(PPUEXT) : $(SFPU128_DEPS)
  4364. $(COMPILER) $(SFPUX128_OPT) $<
  4365. System.SoftFpu128$(PPUEXT) : $(NSINC)/System.SoftFpu128.pp $(SFPU128_DEPS)
  4366. $(COMPILER) $(SFPUX128_OPT) $<
  4367. UFLOATX80_DEPS=$(INC)/ufloatx80.pp \
  4368. $(SFPUX80UNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4369. $(UFLOATX80_DEPS_OS) $(UFLOATX80_DEPS_CPU)
  4370. ufloatx80$(PPUEXT) : $(UFLOATX80_DEPS)
  4371. $(COMPILER) $(UFLOATX80_OPT) $<
  4372. System.UFloatX80$(PPUEXT) : $(NSINC)/System.UFloatX80.pp $(UFLOATX80_DEPS)
  4373. $(COMPILER) $(UFLOATX80_OPT) $<
  4374. UFLOAT128_DEPS=$(INC)/ufloat128.pp \
  4375. $(SFPU128UNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4376. $(UFLOAT128_DEPS_OS) $(UFLOAT128_DEPS_CPU)
  4377. ufloat128$(PPUEXT) : $(UFLOAT128_DEPS)
  4378. $(COMPILER) $(UFLOAT128_OPT) $<
  4379. System.UFloat128$(PPUEXT) : $(NSINC)/System.UFloat128.pp $(UFLOAT128_DEPS)
  4380. $(COMPILER) $(UFLOAT128_OPT) $<
  4381. STRINGS_DEPS=$(INC)/strings.pp $(INC)/stringsi.inc $(PROCINC)/stringss.inc $(PROCINC)/strings.inc \
  4382. $(SYSTEMUNIT)$(PPUEXT) \
  4383. $(STRINGS_DEPS_OS)
  4384. strings$(PPUEXT) : $(STRINGS_DEPS)
  4385. $(COMPILER) $(STRINGS_OPT) $<
  4386. System.Strings$(PPUEXT) : $(NSINC)/System.Strings.pp $(STRINGS_DEPS)
  4387. $(COMPILER) $(STRINGS_OPT) $<
  4388. PORTS_DEPS=$(PORTSDIR)/ports.pp \
  4389. $(SYSTEMUNIT)$(PPUEXT) \
  4390. $(PORTS_DEPS_OS) $(PORTS_DEPS_CPU)
  4391. ports$(PPUEXT) : $(PORTS_DEPS)
  4392. $(COMPILER) $(PORTS_OPT) $<
  4393. System.Ports$(PPUEXT) : $(NSINC)/System.Ports.pp $(PORTS_DEPS)
  4394. $(COMPILER) $(PORTS_OPT) $<
  4395. DYNLIBS_DEPS=$(INC)/dynlibs.pas $(OSDIR)/dynlibs.inc \
  4396. $(DLUNIT)$(PPUEXT) objpas$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) \
  4397. $(DYNLIBS_DEPS_OS) $(DYNLIBS_DEPS_CPU)
  4398. dynlibs$(PPUEXT) : $(DYNLIBS_DEPS)
  4399. $(COMPILER) $(DYNLIBS_OPT) $<
  4400. System.DynLibs$(PPUEXT) : $(NSINC)/System.DynLibs.pas $(DYNLIBS_DEPS)
  4401. $(COMPILER) $(DYNLIBS_OPT) $<
  4402. INITC_DEPS=$(INITCDIR)/initc.pp $(CTYPESUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4403. $(INITC_DEPS_OS) $(INITC_DEPS_CPU)
  4404. initc$(PPUEXT) : $(INITC_DEPS)
  4405. $(COMPILER) $(INITC_OPT) $<
  4406. System.InitC$(PPUEXT) : $(NSINC)/System.InitC.pp $(INITC_DEPS)
  4407. $(COMPILER) $(INITC_OPT) $<
  4408. UNIXCP_DEPS=$(UNIXINC)/unixcp.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
  4409. $(UNIXCP_DEPS_OS) $(UNIXCP_DEPS_CPU)
  4410. unixcp$(PPUEXT) : $(UNIXCP_DEPS)
  4411. $(COMPILER) $(UNIXCP_OPT) $(UNIXINC)/unixcp.pp
  4412. UnixApi.CP$(PPUEXT) : $(NSINC)/UnixApi.CP.pp $(UNIXCP_DEPS)
  4413. $(COMPILER) $(UNIXCP_OPT) $<
  4414. LINUX_DEPS=$(OSDIR)/linux.pp \
  4415. $(BASEUNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(SYSCALLUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4416. $(LINUX_DEPS_OS) $(LINUX_DEPS_CPU)
  4417. linux$(PPUEXT): $(LINUX_DEPS)
  4418. $(COMPILER) $<
  4419. LinuxApi$(PPUEXT): $(NSOSDIR)/LinuxApi.pp $(LINUX_DEPS)
  4420. $(COMPILER) $(LINUX_OPT) $<
  4421. LINUXVCS_DEPS=$(OSDIR)/linuxvcs.pp $(BASEUNIXUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4422. $(LINUXVCS_DEPS_OS) $(LINUXVCS_DEPS_CPU)
  4423. linuxvcs$(PPUEXT): $(LINUXVCS_DEPS)
  4424. $(COMPILER) $(LINUXVCS_OPT) $<
  4425. LinuxApi.Vcs$(PPUEXT): $(NSOSDIR)/LinuxApi.Vcs.pp $(LINUXVCS_DEPS)
  4426. $(COMPILER) $(LINUXVCS_OPT) $<
  4427. FPCYLIX_DEPS=fpcylix.pp \
  4428. $(CTHREADSUNIT)$(PPUEXT) $(CWSTRINGUNIT)$(PPUEXT) $(DYNLIBSUNIT)$(PPUEXT) \
  4429. objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4430. $(FPCYLIX_DEPS_OS) $(FPCYLIX_DEPS_CPU)
  4431. fpcylix$(PPUEXT) : $(FPCYLIX_DEPS)
  4432. $(COMPILER) $(FPCYLIX_OPT) $<
  4433. TERMIO_DEPS=$(OSDIR)/termio.pp $(BASEUNIXUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)\
  4434. $(TERMIO_DEPS_OS) $(TERMIO_DEPS_CPU)
  4435. termio$(PPUEXT) : $(TERMIO_DEPS)
  4436. $(COMPILER) $(TERMIO_OPT) $<
  4437. UnixApi.TermIO$(PPUEXT) : $(NSINC)/UnixApi.TermIO.pp $(TERMIO_DEPS)
  4438. $(COMPILER) $(TERMIO_OPT) $<
  4439. DOS_DEPS=$(DOSDIR)/dos.pp $(INC)/filerec.inc $(INC)/textrec.inc \
  4440. $(STRINGSUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4441. $(DOS_DEPS_OS) $(DOS_DEPS_CPU)
  4442. dos$(PPUEXT): $(DOS_DEPS)
  4443. $(COMPILER) $(DOS_OPTS) $<
  4444. TP.DOS$(PPUEXT): $(NSINC)/TP.DOS.pp $(DOS_DEPS)
  4445. $(COMPILER) $(DOS_OPTS) $<
  4446. SYSUTILS_UNIX_DEPS=$(UNIXUNIT)$(PPUEXT) $(ERRORSUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4447. $(SYSCALLUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4448. $(UNIXUTILUNIT)$(PPUEXT) $(INITCUNIT)$(PPUEXT)
  4449. SYSUTILS_DEPS=$(SYSUTILSDIR)/sysutils.pp $(wildcard $(OBJPASDIR)/$(SYSUTILSUNIT)/*.inc) \
  4450. objpas$(PPUEXT) $(SYSCONSTUNIT)$(PPUEXT) \
  4451. $(SYSUTILS_DEPS_OS) $(SYSUTILS_DEPS_CPU)
  4452. sysutils$(PPUEXT) : $(SYSUTILS_DEPS)
  4453. $(COMPILER) -Fi$(OBJPASDIR)/$(SYSUTILSUNIT) $<
  4454. System.SysUtils$(PPUEXT) : $(NSINC)/System.SysUtils.pp $(SYSUTILS_DEPS)
  4455. $(COMPILER) $(SYSUTILS_OPT) -Fi$(OBJPASDIR)/sysutils $<
  4456. CLASSES_DEPS=$(CLASSESDIR)/classes.pp $(wildcard $(OBJPASDIR)/$(CLASSESUNIT)/*.inc) \
  4457. $(SYSUTILSUNIT)$(PPUEXT) $(TYPINFOUNIT)$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) \
  4458. $(FGLUNIT)$(PPUEXT) $(TYPESUNIT)$(PPUEXT) \
  4459. $(CLASSES_DEPS_OS) $(CLASSES_DEPS_CPU)
  4460. classes$(PPUEXT) : $(CLASSES_DEPS)
  4461. $(COMPILER) -Fi$(OBJPASDIR)/classes $(CLASSES_OPT) $<
  4462. System.Classes$(PPUEXT) : $(NSINC)/System.Classes.pp $(CLASSES_DEPS)
  4463. $(COMPILER) -Fi$(OBJPASDIR)/classes $(CLASSES_OPT) $<
  4464. TYPINFO_DEPS=$(OBJPASDIR)/typinfo.pp \
  4465. objpas$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) \
  4466. $(TYPINFO_DEPS_OS) $(TYPINFO_DEPS_CPU)
  4467. typinfo$(PPUEXT): $(TYPINFO_DEPS)
  4468. $(COMPILER) -Sg $(TYPINFO_OPT) $<
  4469. System.TypInfo$(PPUEXT): $(NSINC)/System.TypInfo.pp
  4470. $(COMPILER) -Fi$(OBJPASDIR) -Sg $(TYPINFO_OPT) $<
  4471. CHARACTER_DEPS=$(OBJPASDIR)/character.pas \
  4472. $(SYSUTILSUNIT)$(PPUEXT) objpas$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) \
  4473. $(CHARACTER_DEPS_OS) $(CHARACTER_DEPS_CPU)
  4474. character$(PPUEXT): $(CHARACTER_DEPS)
  4475. $(COMPILER) $(CHARACTER_OPT) $<
  4476. System.Character$(PPUEXT): $(NSINC)/System.Character.pas $(CHARACTER_DEPS)
  4477. $(COMPILER) $(CHARACTER_OPT) -Fi$(OBJPASDIR) $<
  4478. MATH_DEPS= $(OBJPASDIR)/math.pp \
  4479. objpas$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4480. $(MATH_DEPS_OS) $(MATH_DEPS_CPU)
  4481. math$(PPUEXT): $(MATH_DEPS)
  4482. $(COMPILER) $(MATH_OPT) $<
  4483. System.Math$(PPUEXT): $(NSINC)/System.Math.pp $(MATH_DEPS)
  4484. $(COMPILER) $(MATH_OPT) -Fi$(OBJPASDIR) $<
  4485. FGL_DEPS=$(OBJPASDIR)/fgl.pp \
  4486. objpas$(PPUEXT) $(TYPESUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4487. $(SYSUTILSUNIT)$(PPUEXT) $(SORTBASEUNIT)$(PPUEXT) \
  4488. $(FCL_DEPS_OS) $(FCL_DEPS_CPU)
  4489. fgl$(PPUEXT) : $(FGL_DEPS)
  4490. $(COMPILER) $(FGL_OPT) $<
  4491. System.FGL$(PPUEXT) : $(NSINC)/System.FGL.pp $(FGL_DEPS)
  4492. $(COMPILER) -Fi$(OBJPASDIR) $(FGL_OPT) $<
  4493. TYPES_DEPS=$(OBJPASDIR)/types.pp \
  4494. objpas$(PPUEXT) $(MATHUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4495. $(TYPES_DEPS_OS) $(TYPES_DEPS_CPU)
  4496. types$(PPUEXT) : $(TYPES_DEPS)
  4497. $(COMPILER) $(TYPES_OPT) $<
  4498. System.Types$(PPUEXT) : $(NSINC)/System.Types.pp $(TYPES_DEPS)
  4499. $(COMPILER) -Fi$(OBJPASDIR) $(TYPES_OPT) $<
  4500. SYSCONST_DEPS=$(OBJPASDIR)/sysconst.pp \
  4501. objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4502. $(SYSCONST_DEPS_OS) $(SYSCONST_DEPS_CPU)
  4503. sysconst$(PPUEXT) : $(SYSCONST_DEPS)
  4504. $(COMPILER) $(SYSCONST_OPT) $<
  4505. System.SysConst$(PPUEXT) : $(NSINC)/System.SysConst.pp $(SYSCONST_DEPS)
  4506. $(COMPILER) -Fi$(OBJPASDIR) $(SYSCONST_OPT) $<
  4507. RTLCONSTS_DEPS=$(OBJPASDIR)/rtlconsts.pp \
  4508. objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4509. $(RTLCONST_DEPS_OS) $(RTLCONST_DEPS_CPU)
  4510. rtlconsts$(PPUEXT) : $(RTLCONSTS_DEPS)
  4511. $(COMPILER) $(RTLCONSTS_OPT) $<
  4512. System.RtlConsts$(PPUEXT) : $(NSINC)/System.RtlConsts.pp $(RTLCONSTS_DEPS)
  4513. $(COMPILER) -Fi$(OBJPASDIR) $(RTLCONSTS_OPT) $<
  4514. ifneq ($(findstring $(ARCH),x86_64 i386),)
  4515. CPU_DEPS_OS:=$(CPU_DEPS_OS) $(SYSUTILSUNIT)$(PPUEXT)
  4516. endif
  4517. CPU_DEPS=$(PROCINC)/cpu.pp \
  4518. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4519. $(CPU_DEPS_OS) $(CPU_DEPS_CPU)
  4520. cpu$(PPUEXT) : $(CPU_DEPS)
  4521. $(COMPILER) $(CPU_OPT) $<
  4522. System.CPU$(PPUEXT) : $(NSINC)/System.CPU.pp
  4523. $(COMPILER) $(CPU_OPT) $<
  4524. MMX_DEPS=$(PROCINC)/mmx.pp \
  4525. $(CPUUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4526. $(MMX_DEPS_OS) $(MMX_DEPS_CPU)
  4527. mmx$(PPUEXT) : $(MMX_DEPS)
  4528. $(COMPILER) $(MMX_OPT) $<
  4529. System.MMX$(PPUEXT) : $(NSINC)/System.MMX $(MMX_DEPS)
  4530. $(COMPILER) $(MMX_OPT) $<
  4531. X86_DEPS = $(UNIXINC)/x86.pp \
  4532. $(BASEUNIXUNIT)$(PPUEXT) $(SYSCALLUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4533. $(X86_DEPS_OS) $(X86_DEPS_CPU)
  4534. x86$(PPUEXT) : $(X86_DEPS)
  4535. $(COMPILER) $(X86_OPT) $<
  4536. System.X86$(PPUEXT) : $(NSINC)/System.X86.pp $(X86_DEPS)
  4537. $(COMPILER) $(X86_OPT) $<
  4538. GETOPTS_DEPS=$(INC)/getopts.pp \
  4539. $(SYSTEMUNIT)$(PPUEXT) \
  4540. $(GETOPTS_DEPS_OS) $(GETOPTS_DEPS_CPU)
  4541. getopts$(PPUEXT) : $(GETOPTS_DEPS)
  4542. $(COMPILER) $(GETOPTS_OPT) $<
  4543. System.GetOpts$(PPUEXT) : $(NSINC)/System.GetOpts.pp $(GETOPTS_DEPS)
  4544. $(COMPILER) $(GETOPTS_OPT) $<
  4545. LINEINFO_DEPS=$(INC)/lineinfo.pp \
  4546. $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) \
  4547. $(LINEINFO_DEPS_OS) $(LINEINFO_DEPS_CPU)
  4548. lineinfo$(PPUEXT) : $(LINEINFO_DEPS)
  4549. $(COMPILER) $(LINEINFO_OPT) $<
  4550. System.LineInfo$(PPUEXT) : $(NSINC)/System.LineInfo.pp $(LINEINFO_DEPS)
  4551. $(COMPILER) $(LINEINFO_OPT) $<
  4552. EXEINFO_DEPS=$(INC)/exeinfo.pp \
  4553. $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4554. $(EXEINFO_DEPS_OS) $(EXEINFO_DEPS_CPU)
  4555. exeinfo$(PPUEXT) : $(EXEINFO_DEPS)
  4556. $(COMPILER) $(EXEINFO_OPT) $<
  4557. System.ExeInfo$(PPUEXT) : $(NSINC)/System.ExeInfo.pp $(LINEINFO_DEPS)
  4558. $(COMPILER) $(EXEINFO_OPT) $<
  4559. LNFODWRF_DEPS=$(INC)/lnfodwrf.pp \
  4560. $(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(LINEINFOUNIT)$(PPUEXT) \
  4561. $(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
  4562. $(LNFODWRF_DEPS_OS) $(LNFODWRF_DEPS_CPU)
  4563. lnfodwrf$(PPUEXT) : $(LNFODWRF_DEPS)
  4564. $(COMPILER) $(LNFODWRF_OPT) $<
  4565. System.LineInfo.Dwarf$(PPUEXT) : $(NSINC)/System.LineInfo.Dwarf.pp $(LNFODWRF_DEPS)
  4566. $(COMPILER) $(LNFODWRF_OPT) $<
  4567. LNFOGDB_DEPS=$(UNIXINC)/lnfogdb.pp \
  4568. $(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(LINEINFOUNIT)$(PPUEXT) \
  4569. $(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
  4570. $(LNFOGDB_DEPS_OS) $(LNFOGDB_DEPS_CPU)
  4571. lnfogdb$(PPUEXT) : $(LNFOGDB_DEPS)
  4572. $(COMPILER) $(LNFOGDB_OPT) $<
  4573. System.LineInfo.Gdb$(PPUEXT) : $(NSINC)/System.LineInfo.Gdb.pp $(LNFOGDB_DEPS)
  4574. $(COMPILER) $(LNFOGDB_OPT) $<
  4575. CHARSET_DEPS=$(INC)/charset.pp \
  4576. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) \
  4577. $(CHARSET_DEPS_OS) $(CHARSET_DEPS_CPU)
  4578. charset$(PPUEXT) : $(CHARSET_DEPS)
  4579. $(COMPILER) $(CHARSET_OPT) $<
  4580. System.CharSet$(PPUEXT) : $(NSINC)/System.CharSet.pp $(CHARSET_DEPS)
  4581. $(COMPILER) $(CHARSET_OPT) $<
  4582. CPALL_DEPS=$(RTL)/charmaps/cpall.pas \
  4583. system$(PPUEXT) $(CHARSETUNIT)$(PPUEXT) \
  4584. $(CPALL_DEPS_OS) $(CPALL_DEPS_CPU)
  4585. cpall$(PPUEXT): $(CPALL_DEPS)
  4586. $(COMPILER) $(CPALL_OPT) -Fu$(INC) -Fi$(RTL)/charmaps $<
  4587. System.CodePages.All$(PPUEXT): $(NSINC)/System.CodePages.All.pas $(CPALL_DEPS)
  4588. $(COMPILER) $(CPALL_OPT) -Fu$(INC) -Fi$(RTL)/charmaps $<
  4589. FPWIDESTRING_DEPS=$(OBJPASDIR)/fpwidestring.pp \
  4590. $(CHARACTERUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(CPALLUNIT)$(PPUEXT) \
  4591. $(FPWIDESTRING_DEPS_OS) $(FPWIDESTRING_DEPS_CPU)
  4592. fpwidestring$(PPUEXT): $(FPWIDESTRING_DEPS)
  4593. $(COMPILER) $(FPWIDESTRING_OPT) $<
  4594. System.FPWideString$(PPUEXT): $(NSINC)/System.FPWideString.pp $(FPWIDESTRING_DEPS)
  4595. $(COMPILER) -Fi$(OBJPASDIR) $(FPWIDESTRING_OPT) $<
  4596. SORTBASE_DEPS=$(INC)/sortbase.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4597. $(SORTBASE_DEPS_OS) $(SORTBASE_DEPS_CPU)
  4598. sortbase$(PPUEXT) : $(SORTBASE_DEPS)
  4599. $(COMPILER) $(SORTBASE_OPT) $<
  4600. System.SortBase$(PPUEXT) : $(NSINC)/System.SortBase.pp $(SORTBASE_DEPS)
  4601. $(COMPILER) $(SORTBASE_OPT) $<
  4602. CALLSPEC_DEPS=$(INC)/callspec.pp \
  4603. $(SYSTEMUNIT)$(PPUEXT) \
  4604. $(CALLSPEC_DEPS_OS) $(CALLSPEC_DEPS_CPU)
  4605. callspec$(PPUEXT) : $(CALLSPEC_DEPS)
  4606. $(COMPILER) $(CALLSPEC_OPT) $<
  4607. System.CallSpec$(PPUEXT) : $(NSINC)/System.CallSpec.pp $(CALLSPEC_DEPS)
  4608. $(COMPILER) $(CALLSPEC_OPT) $<
  4609. CMEM_DEPS=$(INC)/cmem.pp \
  4610. $(SYSTEMUNIT)$(PPUEXT) \
  4611. $(CMEM_DEPS_OS) $(CMEM_DEPS_CPU)
  4612. cmem$(PPUEXT) : $(CMEM_DEPS)
  4613. $(COMPILER) $(CMEM_OPT) $<
  4614. System.CMem$(PPUEXT) : $(NSINC)/System.CMem.pp $(CMEM_DEPS)
  4615. $(COMPILER) $(CMEM_OPT) $<
  4616. BASEUNIX_DEPS=$(UNIXINC)/baseunix.pp $(UNIXINC)/ctypes.inc \
  4617. $(UNIXINC)/bunxh.inc $(UNIXINC)/gensigset.inc $(OSDIR)/ptypes.inc $(OSDIR)/errno.inc \
  4618. $(UNIXTYPEUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4619. $(BASEUNIX_DEPS_OS) $(BASEUNIX_DEPS_CPU)
  4620. baseunix$(PPUEXT): $(BASEUNIX_DEPS)
  4621. $(COMPILER) $(BASEUNIX_OPT) $<
  4622. UnixApi.Base$(PPUEXT): $(NSINC)/UnixApi.Base.pp $(BASEUNIX_DEPS)
  4623. $(COMPILER) $(BASEUNIX_OPT) $<
  4624. UNIX_DEPS=$(UNIXINC)/unix.pp \
  4625. $(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
  4626. $(UNIXUTILUNIT)$(PPUEXT) \
  4627. $(INC)/textrec.inc $(INC)/filerec.inc $(UNIXINC)/timezone.inc \
  4628. $(OSDIR)/unxconst.inc $(OSDIR)/unxfunc.inc \
  4629. $(UNIX_DEPS_OS) $(UNIX_DEPS_CPU)
  4630. unix$(PPUEXT): $(UNIX_DEPS)
  4631. $(COMPILER) $(UNIX_OPT) $<
  4632. UnixApi.Unix$(PPUEXT) : $(NSINC)/UnixApi.Unix.pp $(UNIX_DEPS)
  4633. $(COMPILER) $(UNIX_OPT) $<
  4634. SYSCALL_DEPS=$(UNIXINC)/syscall.pp \
  4635. $(SYSTEMUNIT)$(PPUEXT)\
  4636. $(SYSCALL_DEPS_OS) $(SYSCALL_DEPS_CPU)
  4637. syscall$(PPUEXT) : $(SYSCALL_DEPS)
  4638. $(COMPILER) $(SYSCALL_OPT) $<
  4639. UnixApi.SysCall$(PPUEXT) : $(NSINC)/UnixApi.SysCall.pp $(SYSCALL_DEPS)
  4640. $(COMPILER) $(SYSCALL_OPT) $<
  4641. UNIXUTIL_DEPS=$(UNIXINC)/unixutil.pp $(INC)/textrec.inc $(INC)/filerec.inc\
  4642. $(BASEUNIXUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)\
  4643. $(UNIXUTILDEPSOS)
  4644. unixutil$(PPUEXT) : $(UNIXUTIL_DEPS)
  4645. $(COMPILER) $(UNIXUTIL_OPT) $<
  4646. UnixApi.Utils$(PPUEXT) : $(NSINC)/UnixApi.Utils.pp $(UNIXUTIL_DEPS)
  4647. $(COMPILER) $(UNIXUTIL_OPT) $<
  4648. UNIXTYPE_DEPS=$(UNIXINC)/unixtype.pp \
  4649. $(SYSTEMUNIT)$(PPUEXT) $(OSDIR)/ptypes.inc $(UNIXINC)/ctypes.inc \
  4650. $(UNIXTYPE_DEPS_OS) $(UNIXTYPE_DEPS_CPU)
  4651. unixtype$(PPUEXT) : $(UNIXTYPE_DEPS)
  4652. $(COMPILER) $(UNIXTYPE_OPT) $(UNIXINC)/unixtype.pp
  4653. UnixApi.Types$(PPUEXT) : $(NSINC)/UnixApi.Types.pp $(UNIXTYPE_DEPS)
  4654. $(COMPILER) $(UNIXTYPE_OPT) $<
  4655. DL_DEPS=$(UNIXINC)/dl.pp \
  4656. $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
  4657. $(DL_DEPS_OS) $(DL_DEPS_CPU)
  4658. dl$(PPUEXT) : $(DL_DEPS)
  4659. $(COMPILER) $(DL_OPT) $<
  4660. UnixApi.Dl$(PPUEXT) : $(NSINC)/UnixApi.Dl.pp $(DL_DEPS)
  4661. $(COMPILER) $(DL_OPT) $<
  4662. ERRORS_DEPS=$(UNIXINC)/errors.pp \
  4663. $(STRINGSUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4664. $(ERRORS_DEPS_OS) $(ERRORS_DEPS_CPU)
  4665. errors$(PPUEXT) : $(ERRORS_DEPS)
  4666. $(COMPILER) $(ERRORS_OPT) $<
  4667. UnixApi.Errors$(PPUEXT) : $(NSINC)/UnixApi.Errors.pp $(ERRORS_DEPS)
  4668. $(COMPILER) $(ERRORS_OPT) $<
  4669. CTHREADS_DEPS=$(UNIXINC)/cthreads.pp \
  4670. $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) \
  4671. $(BASEUNIXUNIT)$(PPUEXT) $(INITCUNIT)$(PPUEXT) $(DLUNIT)$(PPUEXT) \
  4672. $(CTHREADS_DEPS_OS) $(CTHREADS_DEPS_CPU)
  4673. cthreads$(PPUEXT) : $(CTHREADS_DEPS)
  4674. $(COMPILER) $(CTHREADS_OPT) $<
  4675. UnixApi.CThreads$(PPUEXT) : $(NSINC)/UnixApi.CThreads.pp $(CTHREADS_DEPS)
  4676. $(COMPILER) $(CTHREADS_OPT) $<
  4677. CWSTRING_DEPS=$(UNIXINC)/cwstring.pp \
  4678. $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
  4679. $(UNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
  4680. $(DYNLIBSUNIT)$(PPUEXT) $(UNIXCPUNIT)$(PPUEXT) \
  4681. $(CWSTRING_DEPS_OS) $(CWSTRING_DEPS_CPU)
  4682. cwstring$(PPUEXT) : $(CWSTRING_DEPS)
  4683. $(COMPILER) $(CWSTRING_OPT) $<
  4684. UnixApi.CWString$(PPUEXT) : $(NSINC)/UnixApi.CWString.pp $(CWSTRING_DEPS)
  4685. $(COMPILER) $(CWSTRING_OPT) $<
  4686. CTYPES_DEPS=$(INC)/ctypes.pp \
  4687. $(SYSTEMUNIT)$(PPUEXT) \
  4688. $(CTYPES_DEPS_OS) $(CTYPES_DEPS_CPU)
  4689. ctypes$(PPUEXT) : $(CTYPES_DEPS)
  4690. $(COMPILER) $(CTYPES_OPT) $<
  4691. System.CTypes$(PPUEXT) : $(NSINC)/System.CTypes.pp $(CTYPES_DEPS)
  4692. $(COMPILER) $(CTYPES_OPT) $<
  4693. OBJC_DEPS=$(INC)/objc.pp $(INC)/objc.pp $(INC)/objc1.inc $(INC)/objcnf.inc \
  4694. $(SYSTEMUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4695. $(OBJC_DEPS_OS) $(OBJC_DEPS_CPU)
  4696. objc$(PPUEXT) : $(OBJC_DEPS)
  4697. $(COMPILER) $(OBJC_OPT) $<
  4698. OBJCBASE_DEPS=$(INC)/objcbase.pp \
  4699. $(SYSTEMUNIT)$(PPUEXT) $(OBJCUNIT)$(PPUEXT) \
  4700. $(OBJCBASE_DEPS_OS) $(OBJCBASE_DEPS_CPU)
  4701. objcbase$(PPUEXT) : $(OBJCBASE_DEPS)
  4702. $(COMPILER) $(OBJCBASE_OPT) $<
  4703. BLOCKRTL_DEPS=$(INC)/blockrtl.pp \
  4704. $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) $(INITCUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
  4705. $(BLOCKRTL_DEPS_OS) $(BLOCKRTL_DEPS_CPU)
  4706. blockrtl$(PPUEXT) : $(BLOCKRTL_DEPS)
  4707. $(COMPILER) $(BLOCKRTL_OPT) $<
  4708. WINDOWS_DEPS=windows.pp $(SYSTEMUNIT)$(PPUEXT) \
  4709. $(WINDOWS_DEPS_OS) $(WINDOWS_DEPS_CPU)
  4710. windows$(PPUEXT): $(WINDOWS_DEPS)
  4711. $(COMPILER) $(WINDOWS_OPT) $<
  4712. WinApi.Windows$(PPUEXT): $(NSOSDIR)/WinApi.Windows.pp $(WINDOWS_DEPS)
  4713. $(COMPILER) -Fi$(WININC) -Fi$(WINDIR) $(WINDOWS_OPT) $<
  4714. WINDIRS_DEPS=windirs.pp $(WINDOWSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
  4715. $(WINDIRS_DEPS_OS) $(WINDIRS_DEPS_CPU)
  4716. windirs$(PPUEXT): $(WINDIRS_DEPS)
  4717. $(COMPILER) $(WINDIRS_OPT) $<
  4718. WinApi.WinDirs$(PPUEXT): $(NSOSDIR)/WinApi.WinDirs.pp $(WINDIRS_DEPS)
  4719. $(COMPILER) -Fi$(WININC) -Fi$(WINDIR) $(WINDIRS_OPT) $<
  4720. SYSCTL_DEPS=$(BSDINC)/sysctl.pp $(SYSTEMUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) \
  4721. $(SYSCTL_DEPS_OS) $(SYSCTL_DEPS_CPU)
  4722. sysctl$(PPUEXT) : $(SYSCTL_DEPS)
  4723. $(COMPILER) $(SYSCTL_OPT) $<
  4724. BsdApi.SysCtl$(PPUEXT) : $(NSBSDDIR)/BsdApi.SysCtl.pp $(SYSCTL_DEPS)
  4725. $(COMPILER) $(BSD_OPT) $<
  4726. BSD_DEPS=$(BSDINC)/bsd.pas $(INITCUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) \
  4727. $(BSD_DEPS_OS) $(BSD_DEPS_CPU)
  4728. bsd$(PPUEXT): $(BSD_DEPS)
  4729. $(COMPILER) $(BSD_OPT) $<
  4730. BsdApi$(PPUEXT): $(NSBSDDIR)/BsdApi.pp $(BSD_DEPS)
  4731. $(COMPILER) $(BSD_OPT) $<
  4732. .NOTPARALLEL:
  4733. include $(INC)/makefile.inc
  4734. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  4735. include $(PROCINC)/makefile.cpu
  4736. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  4737. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
  4738. prt0$(OEXT) : $(CPU_TARGET)/prt0.as
  4739. $(AS) -o $(UNITTARGETDIRPREFIX)prt0$(OEXT) $(CPU_TARGET)/prt0.as
  4740. cprt0$(OEXT) : $(CPU_TARGET)/cprt0.as
  4741. $(AS) -o $(UNITTARGETDIRPREFIX)cprt0$(OEXT) $(CPU_TARGET)/cprt0.as
  4742. gprt0$(OEXT) : $(CPU_TARGET)/gprt0.as
  4743. $(AS) -o $(UNITTARGETDIRPREFIX)gprt0$(OEXT) $(CPU_TARGET)/gprt0.as
  4744. dllprt0$(OEXT) : $(CPU_TARGET)/dllprt0.as
  4745. $(AS) -o $(UNITTARGETDIRPREFIX)dllprt0$(OEXT) $(CPU_TARGET)/dllprt0.as
  4746. $(SYSTEMUNIT)$(PPUEXT) : $(BSDINC)/$(SYSTEMUNIT).pp unxconst.inc $(SYSDEPS)
  4747. $(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg $(BSDINC)/$(SYSTEMUNIT).pp
  4748. uuchar$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) $(INC)/uuchar.pp
  4749. objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc $(SYSTEMUNIT)$(PPUEXT)
  4750. $(COMPILER) -I$(OBJPASDIR) $(OBJPASDIR)/objpas.pp
  4751. strings$(PPUEXT) : $(INC)/strings.pp $(INC)/stringsi.inc\
  4752. $(PROCINC)/strings.inc $(PROCINC)/stringss.inc\
  4753. $(SYSTEMUNIT)$(PPUEXT)
  4754. unixtype$(PPUEXT): $(UNIXINC)/unixtype.pp $(UNIXINC)/ctypes.inc ptypes.inc $(SYSTEMUNIT)$(PPUEXT)
  4755. baseunix$(PPUEXT) : errno.inc ptypes.inc $(UNIXINC)/ctypes.inc \
  4756. $(CPU_TARGET)/signal.inc $(UNIXINC)/bunxh.inc \
  4757. $(BSDINC)/bunxsysc.inc $(BSDPROCINC)/syscallh.inc sysnr.inc \
  4758. $(BSDINC)/ostypes.inc $(BSDINC)/osmacro.inc $(UNIXINC)/gensigset.inc \
  4759. $(UNIXINC)/genfuncs.inc sysctl$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4760. unix$(PPUEXT) : $(UNIXINC)/unix.pp strings$(PPUEXT) $(INC)/textrec.inc $(INC)/filerec.inc \
  4761. unxconst.inc $(UNIXINC)/timezone.inc \
  4762. unxfunc.inc baseunix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4763. bsd$(PPUEXT) : $(BSDINC)/bsd.pas initc$(PPUEXT) unix$(PPUEXT) syscall$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4764. initc$(PPUEXT) : $(UNIXINC)/initc.pp ctypes$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4765. unixcp$(PPUEXT) : $(UNIXINC)/unixcp.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) baseunix$(PPUEXT)
  4766. $(COMPILER) $(UNIXINC)/unixcp.pp
  4767. dos$(PPUEXT) : $(UNIXINC)/dos.pp $(INC)/filerec.inc $(INC)/textrec.inc strings$(PPUEXT) \
  4768. unix$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4769. sysutils$(PPUEXT) : $(UNIXINC)/sysutils.pp $(wildcard $(OBJPASDIR)/sysutils/*.inc) \
  4770. objpas$(PPUEXT) unix$(PPUEXT) errors$(PPUEXT) sysconst$(PPUEXT)
  4771. $(COMPILER) -Fi$(OBJPASDIR)/sysutils $(UNIXINC)/sysutils.pp
  4772. rtlconsts$(PPUEXT) : $(OBJPASDIR)/rtlconsts.pp
  4773. $(COMPILER) $(OBJPASDIR)/rtlconsts.pp
  4774. classes$(PPUEXT) : $(UNIXINC)/classes.pp $(wildcard $(OBJPASDIR)/classes/*.inc) \
  4775. sysutils$(PPUEXT) typinfo$(PPUEXT) rtlconsts$(PPUEXT) fgl$(PPUEXT) sortbase$(PPUEXT)
  4776. $(COMPILER) -Fi$(OBJPASDIR)/classes $(UNIXINC)/classes.pp
  4777. fgl$(PPUEXT) : $(OBJPASDIR)/fgl.pp objpas$(PPUEXT) types$(PPUEXT) system$(PPUEXT) sysutils$(PPUEXT) sortbase$(PPUEXT)
  4778. $(COMPILER) $(OBJPASDIR)/fgl.pp
  4779. typinfo$(PPUEXT): $(OBJPASDIR)/typinfo.pp objpas$(PPUEXT) rtlconsts$(PPUEXT)
  4780. $(COMPILER) -Sg $(OBJPASDIR)/typinfo.pp
  4781. math$(PPUEXT): $(OBJPASDIR)/math.pp objpas$(PPUEXT) sysutils$(PPUEXT)
  4782. $(COMPILER) $(OBJPASDIR)/math.pp
  4783. types$(PPUEXT) : $(OBJPASDIR)/types.pp objpas$(PPUEXT) math$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4784. $(COMPILER) $(OBJPASDIR)/types.pp
  4785. sysconst$(PPUEXT) : $(OBJPASDIR)/sysconst.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4786. $(COMPILER) $(OBJPASDIR)/sysconst.pp
  4787. character$(PPUEXT): sysutils$(PPUEXT) $(OBJPASDIR)/character.pas objpas$(PPUEXT) rtlconsts$(PPUEXT)
  4788. $(COMPILER) $(OBJPASDIR)/character.pas
  4789. macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT)
  4790. $(COMPILER) $(INC)/macpas.pp $(REDIR)
  4791. iso7185$(PPUEXT) : $(INC)/iso7185.pp $(SYSTEMUNIT)$(PPUEXT)
  4792. $(COMPILER) $(INC)/iso7185.pp
  4793. extpas$(PPUEXT) : $(INC)/extpas.pp dos$(PPUEXT)
  4794. $(COMPILER) $(INC)/extpas.pp $(REDIR)
  4795. x86$(PPUEXT) : $(UNIXINC)/x86.pp $(SYSTEMUNIT)$(PPUEXT)
  4796. ifneq ($(findstring $(ARCH),x86_64 i386),)
  4797. cpu$(PPUEXT) : $(PROCINC)/cpu.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT)
  4798. else
  4799. cpu$(PPUEXT) : $(PROCINC)/cpu.pp $(SYSTEMUNIT)$(PPUEXT)
  4800. endif
  4801. mmx$(PPUEXT) : $(PROCINC)/mmx.pp cpu$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4802. getopts$(PPUEXT) : $(INC)/getopts.pp $(SYSTEMUNIT)$(PPUEXT)
  4803. heaptrc$(PPUEXT) : $(INC)/heaptrc.pp $(SYSTEMUNIT)$(PPUEXT)
  4804. $(COMPILER) -Sg $(INC)/heaptrc.pp
  4805. lineinfo$(PPUEXT) : $(INC)/lineinfo.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT)
  4806. lnfodwrf$(PPUEXT) : $(INC)/lnfodwrf.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT) lineinfo$(PPUEXT)
  4807. charset$(PPUEXT) : $(INC)/charset.pp $(SYSTEMUNIT)$(PPUEXT)
  4808. cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) charset$(PPUEXT)
  4809. $(COMPILER) -Fu$(INC) -Fi$(RTL)/charmaps $(RTL)/charmaps/cpall.pas
  4810. fpwidestring$(PPUEXT): $(OBJPASDIR)/fpwidestring.pp character$(PPUEXT) unixcp$(PPUEXT)
  4811. $(COMPILER) $(OBJPASDIR)/fpwidestring.pp
  4812. sortbase$(PPUEXT) : $(INC)/sortbase.pp objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4813. $(COMPILER) $(INC)/sortbase.pp
  4814. errors$(PPUEXT) : $(UNIXINC)/errors.pp strings$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4815. callspec$(PPUEXT) : $(INC)/callspec.pp $(SYSTEMUNIT)$(PPUEXT)
  4816. cmem$(PPUEXT) : $(INC)/cmem.pp $(SYSTEMUNIT)$(PPUEXT)
  4817. sysctl$(PPUEXT) : $(BSDINC)/sysctl.pp unixtype$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) syscall$(PPUEXT)
  4818. cthreads$(PPUEXT) : $(UNIXINC)/cthreads.pp $(SYSTEMUNIT)$(PPUEXT)
  4819. dynlibs$(PPUEXT) : $(INC)/dynlibs.pas $(UNIXINC)/dynlibs.inc dl$(PPUEXT) objpas$(PPUEXT)
  4820. ctypes$(PPUEXT) : $(INC)/ctypes.pp $(SYSTEMUNIT)$(PPUEXT)
  4821. cwstring$(PPUEXT) : $(UNIXINC)/cwstring.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT) baseunix$(PPUEXT) unix$(PPUEXT) unixtype$(PPUEXT) ctypes$(PPUEXT) dynlibs$(PPUEXT)
  4822. softfpu$(PPUEXT) : $(INC)/softfpu.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT)
  4823. $(COMPILER) $<
  4824. sfpux80$(PPUEXT) : $(INC)/sfpux80.pp $(INC)/softfpu.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT)
  4825. $(COMPILER) $<
  4826. sfpu128$(PPUEXT) : $(INC)/sfpu128.pp $(INC)/softfpu.pp $(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT)
  4827. $(COMPILER) $<
  4828. ufloatx80$(PPUEXT) : $(INC)/ufloatx80.pp sfpux80$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4829. $(COMPILER) $<
  4830. ufloat128$(PPUEXT) : $(INC)/ufloat128.pp sfpu128$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  4831. $(COMPILER) $<