Makefile 152 KB

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