Makefile 148 KB

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