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