Makefile 118 KB

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