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