Makefile 154 KB

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