Makefile 170 KB

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