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