Makefile 172 KB

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