Makefile 147 KB

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