Makefile 172 KB

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