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