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