Makefile 102 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595
  1. #
  2. # Don't edit, this file is generated by FPCMake Version 2.0.0 [2017-12-27 rev 37833]
  3. #
  4. default: all
  5. MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd m68k-amiga m68k-atari m68k-palmos m68k-macos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-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 sparc64-linux
  6. BSDs = freebsd netbsd openbsd darwin dragonfly
  7. UNIXs = linux $(BSDs) solaris qnx haiku aix
  8. LIMIT83fs = go32v2 os2 emx watcom msdos win16 atari
  9. OSNeedsComspecToRunBatch = go32v2 watcom
  10. FORCE:
  11. .PHONY: FORCE
  12. override PATH:=$(patsubst %/,%,$(subst \,/,$(PATH)))
  13. ifneq ($(findstring darwin,$(OSTYPE)),)
  14. inUnix=1 #darwin
  15. SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
  16. else
  17. ifeq ($(findstring ;,$(PATH)),)
  18. inUnix=1
  19. SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
  20. else
  21. SEARCHPATH:=$(subst ;, ,$(PATH))
  22. endif
  23. endif
  24. SEARCHPATH+=$(patsubst %/,%,$(subst \,/,$(dir $(MAKE))))
  25. PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
  26. ifeq ($(PWD),)
  27. PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
  28. ifeq ($(PWD),)
  29. $(error You need the GNU utils package to use this Makefile)
  30. else
  31. PWD:=$(firstword $(PWD))
  32. SRCEXEEXT=
  33. endif
  34. else
  35. PWD:=$(firstword $(PWD))
  36. SRCEXEEXT=.exe
  37. endif
  38. ifndef inUnix
  39. ifeq ($(OS),Windows_NT)
  40. inWinNT=1
  41. else
  42. ifdef OS2_SHELL
  43. inOS2=1
  44. endif
  45. endif
  46. else
  47. ifneq ($(findstring cygdrive,$(PATH)),)
  48. inCygWin=1
  49. endif
  50. endif
  51. ifdef inUnix
  52. SRCBATCHEXT=.sh
  53. else
  54. ifdef inOS2
  55. SRCBATCHEXT=.cmd
  56. else
  57. SRCBATCHEXT=.bat
  58. endif
  59. endif
  60. ifdef COMSPEC
  61. ifneq ($(findstring $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
  62. ifndef RUNBATCH
  63. RUNBATCH=$(COMSPEC) /C
  64. endif
  65. endif
  66. endif
  67. ifdef inUnix
  68. PATHSEP=/
  69. else
  70. PATHSEP:=$(subst /,\,/)
  71. ifdef inCygWin
  72. PATHSEP=/
  73. endif
  74. endif
  75. ifdef PWD
  76. BASEDIR:=$(subst \,/,$(shell $(PWD)))
  77. ifdef inCygWin
  78. ifneq ($(findstring /cygdrive/,$(BASEDIR)),)
  79. BASENODIR:=$(patsubst /cygdrive%,%,$(BASEDIR))
  80. BASEDRIVE:=$(firstword $(subst /, ,$(BASENODIR)))
  81. BASEDIR:=$(subst /cygdrive/$(BASEDRIVE)/,$(BASEDRIVE):/,$(BASEDIR))
  82. endif
  83. endif
  84. else
  85. BASEDIR=.
  86. endif
  87. ifdef inOS2
  88. ifndef ECHO
  89. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  90. ifeq ($(ECHO),)
  91. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  92. ifeq ($(ECHO),)
  93. ECHO=echo
  94. else
  95. ECHO:=$(firstword $(ECHO))
  96. endif
  97. else
  98. ECHO:=$(firstword $(ECHO))
  99. endif
  100. endif
  101. export ECHO
  102. endif
  103. override OS_TARGET_DEFAULT=macos
  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=../inc
  339. PROCINC=../$(CPU_TARGET)
  340. PPUEXT=pput
  341. ASMEXT=.s
  342. UNITPREFIX=rtl
  343. SYSTEMUNIT=system
  344. ifdef RELEASE
  345. ifeq ($(findstring 1.0.2,$(FPC_VERSION)),)
  346. ifeq ($(findstring 1.0.4,$(FPC_VERSION)),)
  347. override FPCOPT+=-Ur
  348. endif
  349. endif
  350. endif
  351. OBJPASDIR=$(RTL)/objpas
  352. GRAPHDIR=$(INC)/graph
  353. ifeq ($(FULL_TARGET),i386-linux)
  354. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  355. endif
  356. ifeq ($(FULL_TARGET),i386-go32v2)
  357. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  358. endif
  359. ifeq ($(FULL_TARGET),i386-win32)
  360. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  361. endif
  362. ifeq ($(FULL_TARGET),i386-os2)
  363. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  364. endif
  365. ifeq ($(FULL_TARGET),i386-freebsd)
  366. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  367. endif
  368. ifeq ($(FULL_TARGET),i386-beos)
  369. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  370. endif
  371. ifeq ($(FULL_TARGET),i386-haiku)
  372. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  373. endif
  374. ifeq ($(FULL_TARGET),i386-netbsd)
  375. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  376. endif
  377. ifeq ($(FULL_TARGET),i386-solaris)
  378. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  379. endif
  380. ifeq ($(FULL_TARGET),i386-netware)
  381. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  382. endif
  383. ifeq ($(FULL_TARGET),i386-openbsd)
  384. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  385. endif
  386. ifeq ($(FULL_TARGET),i386-wdosx)
  387. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  388. endif
  389. ifeq ($(FULL_TARGET),i386-darwin)
  390. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  391. endif
  392. ifeq ($(FULL_TARGET),i386-emx)
  393. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  394. endif
  395. ifeq ($(FULL_TARGET),i386-watcom)
  396. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  397. endif
  398. ifeq ($(FULL_TARGET),i386-netwlibc)
  399. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  400. endif
  401. ifeq ($(FULL_TARGET),i386-wince)
  402. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  403. endif
  404. ifeq ($(FULL_TARGET),i386-embedded)
  405. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  406. endif
  407. ifeq ($(FULL_TARGET),i386-symbian)
  408. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  409. endif
  410. ifeq ($(FULL_TARGET),i386-nativent)
  411. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  412. endif
  413. ifeq ($(FULL_TARGET),i386-iphonesim)
  414. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  415. endif
  416. ifeq ($(FULL_TARGET),i386-android)
  417. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  418. endif
  419. ifeq ($(FULL_TARGET),i386-aros)
  420. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  421. endif
  422. ifeq ($(FULL_TARGET),m68k-linux)
  423. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  424. endif
  425. ifeq ($(FULL_TARGET),m68k-netbsd)
  426. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  427. endif
  428. ifeq ($(FULL_TARGET),m68k-amiga)
  429. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  430. endif
  431. ifeq ($(FULL_TARGET),m68k-atari)
  432. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  433. endif
  434. ifeq ($(FULL_TARGET),m68k-palmos)
  435. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  436. endif
  437. ifeq ($(FULL_TARGET),m68k-macos)
  438. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  439. endif
  440. ifeq ($(FULL_TARGET),m68k-embedded)
  441. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  442. endif
  443. ifeq ($(FULL_TARGET),powerpc-linux)
  444. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  445. endif
  446. ifeq ($(FULL_TARGET),powerpc-netbsd)
  447. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  448. endif
  449. ifeq ($(FULL_TARGET),powerpc-amiga)
  450. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  451. endif
  452. ifeq ($(FULL_TARGET),powerpc-macos)
  453. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  454. endif
  455. ifeq ($(FULL_TARGET),powerpc-darwin)
  456. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  457. endif
  458. ifeq ($(FULL_TARGET),powerpc-morphos)
  459. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  460. endif
  461. ifeq ($(FULL_TARGET),powerpc-embedded)
  462. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  463. endif
  464. ifeq ($(FULL_TARGET),powerpc-wii)
  465. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  466. endif
  467. ifeq ($(FULL_TARGET),powerpc-aix)
  468. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  469. endif
  470. ifeq ($(FULL_TARGET),sparc-linux)
  471. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  472. endif
  473. ifeq ($(FULL_TARGET),sparc-netbsd)
  474. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  475. endif
  476. ifeq ($(FULL_TARGET),sparc-solaris)
  477. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  478. endif
  479. ifeq ($(FULL_TARGET),sparc-embedded)
  480. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  481. endif
  482. ifeq ($(FULL_TARGET),x86_64-linux)
  483. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  484. endif
  485. ifeq ($(FULL_TARGET),x86_64-freebsd)
  486. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  487. endif
  488. ifeq ($(FULL_TARGET),x86_64-netbsd)
  489. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  490. endif
  491. ifeq ($(FULL_TARGET),x86_64-solaris)
  492. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  493. endif
  494. ifeq ($(FULL_TARGET),x86_64-openbsd)
  495. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  496. endif
  497. ifeq ($(FULL_TARGET),x86_64-darwin)
  498. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  499. endif
  500. ifeq ($(FULL_TARGET),x86_64-win64)
  501. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  502. endif
  503. ifeq ($(FULL_TARGET),x86_64-embedded)
  504. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  505. endif
  506. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  507. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  508. endif
  509. ifeq ($(FULL_TARGET),x86_64-aros)
  510. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  511. endif
  512. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  513. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  514. endif
  515. ifeq ($(FULL_TARGET),arm-linux)
  516. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  517. endif
  518. ifeq ($(FULL_TARGET),arm-palmos)
  519. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  520. endif
  521. ifeq ($(FULL_TARGET),arm-darwin)
  522. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  523. endif
  524. ifeq ($(FULL_TARGET),arm-wince)
  525. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  526. endif
  527. ifeq ($(FULL_TARGET),arm-gba)
  528. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  529. endif
  530. ifeq ($(FULL_TARGET),arm-nds)
  531. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  532. endif
  533. ifeq ($(FULL_TARGET),arm-embedded)
  534. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  535. endif
  536. ifeq ($(FULL_TARGET),arm-symbian)
  537. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  538. endif
  539. ifeq ($(FULL_TARGET),arm-android)
  540. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  541. endif
  542. ifeq ($(FULL_TARGET),arm-aros)
  543. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  544. endif
  545. ifeq ($(FULL_TARGET),powerpc64-linux)
  546. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  547. endif
  548. ifeq ($(FULL_TARGET),powerpc64-darwin)
  549. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  550. endif
  551. ifeq ($(FULL_TARGET),powerpc64-embedded)
  552. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  553. endif
  554. ifeq ($(FULL_TARGET),powerpc64-aix)
  555. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  556. endif
  557. ifeq ($(FULL_TARGET),avr-embedded)
  558. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  559. endif
  560. ifeq ($(FULL_TARGET),armeb-linux)
  561. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  562. endif
  563. ifeq ($(FULL_TARGET),armeb-embedded)
  564. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  565. endif
  566. ifeq ($(FULL_TARGET),mips-linux)
  567. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  568. endif
  569. ifeq ($(FULL_TARGET),mipsel-linux)
  570. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  571. endif
  572. ifeq ($(FULL_TARGET),mipsel-embedded)
  573. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  574. endif
  575. ifeq ($(FULL_TARGET),mipsel-android)
  576. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  577. endif
  578. ifeq ($(FULL_TARGET),jvm-java)
  579. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  580. endif
  581. ifeq ($(FULL_TARGET),jvm-android)
  582. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  583. endif
  584. ifeq ($(FULL_TARGET),i8086-embedded)
  585. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  586. endif
  587. ifeq ($(FULL_TARGET),i8086-msdos)
  588. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  589. endif
  590. ifeq ($(FULL_TARGET),i8086-win16)
  591. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  592. endif
  593. ifeq ($(FULL_TARGET),aarch64-linux)
  594. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  595. endif
  596. ifeq ($(FULL_TARGET),aarch64-darwin)
  597. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  598. endif
  599. ifeq ($(FULL_TARGET),wasm-wasm)
  600. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  601. endif
  602. ifeq ($(FULL_TARGET),sparc64-linux)
  603. override TARGET_UNITS+=system uuchar strings objpas iso7185 heaptrc getopts macostp macutils unixutil dos extpas cmem charset cpall ctypes
  604. endif
  605. ifeq ($(FULL_TARGET),i386-linux)
  606. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  607. endif
  608. ifeq ($(FULL_TARGET),i386-go32v2)
  609. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  610. endif
  611. ifeq ($(FULL_TARGET),i386-win32)
  612. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  613. endif
  614. ifeq ($(FULL_TARGET),i386-os2)
  615. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  616. endif
  617. ifeq ($(FULL_TARGET),i386-freebsd)
  618. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  619. endif
  620. ifeq ($(FULL_TARGET),i386-beos)
  621. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  622. endif
  623. ifeq ($(FULL_TARGET),i386-haiku)
  624. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  625. endif
  626. ifeq ($(FULL_TARGET),i386-netbsd)
  627. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  628. endif
  629. ifeq ($(FULL_TARGET),i386-solaris)
  630. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  631. endif
  632. ifeq ($(FULL_TARGET),i386-netware)
  633. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  634. endif
  635. ifeq ($(FULL_TARGET),i386-openbsd)
  636. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  637. endif
  638. ifeq ($(FULL_TARGET),i386-wdosx)
  639. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  640. endif
  641. ifeq ($(FULL_TARGET),i386-darwin)
  642. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  643. endif
  644. ifeq ($(FULL_TARGET),i386-emx)
  645. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  646. endif
  647. ifeq ($(FULL_TARGET),i386-watcom)
  648. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  649. endif
  650. ifeq ($(FULL_TARGET),i386-netwlibc)
  651. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  652. endif
  653. ifeq ($(FULL_TARGET),i386-wince)
  654. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  655. endif
  656. ifeq ($(FULL_TARGET),i386-embedded)
  657. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  658. endif
  659. ifeq ($(FULL_TARGET),i386-symbian)
  660. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  661. endif
  662. ifeq ($(FULL_TARGET),i386-nativent)
  663. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  664. endif
  665. ifeq ($(FULL_TARGET),i386-iphonesim)
  666. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  667. endif
  668. ifeq ($(FULL_TARGET),i386-android)
  669. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  670. endif
  671. ifeq ($(FULL_TARGET),i386-aros)
  672. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  673. endif
  674. ifeq ($(FULL_TARGET),m68k-linux)
  675. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  676. endif
  677. ifeq ($(FULL_TARGET),m68k-netbsd)
  678. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  679. endif
  680. ifeq ($(FULL_TARGET),m68k-amiga)
  681. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  682. endif
  683. ifeq ($(FULL_TARGET),m68k-atari)
  684. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  685. endif
  686. ifeq ($(FULL_TARGET),m68k-palmos)
  687. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  688. endif
  689. ifeq ($(FULL_TARGET),m68k-macos)
  690. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  691. endif
  692. ifeq ($(FULL_TARGET),m68k-embedded)
  693. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  694. endif
  695. ifeq ($(FULL_TARGET),powerpc-linux)
  696. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  697. endif
  698. ifeq ($(FULL_TARGET),powerpc-netbsd)
  699. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  700. endif
  701. ifeq ($(FULL_TARGET),powerpc-amiga)
  702. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  703. endif
  704. ifeq ($(FULL_TARGET),powerpc-macos)
  705. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  706. endif
  707. ifeq ($(FULL_TARGET),powerpc-darwin)
  708. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  709. endif
  710. ifeq ($(FULL_TARGET),powerpc-morphos)
  711. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  712. endif
  713. ifeq ($(FULL_TARGET),powerpc-embedded)
  714. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  715. endif
  716. ifeq ($(FULL_TARGET),powerpc-wii)
  717. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  718. endif
  719. ifeq ($(FULL_TARGET),powerpc-aix)
  720. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  721. endif
  722. ifeq ($(FULL_TARGET),sparc-linux)
  723. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  724. endif
  725. ifeq ($(FULL_TARGET),sparc-netbsd)
  726. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  727. endif
  728. ifeq ($(FULL_TARGET),sparc-solaris)
  729. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  730. endif
  731. ifeq ($(FULL_TARGET),sparc-embedded)
  732. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  733. endif
  734. ifeq ($(FULL_TARGET),x86_64-linux)
  735. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  736. endif
  737. ifeq ($(FULL_TARGET),x86_64-freebsd)
  738. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  739. endif
  740. ifeq ($(FULL_TARGET),x86_64-netbsd)
  741. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  742. endif
  743. ifeq ($(FULL_TARGET),x86_64-solaris)
  744. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  745. endif
  746. ifeq ($(FULL_TARGET),x86_64-openbsd)
  747. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  748. endif
  749. ifeq ($(FULL_TARGET),x86_64-darwin)
  750. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  751. endif
  752. ifeq ($(FULL_TARGET),x86_64-win64)
  753. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  754. endif
  755. ifeq ($(FULL_TARGET),x86_64-embedded)
  756. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  757. endif
  758. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  759. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  760. endif
  761. ifeq ($(FULL_TARGET),x86_64-aros)
  762. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  763. endif
  764. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  765. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  766. endif
  767. ifeq ($(FULL_TARGET),arm-linux)
  768. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  769. endif
  770. ifeq ($(FULL_TARGET),arm-palmos)
  771. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  772. endif
  773. ifeq ($(FULL_TARGET),arm-darwin)
  774. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  775. endif
  776. ifeq ($(FULL_TARGET),arm-wince)
  777. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  778. endif
  779. ifeq ($(FULL_TARGET),arm-gba)
  780. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  781. endif
  782. ifeq ($(FULL_TARGET),arm-nds)
  783. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  784. endif
  785. ifeq ($(FULL_TARGET),arm-embedded)
  786. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  787. endif
  788. ifeq ($(FULL_TARGET),arm-symbian)
  789. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  790. endif
  791. ifeq ($(FULL_TARGET),arm-android)
  792. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  793. endif
  794. ifeq ($(FULL_TARGET),arm-aros)
  795. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  796. endif
  797. ifeq ($(FULL_TARGET),powerpc64-linux)
  798. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  799. endif
  800. ifeq ($(FULL_TARGET),powerpc64-darwin)
  801. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  802. endif
  803. ifeq ($(FULL_TARGET),powerpc64-embedded)
  804. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  805. endif
  806. ifeq ($(FULL_TARGET),powerpc64-aix)
  807. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  808. endif
  809. ifeq ($(FULL_TARGET),avr-embedded)
  810. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  811. endif
  812. ifeq ($(FULL_TARGET),armeb-linux)
  813. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  814. endif
  815. ifeq ($(FULL_TARGET),armeb-embedded)
  816. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  817. endif
  818. ifeq ($(FULL_TARGET),mips-linux)
  819. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  820. endif
  821. ifeq ($(FULL_TARGET),mipsel-linux)
  822. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  823. endif
  824. ifeq ($(FULL_TARGET),mipsel-embedded)
  825. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  826. endif
  827. ifeq ($(FULL_TARGET),mipsel-android)
  828. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  829. endif
  830. ifeq ($(FULL_TARGET),jvm-java)
  831. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  832. endif
  833. ifeq ($(FULL_TARGET),jvm-android)
  834. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  835. endif
  836. ifeq ($(FULL_TARGET),i8086-embedded)
  837. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  838. endif
  839. ifeq ($(FULL_TARGET),i8086-msdos)
  840. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  841. endif
  842. ifeq ($(FULL_TARGET),i8086-win16)
  843. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  844. endif
  845. ifeq ($(FULL_TARGET),aarch64-linux)
  846. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  847. endif
  848. ifeq ($(FULL_TARGET),aarch64-darwin)
  849. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  850. endif
  851. ifeq ($(FULL_TARGET),wasm-wasm)
  852. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  853. endif
  854. ifeq ($(FULL_TARGET),sparc64-linux)
  855. override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
  856. endif
  857. override INSTALL_FPCPACKAGE=y
  858. ifeq ($(FULL_TARGET),i386-linux)
  859. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  860. endif
  861. ifeq ($(FULL_TARGET),i386-go32v2)
  862. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  863. endif
  864. ifeq ($(FULL_TARGET),i386-win32)
  865. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  866. endif
  867. ifeq ($(FULL_TARGET),i386-os2)
  868. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  869. endif
  870. ifeq ($(FULL_TARGET),i386-freebsd)
  871. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  872. endif
  873. ifeq ($(FULL_TARGET),i386-beos)
  874. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  875. endif
  876. ifeq ($(FULL_TARGET),i386-haiku)
  877. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  878. endif
  879. ifeq ($(FULL_TARGET),i386-netbsd)
  880. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  881. endif
  882. ifeq ($(FULL_TARGET),i386-solaris)
  883. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  884. endif
  885. ifeq ($(FULL_TARGET),i386-netware)
  886. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  887. endif
  888. ifeq ($(FULL_TARGET),i386-openbsd)
  889. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  890. endif
  891. ifeq ($(FULL_TARGET),i386-wdosx)
  892. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  893. endif
  894. ifeq ($(FULL_TARGET),i386-darwin)
  895. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  896. endif
  897. ifeq ($(FULL_TARGET),i386-emx)
  898. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  899. endif
  900. ifeq ($(FULL_TARGET),i386-watcom)
  901. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  902. endif
  903. ifeq ($(FULL_TARGET),i386-netwlibc)
  904. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  905. endif
  906. ifeq ($(FULL_TARGET),i386-wince)
  907. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  908. endif
  909. ifeq ($(FULL_TARGET),i386-embedded)
  910. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  911. endif
  912. ifeq ($(FULL_TARGET),i386-symbian)
  913. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  914. endif
  915. ifeq ($(FULL_TARGET),i386-nativent)
  916. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  917. endif
  918. ifeq ($(FULL_TARGET),i386-iphonesim)
  919. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  920. endif
  921. ifeq ($(FULL_TARGET),i386-android)
  922. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  923. endif
  924. ifeq ($(FULL_TARGET),i386-aros)
  925. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  926. endif
  927. ifeq ($(FULL_TARGET),m68k-linux)
  928. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  929. endif
  930. ifeq ($(FULL_TARGET),m68k-netbsd)
  931. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  932. endif
  933. ifeq ($(FULL_TARGET),m68k-amiga)
  934. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  935. endif
  936. ifeq ($(FULL_TARGET),m68k-atari)
  937. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  938. endif
  939. ifeq ($(FULL_TARGET),m68k-palmos)
  940. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  941. endif
  942. ifeq ($(FULL_TARGET),m68k-macos)
  943. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  944. endif
  945. ifeq ($(FULL_TARGET),m68k-embedded)
  946. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  947. endif
  948. ifeq ($(FULL_TARGET),powerpc-linux)
  949. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  950. endif
  951. ifeq ($(FULL_TARGET),powerpc-netbsd)
  952. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  953. endif
  954. ifeq ($(FULL_TARGET),powerpc-amiga)
  955. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  956. endif
  957. ifeq ($(FULL_TARGET),powerpc-macos)
  958. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  959. endif
  960. ifeq ($(FULL_TARGET),powerpc-darwin)
  961. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  962. endif
  963. ifeq ($(FULL_TARGET),powerpc-morphos)
  964. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  965. endif
  966. ifeq ($(FULL_TARGET),powerpc-embedded)
  967. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  968. endif
  969. ifeq ($(FULL_TARGET),powerpc-wii)
  970. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  971. endif
  972. ifeq ($(FULL_TARGET),powerpc-aix)
  973. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  974. endif
  975. ifeq ($(FULL_TARGET),sparc-linux)
  976. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  977. endif
  978. ifeq ($(FULL_TARGET),sparc-netbsd)
  979. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  980. endif
  981. ifeq ($(FULL_TARGET),sparc-solaris)
  982. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  983. endif
  984. ifeq ($(FULL_TARGET),sparc-embedded)
  985. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  986. endif
  987. ifeq ($(FULL_TARGET),x86_64-linux)
  988. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  989. endif
  990. ifeq ($(FULL_TARGET),x86_64-freebsd)
  991. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  992. endif
  993. ifeq ($(FULL_TARGET),x86_64-netbsd)
  994. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  995. endif
  996. ifeq ($(FULL_TARGET),x86_64-solaris)
  997. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  998. endif
  999. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1000. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1001. endif
  1002. ifeq ($(FULL_TARGET),x86_64-darwin)
  1003. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1004. endif
  1005. ifeq ($(FULL_TARGET),x86_64-win64)
  1006. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1007. endif
  1008. ifeq ($(FULL_TARGET),x86_64-embedded)
  1009. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1010. endif
  1011. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1012. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1013. endif
  1014. ifeq ($(FULL_TARGET),x86_64-aros)
  1015. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1016. endif
  1017. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1018. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1019. endif
  1020. ifeq ($(FULL_TARGET),arm-linux)
  1021. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1022. endif
  1023. ifeq ($(FULL_TARGET),arm-palmos)
  1024. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1025. endif
  1026. ifeq ($(FULL_TARGET),arm-darwin)
  1027. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1028. endif
  1029. ifeq ($(FULL_TARGET),arm-wince)
  1030. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1031. endif
  1032. ifeq ($(FULL_TARGET),arm-gba)
  1033. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1034. endif
  1035. ifeq ($(FULL_TARGET),arm-nds)
  1036. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1037. endif
  1038. ifeq ($(FULL_TARGET),arm-embedded)
  1039. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1040. endif
  1041. ifeq ($(FULL_TARGET),arm-symbian)
  1042. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1043. endif
  1044. ifeq ($(FULL_TARGET),arm-android)
  1045. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1046. endif
  1047. ifeq ($(FULL_TARGET),arm-aros)
  1048. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1049. endif
  1050. ifeq ($(FULL_TARGET),powerpc64-linux)
  1051. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1052. endif
  1053. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1054. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1055. endif
  1056. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1057. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1058. endif
  1059. ifeq ($(FULL_TARGET),powerpc64-aix)
  1060. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1061. endif
  1062. ifeq ($(FULL_TARGET),avr-embedded)
  1063. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1064. endif
  1065. ifeq ($(FULL_TARGET),armeb-linux)
  1066. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1067. endif
  1068. ifeq ($(FULL_TARGET),armeb-embedded)
  1069. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1070. endif
  1071. ifeq ($(FULL_TARGET),mips-linux)
  1072. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1073. endif
  1074. ifeq ($(FULL_TARGET),mipsel-linux)
  1075. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1076. endif
  1077. ifeq ($(FULL_TARGET),mipsel-embedded)
  1078. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1079. endif
  1080. ifeq ($(FULL_TARGET),mipsel-android)
  1081. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1082. endif
  1083. ifeq ($(FULL_TARGET),jvm-java)
  1084. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1085. endif
  1086. ifeq ($(FULL_TARGET),jvm-android)
  1087. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1088. endif
  1089. ifeq ($(FULL_TARGET),i8086-embedded)
  1090. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1091. endif
  1092. ifeq ($(FULL_TARGET),i8086-msdos)
  1093. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1094. endif
  1095. ifeq ($(FULL_TARGET),i8086-win16)
  1096. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1097. endif
  1098. ifeq ($(FULL_TARGET),aarch64-linux)
  1099. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1100. endif
  1101. ifeq ($(FULL_TARGET),aarch64-darwin)
  1102. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1103. endif
  1104. ifeq ($(FULL_TARGET),wasm-wasm)
  1105. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1106. endif
  1107. ifeq ($(FULL_TARGET),sparc64-linux)
  1108. override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
  1109. endif
  1110. ifeq ($(FULL_TARGET),i386-linux)
  1111. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1112. endif
  1113. ifeq ($(FULL_TARGET),i386-go32v2)
  1114. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1115. endif
  1116. ifeq ($(FULL_TARGET),i386-win32)
  1117. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1118. endif
  1119. ifeq ($(FULL_TARGET),i386-os2)
  1120. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1121. endif
  1122. ifeq ($(FULL_TARGET),i386-freebsd)
  1123. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1124. endif
  1125. ifeq ($(FULL_TARGET),i386-beos)
  1126. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1127. endif
  1128. ifeq ($(FULL_TARGET),i386-haiku)
  1129. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1130. endif
  1131. ifeq ($(FULL_TARGET),i386-netbsd)
  1132. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1133. endif
  1134. ifeq ($(FULL_TARGET),i386-solaris)
  1135. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1136. endif
  1137. ifeq ($(FULL_TARGET),i386-netware)
  1138. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1139. endif
  1140. ifeq ($(FULL_TARGET),i386-openbsd)
  1141. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1142. endif
  1143. ifeq ($(FULL_TARGET),i386-wdosx)
  1144. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1145. endif
  1146. ifeq ($(FULL_TARGET),i386-darwin)
  1147. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1148. endif
  1149. ifeq ($(FULL_TARGET),i386-emx)
  1150. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1151. endif
  1152. ifeq ($(FULL_TARGET),i386-watcom)
  1153. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1154. endif
  1155. ifeq ($(FULL_TARGET),i386-netwlibc)
  1156. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1157. endif
  1158. ifeq ($(FULL_TARGET),i386-wince)
  1159. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1160. endif
  1161. ifeq ($(FULL_TARGET),i386-embedded)
  1162. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1163. endif
  1164. ifeq ($(FULL_TARGET),i386-symbian)
  1165. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1166. endif
  1167. ifeq ($(FULL_TARGET),i386-nativent)
  1168. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1169. endif
  1170. ifeq ($(FULL_TARGET),i386-iphonesim)
  1171. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1172. endif
  1173. ifeq ($(FULL_TARGET),i386-android)
  1174. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1175. endif
  1176. ifeq ($(FULL_TARGET),i386-aros)
  1177. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1178. endif
  1179. ifeq ($(FULL_TARGET),m68k-linux)
  1180. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1181. endif
  1182. ifeq ($(FULL_TARGET),m68k-netbsd)
  1183. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1184. endif
  1185. ifeq ($(FULL_TARGET),m68k-amiga)
  1186. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1187. endif
  1188. ifeq ($(FULL_TARGET),m68k-atari)
  1189. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1190. endif
  1191. ifeq ($(FULL_TARGET),m68k-palmos)
  1192. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1193. endif
  1194. ifeq ($(FULL_TARGET),m68k-macos)
  1195. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1196. endif
  1197. ifeq ($(FULL_TARGET),m68k-embedded)
  1198. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1199. endif
  1200. ifeq ($(FULL_TARGET),powerpc-linux)
  1201. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1202. endif
  1203. ifeq ($(FULL_TARGET),powerpc-netbsd)
  1204. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1205. endif
  1206. ifeq ($(FULL_TARGET),powerpc-amiga)
  1207. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1208. endif
  1209. ifeq ($(FULL_TARGET),powerpc-macos)
  1210. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1211. endif
  1212. ifeq ($(FULL_TARGET),powerpc-darwin)
  1213. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1214. endif
  1215. ifeq ($(FULL_TARGET),powerpc-morphos)
  1216. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1217. endif
  1218. ifeq ($(FULL_TARGET),powerpc-embedded)
  1219. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1220. endif
  1221. ifeq ($(FULL_TARGET),powerpc-wii)
  1222. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1223. endif
  1224. ifeq ($(FULL_TARGET),powerpc-aix)
  1225. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1226. endif
  1227. ifeq ($(FULL_TARGET),sparc-linux)
  1228. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1229. endif
  1230. ifeq ($(FULL_TARGET),sparc-netbsd)
  1231. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1232. endif
  1233. ifeq ($(FULL_TARGET),sparc-solaris)
  1234. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1235. endif
  1236. ifeq ($(FULL_TARGET),sparc-embedded)
  1237. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1238. endif
  1239. ifeq ($(FULL_TARGET),x86_64-linux)
  1240. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1241. endif
  1242. ifeq ($(FULL_TARGET),x86_64-freebsd)
  1243. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1244. endif
  1245. ifeq ($(FULL_TARGET),x86_64-netbsd)
  1246. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1247. endif
  1248. ifeq ($(FULL_TARGET),x86_64-solaris)
  1249. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1250. endif
  1251. ifeq ($(FULL_TARGET),x86_64-openbsd)
  1252. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1253. endif
  1254. ifeq ($(FULL_TARGET),x86_64-darwin)
  1255. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1256. endif
  1257. ifeq ($(FULL_TARGET),x86_64-win64)
  1258. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1259. endif
  1260. ifeq ($(FULL_TARGET),x86_64-embedded)
  1261. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1262. endif
  1263. ifeq ($(FULL_TARGET),x86_64-iphonesim)
  1264. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1265. endif
  1266. ifeq ($(FULL_TARGET),x86_64-aros)
  1267. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1268. endif
  1269. ifeq ($(FULL_TARGET),x86_64-dragonfly)
  1270. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1271. endif
  1272. ifeq ($(FULL_TARGET),arm-linux)
  1273. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1274. endif
  1275. ifeq ($(FULL_TARGET),arm-palmos)
  1276. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1277. endif
  1278. ifeq ($(FULL_TARGET),arm-darwin)
  1279. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1280. endif
  1281. ifeq ($(FULL_TARGET),arm-wince)
  1282. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1283. endif
  1284. ifeq ($(FULL_TARGET),arm-gba)
  1285. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1286. endif
  1287. ifeq ($(FULL_TARGET),arm-nds)
  1288. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1289. endif
  1290. ifeq ($(FULL_TARGET),arm-embedded)
  1291. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1292. endif
  1293. ifeq ($(FULL_TARGET),arm-symbian)
  1294. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1295. endif
  1296. ifeq ($(FULL_TARGET),arm-android)
  1297. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1298. endif
  1299. ifeq ($(FULL_TARGET),arm-aros)
  1300. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1301. endif
  1302. ifeq ($(FULL_TARGET),powerpc64-linux)
  1303. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1304. endif
  1305. ifeq ($(FULL_TARGET),powerpc64-darwin)
  1306. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1307. endif
  1308. ifeq ($(FULL_TARGET),powerpc64-embedded)
  1309. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1310. endif
  1311. ifeq ($(FULL_TARGET),powerpc64-aix)
  1312. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1313. endif
  1314. ifeq ($(FULL_TARGET),avr-embedded)
  1315. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1316. endif
  1317. ifeq ($(FULL_TARGET),armeb-linux)
  1318. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1319. endif
  1320. ifeq ($(FULL_TARGET),armeb-embedded)
  1321. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1322. endif
  1323. ifeq ($(FULL_TARGET),mips-linux)
  1324. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1325. endif
  1326. ifeq ($(FULL_TARGET),mipsel-linux)
  1327. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1328. endif
  1329. ifeq ($(FULL_TARGET),mipsel-embedded)
  1330. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1331. endif
  1332. ifeq ($(FULL_TARGET),mipsel-android)
  1333. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1334. endif
  1335. ifeq ($(FULL_TARGET),jvm-java)
  1336. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1337. endif
  1338. ifeq ($(FULL_TARGET),jvm-android)
  1339. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1340. endif
  1341. ifeq ($(FULL_TARGET),i8086-embedded)
  1342. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1343. endif
  1344. ifeq ($(FULL_TARGET),i8086-msdos)
  1345. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1346. endif
  1347. ifeq ($(FULL_TARGET),i8086-win16)
  1348. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1349. endif
  1350. ifeq ($(FULL_TARGET),aarch64-linux)
  1351. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1352. endif
  1353. ifeq ($(FULL_TARGET),aarch64-darwin)
  1354. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1355. endif
  1356. ifeq ($(FULL_TARGET),wasm-wasm)
  1357. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1358. endif
  1359. ifeq ($(FULL_TARGET),sparc64-linux)
  1360. override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
  1361. endif
  1362. ifdef REQUIRE_UNITSDIR
  1363. override UNITSDIR+=$(REQUIRE_UNITSDIR)
  1364. endif
  1365. ifdef REQUIRE_PACKAGESDIR
  1366. override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
  1367. endif
  1368. ifdef ZIPINSTALL
  1369. ifneq ($(findstring $(OS_TARGET),$(UNIXs)),)
  1370. UNIXHier=1
  1371. endif
  1372. else
  1373. ifneq ($(findstring $(OS_SOURCE),$(UNIXs)),)
  1374. UNIXHier=1
  1375. endif
  1376. endif
  1377. ifndef INSTALL_PREFIX
  1378. ifdef PREFIX
  1379. INSTALL_PREFIX=$(PREFIX)
  1380. endif
  1381. endif
  1382. ifndef INSTALL_PREFIX
  1383. ifdef UNIXHier
  1384. INSTALL_PREFIX=/usr/local
  1385. else
  1386. ifdef INSTALL_FPCPACKAGE
  1387. INSTALL_BASEDIR:=/pp
  1388. else
  1389. INSTALL_BASEDIR:=/$(PACKAGE_NAME)
  1390. endif
  1391. endif
  1392. endif
  1393. export INSTALL_PREFIX
  1394. ifdef INSTALL_FPCSUBDIR
  1395. export INSTALL_FPCSUBDIR
  1396. endif
  1397. ifndef DIST_DESTDIR
  1398. DIST_DESTDIR:=$(BASEDIR)
  1399. endif
  1400. export DIST_DESTDIR
  1401. ifndef COMPILER_UNITTARGETDIR
  1402. ifdef PACKAGEDIR_MAIN
  1403. COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX)
  1404. else
  1405. COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX)
  1406. endif
  1407. endif
  1408. ifndef COMPILER_TARGETDIR
  1409. COMPILER_TARGETDIR=.
  1410. endif
  1411. ifndef INSTALL_BASEDIR
  1412. ifdef UNIXHier
  1413. ifdef INSTALL_FPCPACKAGE
  1414. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION)
  1415. else
  1416. INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME)
  1417. endif
  1418. else
  1419. INSTALL_BASEDIR:=$(INSTALL_PREFIX)
  1420. endif
  1421. endif
  1422. ifndef INSTALL_BINDIR
  1423. ifdef UNIXHier
  1424. INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
  1425. else
  1426. INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
  1427. ifdef INSTALL_FPCPACKAGE
  1428. ifdef CROSSCOMPILE
  1429. ifdef CROSSINSTALL
  1430. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX)
  1431. else
  1432. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  1433. endif
  1434. else
  1435. INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
  1436. endif
  1437. endif
  1438. endif
  1439. endif
  1440. ifndef INSTALL_UNITDIR
  1441. INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX)
  1442. ifdef INSTALL_FPCPACKAGE
  1443. ifdef PACKAGE_NAME
  1444. INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME)
  1445. endif
  1446. endif
  1447. endif
  1448. ifndef INSTALL_LIBDIR
  1449. ifdef UNIXHier
  1450. INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib
  1451. else
  1452. INSTALL_LIBDIR:=$(INSTALL_UNITDIR)
  1453. endif
  1454. endif
  1455. ifndef INSTALL_SOURCEDIR
  1456. ifdef UNIXHier
  1457. ifdef BSDhier
  1458. SRCPREFIXDIR=share/src
  1459. else
  1460. ifdef linuxHier
  1461. SRCPREFIXDIR=share/src
  1462. else
  1463. SRCPREFIXDIR=src
  1464. endif
  1465. endif
  1466. ifdef INSTALL_FPCPACKAGE
  1467. ifdef INSTALL_FPCSUBDIR
  1468. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  1469. else
  1470. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  1471. endif
  1472. else
  1473. INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1474. endif
  1475. else
  1476. ifdef INSTALL_FPCPACKAGE
  1477. ifdef INSTALL_FPCSUBDIR
  1478. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
  1479. else
  1480. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
  1481. endif
  1482. else
  1483. INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
  1484. endif
  1485. endif
  1486. endif
  1487. ifndef INSTALL_DOCDIR
  1488. ifdef UNIXHier
  1489. ifdef BSDhier
  1490. DOCPREFIXDIR=share/doc
  1491. else
  1492. ifdef linuxHier
  1493. DOCPREFIXDIR=share/doc
  1494. else
  1495. DOCPREFIXDIR=doc
  1496. endif
  1497. endif
  1498. ifdef INSTALL_FPCPACKAGE
  1499. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  1500. else
  1501. INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1502. endif
  1503. else
  1504. ifdef INSTALL_FPCPACKAGE
  1505. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME)
  1506. else
  1507. INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc
  1508. endif
  1509. endif
  1510. endif
  1511. ifndef INSTALL_EXAMPLEDIR
  1512. ifdef UNIXHier
  1513. ifdef INSTALL_FPCPACKAGE
  1514. ifdef BSDhier
  1515. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
  1516. else
  1517. ifdef linuxHier
  1518. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples
  1519. else
  1520. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME)
  1521. endif
  1522. endif
  1523. else
  1524. ifdef BSDhier
  1525. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1526. else
  1527. ifdef linuxHier
  1528. INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1529. else
  1530. INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
  1531. endif
  1532. endif
  1533. endif
  1534. else
  1535. ifdef INSTALL_FPCPACKAGE
  1536. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME)
  1537. else
  1538. INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples
  1539. endif
  1540. endif
  1541. endif
  1542. ifndef INSTALL_DATADIR
  1543. INSTALL_DATADIR=$(INSTALL_BASEDIR)
  1544. endif
  1545. ifndef INSTALL_SHAREDDIR
  1546. INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
  1547. endif
  1548. ifdef CROSSCOMPILE
  1549. ifndef CROSSBINDIR
  1550. CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
  1551. ifeq ($(CROSSBINDIR),)
  1552. CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE))
  1553. endif
  1554. endif
  1555. else
  1556. CROSSBINDIR=
  1557. endif
  1558. BATCHEXT=.bat
  1559. LOADEREXT=.as
  1560. EXEEXT=.exe
  1561. PPLEXT=.ppl
  1562. PPUEXT=.ppu
  1563. OEXT=.o
  1564. ASMEXT=.s
  1565. SMARTEXT=.sl
  1566. STATICLIBEXT=.a
  1567. SHAREDLIBEXT=.so
  1568. SHAREDLIBPREFIX=libfp
  1569. STATICLIBPREFIX=libp
  1570. IMPORTLIBPREFIX=libimp
  1571. RSTEXT=.rst
  1572. EXEDBGEXT=.dbg
  1573. ifeq ($(OS_TARGET),go32v1)
  1574. STATICLIBPREFIX=
  1575. SHORTSUFFIX=v1
  1576. endif
  1577. ifeq ($(OS_TARGET),go32v2)
  1578. STATICLIBPREFIX=
  1579. SHORTSUFFIX=dos
  1580. IMPORTLIBPREFIX=
  1581. endif
  1582. ifeq ($(OS_TARGET),watcom)
  1583. STATICLIBPREFIX=
  1584. OEXT=.obj
  1585. ASMEXT=.asm
  1586. SHAREDLIBEXT=.dll
  1587. SHORTSUFFIX=wat
  1588. IMPORTLIBPREFIX=
  1589. endif
  1590. ifneq ($(CPU_TARGET),jvm)
  1591. ifeq ($(OS_TARGET),android)
  1592. BATCHEXT=.sh
  1593. EXEEXT=
  1594. HASSHAREDLIB=1
  1595. SHORTSUFFIX=lnx
  1596. endif
  1597. endif
  1598. ifeq ($(OS_TARGET),linux)
  1599. BATCHEXT=.sh
  1600. EXEEXT=
  1601. HASSHAREDLIB=1
  1602. SHORTSUFFIX=lnx
  1603. endif
  1604. ifeq ($(OS_TARGET),dragonfly)
  1605. BATCHEXT=.sh
  1606. EXEEXT=
  1607. HASSHAREDLIB=1
  1608. SHORTSUFFIX=df
  1609. endif
  1610. ifeq ($(OS_TARGET),freebsd)
  1611. BATCHEXT=.sh
  1612. EXEEXT=
  1613. HASSHAREDLIB=1
  1614. SHORTSUFFIX=fbs
  1615. endif
  1616. ifeq ($(OS_TARGET),netbsd)
  1617. BATCHEXT=.sh
  1618. EXEEXT=
  1619. HASSHAREDLIB=1
  1620. SHORTSUFFIX=nbs
  1621. endif
  1622. ifeq ($(OS_TARGET),openbsd)
  1623. BATCHEXT=.sh
  1624. EXEEXT=
  1625. HASSHAREDLIB=1
  1626. SHORTSUFFIX=obs
  1627. endif
  1628. ifeq ($(OS_TARGET),win32)
  1629. SHAREDLIBEXT=.dll
  1630. SHORTSUFFIX=w32
  1631. endif
  1632. ifeq ($(OS_TARGET),os2)
  1633. BATCHEXT=.cmd
  1634. AOUTEXT=.out
  1635. STATICLIBPREFIX=
  1636. SHAREDLIBEXT=.dll
  1637. SHORTSUFFIX=os2
  1638. ECHO=echo
  1639. IMPORTLIBPREFIX=
  1640. endif
  1641. ifeq ($(OS_TARGET),emx)
  1642. BATCHEXT=.cmd
  1643. AOUTEXT=.out
  1644. STATICLIBPREFIX=
  1645. SHAREDLIBEXT=.dll
  1646. SHORTSUFFIX=emx
  1647. ECHO=echo
  1648. IMPORTLIBPREFIX=
  1649. endif
  1650. ifeq ($(OS_TARGET),amiga)
  1651. EXEEXT=
  1652. SHAREDLIBEXT=.library
  1653. SHORTSUFFIX=amg
  1654. endif
  1655. ifeq ($(OS_TARGET),aros)
  1656. EXEEXT=
  1657. SHAREDLIBEXT=.library
  1658. SHORTSUFFIX=aros
  1659. endif
  1660. ifeq ($(OS_TARGET),morphos)
  1661. EXEEXT=
  1662. SHAREDLIBEXT=.library
  1663. SHORTSUFFIX=mos
  1664. endif
  1665. ifeq ($(OS_TARGET),atari)
  1666. EXEEXT=.ttp
  1667. SHORTSUFFIX=ata
  1668. endif
  1669. ifeq ($(OS_TARGET),beos)
  1670. BATCHEXT=.sh
  1671. EXEEXT=
  1672. SHORTSUFFIX=be
  1673. endif
  1674. ifeq ($(OS_TARGET),haiku)
  1675. BATCHEXT=.sh
  1676. EXEEXT=
  1677. SHORTSUFFIX=hai
  1678. endif
  1679. ifeq ($(OS_TARGET),solaris)
  1680. BATCHEXT=.sh
  1681. EXEEXT=
  1682. SHORTSUFFIX=sun
  1683. endif
  1684. ifeq ($(OS_TARGET),qnx)
  1685. BATCHEXT=.sh
  1686. EXEEXT=
  1687. SHORTSUFFIX=qnx
  1688. endif
  1689. ifeq ($(OS_TARGET),netware)
  1690. EXEEXT=.nlm
  1691. STATICLIBPREFIX=
  1692. SHORTSUFFIX=nw
  1693. IMPORTLIBPREFIX=imp
  1694. endif
  1695. ifeq ($(OS_TARGET),netwlibc)
  1696. EXEEXT=.nlm
  1697. STATICLIBPREFIX=
  1698. SHORTSUFFIX=nwl
  1699. IMPORTLIBPREFIX=imp
  1700. endif
  1701. ifeq ($(OS_TARGET),macos)
  1702. BATCHEXT=
  1703. EXEEXT=
  1704. DEBUGSYMEXT=.xcoff
  1705. SHORTSUFFIX=mac
  1706. IMPORTLIBPREFIX=imp
  1707. endif
  1708. ifneq ($(findstring $(OS_TARGET),darwin iphonesim),)
  1709. BATCHEXT=.sh
  1710. EXEEXT=
  1711. HASSHAREDLIB=1
  1712. SHORTSUFFIX=dwn
  1713. EXEDBGEXT=.dSYM
  1714. endif
  1715. ifeq ($(OS_TARGET),gba)
  1716. EXEEXT=.gba
  1717. SHAREDLIBEXT=.so
  1718. SHORTSUFFIX=gba
  1719. endif
  1720. ifeq ($(OS_TARGET),symbian)
  1721. SHAREDLIBEXT=.dll
  1722. SHORTSUFFIX=symbian
  1723. endif
  1724. ifeq ($(OS_TARGET),NativeNT)
  1725. SHAREDLIBEXT=.dll
  1726. SHORTSUFFIX=nativent
  1727. endif
  1728. ifeq ($(OS_TARGET),wii)
  1729. EXEEXT=.dol
  1730. SHAREDLIBEXT=.so
  1731. SHORTSUFFIX=wii
  1732. endif
  1733. ifeq ($(OS_TARGET),aix)
  1734. BATCHEXT=.sh
  1735. EXEEXT=
  1736. SHORTSUFFIX=aix
  1737. endif
  1738. ifeq ($(OS_TARGET),java)
  1739. OEXT=.class
  1740. ASMEXT=.j
  1741. SHAREDLIBEXT=.jar
  1742. SHORTSUFFIX=java
  1743. endif
  1744. ifeq ($(CPU_TARGET),jvm)
  1745. ifeq ($(OS_TARGET),android)
  1746. OEXT=.class
  1747. ASMEXT=.j
  1748. SHAREDLIBEXT=.jar
  1749. SHORTSUFFIX=android
  1750. endif
  1751. endif
  1752. ifeq ($(OS_TARGET),msdos)
  1753. STATICLIBPREFIX=
  1754. STATICLIBEXT=.a
  1755. SHORTSUFFIX=d16
  1756. endif
  1757. ifeq ($(OS_TARGET),embedded)
  1758. ifeq ($(CPU_TARGET),i8086)
  1759. STATICLIBPREFIX=
  1760. STATICLIBEXT=.a
  1761. else
  1762. EXEEXT=.bin
  1763. endif
  1764. SHORTSUFFIX=emb
  1765. endif
  1766. ifeq ($(OS_TARGET),win16)
  1767. STATICLIBPREFIX=
  1768. STATICLIBEXT=.a
  1769. SHAREDLIBEXT=.dll
  1770. SHORTSUFFIX=w16
  1771. endif
  1772. ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
  1773. FPCMADE=fpcmade.$(SHORTSUFFIX)
  1774. ZIPSUFFIX=$(SHORTSUFFIX)
  1775. ZIPCROSSPREFIX=
  1776. ZIPSOURCESUFFIX=src
  1777. ZIPEXAMPLESUFFIX=exm
  1778. else
  1779. FPCMADE=fpcmade.$(TARGETSUFFIX)
  1780. ZIPSOURCESUFFIX=.source
  1781. ZIPEXAMPLESUFFIX=.examples
  1782. ifdef CROSSCOMPILE
  1783. ZIPSUFFIX=.$(SOURCESUFFIX)
  1784. ZIPCROSSPREFIX=$(TARGETSUFFIX)-
  1785. else
  1786. ZIPSUFFIX=.$(TARGETSUFFIX)
  1787. ZIPCROSSPREFIX=
  1788. endif
  1789. endif
  1790. ifndef ECHO
  1791. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
  1792. ifeq ($(ECHO),)
  1793. ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
  1794. ifeq ($(ECHO),)
  1795. ECHO= __missing_command_ECHO
  1796. else
  1797. ECHO:=$(firstword $(ECHO))
  1798. endif
  1799. else
  1800. ECHO:=$(firstword $(ECHO))
  1801. endif
  1802. endif
  1803. export ECHO
  1804. ifndef DATE
  1805. DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH))))
  1806. ifeq ($(DATE),)
  1807. DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH))))
  1808. ifeq ($(DATE),)
  1809. DATE= __missing_command_DATE
  1810. else
  1811. DATE:=$(firstword $(DATE))
  1812. endif
  1813. else
  1814. DATE:=$(firstword $(DATE))
  1815. endif
  1816. endif
  1817. export DATE
  1818. ifndef GINSTALL
  1819. GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH))))
  1820. ifeq ($(GINSTALL),)
  1821. GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH))))
  1822. ifeq ($(GINSTALL),)
  1823. GINSTALL= __missing_command_GINSTALL
  1824. else
  1825. GINSTALL:=$(firstword $(GINSTALL))
  1826. endif
  1827. else
  1828. GINSTALL:=$(firstword $(GINSTALL))
  1829. endif
  1830. endif
  1831. export GINSTALL
  1832. ifndef CPPROG
  1833. CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH))))
  1834. ifeq ($(CPPROG),)
  1835. CPPROG= __missing_command_CPPROG
  1836. else
  1837. CPPROG:=$(firstword $(CPPROG))
  1838. endif
  1839. endif
  1840. export CPPROG
  1841. ifndef RMPROG
  1842. RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH))))
  1843. ifeq ($(RMPROG),)
  1844. RMPROG= __missing_command_RMPROG
  1845. else
  1846. RMPROG:=$(firstword $(RMPROG))
  1847. endif
  1848. endif
  1849. export RMPROG
  1850. ifndef MVPROG
  1851. MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH))))
  1852. ifeq ($(MVPROG),)
  1853. MVPROG= __missing_command_MVPROG
  1854. else
  1855. MVPROG:=$(firstword $(MVPROG))
  1856. endif
  1857. endif
  1858. export MVPROG
  1859. ifndef MKDIRPROG
  1860. MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH))))
  1861. ifeq ($(MKDIRPROG),)
  1862. MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH))))
  1863. ifeq ($(MKDIRPROG),)
  1864. MKDIRPROG= __missing_command_MKDIRPROG
  1865. else
  1866. MKDIRPROG:=$(firstword $(MKDIRPROG))
  1867. endif
  1868. else
  1869. MKDIRPROG:=$(firstword $(MKDIRPROG))
  1870. endif
  1871. endif
  1872. export MKDIRPROG
  1873. ifndef ECHOREDIR
  1874. ifndef inUnix
  1875. ECHOREDIR=echo
  1876. else
  1877. ECHOREDIR=$(ECHO)
  1878. endif
  1879. endif
  1880. ifndef COPY
  1881. COPY:=$(CPPROG) -fp
  1882. endif
  1883. ifndef COPYTREE
  1884. COPYTREE:=$(CPPROG) -Rfp
  1885. endif
  1886. ifndef MKDIRTREE
  1887. MKDIRTREE:=$(MKDIRPROG) -p
  1888. endif
  1889. ifndef MOVE
  1890. MOVE:=$(MVPROG) -f
  1891. endif
  1892. ifndef DEL
  1893. DEL:=$(RMPROG) -f
  1894. endif
  1895. ifndef DELTREE
  1896. DELTREE:=$(RMPROG) -rf
  1897. endif
  1898. ifndef INSTALL
  1899. ifdef inUnix
  1900. INSTALL:=$(GINSTALL) -c -m 644
  1901. else
  1902. INSTALL:=$(COPY)
  1903. endif
  1904. endif
  1905. ifndef INSTALLEXE
  1906. ifdef inUnix
  1907. INSTALLEXE:=$(GINSTALL) -c -m 755
  1908. else
  1909. INSTALLEXE:=$(COPY)
  1910. endif
  1911. endif
  1912. ifndef MKDIR
  1913. MKDIR:=$(GINSTALL) -m 755 -d
  1914. endif
  1915. export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
  1916. ifndef PPUMOVE
  1917. PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH))))
  1918. ifeq ($(PPUMOVE),)
  1919. PPUMOVE= __missing_command_PPUMOVE
  1920. else
  1921. PPUMOVE:=$(firstword $(PPUMOVE))
  1922. endif
  1923. endif
  1924. export PPUMOVE
  1925. ifndef FPCMAKE
  1926. FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH))))
  1927. ifeq ($(FPCMAKE),)
  1928. FPCMAKE= __missing_command_FPCMAKE
  1929. else
  1930. FPCMAKE:=$(firstword $(FPCMAKE))
  1931. endif
  1932. endif
  1933. export FPCMAKE
  1934. ifndef ZIPPROG
  1935. ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH))))
  1936. ifeq ($(ZIPPROG),)
  1937. ZIPPROG= __missing_command_ZIPPROG
  1938. else
  1939. ZIPPROG:=$(firstword $(ZIPPROG))
  1940. endif
  1941. endif
  1942. export ZIPPROG
  1943. ifndef TARPROG
  1944. TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
  1945. ifeq ($(TARPROG),)
  1946. TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
  1947. ifeq ($(TARPROG),)
  1948. TARPROG= __missing_command_TARPROG
  1949. else
  1950. TARPROG:=$(firstword $(TARPROG))
  1951. endif
  1952. else
  1953. TARPROG:=$(firstword $(TARPROG))
  1954. endif
  1955. endif
  1956. export TARPROG
  1957. ASNAME=$(BINUTILSPREFIX)as
  1958. LDNAME=$(BINUTILSPREFIX)ld
  1959. ARNAME=$(BINUTILSPREFIX)ar
  1960. RCNAME=$(BINUTILSPREFIX)rc
  1961. NASMNAME=$(BINUTILSPREFIX)nasm
  1962. ifndef ASPROG
  1963. ifdef CROSSBINDIR
  1964. ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
  1965. else
  1966. ASPROG=$(ASNAME)
  1967. endif
  1968. endif
  1969. ifndef LDPROG
  1970. ifdef CROSSBINDIR
  1971. LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)
  1972. else
  1973. LDPROG=$(LDNAME)
  1974. endif
  1975. endif
  1976. ifndef RCPROG
  1977. ifdef CROSSBINDIR
  1978. RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)
  1979. else
  1980. RCPROG=$(RCNAME)
  1981. endif
  1982. endif
  1983. ifndef ARPROG
  1984. ifdef CROSSBINDIR
  1985. ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)
  1986. else
  1987. ARPROG=$(ARNAME)
  1988. endif
  1989. endif
  1990. ifndef NASMPROG
  1991. ifdef CROSSBINDIR
  1992. NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
  1993. else
  1994. NASMPROG=$(NASMNAME)
  1995. endif
  1996. endif
  1997. AS=$(ASPROG)
  1998. LD=$(LDPROG)
  1999. RC=$(RCPROG)
  2000. AR=$(ARPROG)
  2001. NASM=$(NASMPROG)
  2002. ifdef inUnix
  2003. PPAS=./ppas$(SRCBATCHEXT)
  2004. else
  2005. PPAS=ppas$(SRCBATCHEXT)
  2006. endif
  2007. ifdef inUnix
  2008. LDCONFIG=ldconfig
  2009. else
  2010. LDCONFIG=
  2011. endif
  2012. ifdef DATE
  2013. DATESTR:=$(shell $(DATE) +%Y%m%d)
  2014. else
  2015. DATESTR=
  2016. endif
  2017. ZIPOPT=-9
  2018. ZIPEXT=.zip
  2019. ifeq ($(USETAR),bz2)
  2020. TAROPT=vj
  2021. TAREXT=.tar.bz2
  2022. else
  2023. TAROPT=vz
  2024. TAREXT=.tar.gz
  2025. endif
  2026. ifndef NOCPUDEF
  2027. override FPCOPTDEF=$(ARCH)
  2028. endif
  2029. ifneq ($(OS_TARGET),$(OS_SOURCE))
  2030. override FPCOPT+=-T$(OS_TARGET)
  2031. endif
  2032. ifneq ($(CPU_TARGET),$(CPU_SOURCE))
  2033. override FPCOPT+=-P$(ARCH)
  2034. endif
  2035. ifeq ($(OS_SOURCE),openbsd)
  2036. override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
  2037. override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH)
  2038. override FPMAKE_BUILD_OPT+=-FD$(NEW_BINUTILS_PATH)
  2039. endif
  2040. ifndef CROSSBOOTSTRAP
  2041. ifneq ($(BINUTILSPREFIX),)
  2042. override FPCOPT+=-XP$(BINUTILSPREFIX)
  2043. endif
  2044. ifneq ($(BINUTILSPREFIX),)
  2045. override FPCOPT+=-Xr$(RLINKPATH)
  2046. endif
  2047. endif
  2048. ifndef CROSSCOMPILE
  2049. ifneq ($(BINUTILSPREFIX),)
  2050. override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
  2051. override FPMAKE_BUILD_OPT+=-XP$(BINUTILSPREFIX)
  2052. endif
  2053. endif
  2054. ifdef UNITDIR
  2055. override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
  2056. endif
  2057. ifdef LIBDIR
  2058. override FPCOPT+=$(addprefix -Fl,$(LIBDIR))
  2059. endif
  2060. ifdef OBJDIR
  2061. override FPCOPT+=$(addprefix -Fo,$(OBJDIR))
  2062. endif
  2063. ifdef INCDIR
  2064. override FPCOPT+=$(addprefix -Fi,$(INCDIR))
  2065. endif
  2066. ifdef LINKSMART
  2067. override FPCOPT+=-XX
  2068. endif
  2069. ifdef CREATESMART
  2070. override FPCOPT+=-CX
  2071. endif
  2072. ifdef DEBUG
  2073. override FPCOPT+=-gl
  2074. override FPCOPTDEF+=DEBUG
  2075. endif
  2076. ifdef RELEASE
  2077. ifneq ($(findstring 2.0.,$(FPC_VERSION)),)
  2078. ifeq ($(CPU_TARGET),i386)
  2079. FPCCPUOPT:=-OG2p3
  2080. endif
  2081. ifeq ($(CPU_TARGET),powerpc)
  2082. FPCCPUOPT:=-O1r
  2083. endif
  2084. else
  2085. FPCCPUOPT:=-O2
  2086. endif
  2087. override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
  2088. override FPCOPTDEF+=RELEASE
  2089. endif
  2090. ifdef STRIP
  2091. override FPCOPT+=-Xs
  2092. endif
  2093. ifdef OPTIMIZE
  2094. override FPCOPT+=-O2
  2095. endif
  2096. ifdef VERBOSE
  2097. override FPCOPT+=-vwni
  2098. endif
  2099. ifdef COMPILER_OPTIONS
  2100. override FPCOPT+=$(COMPILER_OPTIONS)
  2101. endif
  2102. ifdef COMPILER_UNITDIR
  2103. override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))
  2104. endif
  2105. ifdef COMPILER_LIBRARYDIR
  2106. override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))
  2107. endif
  2108. ifdef COMPILER_OBJECTDIR
  2109. override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))
  2110. endif
  2111. ifdef COMPILER_INCLUDEDIR
  2112. override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))
  2113. endif
  2114. ifdef CROSSBINDIR
  2115. override FPCOPT+=-FD$(CROSSBINDIR)
  2116. endif
  2117. ifdef COMPILER_TARGETDIR
  2118. override FPCOPT+=-FE$(COMPILER_TARGETDIR)
  2119. ifeq ($(COMPILER_TARGETDIR),.)
  2120. override TARGETDIRPREFIX=
  2121. else
  2122. override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/
  2123. endif
  2124. endif
  2125. ifdef COMPILER_UNITTARGETDIR
  2126. override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)
  2127. ifeq ($(COMPILER_UNITTARGETDIR),.)
  2128. override UNITTARGETDIRPREFIX=
  2129. else
  2130. override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/
  2131. endif
  2132. else
  2133. ifdef COMPILER_TARGETDIR
  2134. override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
  2135. override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
  2136. endif
  2137. endif
  2138. ifdef CREATESHARED
  2139. override FPCOPT+=-Cg
  2140. endif
  2141. ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
  2142. ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),)
  2143. override FPCOPT+=-Cg
  2144. endif
  2145. endif
  2146. ifdef LINKSHARED
  2147. endif
  2148. ifdef OPT
  2149. override FPCOPT+=$(OPT)
  2150. endif
  2151. ifdef FPMAKEBUILDOPT
  2152. override FPMAKE_BUILD_OPT+=$(FPMAKEBUILDOPT)
  2153. endif
  2154. ifdef FPCOPTDEF
  2155. override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))
  2156. endif
  2157. ifdef CFGFILE
  2158. override FPCOPT+=@$(CFGFILE)
  2159. endif
  2160. ifdef USEENV
  2161. override FPCEXTCMD:=$(FPCOPT)
  2162. override FPCOPT:=!FPCEXTCMD
  2163. export FPCEXTCMD
  2164. endif
  2165. override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
  2166. override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
  2167. ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
  2168. override ACROSSCOMPILE=1
  2169. endif
  2170. ifdef ACROSSCOMPILE
  2171. override FPCOPT+=$(CROSSOPT)
  2172. endif
  2173. override COMPILER:=$(strip $(FPC) $(FPCOPT))
  2174. ifneq (,$(findstring -sh ,$(COMPILER)))
  2175. UseEXECPPAS=1
  2176. endif
  2177. ifneq (,$(findstring -s ,$(COMPILER)))
  2178. ifeq ($(FULL_SOURCE),$(FULL_TARGET))
  2179. UseEXECPPAS=1
  2180. endif
  2181. endif
  2182. ifneq ($(UseEXECPPAS),1)
  2183. EXECPPAS=
  2184. else
  2185. ifdef RUNBATCH
  2186. EXECPPAS:=@$(RUNBATCH) $(PPAS)
  2187. else
  2188. EXECPPAS:=@$(PPAS)
  2189. endif
  2190. endif
  2191. .PHONY: fpc_units
  2192. ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
  2193. override ALLTARGET+=fpc_units
  2194. override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
  2195. override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))
  2196. override INSTALLPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  2197. override CLEANPPUFILES+=$(UNITPPUFILES) $(IMPLICITUNITPPUFILES)
  2198. endif
  2199. fpc_units: $(COMPILER_UNITTARGETDIR) $(UNITPPUFILES)
  2200. ifdef TARGET_RSTS
  2201. override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
  2202. override CLEANRSTFILES+=$(RSTFILES)
  2203. endif
  2204. .PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
  2205. $(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
  2206. @$(ECHOREDIR) Compiled > $(FPCMADE)
  2207. fpc_all: $(FPCMADE)
  2208. fpc_smart:
  2209. $(MAKE) all LINKSMART=1 CREATESMART=1
  2210. fpc_debug:
  2211. $(MAKE) all DEBUG=1
  2212. fpc_release:
  2213. $(MAKE) all RELEASE=1
  2214. .SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) .pas .lpr .dpr .pp .rc .res
  2215. $(COMPILER_UNITTARGETDIR):
  2216. $(MKDIRTREE) $(COMPILER_UNITTARGETDIR)
  2217. $(COMPILER_TARGETDIR):
  2218. $(MKDIRTREE) $(COMPILER_TARGETDIR)
  2219. %$(PPUEXT): %.pp
  2220. $(COMPILER) $<
  2221. $(EXECPPAS)
  2222. %$(PPUEXT): %.pas
  2223. $(COMPILER) $<
  2224. $(EXECPPAS)
  2225. %$(EXEEXT): %.pp
  2226. $(COMPILER) $<
  2227. $(EXECPPAS)
  2228. %$(EXEEXT): %.pas
  2229. $(COMPILER) $<
  2230. $(EXECPPAS)
  2231. %$(EXEEXT): %.lpr
  2232. $(COMPILER) $<
  2233. $(EXECPPAS)
  2234. %$(EXEEXT): %.dpr
  2235. $(COMPILER) $<
  2236. $(EXECPPAS)
  2237. %.res: %.rc
  2238. windres -i $< -o $@
  2239. vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2240. vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2241. vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2242. vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
  2243. vpath %.inc $(COMPILER_INCLUDEDIR)
  2244. vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
  2245. vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
  2246. .PHONY: fpc_shared
  2247. override INSTALLTARGET+=fpc_shared_install
  2248. ifndef SHARED_LIBVERSION
  2249. SHARED_LIBVERSION=$(FPC_VERSION)
  2250. endif
  2251. ifndef SHARED_LIBNAME
  2252. SHARED_LIBNAME=$(PACKAGE_NAME)
  2253. endif
  2254. ifndef SHARED_FULLNAME
  2255. SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
  2256. endif
  2257. ifndef SHARED_LIBUNITS
  2258. SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
  2259. override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
  2260. endif
  2261. fpc_shared:
  2262. ifdef HASSHAREDLIB
  2263. $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
  2264. ifneq ($(SHARED_BUILD),n)
  2265. $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
  2266. endif
  2267. else
  2268. @$(ECHO) Shared Libraries not supported
  2269. endif
  2270. fpc_shared_install:
  2271. ifneq ($(SHARED_BUILD),n)
  2272. ifneq ($(SHARED_LIBUNITS),)
  2273. ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
  2274. $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
  2275. endif
  2276. endif
  2277. endif
  2278. .PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
  2279. ifdef INSTALL_UNITS
  2280. override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
  2281. endif
  2282. ifdef INSTALL_BUILDUNIT
  2283. override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES))
  2284. endif
  2285. ifdef INSTALLPPUFILES
  2286. ifneq ($(IMPORTLIBPREFIX)-$(STATICLIBEXT),$(STATICLIBPREFIX)-$(STATICLIBEXT))
  2287. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  2288. else
  2289. override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
  2290. endif
  2291. ifneq ($(UNITTARGETDIRPREFIX),)
  2292. override INSTALLPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(notdir $(INSTALLPPUFILES)))
  2293. override INSTALLPPULINKFILES:=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(notdir $(INSTALLPPULINKFILES))))
  2294. endif
  2295. override INSTALL_CREATEPACKAGEFPC=1
  2296. endif
  2297. ifdef INSTALLEXEFILES
  2298. ifneq ($(TARGETDIRPREFIX),)
  2299. override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES)))
  2300. endif
  2301. endif
  2302. fpc_install: all $(INSTALLTARGET)
  2303. ifdef INSTALLEXEFILES
  2304. $(MKDIR) $(INSTALL_BINDIR)
  2305. $(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
  2306. endif
  2307. ifdef INSTALL_CREATEPACKAGEFPC
  2308. ifdef FPCMAKE
  2309. ifdef PACKAGE_VERSION
  2310. ifneq ($(wildcard Makefile.fpc),)
  2311. $(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc
  2312. $(MKDIR) $(INSTALL_UNITDIR)
  2313. $(INSTALL) Package.fpc $(INSTALL_UNITDIR)
  2314. endif
  2315. endif
  2316. endif
  2317. endif
  2318. ifdef INSTALLPPUFILES
  2319. $(MKDIR) $(INSTALL_UNITDIR)
  2320. $(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)
  2321. ifneq ($(INSTALLPPULINKFILES),)
  2322. $(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)
  2323. endif
  2324. ifneq ($(wildcard $(LIB_FULLNAME)),)
  2325. $(MKDIR) $(INSTALL_LIBDIR)
  2326. $(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)
  2327. ifdef inUnix
  2328. ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)
  2329. endif
  2330. endif
  2331. endif
  2332. ifdef INSTALL_FILES
  2333. $(MKDIR) $(INSTALL_DATADIR)
  2334. $(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)
  2335. endif
  2336. fpc_sourceinstall: distclean
  2337. $(MKDIR) $(INSTALL_SOURCEDIR)
  2338. $(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)
  2339. fpc_exampleinstall: $(EXAMPLEINSTALLTARGET) $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
  2340. ifdef HASEXAMPLES
  2341. $(MKDIR) $(INSTALL_EXAMPLEDIR)
  2342. endif
  2343. ifdef EXAMPLESOURCEFILES
  2344. $(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
  2345. endif
  2346. ifdef TARGET_EXAMPLEDIRS
  2347. $(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
  2348. endif
  2349. .PHONY: fpc_clean fpc_cleanall fpc_distclean
  2350. ifdef EXEFILES
  2351. override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES))
  2352. override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES))
  2353. endif
  2354. ifdef CLEAN_PROGRAMS
  2355. override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS)))
  2356. override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS)))
  2357. endif
  2358. ifdef CLEAN_UNITS
  2359. override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))
  2360. endif
  2361. ifdef CLEANPPUFILES
  2362. override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES)))
  2363. ifdef DEBUGSYMEXT
  2364. override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES))
  2365. endif
  2366. override CLEANPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILES))
  2367. override CLEANPPULINKFILES:=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILES)))
  2368. endif
  2369. fpc_clean: $(CLEANTARGET)
  2370. ifdef CLEANEXEFILES
  2371. -$(DEL) $(CLEANEXEFILES)
  2372. endif
  2373. ifdef CLEANEXEDBGFILES
  2374. -$(DELTREE) $(CLEANEXEDBGFILES)
  2375. endif
  2376. ifdef CLEANPPUFILES
  2377. -$(DEL) $(CLEANPPUFILES)
  2378. endif
  2379. ifneq ($(CLEANPPULINKFILES),)
  2380. -$(DEL) $(CLEANPPULINKFILES)
  2381. endif
  2382. ifdef CLEANRSTFILES
  2383. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  2384. endif
  2385. ifdef CLEAN_FILES
  2386. -$(DEL) $(CLEAN_FILES)
  2387. endif
  2388. ifdef LIB_NAME
  2389. -$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
  2390. endif
  2391. -$(DEL) $(FPCMADE) Package.fpc $(PPAS) script.res link.res $(FPCEXTFILE) $(REDIRFILE)
  2392. -$(DEL) *$(ASMEXT) *_ppas$(BATCHEXT)
  2393. fpc_cleanall: $(CLEANTARGET)
  2394. ifdef CLEANEXEFILES
  2395. -$(DEL) $(CLEANEXEFILES)
  2396. endif
  2397. ifdef COMPILER_UNITTARGETDIR
  2398. ifdef CLEANPPUFILES
  2399. -$(DEL) $(CLEANPPUFILES)
  2400. endif
  2401. ifneq ($(CLEANPPULINKFILES),)
  2402. -$(DEL) $(CLEANPPULINKFILES)
  2403. endif
  2404. ifdef CLEANRSTFILES
  2405. -$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
  2406. endif
  2407. endif
  2408. ifdef CLEAN_FILES
  2409. -$(DEL) $(CLEAN_FILES)
  2410. endif
  2411. -$(DELTREE) units
  2412. -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
  2413. ifneq ($(PPUEXT),.ppu)
  2414. -$(DEL) *.o *.ppu *.a
  2415. endif
  2416. -$(DELTREE) *$(SMARTEXT)
  2417. -$(DEL) fpcmade.* Package.fpc $(PPAS) script.res link.res $(FPCEXTFILE) $(REDIRFILE)
  2418. -$(DEL) *_ppas$(BATCHEXT)
  2419. ifdef AOUTEXT
  2420. -$(DEL) *$(AOUTEXT)
  2421. endif
  2422. ifdef DEBUGSYMEXT
  2423. -$(DEL) *$(DEBUGSYMEXT)
  2424. endif
  2425. ifdef LOCALFPMAKEBIN
  2426. -$(DEL) $(LOCALFPMAKEBIN)
  2427. -$(DEL) $(FPMAKEBINOBJ)
  2428. endif
  2429. fpc_distclean: cleanall
  2430. .PHONY: fpc_baseinfo
  2431. override INFORULES+=fpc_baseinfo
  2432. fpc_baseinfo:
  2433. @$(ECHO)
  2434. @$(ECHO) == Package info ==
  2435. @$(ECHO) Package Name..... $(PACKAGE_NAME)
  2436. @$(ECHO) Package Version.. $(PACKAGE_VERSION)
  2437. @$(ECHO)
  2438. @$(ECHO) == Configuration info ==
  2439. @$(ECHO)
  2440. @$(ECHO) FPC.......... $(FPC)
  2441. @$(ECHO) FPC Version.. $(FPC_VERSION)
  2442. @$(ECHO) Source CPU... $(CPU_SOURCE)
  2443. @$(ECHO) Target CPU... $(CPU_TARGET)
  2444. @$(ECHO) Source OS.... $(OS_SOURCE)
  2445. @$(ECHO) Target OS.... $(OS_TARGET)
  2446. @$(ECHO) Full Source.. $(FULL_SOURCE)
  2447. @$(ECHO) Full Target.. $(FULL_TARGET)
  2448. @$(ECHO) SourceSuffix. $(SOURCESUFFIX)
  2449. @$(ECHO) TargetSuffix. $(TARGETSUFFIX)
  2450. @$(ECHO) FPC fpmake... $(FPCFPMAKE)
  2451. @$(ECHO)
  2452. @$(ECHO) == Directory info ==
  2453. @$(ECHO)
  2454. @$(ECHO) Required pkgs... $(REQUIRE_PACKAGES)
  2455. @$(ECHO)
  2456. @$(ECHO) Basedir......... $(BASEDIR)
  2457. @$(ECHO) FPCDir.......... $(FPCDIR)
  2458. @$(ECHO) CrossBinDir..... $(CROSSBINDIR)
  2459. @$(ECHO) UnitsDir........ $(UNITSDIR)
  2460. @$(ECHO) PackagesDir..... $(PACKAGESDIR)
  2461. @$(ECHO)
  2462. @$(ECHO) GCC library..... $(GCCLIBDIR)
  2463. @$(ECHO) Other library... $(OTHERLIBDIR)
  2464. @$(ECHO)
  2465. @$(ECHO) == Tools info ==
  2466. @$(ECHO)
  2467. @$(ECHO) As........ $(AS)
  2468. @$(ECHO) Ld........ $(LD)
  2469. @$(ECHO) Ar........ $(AR)
  2470. @$(ECHO) Rc........ $(RC)
  2471. @$(ECHO)
  2472. @$(ECHO) Mv........ $(MVPROG)
  2473. @$(ECHO) Cp........ $(CPPROG)
  2474. @$(ECHO) Rm........ $(RMPROG)
  2475. @$(ECHO) GInstall.. $(GINSTALL)
  2476. @$(ECHO) Echo...... $(ECHO)
  2477. @$(ECHO) Shell..... $(SHELL)
  2478. @$(ECHO) Date...... $(DATE)
  2479. @$(ECHO) FPCMake... $(FPCMAKE)
  2480. @$(ECHO) PPUMove... $(PPUMOVE)
  2481. @$(ECHO) Zip....... $(ZIPPROG)
  2482. @$(ECHO)
  2483. @$(ECHO) == Object info ==
  2484. @$(ECHO)
  2485. @$(ECHO) Target Loaders........ $(TARGET_LOADERS)
  2486. @$(ECHO) Target Units.......... $(TARGET_UNITS)
  2487. @$(ECHO) Target Implicit Units. $(TARGET_IMPLICITUNITS)
  2488. @$(ECHO) Target Programs....... $(TARGET_PROGRAMS)
  2489. @$(ECHO) Target Dirs........... $(TARGET_DIRS)
  2490. @$(ECHO) Target Examples....... $(TARGET_EXAMPLES)
  2491. @$(ECHO) Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)
  2492. @$(ECHO)
  2493. @$(ECHO) Clean Units......... $(CLEAN_UNITS)
  2494. @$(ECHO) Clean Files......... $(CLEAN_FILES)
  2495. @$(ECHO)
  2496. @$(ECHO) Install Units....... $(INSTALL_UNITS)
  2497. @$(ECHO) Install Files....... $(INSTALL_FILES)
  2498. @$(ECHO)
  2499. @$(ECHO) == Install info ==
  2500. @$(ECHO)
  2501. @$(ECHO) DateStr.............. $(DATESTR)
  2502. @$(ECHO) ZipName.............. $(ZIPNAME)
  2503. @$(ECHO) ZipPrefix............ $(ZIPPREFIX)
  2504. @$(ECHO) ZipCrossPrefix....... $(ZIPCROSSPREFIX)
  2505. @$(ECHO) ZipSuffix............ $(ZIPSUFFIX)
  2506. @$(ECHO) FullZipName.......... $(FULLZIPNAME)
  2507. @$(ECHO) Install FPC Package.. $(INSTALL_FPCPACKAGE)
  2508. @$(ECHO)
  2509. @$(ECHO) Install base dir..... $(INSTALL_BASEDIR)
  2510. @$(ECHO) Install binary dir... $(INSTALL_BINDIR)
  2511. @$(ECHO) Install library dir.. $(INSTALL_LIBDIR)
  2512. @$(ECHO) Install units dir.... $(INSTALL_UNITDIR)
  2513. @$(ECHO) Install source dir... $(INSTALL_SOURCEDIR)
  2514. @$(ECHO) Install doc dir...... $(INSTALL_DOCDIR)
  2515. @$(ECHO) Install example dir.. $(INSTALL_EXAMPLEDIR)
  2516. @$(ECHO) Install data dir..... $(INSTALL_DATADIR)
  2517. @$(ECHO)
  2518. @$(ECHO) Dist destination dir. $(DIST_DESTDIR)
  2519. @$(ECHO) Dist zip name........ $(DIST_ZIPNAME)
  2520. @$(ECHO)
  2521. .PHONY: fpc_info
  2522. fpc_info: $(INFORULES)
  2523. .PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \
  2524. fpc_makefile_dirs
  2525. fpc_makefile:
  2526. $(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc
  2527. fpc_makefile_sub1:
  2528. ifdef TARGET_DIRS
  2529. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS))
  2530. endif
  2531. ifdef TARGET_EXAMPLEDIRS
  2532. $(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS))
  2533. endif
  2534. fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
  2535. fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
  2536. fpc_makefiles: fpc_makefile fpc_makefile_dirs
  2537. all: fpc_all
  2538. debug: fpc_debug
  2539. smart: fpc_smart
  2540. release: fpc_release
  2541. units: fpc_units
  2542. examples:
  2543. shared: fpc_shared
  2544. install: fpc_install
  2545. sourceinstall: fpc_sourceinstall
  2546. exampleinstall: fpc_exampleinstall
  2547. distinstall:
  2548. zipinstall:
  2549. zipsourceinstall:
  2550. zipexampleinstall:
  2551. zipdistinstall:
  2552. clean: fpc_clean
  2553. distclean: fpc_distclean
  2554. cleanall: fpc_cleanall
  2555. info: fpc_info
  2556. makefiles: fpc_makefiles
  2557. .PHONY: all debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean distclean cleanall info makefiles
  2558. ifneq ($(wildcard fpcmake.loc),)
  2559. include fpcmake.loc
  2560. endif
  2561. .NOTPARALLEL:
  2562. include $(INC)/makefile.inc
  2563. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  2564. include $(PROCINC)/makefile.cpu
  2565. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  2566. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
  2567. system$(PPUEXT) : system.pp $(SYSDEPS)
  2568. $(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg system.pp $(REDIR)
  2569. strings$(PPUEXT) : $(INC)/strings.pp system$(PPUEXT)
  2570. $(COMPILER) $(INC)/strings.pp $(REDIR)
  2571. uuchar$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) $(INC)/uuchar.pp
  2572. objpas$(PPUEXT) : $(OBJPASDIR)/objpas.pp system$(PPUEXT)
  2573. $(COPY) $(OBJPASDIR)/objpas.pp .
  2574. $(COMPILER) objpas $(REDIR)
  2575. $(DEL) objpas.pp
  2576. sysutils$(PPUEXT) : $(OBJPASDIR)/sysutils.pp objpas$(PPUEXT) system$(PPUEXT) sysconst$(PPUEXT)
  2577. $(COPY) $(OBJPASDIR)/sysutils.pp .
  2578. $(COMPILER) sysutils $(REDIR)
  2579. macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT)
  2580. $(COMPILER) $(INC)/macpas.pp $(REDIR)
  2581. dos$(PPUEXT) : $(DOSDEPS) unixutil$(PPUEXT) system$(PPUEXT)
  2582. $(COMPILER) dos $(REDIR)
  2583. getopts$(PPUEXT) : $(INC)/getopts.pp strings$(PPUEXT) system$(PPUEXT)
  2584. $(COMPILER) $(INC)/getopts.pp $(REDIR)
  2585. heaptrc$(PPUEXT) : $(INC)/heaptrc.pp system$(PPUEXT)
  2586. $(COMPILER) $(INC)/heaptrc.pp $(REDIR)
  2587. unixutil$(PPUEXT) : ../unix/unixutil.pp
  2588. $(COMPILER) ../unix/unixutil.pp $(REDIR)
  2589. charset$(PPUEXT) : $(INC)/charset.pp system$(PPUEXT)
  2590. cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) charset$(PPUEXT)
  2591. $(COMPILER) -Fu$(INC) -Fi$(RTL)/charmaps $(RTL)/charmaps/cpall.pas
  2592. cmem$(PPUEXT) : $(INC)/cmem.pp system$(PPUEXT)
  2593. ctypes$(PPUEXT) : $(INC)/ctypes.pp system$(PPUEXT)
  2594. math$(PPUEXT): $(OBJPASDIR)/math.pp objpas$(PPUEXT) sysutils$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
  2595. $(COMPILER) $(OBJPASDIR)/math.pp