Makefile 141 KB

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