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-macos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos 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-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros arm-freertos powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android mips64el-linux jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-darwin aarch64-win64 aarch64-android wasm-wasm sparc64-linux riscv32-linux riscv32-embedded riscv64-linux riscv64-embedded xtensa-linux xtensa-embedded xtensa-freertos z80-embedded z80-zxspectrum z80-msxdos
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
103ifndef FPC
104ifdef PP
105FPC=$(PP)
106endif
107endif
108ifndef FPC
109FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
110ifneq ($(FPCPROG),)
111FPCPROG:=$(firstword $(FPCPROG))
112ifneq ($(CPU_TARGET),)
113FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
114else
115FPC:=$(shell $(FPCPROG) -PB)
116endif
117ifneq ($(findstring Error,$(FPC)),)
118override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
119else
120ifeq ($(strip $(wildcard $(FPC))),)
121FPC:=$(firstword $(FPCPROG))
122endif
123endif
124else
125override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
126endif
127endif
128override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
129override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
130FOUNDFPC:=$(strip $(wildcard $(FPC)))
131ifeq ($(FOUNDFPC),)
132FOUNDFPC=$(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))
133ifeq ($(FOUNDFPC),)
134$(error Compiler $(FPC) not found)
135endif
136endif
137ifndef FPC_COMPILERINFO
138FPC_COMPILERINFO:=$(shell $(FPC) -iVSPTPSOTO)
139endif
140ifndef FPC_VERSION
141FPC_VERSION:=$(word 1,$(FPC_COMPILERINFO))
142endif
143export FPC FPC_VERSION FPC_COMPILERINFO
144unexport CHECKDEPEND ALLDEPENDENCIES
145ifndef CPU_TARGET
146ifdef CPU_TARGET_DEFAULT
147CPU_TARGET=$(CPU_TARGET_DEFAULT)
148endif
149endif
150ifndef OS_TARGET
151ifdef OS_TARGET_DEFAULT
152OS_TARGET=$(OS_TARGET_DEFAULT)
153endif
154endif
155ifndef CPU_SOURCE
156CPU_SOURCE:=$(word 2,$(FPC_COMPILERINFO))
157endif
158ifndef CPU_TARGET
159CPU_TARGET:=$(word 3,$(FPC_COMPILERINFO))
160endif
161ifndef OS_SOURCE
162OS_SOURCE:=$(word 4,$(FPC_COMPILERINFO))
163endif
164ifndef OS_TARGET
165OS_TARGET:=$(word 5,$(FPC_COMPILERINFO))
166endif
167FULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
168FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
169ifeq ($(CPU_TARGET),armeb)
170ARCH=arm
171override FPCOPT+=-Cb
172else
173ifeq ($(CPU_TARGET),armel)
174ARCH=arm
175override FPCOPT+=-CaEABI
176else
177ARCH=$(CPU_TARGET)
178endif
179endif
180ifeq ($(FULL_TARGET),arm-embedded)
181ifeq ($(SUBARCH),)
182$(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined)
183endif
184override FPCOPT+=-Cp$(SUBARCH)
185endif
186ifeq ($(FULL_TARGET),avr-embedded)
187ifeq ($(SUBARCH),)
188$(error When compiling for avr-embedded, a sub-architecture (e.g. SUBARCH=avr25 or SUBARCH=avr35) must be defined)
189endif
190override FPCOPT+=-Cp$(SUBARCH)
191endif
192ifeq ($(FULL_TARGET),mipsel-embedded)
193ifeq ($(SUBARCH),)
194$(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic32mx) must be defined)
195endif
196override FPCOPT+=-Cp$(SUBARCH)
197endif
198ifeq ($(FULL_TARGET),xtensa-embedded)
199ifeq ($(SUBARCH),)
200$(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
201endif
202override FPCOPT+=-Cp$(SUBARCH)
203endif
204ifeq ($(FULL_TARGET),xtensa-freertos)
205ifeq ($(SUBARCH),)
206$(error When compiling for xtensa-freertos, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
207endif
208override FPCOPT+=-Cp$(SUBARCH)
209endif
210ifeq ($(FULL_TARGET),arm-freertos)
211ifeq ($(SUBARCH),)
212$(error When compiling for arm-freertos, a sub-architecture (e.g. SUBARCH=armv6m or SUBARCH=armv7em) must be defined)
213endif
214override FPCOPT+=-Cp$(SUBARCH)
215endif
216ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
217TARGETSUFFIX=$(OS_TARGET)
218SOURCESUFFIX=$(OS_SOURCE)
219else
220ifneq ($(findstring $(OS_TARGET),$(LIMIT83fs)),)
221TARGETSUFFIX=$(OS_TARGET)
222else
223TARGETSUFFIX=$(FULL_TARGET)
224endif
225SOURCESUFFIX=$(FULL_SOURCE)
226endif
227ifneq ($(FULL_TARGET),$(FULL_SOURCE))
228CROSSCOMPILE=1
229endif
230ifeq ($(findstring makefile,$(MAKECMDGOALS)),)
231ifeq ($(findstring $(FULL_TARGET),$(MAKEFILETARGETS)),)
232$(error The Makefile doesn't support target $(FULL_TARGET), please run fpcmake first)
233endif
234endif
235ifneq ($(findstring $(OS_TARGET),$(BSDs)),)
236BSDhier=1
237endif
238ifeq ($(OS_TARGET),linux)
239linuxHier=1
240endif
241ifndef CROSSCOMPILE
242BUILDFULLNATIVE=1
243export BUILDFULLNATIVE
244endif
245ifdef BUILDFULLNATIVE
246BUILDNATIVE=1
247export BUILDNATIVE
248endif
249export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE
250ifdef FPCDIR
251override FPCDIR:=$(subst \,/,$(FPCDIR))
252ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
253override FPCDIR=wrong
254endif
255else
256override FPCDIR=wrong
257endif
258ifdef DEFAULT_FPCDIR
259ifeq ($(FPCDIR),wrong)
260override FPCDIR:=$(subst \,/,$(DEFAULT_FPCDIR))
261ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
262override FPCDIR=wrong
263endif
264endif
265endif
266ifeq ($(FPCDIR),wrong)
267ifdef inUnix
268override FPCDIR=/usr/local/lib/fpc/$(FPC_VERSION)
269ifeq ($(wildcard $(FPCDIR)/units),)
270override FPCDIR=/usr/lib/fpc/$(FPC_VERSION)
271endif
272else
273override FPCDIR:=$(subst /$(FPC),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC),$(SEARCHPATH))))))
274override FPCDIR:=$(FPCDIR)/..
275ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
276override FPCDIR:=$(FPCDIR)/..
277ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
278override FPCDIR:=$(BASEDIR)
279ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
280override FPCDIR=c:/pp
281endif
282endif
283endif
284endif
285endif
286ifndef CROSSBINDIR
287CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX))
288endif
289ifneq ($(findstring $(OS_TARGET),darwin iphonesim),)
290ifeq ($(OS_SOURCE),darwin)
291DARWIN2DARWIN=1
292endif
293endif
294ifndef BINUTILSPREFIX
295ifndef CROSSBINDIR
296ifdef CROSSCOMPILE
297ifneq ($(OS_TARGET),msdos)
298ifndef DARWIN2DARWIN
299ifneq ($(CPU_TARGET),jvm)
300BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
301ifeq ($(OS_TARGET),android)
302ifeq ($(CPU_TARGET),arm)
303BINUTILSPREFIX=arm-linux-androideabi-
304else
305ifeq ($(CPU_TARGET),i386)
306BINUTILSPREFIX=i686-linux-android-
307else
308BINUTILSPREFIX=$(CPU_TARGET)-linux-android-
309endif
310endif
311endif
312endif
313endif
314else
315BINUTILSPREFIX=$(OS_TARGET)-
316endif
317endif
318endif
319endif
320UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
321ifeq ($(UNITSDIR),)
322UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
323endif
324PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages)
325ifndef FPCFPMAKE
326ifdef CROSSCOMPILE
327ifeq ($(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR)))),)
328FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
329ifneq ($(FPCPROG),)
330FPCPROG:=$(firstword $(FPCPROG))
331FPCFPMAKE:=$(shell $(FPCPROG) -PB)
332ifeq ($(strip $(wildcard $(FPCFPMAKE))),)
333FPCFPMAKE:=$(firstword $(FPCPROG))
334endif
335else
336override FPCFPMAKE=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
337endif
338else
339FPCFPMAKE=$(strip $(wildcard $(addsuffix /compiler/ppc$(SRCEXEEXT),$(FPCDIR))))
340FPMAKE_SKIP_CONFIG=-n
341export FPCFPMAKE
342export FPMAKE_SKIP_CONFIG
343endif
344else
345FPMAKE_SKIP_CONFIG=-n
346FPCFPMAKE=$(FPC)
347endif
348endif
349override PACKAGE_NAME=lazaruside
350override PACKAGE_VERSION=1.1
351RCPP?=$(firstword $(strip $(subst /,$(PATHSEP),$(wildcard $(addsuffix /cpp$(SRCEXEEXT),$(SEARCHPATH))))))
352ifneq ($(findstring $(OS_TARGET),win32 win64),)
353  HEAPTRC_UNIT_PATH=include/win
354endif
355ifndef LCL_PLATFORM
356ifneq ($(findstring $(OS_TARGET),win32 win64),)
357LCL_PLATFORM=win32
358else
359ifeq ($(OS_TARGET),darwin)
360LCL_PLATFORM=cocoa
361else
362LCL_PLATFORM=gtk2
363endif
364endif
365endif
366export LCL_PLATFORM
367DBG_OPTIONS=
368ifeq ($(OS_TARGET),darwin)
369DBG_OPTIONS=-gw
370endif
371LAZARUS_OPT=$(LAZARUS_LIBPATHS)
372DEFAULT_IDE_OPTIONS= $(LAZARUS_LIBPATHS) \
373  -Fu../packager/units/$(CPU_TARGET)-$(OS_TARGET) \
374  -Fu../components/codetools/units/$(CPU_TARGET)-$(OS_TARGET) \
375  -Fu../components/debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) \
376  -Fu../components/lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) \
377  -Fu../components/freetype/lib/$(CPU_TARGET)-$(OS_TARGET) \
378  -Fu../lcl/units/$(CPU_TARGET)-$(OS_TARGET) \
379  -Fu../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
380  -Fu../components/buildintf/units/$(CPU_TARGET)-$(OS_TARGET) \
381  -Fu../components/ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
382  -Fu../components/synedit/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
383  -Fu../components/lazcontrols/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
384  -Fu../components/lazcontrols/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
385  -Fu../components/lazdebuggergdbmi/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
386  -Fu../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
387BIG_IDE_OPTIONS=-dBigIDE $(DEFAULT_IDE_OPTIONS) \
388  -Fu../components/synedit/design/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
389  -Fu../components/rtticontrols/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
390  -Fu../components/cairocanvas/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
391  -Fu../components/printers/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
392  -Fu../components/printers/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
393  -Fu../components/tdbf/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
394  -Fu../components/turbopower_ipro/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
395  -Fu../components/turbopower_ipro/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
396  -Fu../components/fpcunit/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
397  -Fu../components/fpcunit/ide/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
398  -Fu../components/projecttemplates/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
399  -Fu../components/sqldb/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
400  -Fu../components/sdf/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
401  -Fu../components/fpdebug/lib/$(CPU_TARGET)-$(OS_TARGET) \
402  -Fu../components/lazdebuggers/cmdlinedebuggerbase/lib/$(CPU_TARGET)-$(OS_TARGET) \
403  -Fu../components/lazdebuggers/lazdebuggerlldb/lib/$(CPU_TARGET)-$(OS_TARGET) \
404  -Fu../components/lazdebuggers/lazdebuggerfplldb/lib/$(CPU_TARGET)-$(OS_TARGET) \
405  -Fu../components/lazdebuggers/lazdebuggerfp/lib/$(CPU_TARGET)-$(OS_TARGET) \
406  -Fu../components/leakview/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
407  -Fu../components/memds/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
408  -Fu../components/tachart/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
409  -Fu../components/todolist/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
410  -Fu../components/datetimectrls/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
411  -Fu../components/datetimectrls/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
412  -Fu../components/jcf2/IdePlugin/lazarus/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
413  -Fu../components/chmhelp/packages/help/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
414  -Fu../components/chmhelp/packages/idehelp/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
415  -Fu../components/instantfpc/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
416  -Fu../components/externhelp/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
417  -Fu../components/PascalScript/Source/lib/$(CPU_TARGET)-$(OS_TARGET) \
418  -Fu../components/macroscript/lib/$(CPU_TARGET)-$(OS_TARGET) \
419  -Fu../components/lclextensions/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM) \
420  -Fu../components/virtualtreeview/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM) \
421  -Fu../components/onlinepackagemanager/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
422  -Fu../components/pas2js/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
423LAZBUILD_OPT=$(LAZARUS_LIBPATHS)
424ifneq ($(findstring $(OS_TARGET),win32 win64),)
425LAZARUS_OPT+= -WG
426BIG_IDE_OPTIONS+= -WG
427endif
428ifeq ($(FULL_TARGET),i386-linux)
429override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
430endif
431ifeq ($(FULL_TARGET),i386-go32v2)
432override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
433endif
434ifeq ($(FULL_TARGET),i386-win32)
435override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
436endif
437ifeq ($(FULL_TARGET),i386-os2)
438override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
439endif
440ifeq ($(FULL_TARGET),i386-freebsd)
441override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
442endif
443ifeq ($(FULL_TARGET),i386-beos)
444override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
445endif
446ifeq ($(FULL_TARGET),i386-haiku)
447override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
448endif
449ifeq ($(FULL_TARGET),i386-netbsd)
450override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
451endif
452ifeq ($(FULL_TARGET),i386-solaris)
453override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
454endif
455ifeq ($(FULL_TARGET),i386-netware)
456override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
457endif
458ifeq ($(FULL_TARGET),i386-openbsd)
459override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
460endif
461ifeq ($(FULL_TARGET),i386-wdosx)
462override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
463endif
464ifeq ($(FULL_TARGET),i386-darwin)
465override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
466endif
467ifeq ($(FULL_TARGET),i386-emx)
468override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
469endif
470ifeq ($(FULL_TARGET),i386-watcom)
471override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
472endif
473ifeq ($(FULL_TARGET),i386-netwlibc)
474override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
475endif
476ifeq ($(FULL_TARGET),i386-wince)
477override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
478endif
479ifeq ($(FULL_TARGET),i386-embedded)
480override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
481endif
482ifeq ($(FULL_TARGET),i386-symbian)
483override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
484endif
485ifeq ($(FULL_TARGET),i386-nativent)
486override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
487endif
488ifeq ($(FULL_TARGET),i386-iphonesim)
489override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
490endif
491ifeq ($(FULL_TARGET),i386-android)
492override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
493endif
494ifeq ($(FULL_TARGET),i386-aros)
495override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
496endif
497ifeq ($(FULL_TARGET),m68k-linux)
498override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
499endif
500ifeq ($(FULL_TARGET),m68k-netbsd)
501override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
502endif
503ifeq ($(FULL_TARGET),m68k-amiga)
504override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
505endif
506ifeq ($(FULL_TARGET),m68k-atari)
507override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
508endif
509ifeq ($(FULL_TARGET),m68k-palmos)
510override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
511endif
512ifeq ($(FULL_TARGET),m68k-macos)
513override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
514endif
515ifeq ($(FULL_TARGET),m68k-embedded)
516override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
517endif
518ifeq ($(FULL_TARGET),powerpc-linux)
519override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
520endif
521ifeq ($(FULL_TARGET),powerpc-netbsd)
522override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
523endif
524ifeq ($(FULL_TARGET),powerpc-amiga)
525override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
526endif
527ifeq ($(FULL_TARGET),powerpc-macos)
528override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
529endif
530ifeq ($(FULL_TARGET),powerpc-darwin)
531override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
532endif
533ifeq ($(FULL_TARGET),powerpc-morphos)
534override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
535endif
536ifeq ($(FULL_TARGET),powerpc-embedded)
537override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
538endif
539ifeq ($(FULL_TARGET),powerpc-wii)
540override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
541endif
542ifeq ($(FULL_TARGET),powerpc-aix)
543override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
544endif
545ifeq ($(FULL_TARGET),sparc-linux)
546override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
547endif
548ifeq ($(FULL_TARGET),sparc-netbsd)
549override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
550endif
551ifeq ($(FULL_TARGET),sparc-solaris)
552override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
553endif
554ifeq ($(FULL_TARGET),sparc-embedded)
555override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
556endif
557ifeq ($(FULL_TARGET),x86_64-linux)
558override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
559endif
560ifeq ($(FULL_TARGET),x86_64-freebsd)
561override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
562endif
563ifeq ($(FULL_TARGET),x86_64-haiku)
564override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
565endif
566ifeq ($(FULL_TARGET),x86_64-netbsd)
567override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
568endif
569ifeq ($(FULL_TARGET),x86_64-solaris)
570override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
571endif
572ifeq ($(FULL_TARGET),x86_64-openbsd)
573override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
574endif
575ifeq ($(FULL_TARGET),x86_64-darwin)
576override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
577endif
578ifeq ($(FULL_TARGET),x86_64-win64)
579override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
580endif
581ifeq ($(FULL_TARGET),x86_64-embedded)
582override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
583endif
584ifeq ($(FULL_TARGET),x86_64-iphonesim)
585override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
586endif
587ifeq ($(FULL_TARGET),x86_64-android)
588override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
589endif
590ifeq ($(FULL_TARGET),x86_64-aros)
591override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
592endif
593ifeq ($(FULL_TARGET),x86_64-dragonfly)
594override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
595endif
596ifeq ($(FULL_TARGET),arm-linux)
597override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
598endif
599ifeq ($(FULL_TARGET),arm-netbsd)
600override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
601endif
602ifeq ($(FULL_TARGET),arm-palmos)
603override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
604endif
605ifeq ($(FULL_TARGET),arm-darwin)
606override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
607endif
608ifeq ($(FULL_TARGET),arm-wince)
609override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
610endif
611ifeq ($(FULL_TARGET),arm-gba)
612override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
613endif
614ifeq ($(FULL_TARGET),arm-nds)
615override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
616endif
617ifeq ($(FULL_TARGET),arm-embedded)
618override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
619endif
620ifeq ($(FULL_TARGET),arm-symbian)
621override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
622endif
623ifeq ($(FULL_TARGET),arm-android)
624override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
625endif
626ifeq ($(FULL_TARGET),arm-aros)
627override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
628endif
629ifeq ($(FULL_TARGET),arm-freertos)
630override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
631endif
632ifeq ($(FULL_TARGET),powerpc64-linux)
633override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
634endif
635ifeq ($(FULL_TARGET),powerpc64-darwin)
636override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
637endif
638ifeq ($(FULL_TARGET),powerpc64-embedded)
639override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
640endif
641ifeq ($(FULL_TARGET),powerpc64-aix)
642override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
643endif
644ifeq ($(FULL_TARGET),avr-embedded)
645override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
646endif
647ifeq ($(FULL_TARGET),armeb-linux)
648override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
649endif
650ifeq ($(FULL_TARGET),armeb-embedded)
651override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
652endif
653ifeq ($(FULL_TARGET),mips-linux)
654override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
655endif
656ifeq ($(FULL_TARGET),mipsel-linux)
657override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
658endif
659ifeq ($(FULL_TARGET),mipsel-embedded)
660override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
661endif
662ifeq ($(FULL_TARGET),mipsel-android)
663override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
664endif
665ifeq ($(FULL_TARGET),mips64el-linux)
666override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
667endif
668ifeq ($(FULL_TARGET),jvm-java)
669override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
670endif
671ifeq ($(FULL_TARGET),jvm-android)
672override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
673endif
674ifeq ($(FULL_TARGET),i8086-embedded)
675override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
676endif
677ifeq ($(FULL_TARGET),i8086-msdos)
678override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
679endif
680ifeq ($(FULL_TARGET),i8086-win16)
681override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
682endif
683ifeq ($(FULL_TARGET),aarch64-linux)
684override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
685endif
686ifeq ($(FULL_TARGET),aarch64-darwin)
687override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
688endif
689ifeq ($(FULL_TARGET),aarch64-win64)
690override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
691endif
692ifeq ($(FULL_TARGET),aarch64-android)
693override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
694endif
695ifeq ($(FULL_TARGET),wasm-wasm)
696override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
697endif
698ifeq ($(FULL_TARGET),sparc64-linux)
699override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
700endif
701ifeq ($(FULL_TARGET),riscv32-linux)
702override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
703endif
704ifeq ($(FULL_TARGET),riscv32-embedded)
705override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
706endif
707ifeq ($(FULL_TARGET),riscv64-linux)
708override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
709endif
710ifeq ($(FULL_TARGET),riscv64-embedded)
711override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
712endif
713ifeq ($(FULL_TARGET),xtensa-linux)
714override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
715endif
716ifeq ($(FULL_TARGET),xtensa-embedded)
717override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
718endif
719ifeq ($(FULL_TARGET),xtensa-freertos)
720override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
721endif
722ifeq ($(FULL_TARGET),z80-embedded)
723override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
724endif
725ifeq ($(FULL_TARGET),z80-zxspectrum)
726override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
727endif
728ifeq ($(FULL_TARGET),z80-msxdos)
729override TARGET_PROGRAMS+=lazarus startlazarus lazbuild
730endif
731ifeq ($(FULL_TARGET),i386-linux)
732override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
733endif
734ifeq ($(FULL_TARGET),i386-go32v2)
735override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
736endif
737ifeq ($(FULL_TARGET),i386-win32)
738override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
739endif
740ifeq ($(FULL_TARGET),i386-os2)
741override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
742endif
743ifeq ($(FULL_TARGET),i386-freebsd)
744override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
745endif
746ifeq ($(FULL_TARGET),i386-beos)
747override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
748endif
749ifeq ($(FULL_TARGET),i386-haiku)
750override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
751endif
752ifeq ($(FULL_TARGET),i386-netbsd)
753override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
754endif
755ifeq ($(FULL_TARGET),i386-solaris)
756override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
757endif
758ifeq ($(FULL_TARGET),i386-netware)
759override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
760endif
761ifeq ($(FULL_TARGET),i386-openbsd)
762override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
763endif
764ifeq ($(FULL_TARGET),i386-wdosx)
765override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
766endif
767ifeq ($(FULL_TARGET),i386-darwin)
768override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
769endif
770ifeq ($(FULL_TARGET),i386-emx)
771override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
772endif
773ifeq ($(FULL_TARGET),i386-watcom)
774override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
775endif
776ifeq ($(FULL_TARGET),i386-netwlibc)
777override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
778endif
779ifeq ($(FULL_TARGET),i386-wince)
780override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
781endif
782ifeq ($(FULL_TARGET),i386-embedded)
783override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
784endif
785ifeq ($(FULL_TARGET),i386-symbian)
786override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
787endif
788ifeq ($(FULL_TARGET),i386-nativent)
789override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
790endif
791ifeq ($(FULL_TARGET),i386-iphonesim)
792override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
793endif
794ifeq ($(FULL_TARGET),i386-android)
795override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
796endif
797ifeq ($(FULL_TARGET),i386-aros)
798override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
799endif
800ifeq ($(FULL_TARGET),m68k-linux)
801override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
802endif
803ifeq ($(FULL_TARGET),m68k-netbsd)
804override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
805endif
806ifeq ($(FULL_TARGET),m68k-amiga)
807override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
808endif
809ifeq ($(FULL_TARGET),m68k-atari)
810override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
811endif
812ifeq ($(FULL_TARGET),m68k-palmos)
813override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
814endif
815ifeq ($(FULL_TARGET),m68k-macos)
816override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
817endif
818ifeq ($(FULL_TARGET),m68k-embedded)
819override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
820endif
821ifeq ($(FULL_TARGET),powerpc-linux)
822override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
823endif
824ifeq ($(FULL_TARGET),powerpc-netbsd)
825override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
826endif
827ifeq ($(FULL_TARGET),powerpc-amiga)
828override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
829endif
830ifeq ($(FULL_TARGET),powerpc-macos)
831override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
832endif
833ifeq ($(FULL_TARGET),powerpc-darwin)
834override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
835endif
836ifeq ($(FULL_TARGET),powerpc-morphos)
837override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
838endif
839ifeq ($(FULL_TARGET),powerpc-embedded)
840override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
841endif
842ifeq ($(FULL_TARGET),powerpc-wii)
843override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
844endif
845ifeq ($(FULL_TARGET),powerpc-aix)
846override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
847endif
848ifeq ($(FULL_TARGET),sparc-linux)
849override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
850endif
851ifeq ($(FULL_TARGET),sparc-netbsd)
852override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
853endif
854ifeq ($(FULL_TARGET),sparc-solaris)
855override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
856endif
857ifeq ($(FULL_TARGET),sparc-embedded)
858override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
859endif
860ifeq ($(FULL_TARGET),x86_64-linux)
861override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
862endif
863ifeq ($(FULL_TARGET),x86_64-freebsd)
864override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
865endif
866ifeq ($(FULL_TARGET),x86_64-haiku)
867override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
868endif
869ifeq ($(FULL_TARGET),x86_64-netbsd)
870override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
871endif
872ifeq ($(FULL_TARGET),x86_64-solaris)
873override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
874endif
875ifeq ($(FULL_TARGET),x86_64-openbsd)
876override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
877endif
878ifeq ($(FULL_TARGET),x86_64-darwin)
879override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
880endif
881ifeq ($(FULL_TARGET),x86_64-win64)
882override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
883endif
884ifeq ($(FULL_TARGET),x86_64-embedded)
885override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
886endif
887ifeq ($(FULL_TARGET),x86_64-iphonesim)
888override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
889endif
890ifeq ($(FULL_TARGET),x86_64-android)
891override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
892endif
893ifeq ($(FULL_TARGET),x86_64-aros)
894override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
895endif
896ifeq ($(FULL_TARGET),x86_64-dragonfly)
897override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
898endif
899ifeq ($(FULL_TARGET),arm-linux)
900override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
901endif
902ifeq ($(FULL_TARGET),arm-netbsd)
903override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
904endif
905ifeq ($(FULL_TARGET),arm-palmos)
906override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
907endif
908ifeq ($(FULL_TARGET),arm-darwin)
909override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
910endif
911ifeq ($(FULL_TARGET),arm-wince)
912override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
913endif
914ifeq ($(FULL_TARGET),arm-gba)
915override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
916endif
917ifeq ($(FULL_TARGET),arm-nds)
918override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
919endif
920ifeq ($(FULL_TARGET),arm-embedded)
921override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
922endif
923ifeq ($(FULL_TARGET),arm-symbian)
924override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
925endif
926ifeq ($(FULL_TARGET),arm-android)
927override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
928endif
929ifeq ($(FULL_TARGET),arm-aros)
930override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
931endif
932ifeq ($(FULL_TARGET),arm-freertos)
933override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
934endif
935ifeq ($(FULL_TARGET),powerpc64-linux)
936override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
937endif
938ifeq ($(FULL_TARGET),powerpc64-darwin)
939override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
940endif
941ifeq ($(FULL_TARGET),powerpc64-embedded)
942override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
943endif
944ifeq ($(FULL_TARGET),powerpc64-aix)
945override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
946endif
947ifeq ($(FULL_TARGET),avr-embedded)
948override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
949endif
950ifeq ($(FULL_TARGET),armeb-linux)
951override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
952endif
953ifeq ($(FULL_TARGET),armeb-embedded)
954override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
955endif
956ifeq ($(FULL_TARGET),mips-linux)
957override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
958endif
959ifeq ($(FULL_TARGET),mipsel-linux)
960override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
961endif
962ifeq ($(FULL_TARGET),mipsel-embedded)
963override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
964endif
965ifeq ($(FULL_TARGET),mipsel-android)
966override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
967endif
968ifeq ($(FULL_TARGET),mips64el-linux)
969override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
970endif
971ifeq ($(FULL_TARGET),jvm-java)
972override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
973endif
974ifeq ($(FULL_TARGET),jvm-android)
975override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
976endif
977ifeq ($(FULL_TARGET),i8086-embedded)
978override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
979endif
980ifeq ($(FULL_TARGET),i8086-msdos)
981override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
982endif
983ifeq ($(FULL_TARGET),i8086-win16)
984override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
985endif
986ifeq ($(FULL_TARGET),aarch64-linux)
987override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
988endif
989ifeq ($(FULL_TARGET),aarch64-darwin)
990override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
991endif
992ifeq ($(FULL_TARGET),aarch64-win64)
993override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
994endif
995ifeq ($(FULL_TARGET),aarch64-android)
996override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
997endif
998ifeq ($(FULL_TARGET),wasm-wasm)
999override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1000endif
1001ifeq ($(FULL_TARGET),sparc64-linux)
1002override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1003endif
1004ifeq ($(FULL_TARGET),riscv32-linux)
1005override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1006endif
1007ifeq ($(FULL_TARGET),riscv32-embedded)
1008override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1009endif
1010ifeq ($(FULL_TARGET),riscv64-linux)
1011override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1012endif
1013ifeq ($(FULL_TARGET),riscv64-embedded)
1014override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1015endif
1016ifeq ($(FULL_TARGET),xtensa-linux)
1017override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1018endif
1019ifeq ($(FULL_TARGET),xtensa-embedded)
1020override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1021endif
1022ifeq ($(FULL_TARGET),xtensa-freertos)
1023override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1024endif
1025ifeq ($(FULL_TARGET),z80-embedded)
1026override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1027endif
1028ifeq ($(FULL_TARGET),z80-zxspectrum)
1029override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1030endif
1031ifeq ($(FULL_TARGET),z80-msxdos)
1032override CLEAN_FILES+=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) $(wildcard ../designer/*$(OEXT)) $(wildcard ../designer/*$(PPUEXT)) $(wildcard ../debugger/*$(OEXT)) $(wildcard ../debugger/*$(PPUEXT)) $(wildcard ../converter/*$(OEXT)) $(wildcard ../converter/*$(PPUEXT)) $(wildcard ../packager/*$(OEXT)) $(wildcard ../packager/*$(PPUEXT)) $(wildcard ../*$(OEXT)) $(wildcard ../*$(PPUEXT)) $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
1033endif
1034override INSTALL_BASEDIR=share/lazarus/ide
1035override INSTALL_FPCPACKAGE=n
1036override DIST_DESTDIR=$(BASEDIR)/dist
1037ifeq ($(FULL_TARGET),i386-linux)
1038override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1039endif
1040ifeq ($(FULL_TARGET),i386-go32v2)
1041override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1042endif
1043ifeq ($(FULL_TARGET),i386-win32)
1044override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1045endif
1046ifeq ($(FULL_TARGET),i386-os2)
1047override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1048endif
1049ifeq ($(FULL_TARGET),i386-freebsd)
1050override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1051endif
1052ifeq ($(FULL_TARGET),i386-beos)
1053override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1054endif
1055ifeq ($(FULL_TARGET),i386-haiku)
1056override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1057endif
1058ifeq ($(FULL_TARGET),i386-netbsd)
1059override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1060endif
1061ifeq ($(FULL_TARGET),i386-solaris)
1062override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1063endif
1064ifeq ($(FULL_TARGET),i386-netware)
1065override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1066endif
1067ifeq ($(FULL_TARGET),i386-openbsd)
1068override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1069endif
1070ifeq ($(FULL_TARGET),i386-wdosx)
1071override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1072endif
1073ifeq ($(FULL_TARGET),i386-darwin)
1074override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1075endif
1076ifeq ($(FULL_TARGET),i386-emx)
1077override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1078endif
1079ifeq ($(FULL_TARGET),i386-watcom)
1080override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1081endif
1082ifeq ($(FULL_TARGET),i386-netwlibc)
1083override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1084endif
1085ifeq ($(FULL_TARGET),i386-wince)
1086override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1087endif
1088ifeq ($(FULL_TARGET),i386-embedded)
1089override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1090endif
1091ifeq ($(FULL_TARGET),i386-symbian)
1092override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1093endif
1094ifeq ($(FULL_TARGET),i386-nativent)
1095override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1096endif
1097ifeq ($(FULL_TARGET),i386-iphonesim)
1098override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1099endif
1100ifeq ($(FULL_TARGET),i386-android)
1101override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1102endif
1103ifeq ($(FULL_TARGET),i386-aros)
1104override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1105endif
1106ifeq ($(FULL_TARGET),m68k-linux)
1107override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1108endif
1109ifeq ($(FULL_TARGET),m68k-netbsd)
1110override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1111endif
1112ifeq ($(FULL_TARGET),m68k-amiga)
1113override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1114endif
1115ifeq ($(FULL_TARGET),m68k-atari)
1116override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1117endif
1118ifeq ($(FULL_TARGET),m68k-palmos)
1119override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1120endif
1121ifeq ($(FULL_TARGET),m68k-macos)
1122override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1123endif
1124ifeq ($(FULL_TARGET),m68k-embedded)
1125override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1126endif
1127ifeq ($(FULL_TARGET),powerpc-linux)
1128override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1129endif
1130ifeq ($(FULL_TARGET),powerpc-netbsd)
1131override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1132endif
1133ifeq ($(FULL_TARGET),powerpc-amiga)
1134override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1135endif
1136ifeq ($(FULL_TARGET),powerpc-macos)
1137override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1138endif
1139ifeq ($(FULL_TARGET),powerpc-darwin)
1140override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1141endif
1142ifeq ($(FULL_TARGET),powerpc-morphos)
1143override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1144endif
1145ifeq ($(FULL_TARGET),powerpc-embedded)
1146override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1147endif
1148ifeq ($(FULL_TARGET),powerpc-wii)
1149override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1150endif
1151ifeq ($(FULL_TARGET),powerpc-aix)
1152override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1153endif
1154ifeq ($(FULL_TARGET),sparc-linux)
1155override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1156endif
1157ifeq ($(FULL_TARGET),sparc-netbsd)
1158override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1159endif
1160ifeq ($(FULL_TARGET),sparc-solaris)
1161override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1162endif
1163ifeq ($(FULL_TARGET),sparc-embedded)
1164override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1165endif
1166ifeq ($(FULL_TARGET),x86_64-linux)
1167override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1168endif
1169ifeq ($(FULL_TARGET),x86_64-freebsd)
1170override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1171endif
1172ifeq ($(FULL_TARGET),x86_64-haiku)
1173override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1174endif
1175ifeq ($(FULL_TARGET),x86_64-netbsd)
1176override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1177endif
1178ifeq ($(FULL_TARGET),x86_64-solaris)
1179override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1180endif
1181ifeq ($(FULL_TARGET),x86_64-openbsd)
1182override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1183endif
1184ifeq ($(FULL_TARGET),x86_64-darwin)
1185override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1186endif
1187ifeq ($(FULL_TARGET),x86_64-win64)
1188override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1189endif
1190ifeq ($(FULL_TARGET),x86_64-embedded)
1191override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1192endif
1193ifeq ($(FULL_TARGET),x86_64-iphonesim)
1194override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1195endif
1196ifeq ($(FULL_TARGET),x86_64-android)
1197override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1198endif
1199ifeq ($(FULL_TARGET),x86_64-aros)
1200override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1201endif
1202ifeq ($(FULL_TARGET),x86_64-dragonfly)
1203override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1204endif
1205ifeq ($(FULL_TARGET),arm-linux)
1206override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1207endif
1208ifeq ($(FULL_TARGET),arm-netbsd)
1209override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1210endif
1211ifeq ($(FULL_TARGET),arm-palmos)
1212override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1213endif
1214ifeq ($(FULL_TARGET),arm-darwin)
1215override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1216endif
1217ifeq ($(FULL_TARGET),arm-wince)
1218override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1219endif
1220ifeq ($(FULL_TARGET),arm-gba)
1221override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1222endif
1223ifeq ($(FULL_TARGET),arm-nds)
1224override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1225endif
1226ifeq ($(FULL_TARGET),arm-embedded)
1227override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1228endif
1229ifeq ($(FULL_TARGET),arm-symbian)
1230override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1231endif
1232ifeq ($(FULL_TARGET),arm-android)
1233override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1234endif
1235ifeq ($(FULL_TARGET),arm-aros)
1236override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1237endif
1238ifeq ($(FULL_TARGET),arm-freertos)
1239override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1240endif
1241ifeq ($(FULL_TARGET),powerpc64-linux)
1242override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1243endif
1244ifeq ($(FULL_TARGET),powerpc64-darwin)
1245override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1246endif
1247ifeq ($(FULL_TARGET),powerpc64-embedded)
1248override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1249endif
1250ifeq ($(FULL_TARGET),powerpc64-aix)
1251override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1252endif
1253ifeq ($(FULL_TARGET),avr-embedded)
1254override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1255endif
1256ifeq ($(FULL_TARGET),armeb-linux)
1257override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1258endif
1259ifeq ($(FULL_TARGET),armeb-embedded)
1260override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1261endif
1262ifeq ($(FULL_TARGET),mips-linux)
1263override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1264endif
1265ifeq ($(FULL_TARGET),mipsel-linux)
1266override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1267endif
1268ifeq ($(FULL_TARGET),mipsel-embedded)
1269override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1270endif
1271ifeq ($(FULL_TARGET),mipsel-android)
1272override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1273endif
1274ifeq ($(FULL_TARGET),mips64el-linux)
1275override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1276endif
1277ifeq ($(FULL_TARGET),jvm-java)
1278override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1279endif
1280ifeq ($(FULL_TARGET),jvm-android)
1281override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1282endif
1283ifeq ($(FULL_TARGET),i8086-embedded)
1284override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1285endif
1286ifeq ($(FULL_TARGET),i8086-msdos)
1287override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1288endif
1289ifeq ($(FULL_TARGET),i8086-win16)
1290override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1291endif
1292ifeq ($(FULL_TARGET),aarch64-linux)
1293override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1294endif
1295ifeq ($(FULL_TARGET),aarch64-darwin)
1296override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1297endif
1298ifeq ($(FULL_TARGET),aarch64-win64)
1299override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1300endif
1301ifeq ($(FULL_TARGET),aarch64-android)
1302override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1303endif
1304ifeq ($(FULL_TARGET),wasm-wasm)
1305override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1306endif
1307ifeq ($(FULL_TARGET),sparc64-linux)
1308override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1309endif
1310ifeq ($(FULL_TARGET),riscv32-linux)
1311override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1312endif
1313ifeq ($(FULL_TARGET),riscv32-embedded)
1314override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1315endif
1316ifeq ($(FULL_TARGET),riscv64-linux)
1317override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1318endif
1319ifeq ($(FULL_TARGET),riscv64-embedded)
1320override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1321endif
1322ifeq ($(FULL_TARGET),xtensa-linux)
1323override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1324endif
1325ifeq ($(FULL_TARGET),xtensa-embedded)
1326override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1327endif
1328ifeq ($(FULL_TARGET),xtensa-freertos)
1329override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1330endif
1331ifeq ($(FULL_TARGET),z80-embedded)
1332override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1333endif
1334ifeq ($(FULL_TARGET),z80-zxspectrum)
1335override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1336endif
1337ifeq ($(FULL_TARGET),z80-msxdos)
1338override COMPILER_OPTIONS+=-gl -vbqewnhi -Sci -dlcl$(LCL_PLATFORM) $(DBG_OPTIONS)
1339endif
1340ifeq ($(FULL_TARGET),i386-linux)
1341override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1342endif
1343ifeq ($(FULL_TARGET),i386-go32v2)
1344override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1345endif
1346ifeq ($(FULL_TARGET),i386-win32)
1347override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1348endif
1349ifeq ($(FULL_TARGET),i386-os2)
1350override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1351endif
1352ifeq ($(FULL_TARGET),i386-freebsd)
1353override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1354endif
1355ifeq ($(FULL_TARGET),i386-beos)
1356override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1357endif
1358ifeq ($(FULL_TARGET),i386-haiku)
1359override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1360endif
1361ifeq ($(FULL_TARGET),i386-netbsd)
1362override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1363endif
1364ifeq ($(FULL_TARGET),i386-solaris)
1365override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1366endif
1367ifeq ($(FULL_TARGET),i386-netware)
1368override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1369endif
1370ifeq ($(FULL_TARGET),i386-openbsd)
1371override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1372endif
1373ifeq ($(FULL_TARGET),i386-wdosx)
1374override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1375endif
1376ifeq ($(FULL_TARGET),i386-darwin)
1377override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1378endif
1379ifeq ($(FULL_TARGET),i386-emx)
1380override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1381endif
1382ifeq ($(FULL_TARGET),i386-watcom)
1383override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1384endif
1385ifeq ($(FULL_TARGET),i386-netwlibc)
1386override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1387endif
1388ifeq ($(FULL_TARGET),i386-wince)
1389override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1390endif
1391ifeq ($(FULL_TARGET),i386-embedded)
1392override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1393endif
1394ifeq ($(FULL_TARGET),i386-symbian)
1395override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1396endif
1397ifeq ($(FULL_TARGET),i386-nativent)
1398override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1399endif
1400ifeq ($(FULL_TARGET),i386-iphonesim)
1401override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1402endif
1403ifeq ($(FULL_TARGET),i386-android)
1404override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1405endif
1406ifeq ($(FULL_TARGET),i386-aros)
1407override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1408endif
1409ifeq ($(FULL_TARGET),m68k-linux)
1410override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1411endif
1412ifeq ($(FULL_TARGET),m68k-netbsd)
1413override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1414endif
1415ifeq ($(FULL_TARGET),m68k-amiga)
1416override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1417endif
1418ifeq ($(FULL_TARGET),m68k-atari)
1419override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1420endif
1421ifeq ($(FULL_TARGET),m68k-palmos)
1422override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1423endif
1424ifeq ($(FULL_TARGET),m68k-macos)
1425override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1426endif
1427ifeq ($(FULL_TARGET),m68k-embedded)
1428override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1429endif
1430ifeq ($(FULL_TARGET),powerpc-linux)
1431override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1432endif
1433ifeq ($(FULL_TARGET),powerpc-netbsd)
1434override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1435endif
1436ifeq ($(FULL_TARGET),powerpc-amiga)
1437override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1438endif
1439ifeq ($(FULL_TARGET),powerpc-macos)
1440override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1441endif
1442ifeq ($(FULL_TARGET),powerpc-darwin)
1443override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1444endif
1445ifeq ($(FULL_TARGET),powerpc-morphos)
1446override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1447endif
1448ifeq ($(FULL_TARGET),powerpc-embedded)
1449override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1450endif
1451ifeq ($(FULL_TARGET),powerpc-wii)
1452override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1453endif
1454ifeq ($(FULL_TARGET),powerpc-aix)
1455override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1456endif
1457ifeq ($(FULL_TARGET),sparc-linux)
1458override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1459endif
1460ifeq ($(FULL_TARGET),sparc-netbsd)
1461override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1462endif
1463ifeq ($(FULL_TARGET),sparc-solaris)
1464override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1465endif
1466ifeq ($(FULL_TARGET),sparc-embedded)
1467override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1468endif
1469ifeq ($(FULL_TARGET),x86_64-linux)
1470override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1471endif
1472ifeq ($(FULL_TARGET),x86_64-freebsd)
1473override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1474endif
1475ifeq ($(FULL_TARGET),x86_64-haiku)
1476override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1477endif
1478ifeq ($(FULL_TARGET),x86_64-netbsd)
1479override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1480endif
1481ifeq ($(FULL_TARGET),x86_64-solaris)
1482override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1483endif
1484ifeq ($(FULL_TARGET),x86_64-openbsd)
1485override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1486endif
1487ifeq ($(FULL_TARGET),x86_64-darwin)
1488override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1489endif
1490ifeq ($(FULL_TARGET),x86_64-win64)
1491override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1492endif
1493ifeq ($(FULL_TARGET),x86_64-embedded)
1494override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1495endif
1496ifeq ($(FULL_TARGET),x86_64-iphonesim)
1497override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1498endif
1499ifeq ($(FULL_TARGET),x86_64-android)
1500override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1501endif
1502ifeq ($(FULL_TARGET),x86_64-aros)
1503override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1504endif
1505ifeq ($(FULL_TARGET),x86_64-dragonfly)
1506override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1507endif
1508ifeq ($(FULL_TARGET),arm-linux)
1509override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1510endif
1511ifeq ($(FULL_TARGET),arm-netbsd)
1512override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1513endif
1514ifeq ($(FULL_TARGET),arm-palmos)
1515override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1516endif
1517ifeq ($(FULL_TARGET),arm-darwin)
1518override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1519endif
1520ifeq ($(FULL_TARGET),arm-wince)
1521override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1522endif
1523ifeq ($(FULL_TARGET),arm-gba)
1524override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1525endif
1526ifeq ($(FULL_TARGET),arm-nds)
1527override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1528endif
1529ifeq ($(FULL_TARGET),arm-embedded)
1530override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1531endif
1532ifeq ($(FULL_TARGET),arm-symbian)
1533override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1534endif
1535ifeq ($(FULL_TARGET),arm-android)
1536override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1537endif
1538ifeq ($(FULL_TARGET),arm-aros)
1539override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1540endif
1541ifeq ($(FULL_TARGET),arm-freertos)
1542override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1543endif
1544ifeq ($(FULL_TARGET),powerpc64-linux)
1545override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1546endif
1547ifeq ($(FULL_TARGET),powerpc64-darwin)
1548override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1549endif
1550ifeq ($(FULL_TARGET),powerpc64-embedded)
1551override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1552endif
1553ifeq ($(FULL_TARGET),powerpc64-aix)
1554override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1555endif
1556ifeq ($(FULL_TARGET),avr-embedded)
1557override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1558endif
1559ifeq ($(FULL_TARGET),armeb-linux)
1560override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1561endif
1562ifeq ($(FULL_TARGET),armeb-embedded)
1563override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1564endif
1565ifeq ($(FULL_TARGET),mips-linux)
1566override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1567endif
1568ifeq ($(FULL_TARGET),mipsel-linux)
1569override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1570endif
1571ifeq ($(FULL_TARGET),mipsel-embedded)
1572override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1573endif
1574ifeq ($(FULL_TARGET),mipsel-android)
1575override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1576endif
1577ifeq ($(FULL_TARGET),mips64el-linux)
1578override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1579endif
1580ifeq ($(FULL_TARGET),jvm-java)
1581override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1582endif
1583ifeq ($(FULL_TARGET),jvm-android)
1584override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1585endif
1586ifeq ($(FULL_TARGET),i8086-embedded)
1587override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1588endif
1589ifeq ($(FULL_TARGET),i8086-msdos)
1590override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1591endif
1592ifeq ($(FULL_TARGET),i8086-win16)
1593override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1594endif
1595ifeq ($(FULL_TARGET),aarch64-linux)
1596override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1597endif
1598ifeq ($(FULL_TARGET),aarch64-darwin)
1599override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1600endif
1601ifeq ($(FULL_TARGET),aarch64-win64)
1602override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1603endif
1604ifeq ($(FULL_TARGET),aarch64-android)
1605override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1606endif
1607ifeq ($(FULL_TARGET),wasm-wasm)
1608override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1609endif
1610ifeq ($(FULL_TARGET),sparc64-linux)
1611override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1612endif
1613ifeq ($(FULL_TARGET),riscv32-linux)
1614override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1615endif
1616ifeq ($(FULL_TARGET),riscv32-embedded)
1617override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1618endif
1619ifeq ($(FULL_TARGET),riscv64-linux)
1620override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1621endif
1622ifeq ($(FULL_TARGET),riscv64-embedded)
1623override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1624endif
1625ifeq ($(FULL_TARGET),xtensa-linux)
1626override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1627endif
1628ifeq ($(FULL_TARGET),xtensa-embedded)
1629override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1630endif
1631ifeq ($(FULL_TARGET),xtensa-freertos)
1632override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1633endif
1634ifeq ($(FULL_TARGET),z80-embedded)
1635override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1636endif
1637ifeq ($(FULL_TARGET),z80-zxspectrum)
1638override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1639endif
1640ifeq ($(FULL_TARGET),z80-msxdos)
1641override COMPILER_INCLUDEDIR+=include include/$(OS_TARGET) ../images
1642endif
1643ifeq ($(FULL_TARGET),i386-linux)
1644override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1645endif
1646ifeq ($(FULL_TARGET),i386-go32v2)
1647override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1648endif
1649ifeq ($(FULL_TARGET),i386-win32)
1650override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1651endif
1652ifeq ($(FULL_TARGET),i386-os2)
1653override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1654endif
1655ifeq ($(FULL_TARGET),i386-freebsd)
1656override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1657endif
1658ifeq ($(FULL_TARGET),i386-beos)
1659override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1660endif
1661ifeq ($(FULL_TARGET),i386-haiku)
1662override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1663endif
1664ifeq ($(FULL_TARGET),i386-netbsd)
1665override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1666endif
1667ifeq ($(FULL_TARGET),i386-solaris)
1668override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1669endif
1670ifeq ($(FULL_TARGET),i386-netware)
1671override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1672endif
1673ifeq ($(FULL_TARGET),i386-openbsd)
1674override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1675endif
1676ifeq ($(FULL_TARGET),i386-wdosx)
1677override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1678endif
1679ifeq ($(FULL_TARGET),i386-darwin)
1680override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1681endif
1682ifeq ($(FULL_TARGET),i386-emx)
1683override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1684endif
1685ifeq ($(FULL_TARGET),i386-watcom)
1686override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1687endif
1688ifeq ($(FULL_TARGET),i386-netwlibc)
1689override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1690endif
1691ifeq ($(FULL_TARGET),i386-wince)
1692override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1693endif
1694ifeq ($(FULL_TARGET),i386-embedded)
1695override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1696endif
1697ifeq ($(FULL_TARGET),i386-symbian)
1698override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1699endif
1700ifeq ($(FULL_TARGET),i386-nativent)
1701override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1702endif
1703ifeq ($(FULL_TARGET),i386-iphonesim)
1704override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1705endif
1706ifeq ($(FULL_TARGET),i386-android)
1707override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1708endif
1709ifeq ($(FULL_TARGET),i386-aros)
1710override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1711endif
1712ifeq ($(FULL_TARGET),m68k-linux)
1713override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1714endif
1715ifeq ($(FULL_TARGET),m68k-netbsd)
1716override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1717endif
1718ifeq ($(FULL_TARGET),m68k-amiga)
1719override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1720endif
1721ifeq ($(FULL_TARGET),m68k-atari)
1722override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1723endif
1724ifeq ($(FULL_TARGET),m68k-palmos)
1725override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1726endif
1727ifeq ($(FULL_TARGET),m68k-macos)
1728override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1729endif
1730ifeq ($(FULL_TARGET),m68k-embedded)
1731override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1732endif
1733ifeq ($(FULL_TARGET),powerpc-linux)
1734override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1735endif
1736ifeq ($(FULL_TARGET),powerpc-netbsd)
1737override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1738endif
1739ifeq ($(FULL_TARGET),powerpc-amiga)
1740override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1741endif
1742ifeq ($(FULL_TARGET),powerpc-macos)
1743override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1744endif
1745ifeq ($(FULL_TARGET),powerpc-darwin)
1746override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1747endif
1748ifeq ($(FULL_TARGET),powerpc-morphos)
1749override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1750endif
1751ifeq ($(FULL_TARGET),powerpc-embedded)
1752override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1753endif
1754ifeq ($(FULL_TARGET),powerpc-wii)
1755override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1756endif
1757ifeq ($(FULL_TARGET),powerpc-aix)
1758override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1759endif
1760ifeq ($(FULL_TARGET),sparc-linux)
1761override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1762endif
1763ifeq ($(FULL_TARGET),sparc-netbsd)
1764override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1765endif
1766ifeq ($(FULL_TARGET),sparc-solaris)
1767override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1768endif
1769ifeq ($(FULL_TARGET),sparc-embedded)
1770override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1771endif
1772ifeq ($(FULL_TARGET),x86_64-linux)
1773override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1774endif
1775ifeq ($(FULL_TARGET),x86_64-freebsd)
1776override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1777endif
1778ifeq ($(FULL_TARGET),x86_64-haiku)
1779override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1780endif
1781ifeq ($(FULL_TARGET),x86_64-netbsd)
1782override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1783endif
1784ifeq ($(FULL_TARGET),x86_64-solaris)
1785override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1786endif
1787ifeq ($(FULL_TARGET),x86_64-openbsd)
1788override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1789endif
1790ifeq ($(FULL_TARGET),x86_64-darwin)
1791override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1792endif
1793ifeq ($(FULL_TARGET),x86_64-win64)
1794override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1795endif
1796ifeq ($(FULL_TARGET),x86_64-embedded)
1797override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1798endif
1799ifeq ($(FULL_TARGET),x86_64-iphonesim)
1800override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1801endif
1802ifeq ($(FULL_TARGET),x86_64-android)
1803override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1804endif
1805ifeq ($(FULL_TARGET),x86_64-aros)
1806override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1807endif
1808ifeq ($(FULL_TARGET),x86_64-dragonfly)
1809override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1810endif
1811ifeq ($(FULL_TARGET),arm-linux)
1812override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1813endif
1814ifeq ($(FULL_TARGET),arm-netbsd)
1815override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1816endif
1817ifeq ($(FULL_TARGET),arm-palmos)
1818override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1819endif
1820ifeq ($(FULL_TARGET),arm-darwin)
1821override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1822endif
1823ifeq ($(FULL_TARGET),arm-wince)
1824override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1825endif
1826ifeq ($(FULL_TARGET),arm-gba)
1827override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1828endif
1829ifeq ($(FULL_TARGET),arm-nds)
1830override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1831endif
1832ifeq ($(FULL_TARGET),arm-embedded)
1833override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1834endif
1835ifeq ($(FULL_TARGET),arm-symbian)
1836override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1837endif
1838ifeq ($(FULL_TARGET),arm-android)
1839override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1840endif
1841ifeq ($(FULL_TARGET),arm-aros)
1842override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1843endif
1844ifeq ($(FULL_TARGET),arm-freertos)
1845override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1846endif
1847ifeq ($(FULL_TARGET),powerpc64-linux)
1848override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1849endif
1850ifeq ($(FULL_TARGET),powerpc64-darwin)
1851override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1852endif
1853ifeq ($(FULL_TARGET),powerpc64-embedded)
1854override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1855endif
1856ifeq ($(FULL_TARGET),powerpc64-aix)
1857override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1858endif
1859ifeq ($(FULL_TARGET),avr-embedded)
1860override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1861endif
1862ifeq ($(FULL_TARGET),armeb-linux)
1863override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1864endif
1865ifeq ($(FULL_TARGET),armeb-embedded)
1866override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1867endif
1868ifeq ($(FULL_TARGET),mips-linux)
1869override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1870endif
1871ifeq ($(FULL_TARGET),mipsel-linux)
1872override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1873endif
1874ifeq ($(FULL_TARGET),mipsel-embedded)
1875override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1876endif
1877ifeq ($(FULL_TARGET),mipsel-android)
1878override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1879endif
1880ifeq ($(FULL_TARGET),mips64el-linux)
1881override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1882endif
1883ifeq ($(FULL_TARGET),jvm-java)
1884override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1885endif
1886ifeq ($(FULL_TARGET),jvm-android)
1887override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1888endif
1889ifeq ($(FULL_TARGET),i8086-embedded)
1890override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1891endif
1892ifeq ($(FULL_TARGET),i8086-msdos)
1893override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1894endif
1895ifeq ($(FULL_TARGET),i8086-win16)
1896override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1897endif
1898ifeq ($(FULL_TARGET),aarch64-linux)
1899override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1900endif
1901ifeq ($(FULL_TARGET),aarch64-darwin)
1902override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1903endif
1904ifeq ($(FULL_TARGET),aarch64-win64)
1905override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1906endif
1907ifeq ($(FULL_TARGET),aarch64-android)
1908override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1909endif
1910ifeq ($(FULL_TARGET),wasm-wasm)
1911override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1912endif
1913ifeq ($(FULL_TARGET),sparc64-linux)
1914override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1915endif
1916ifeq ($(FULL_TARGET),riscv32-linux)
1917override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1918endif
1919ifeq ($(FULL_TARGET),riscv32-embedded)
1920override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1921endif
1922ifeq ($(FULL_TARGET),riscv64-linux)
1923override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1924endif
1925ifeq ($(FULL_TARGET),riscv64-embedded)
1926override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1927endif
1928ifeq ($(FULL_TARGET),xtensa-linux)
1929override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1930endif
1931ifeq ($(FULL_TARGET),xtensa-embedded)
1932override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1933endif
1934ifeq ($(FULL_TARGET),xtensa-freertos)
1935override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1936endif
1937ifeq ($(FULL_TARGET),z80-embedded)
1938override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1939endif
1940ifeq ($(FULL_TARGET),z80-zxspectrum)
1941override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1942endif
1943ifeq ($(FULL_TARGET),z80-msxdos)
1944override COMPILER_UNITDIR+=../designer ../debugger ../debugger/frames ../converter ../packager ../packager/frames ../components/custom $(HEAPTRC_UNIT_PATH) frames .
1945endif
1946ifeq ($(FULL_TARGET),i386-linux)
1947override COMPILER_TARGETDIR+=..
1948endif
1949ifeq ($(FULL_TARGET),i386-go32v2)
1950override COMPILER_TARGETDIR+=..
1951endif
1952ifeq ($(FULL_TARGET),i386-win32)
1953override COMPILER_TARGETDIR+=..
1954endif
1955ifeq ($(FULL_TARGET),i386-os2)
1956override COMPILER_TARGETDIR+=..
1957endif
1958ifeq ($(FULL_TARGET),i386-freebsd)
1959override COMPILER_TARGETDIR+=..
1960endif
1961ifeq ($(FULL_TARGET),i386-beos)
1962override COMPILER_TARGETDIR+=..
1963endif
1964ifeq ($(FULL_TARGET),i386-haiku)
1965override COMPILER_TARGETDIR+=..
1966endif
1967ifeq ($(FULL_TARGET),i386-netbsd)
1968override COMPILER_TARGETDIR+=..
1969endif
1970ifeq ($(FULL_TARGET),i386-solaris)
1971override COMPILER_TARGETDIR+=..
1972endif
1973ifeq ($(FULL_TARGET),i386-netware)
1974override COMPILER_TARGETDIR+=..
1975endif
1976ifeq ($(FULL_TARGET),i386-openbsd)
1977override COMPILER_TARGETDIR+=..
1978endif
1979ifeq ($(FULL_TARGET),i386-wdosx)
1980override COMPILER_TARGETDIR+=..
1981endif
1982ifeq ($(FULL_TARGET),i386-darwin)
1983override COMPILER_TARGETDIR+=..
1984endif
1985ifeq ($(FULL_TARGET),i386-emx)
1986override COMPILER_TARGETDIR+=..
1987endif
1988ifeq ($(FULL_TARGET),i386-watcom)
1989override COMPILER_TARGETDIR+=..
1990endif
1991ifeq ($(FULL_TARGET),i386-netwlibc)
1992override COMPILER_TARGETDIR+=..
1993endif
1994ifeq ($(FULL_TARGET),i386-wince)
1995override COMPILER_TARGETDIR+=..
1996endif
1997ifeq ($(FULL_TARGET),i386-embedded)
1998override COMPILER_TARGETDIR+=..
1999endif
2000ifeq ($(FULL_TARGET),i386-symbian)
2001override COMPILER_TARGETDIR+=..
2002endif
2003ifeq ($(FULL_TARGET),i386-nativent)
2004override COMPILER_TARGETDIR+=..
2005endif
2006ifeq ($(FULL_TARGET),i386-iphonesim)
2007override COMPILER_TARGETDIR+=..
2008endif
2009ifeq ($(FULL_TARGET),i386-android)
2010override COMPILER_TARGETDIR+=..
2011endif
2012ifeq ($(FULL_TARGET),i386-aros)
2013override COMPILER_TARGETDIR+=..
2014endif
2015ifeq ($(FULL_TARGET),m68k-linux)
2016override COMPILER_TARGETDIR+=..
2017endif
2018ifeq ($(FULL_TARGET),m68k-netbsd)
2019override COMPILER_TARGETDIR+=..
2020endif
2021ifeq ($(FULL_TARGET),m68k-amiga)
2022override COMPILER_TARGETDIR+=..
2023endif
2024ifeq ($(FULL_TARGET),m68k-atari)
2025override COMPILER_TARGETDIR+=..
2026endif
2027ifeq ($(FULL_TARGET),m68k-palmos)
2028override COMPILER_TARGETDIR+=..
2029endif
2030ifeq ($(FULL_TARGET),m68k-macos)
2031override COMPILER_TARGETDIR+=..
2032endif
2033ifeq ($(FULL_TARGET),m68k-embedded)
2034override COMPILER_TARGETDIR+=..
2035endif
2036ifeq ($(FULL_TARGET),powerpc-linux)
2037override COMPILER_TARGETDIR+=..
2038endif
2039ifeq ($(FULL_TARGET),powerpc-netbsd)
2040override COMPILER_TARGETDIR+=..
2041endif
2042ifeq ($(FULL_TARGET),powerpc-amiga)
2043override COMPILER_TARGETDIR+=..
2044endif
2045ifeq ($(FULL_TARGET),powerpc-macos)
2046override COMPILER_TARGETDIR+=..
2047endif
2048ifeq ($(FULL_TARGET),powerpc-darwin)
2049override COMPILER_TARGETDIR+=..
2050endif
2051ifeq ($(FULL_TARGET),powerpc-morphos)
2052override COMPILER_TARGETDIR+=..
2053endif
2054ifeq ($(FULL_TARGET),powerpc-embedded)
2055override COMPILER_TARGETDIR+=..
2056endif
2057ifeq ($(FULL_TARGET),powerpc-wii)
2058override COMPILER_TARGETDIR+=..
2059endif
2060ifeq ($(FULL_TARGET),powerpc-aix)
2061override COMPILER_TARGETDIR+=..
2062endif
2063ifeq ($(FULL_TARGET),sparc-linux)
2064override COMPILER_TARGETDIR+=..
2065endif
2066ifeq ($(FULL_TARGET),sparc-netbsd)
2067override COMPILER_TARGETDIR+=..
2068endif
2069ifeq ($(FULL_TARGET),sparc-solaris)
2070override COMPILER_TARGETDIR+=..
2071endif
2072ifeq ($(FULL_TARGET),sparc-embedded)
2073override COMPILER_TARGETDIR+=..
2074endif
2075ifeq ($(FULL_TARGET),x86_64-linux)
2076override COMPILER_TARGETDIR+=..
2077endif
2078ifeq ($(FULL_TARGET),x86_64-freebsd)
2079override COMPILER_TARGETDIR+=..
2080endif
2081ifeq ($(FULL_TARGET),x86_64-haiku)
2082override COMPILER_TARGETDIR+=..
2083endif
2084ifeq ($(FULL_TARGET),x86_64-netbsd)
2085override COMPILER_TARGETDIR+=..
2086endif
2087ifeq ($(FULL_TARGET),x86_64-solaris)
2088override COMPILER_TARGETDIR+=..
2089endif
2090ifeq ($(FULL_TARGET),x86_64-openbsd)
2091override COMPILER_TARGETDIR+=..
2092endif
2093ifeq ($(FULL_TARGET),x86_64-darwin)
2094override COMPILER_TARGETDIR+=..
2095endif
2096ifeq ($(FULL_TARGET),x86_64-win64)
2097override COMPILER_TARGETDIR+=..
2098endif
2099ifeq ($(FULL_TARGET),x86_64-embedded)
2100override COMPILER_TARGETDIR+=..
2101endif
2102ifeq ($(FULL_TARGET),x86_64-iphonesim)
2103override COMPILER_TARGETDIR+=..
2104endif
2105ifeq ($(FULL_TARGET),x86_64-android)
2106override COMPILER_TARGETDIR+=..
2107endif
2108ifeq ($(FULL_TARGET),x86_64-aros)
2109override COMPILER_TARGETDIR+=..
2110endif
2111ifeq ($(FULL_TARGET),x86_64-dragonfly)
2112override COMPILER_TARGETDIR+=..
2113endif
2114ifeq ($(FULL_TARGET),arm-linux)
2115override COMPILER_TARGETDIR+=..
2116endif
2117ifeq ($(FULL_TARGET),arm-netbsd)
2118override COMPILER_TARGETDIR+=..
2119endif
2120ifeq ($(FULL_TARGET),arm-palmos)
2121override COMPILER_TARGETDIR+=..
2122endif
2123ifeq ($(FULL_TARGET),arm-darwin)
2124override COMPILER_TARGETDIR+=..
2125endif
2126ifeq ($(FULL_TARGET),arm-wince)
2127override COMPILER_TARGETDIR+=..
2128endif
2129ifeq ($(FULL_TARGET),arm-gba)
2130override COMPILER_TARGETDIR+=..
2131endif
2132ifeq ($(FULL_TARGET),arm-nds)
2133override COMPILER_TARGETDIR+=..
2134endif
2135ifeq ($(FULL_TARGET),arm-embedded)
2136override COMPILER_TARGETDIR+=..
2137endif
2138ifeq ($(FULL_TARGET),arm-symbian)
2139override COMPILER_TARGETDIR+=..
2140endif
2141ifeq ($(FULL_TARGET),arm-android)
2142override COMPILER_TARGETDIR+=..
2143endif
2144ifeq ($(FULL_TARGET),arm-aros)
2145override COMPILER_TARGETDIR+=..
2146endif
2147ifeq ($(FULL_TARGET),arm-freertos)
2148override COMPILER_TARGETDIR+=..
2149endif
2150ifeq ($(FULL_TARGET),powerpc64-linux)
2151override COMPILER_TARGETDIR+=..
2152endif
2153ifeq ($(FULL_TARGET),powerpc64-darwin)
2154override COMPILER_TARGETDIR+=..
2155endif
2156ifeq ($(FULL_TARGET),powerpc64-embedded)
2157override COMPILER_TARGETDIR+=..
2158endif
2159ifeq ($(FULL_TARGET),powerpc64-aix)
2160override COMPILER_TARGETDIR+=..
2161endif
2162ifeq ($(FULL_TARGET),avr-embedded)
2163override COMPILER_TARGETDIR+=..
2164endif
2165ifeq ($(FULL_TARGET),armeb-linux)
2166override COMPILER_TARGETDIR+=..
2167endif
2168ifeq ($(FULL_TARGET),armeb-embedded)
2169override COMPILER_TARGETDIR+=..
2170endif
2171ifeq ($(FULL_TARGET),mips-linux)
2172override COMPILER_TARGETDIR+=..
2173endif
2174ifeq ($(FULL_TARGET),mipsel-linux)
2175override COMPILER_TARGETDIR+=..
2176endif
2177ifeq ($(FULL_TARGET),mipsel-embedded)
2178override COMPILER_TARGETDIR+=..
2179endif
2180ifeq ($(FULL_TARGET),mipsel-android)
2181override COMPILER_TARGETDIR+=..
2182endif
2183ifeq ($(FULL_TARGET),mips64el-linux)
2184override COMPILER_TARGETDIR+=..
2185endif
2186ifeq ($(FULL_TARGET),jvm-java)
2187override COMPILER_TARGETDIR+=..
2188endif
2189ifeq ($(FULL_TARGET),jvm-android)
2190override COMPILER_TARGETDIR+=..
2191endif
2192ifeq ($(FULL_TARGET),i8086-embedded)
2193override COMPILER_TARGETDIR+=..
2194endif
2195ifeq ($(FULL_TARGET),i8086-msdos)
2196override COMPILER_TARGETDIR+=..
2197endif
2198ifeq ($(FULL_TARGET),i8086-win16)
2199override COMPILER_TARGETDIR+=..
2200endif
2201ifeq ($(FULL_TARGET),aarch64-linux)
2202override COMPILER_TARGETDIR+=..
2203endif
2204ifeq ($(FULL_TARGET),aarch64-darwin)
2205override COMPILER_TARGETDIR+=..
2206endif
2207ifeq ($(FULL_TARGET),aarch64-win64)
2208override COMPILER_TARGETDIR+=..
2209endif
2210ifeq ($(FULL_TARGET),aarch64-android)
2211override COMPILER_TARGETDIR+=..
2212endif
2213ifeq ($(FULL_TARGET),wasm-wasm)
2214override COMPILER_TARGETDIR+=..
2215endif
2216ifeq ($(FULL_TARGET),sparc64-linux)
2217override COMPILER_TARGETDIR+=..
2218endif
2219ifeq ($(FULL_TARGET),riscv32-linux)
2220override COMPILER_TARGETDIR+=..
2221endif
2222ifeq ($(FULL_TARGET),riscv32-embedded)
2223override COMPILER_TARGETDIR+=..
2224endif
2225ifeq ($(FULL_TARGET),riscv64-linux)
2226override COMPILER_TARGETDIR+=..
2227endif
2228ifeq ($(FULL_TARGET),riscv64-embedded)
2229override COMPILER_TARGETDIR+=..
2230endif
2231ifeq ($(FULL_TARGET),xtensa-linux)
2232override COMPILER_TARGETDIR+=..
2233endif
2234ifeq ($(FULL_TARGET),xtensa-embedded)
2235override COMPILER_TARGETDIR+=..
2236endif
2237ifeq ($(FULL_TARGET),xtensa-freertos)
2238override COMPILER_TARGETDIR+=..
2239endif
2240ifeq ($(FULL_TARGET),z80-embedded)
2241override COMPILER_TARGETDIR+=..
2242endif
2243ifeq ($(FULL_TARGET),z80-zxspectrum)
2244override COMPILER_TARGETDIR+=..
2245endif
2246ifeq ($(FULL_TARGET),z80-msxdos)
2247override COMPILER_TARGETDIR+=..
2248endif
2249ifeq ($(FULL_TARGET),i386-linux)
2250override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2251endif
2252ifeq ($(FULL_TARGET),i386-go32v2)
2253override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2254endif
2255ifeq ($(FULL_TARGET),i386-win32)
2256override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2257endif
2258ifeq ($(FULL_TARGET),i386-os2)
2259override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2260endif
2261ifeq ($(FULL_TARGET),i386-freebsd)
2262override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2263endif
2264ifeq ($(FULL_TARGET),i386-beos)
2265override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2266endif
2267ifeq ($(FULL_TARGET),i386-haiku)
2268override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2269endif
2270ifeq ($(FULL_TARGET),i386-netbsd)
2271override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2272endif
2273ifeq ($(FULL_TARGET),i386-solaris)
2274override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2275endif
2276ifeq ($(FULL_TARGET),i386-netware)
2277override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2278endif
2279ifeq ($(FULL_TARGET),i386-openbsd)
2280override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2281endif
2282ifeq ($(FULL_TARGET),i386-wdosx)
2283override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2284endif
2285ifeq ($(FULL_TARGET),i386-darwin)
2286override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2287endif
2288ifeq ($(FULL_TARGET),i386-emx)
2289override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2290endif
2291ifeq ($(FULL_TARGET),i386-watcom)
2292override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2293endif
2294ifeq ($(FULL_TARGET),i386-netwlibc)
2295override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2296endif
2297ifeq ($(FULL_TARGET),i386-wince)
2298override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2299endif
2300ifeq ($(FULL_TARGET),i386-embedded)
2301override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2302endif
2303ifeq ($(FULL_TARGET),i386-symbian)
2304override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2305endif
2306ifeq ($(FULL_TARGET),i386-nativent)
2307override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2308endif
2309ifeq ($(FULL_TARGET),i386-iphonesim)
2310override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2311endif
2312ifeq ($(FULL_TARGET),i386-android)
2313override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2314endif
2315ifeq ($(FULL_TARGET),i386-aros)
2316override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2317endif
2318ifeq ($(FULL_TARGET),m68k-linux)
2319override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2320endif
2321ifeq ($(FULL_TARGET),m68k-netbsd)
2322override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2323endif
2324ifeq ($(FULL_TARGET),m68k-amiga)
2325override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2326endif
2327ifeq ($(FULL_TARGET),m68k-atari)
2328override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2329endif
2330ifeq ($(FULL_TARGET),m68k-palmos)
2331override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2332endif
2333ifeq ($(FULL_TARGET),m68k-macos)
2334override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2335endif
2336ifeq ($(FULL_TARGET),m68k-embedded)
2337override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2338endif
2339ifeq ($(FULL_TARGET),powerpc-linux)
2340override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2341endif
2342ifeq ($(FULL_TARGET),powerpc-netbsd)
2343override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2344endif
2345ifeq ($(FULL_TARGET),powerpc-amiga)
2346override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2347endif
2348ifeq ($(FULL_TARGET),powerpc-macos)
2349override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2350endif
2351ifeq ($(FULL_TARGET),powerpc-darwin)
2352override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2353endif
2354ifeq ($(FULL_TARGET),powerpc-morphos)
2355override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2356endif
2357ifeq ($(FULL_TARGET),powerpc-embedded)
2358override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2359endif
2360ifeq ($(FULL_TARGET),powerpc-wii)
2361override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2362endif
2363ifeq ($(FULL_TARGET),powerpc-aix)
2364override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2365endif
2366ifeq ($(FULL_TARGET),sparc-linux)
2367override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2368endif
2369ifeq ($(FULL_TARGET),sparc-netbsd)
2370override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2371endif
2372ifeq ($(FULL_TARGET),sparc-solaris)
2373override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2374endif
2375ifeq ($(FULL_TARGET),sparc-embedded)
2376override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2377endif
2378ifeq ($(FULL_TARGET),x86_64-linux)
2379override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2380endif
2381ifeq ($(FULL_TARGET),x86_64-freebsd)
2382override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2383endif
2384ifeq ($(FULL_TARGET),x86_64-haiku)
2385override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2386endif
2387ifeq ($(FULL_TARGET),x86_64-netbsd)
2388override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2389endif
2390ifeq ($(FULL_TARGET),x86_64-solaris)
2391override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2392endif
2393ifeq ($(FULL_TARGET),x86_64-openbsd)
2394override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2395endif
2396ifeq ($(FULL_TARGET),x86_64-darwin)
2397override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2398endif
2399ifeq ($(FULL_TARGET),x86_64-win64)
2400override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2401endif
2402ifeq ($(FULL_TARGET),x86_64-embedded)
2403override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2404endif
2405ifeq ($(FULL_TARGET),x86_64-iphonesim)
2406override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2407endif
2408ifeq ($(FULL_TARGET),x86_64-android)
2409override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2410endif
2411ifeq ($(FULL_TARGET),x86_64-aros)
2412override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2413endif
2414ifeq ($(FULL_TARGET),x86_64-dragonfly)
2415override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2416endif
2417ifeq ($(FULL_TARGET),arm-linux)
2418override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2419endif
2420ifeq ($(FULL_TARGET),arm-netbsd)
2421override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2422endif
2423ifeq ($(FULL_TARGET),arm-palmos)
2424override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2425endif
2426ifeq ($(FULL_TARGET),arm-darwin)
2427override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2428endif
2429ifeq ($(FULL_TARGET),arm-wince)
2430override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2431endif
2432ifeq ($(FULL_TARGET),arm-gba)
2433override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2434endif
2435ifeq ($(FULL_TARGET),arm-nds)
2436override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2437endif
2438ifeq ($(FULL_TARGET),arm-embedded)
2439override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2440endif
2441ifeq ($(FULL_TARGET),arm-symbian)
2442override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2443endif
2444ifeq ($(FULL_TARGET),arm-android)
2445override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2446endif
2447ifeq ($(FULL_TARGET),arm-aros)
2448override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2449endif
2450ifeq ($(FULL_TARGET),arm-freertos)
2451override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2452endif
2453ifeq ($(FULL_TARGET),powerpc64-linux)
2454override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2455endif
2456ifeq ($(FULL_TARGET),powerpc64-darwin)
2457override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2458endif
2459ifeq ($(FULL_TARGET),powerpc64-embedded)
2460override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2461endif
2462ifeq ($(FULL_TARGET),powerpc64-aix)
2463override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2464endif
2465ifeq ($(FULL_TARGET),avr-embedded)
2466override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2467endif
2468ifeq ($(FULL_TARGET),armeb-linux)
2469override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2470endif
2471ifeq ($(FULL_TARGET),armeb-embedded)
2472override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2473endif
2474ifeq ($(FULL_TARGET),mips-linux)
2475override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2476endif
2477ifeq ($(FULL_TARGET),mipsel-linux)
2478override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2479endif
2480ifeq ($(FULL_TARGET),mipsel-embedded)
2481override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2482endif
2483ifeq ($(FULL_TARGET),mipsel-android)
2484override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2485endif
2486ifeq ($(FULL_TARGET),mips64el-linux)
2487override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2488endif
2489ifeq ($(FULL_TARGET),jvm-java)
2490override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2491endif
2492ifeq ($(FULL_TARGET),jvm-android)
2493override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2494endif
2495ifeq ($(FULL_TARGET),i8086-embedded)
2496override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2497endif
2498ifeq ($(FULL_TARGET),i8086-msdos)
2499override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2500endif
2501ifeq ($(FULL_TARGET),i8086-win16)
2502override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2503endif
2504ifeq ($(FULL_TARGET),aarch64-linux)
2505override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2506endif
2507ifeq ($(FULL_TARGET),aarch64-darwin)
2508override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2509endif
2510ifeq ($(FULL_TARGET),aarch64-win64)
2511override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2512endif
2513ifeq ($(FULL_TARGET),aarch64-android)
2514override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2515endif
2516ifeq ($(FULL_TARGET),wasm-wasm)
2517override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2518endif
2519ifeq ($(FULL_TARGET),sparc64-linux)
2520override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2521endif
2522ifeq ($(FULL_TARGET),riscv32-linux)
2523override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2524endif
2525ifeq ($(FULL_TARGET),riscv32-embedded)
2526override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2527endif
2528ifeq ($(FULL_TARGET),riscv64-linux)
2529override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2530endif
2531ifeq ($(FULL_TARGET),riscv64-embedded)
2532override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2533endif
2534ifeq ($(FULL_TARGET),xtensa-linux)
2535override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2536endif
2537ifeq ($(FULL_TARGET),xtensa-embedded)
2538override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2539endif
2540ifeq ($(FULL_TARGET),xtensa-freertos)
2541override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2542endif
2543ifeq ($(FULL_TARGET),z80-embedded)
2544override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2545endif
2546ifeq ($(FULL_TARGET),z80-zxspectrum)
2547override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2548endif
2549ifeq ($(FULL_TARGET),z80-msxdos)
2550override COMPILER_UNITTARGETDIR+=../units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
2551endif
2552ifdef REQUIRE_UNITSDIR
2553override UNITSDIR+=$(REQUIRE_UNITSDIR)
2554endif
2555ifdef REQUIRE_PACKAGESDIR
2556override PACKAGESDIR+=$(REQUIRE_PACKAGESDIR)
2557endif
2558ifdef ZIPINSTALL
2559ifneq ($(findstring $(OS_TARGET),$(UNIXs)),)
2560UNIXHier=1
2561endif
2562else
2563ifneq ($(findstring $(OS_SOURCE),$(UNIXs)),)
2564UNIXHier=1
2565endif
2566endif
2567ifndef INSTALL_PREFIX
2568ifdef PREFIX
2569INSTALL_PREFIX=$(PREFIX)
2570endif
2571endif
2572ifndef INSTALL_PREFIX
2573ifdef UNIXHier
2574INSTALL_PREFIX=/usr/local
2575else
2576ifdef INSTALL_FPCPACKAGE
2577INSTALL_BASEDIR:=/pp
2578else
2579INSTALL_BASEDIR:=/$(PACKAGE_NAME)
2580endif
2581endif
2582endif
2583export INSTALL_PREFIX
2584ifdef INSTALL_FPCSUBDIR
2585export INSTALL_FPCSUBDIR
2586endif
2587ifndef DIST_DESTDIR
2588DIST_DESTDIR:=$(BASEDIR)
2589endif
2590export DIST_DESTDIR
2591ifndef COMPILER_UNITTARGETDIR
2592ifdef PACKAGEDIR_MAIN
2593COMPILER_UNITTARGETDIR=$(PACKAGEDIR_MAIN)/units/$(TARGETSUFFIX)
2594else
2595COMPILER_UNITTARGETDIR=units/$(TARGETSUFFIX)
2596endif
2597endif
2598ifndef COMPILER_TARGETDIR
2599COMPILER_TARGETDIR=.
2600endif
2601ifndef INSTALL_BASEDIR
2602ifdef UNIXHier
2603ifdef INSTALL_FPCPACKAGE
2604INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/fpc/$(FPC_VERSION)
2605else
2606INSTALL_BASEDIR:=$(INSTALL_PREFIX)/lib/$(PACKAGE_NAME)
2607endif
2608else
2609INSTALL_BASEDIR:=$(INSTALL_PREFIX)
2610endif
2611endif
2612ifndef INSTALL_BINDIR
2613ifdef UNIXHier
2614INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
2615else
2616INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
2617ifdef INSTALL_FPCPACKAGE
2618ifdef CROSSCOMPILE
2619ifdef CROSSINSTALL
2620INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(SOURCESUFFIX)
2621else
2622INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
2623endif
2624else
2625INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(TARGETSUFFIX)
2626endif
2627endif
2628endif
2629endif
2630ifndef INSTALL_UNITDIR
2631INSTALL_UNITDIR:=$(INSTALL_BASEDIR)/units/$(TARGETSUFFIX)
2632ifdef INSTALL_FPCPACKAGE
2633ifdef PACKAGE_NAME
2634INSTALL_UNITDIR:=$(INSTALL_UNITDIR)/$(PACKAGE_NAME)
2635endif
2636endif
2637endif
2638ifndef INSTALL_LIBDIR
2639ifdef UNIXHier
2640INSTALL_LIBDIR:=$(INSTALL_PREFIX)/lib
2641else
2642INSTALL_LIBDIR:=$(INSTALL_UNITDIR)
2643endif
2644endif
2645ifndef INSTALL_SOURCEDIR
2646ifdef UNIXHier
2647ifdef BSDhier
2648SRCPREFIXDIR=share/src
2649else
2650ifdef linuxHier
2651SRCPREFIXDIR=share/src
2652else
2653SRCPREFIXDIR=src
2654endif
2655endif
2656ifdef INSTALL_FPCPACKAGE
2657ifdef INSTALL_FPCSUBDIR
2658INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
2659else
2660INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
2661endif
2662else
2663INSTALL_SOURCEDIR:=$(INSTALL_PREFIX)/$(SRCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
2664endif
2665else
2666ifdef INSTALL_FPCPACKAGE
2667ifdef INSTALL_FPCSUBDIR
2668INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_FPCSUBDIR)/$(PACKAGE_NAME)
2669else
2670INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
2671endif
2672else
2673INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
2674endif
2675endif
2676endif
2677ifndef INSTALL_DOCDIR
2678ifdef UNIXHier
2679ifdef BSDhier
2680DOCPREFIXDIR=share/doc
2681else
2682ifdef linuxHier
2683DOCPREFIXDIR=share/doc
2684else
2685DOCPREFIXDIR=doc
2686endif
2687endif
2688ifdef INSTALL_FPCPACKAGE
2689INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
2690else
2691INSTALL_DOCDIR:=$(INSTALL_PREFIX)/$(DOCPREFIXDIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
2692endif
2693else
2694ifdef INSTALL_FPCPACKAGE
2695INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc/$(PACKAGE_NAME)
2696else
2697INSTALL_DOCDIR:=$(INSTALL_BASEDIR)/doc
2698endif
2699endif
2700endif
2701ifndef INSTALL_EXAMPLEDIR
2702ifdef UNIXHier
2703ifdef INSTALL_FPCPACKAGE
2704ifdef BSDhier
2705INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/fpc-$(FPC_VERSION)/$(PACKAGE_NAME)
2706else
2707ifdef linuxHier
2708INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples
2709else
2710INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/fpc-$(FPC_VERSION)/examples/$(PACKAGE_NAME)
2711endif
2712endif
2713else
2714ifdef BSDhier
2715INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/share/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
2716else
2717ifdef linuxHier
2718INSTALL_EXAMPLEDIR:=$(INSTALL_DOCDIR)/examples/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
2719else
2720INSTALL_EXAMPLEDIR:=$(INSTALL_PREFIX)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
2721endif
2722endif
2723endif
2724else
2725ifdef INSTALL_FPCPACKAGE
2726INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples/$(PACKAGE_NAME)
2727else
2728INSTALL_EXAMPLEDIR:=$(INSTALL_BASEDIR)/examples
2729endif
2730endif
2731endif
2732ifndef INSTALL_DATADIR
2733INSTALL_DATADIR=$(INSTALL_BASEDIR)
2734endif
2735ifndef INSTALL_SHAREDDIR
2736INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
2737endif
2738ifdef CROSSCOMPILE
2739ifndef CROSSBINDIR
2740CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
2741ifeq ($(CROSSBINDIR),)
2742CROSSBINDIR:=$(wildcard $(INSTALL_BASEDIR)/cross/$(TARGETSUFFIX)/bin/$(FULL_SOURCE))
2743endif
2744endif
2745else
2746CROSSBINDIR=
2747endif
2748ifeq ($(OS_SOURCE),linux)
2749ifndef GCCLIBDIR
2750ifeq ($(CPU_TARGET),i386)
2751ifneq ($(findstring x86_64,$(shell uname -a)),)
2752ifeq ($(BINUTILSPREFIX),)
2753GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
2754else
2755CROSSGCCOPT=-m32
2756endif
2757endif
2758endif
2759ifeq ($(CPU_TARGET),powerpc64)
2760ifeq ($(BINUTILSPREFIX),)
2761GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
2762else
2763CROSSGCCOPT=-m64
2764endif
2765endif
2766ifeq ($(CPU_TARGET),sparc)
2767ifneq ($(findstring sparc64,$(shell uname -a)),)
2768ifeq ($(BINUTILSPREFIX),)
2769GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
2770else
2771CROSSGCCOPT=-m32
2772endif
2773endif
2774endif
2775endif
2776ifdef FPCFPMAKE
2777FPCFPMAKE_CPU_TARGET=$(shell $(FPCFPMAKE) -iTP)
2778ifeq ($(CPU_TARGET),$(FPCFPMAKE_CPU_TARGET))
2779FPCMAKEGCCLIBDIR:=$(GCCLIBDIR)
2780endif
2781endif
2782ifndef FPCMAKEGCCLIBDIR
2783FPCMAKEGCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
2784endif
2785ifndef GCCLIBDIR
2786CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
2787ifneq ($(CROSSGCC),)
2788GCCLIBDIR:=$(shell dirname `$(CROSSGCC) $(CROSSGCCOPT) -print-libgcc-file-name`)
2789endif
2790endif
2791endif
2792ifdef inUnix
2793ifeq ($(OS_SOURCE),dragonfly)
2794OTHERLIBDIR+=/usr/local/lib/qt5
2795endif
2796ifeq ($(OS_SOURCE),netbsd)
2797OTHERLIBDIR:=/usr/pkg/lib
2798endif
2799export GCCLIBDIR FPCMAKEGCCLIBDIR OTHERLIBDIR
2800endif
2801BATCHEXT=.bat
2802LOADEREXT=.as
2803EXEEXT=.exe
2804PPLEXT=.ppl
2805PPUEXT=.ppu
2806OEXT=.o
2807LTOEXT=.bc
2808ASMEXT=.s
2809SMARTEXT=.sl
2810STATICLIBEXT=.a
2811SHAREDLIBEXT=.so
2812SHAREDLIBPREFIX=libfp
2813STATICLIBPREFIX=libp
2814IMPORTLIBPREFIX=libimp
2815RSTEXT=.rst
2816EXEDBGEXT=.dbg
2817ifeq ($(OS_TARGET),go32v1)
2818STATICLIBPREFIX=
2819SHORTSUFFIX=v1
2820endif
2821ifeq ($(OS_TARGET),go32v2)
2822STATICLIBPREFIX=
2823SHORTSUFFIX=dos
2824IMPORTLIBPREFIX=
2825endif
2826ifeq ($(OS_TARGET),watcom)
2827STATICLIBPREFIX=
2828OEXT=.obj
2829ASMEXT=.asm
2830SHAREDLIBEXT=.dll
2831SHORTSUFFIX=wat
2832IMPORTLIBPREFIX=
2833endif
2834ifneq ($(CPU_TARGET),jvm)
2835ifeq ($(OS_TARGET),android)
2836BATCHEXT=.sh
2837EXEEXT=
2838HASSHAREDLIB=1
2839SHORTSUFFIX=lnx
2840endif
2841endif
2842ifeq ($(OS_TARGET),linux)
2843BATCHEXT=.sh
2844EXEEXT=
2845HASSHAREDLIB=1
2846SHORTSUFFIX=lnx
2847endif
2848ifeq ($(OS_TARGET),dragonfly)
2849BATCHEXT=.sh
2850EXEEXT=
2851HASSHAREDLIB=1
2852SHORTSUFFIX=df
2853endif
2854ifeq ($(OS_TARGET),freebsd)
2855BATCHEXT=.sh
2856EXEEXT=
2857HASSHAREDLIB=1
2858SHORTSUFFIX=fbs
2859endif
2860ifeq ($(OS_TARGET),netbsd)
2861BATCHEXT=.sh
2862EXEEXT=
2863HASSHAREDLIB=1
2864SHORTSUFFIX=nbs
2865endif
2866ifeq ($(OS_TARGET),openbsd)
2867BATCHEXT=.sh
2868EXEEXT=
2869HASSHAREDLIB=1
2870SHORTSUFFIX=obs
2871endif
2872ifeq ($(OS_TARGET),win32)
2873SHAREDLIBEXT=.dll
2874SHORTSUFFIX=w32
2875endif
2876ifeq ($(OS_TARGET),os2)
2877BATCHEXT=.cmd
2878AOUTEXT=.out
2879STATICLIBPREFIX=
2880SHAREDLIBEXT=.dll
2881SHORTSUFFIX=os2
2882ECHO=echo
2883IMPORTLIBPREFIX=
2884endif
2885ifeq ($(OS_TARGET),emx)
2886BATCHEXT=.cmd
2887AOUTEXT=.out
2888STATICLIBPREFIX=
2889SHAREDLIBEXT=.dll
2890SHORTSUFFIX=emx
2891ECHO=echo
2892IMPORTLIBPREFIX=
2893endif
2894ifeq ($(OS_TARGET),amiga)
2895EXEEXT=
2896SHAREDLIBEXT=.library
2897SHORTSUFFIX=amg
2898endif
2899ifeq ($(OS_TARGET),aros)
2900EXEEXT=
2901SHAREDLIBEXT=.library
2902SHORTSUFFIX=aros
2903endif
2904ifeq ($(OS_TARGET),morphos)
2905EXEEXT=
2906SHAREDLIBEXT=.library
2907SHORTSUFFIX=mos
2908endif
2909ifeq ($(OS_TARGET),atari)
2910EXEEXT=.ttp
2911SHORTSUFFIX=ata
2912endif
2913ifeq ($(OS_TARGET),beos)
2914BATCHEXT=.sh
2915EXEEXT=
2916SHORTSUFFIX=be
2917endif
2918ifeq ($(OS_TARGET),haiku)
2919BATCHEXT=.sh
2920EXEEXT=
2921SHORTSUFFIX=hai
2922endif
2923ifeq ($(OS_TARGET),solaris)
2924BATCHEXT=.sh
2925EXEEXT=
2926SHORTSUFFIX=sun
2927endif
2928ifeq ($(OS_TARGET),qnx)
2929BATCHEXT=.sh
2930EXEEXT=
2931SHORTSUFFIX=qnx
2932endif
2933ifeq ($(OS_TARGET),netware)
2934EXEEXT=.nlm
2935STATICLIBPREFIX=
2936SHORTSUFFIX=nw
2937IMPORTLIBPREFIX=imp
2938endif
2939ifeq ($(OS_TARGET),netwlibc)
2940EXEEXT=.nlm
2941STATICLIBPREFIX=
2942SHORTSUFFIX=nwl
2943IMPORTLIBPREFIX=imp
2944endif
2945ifeq ($(OS_TARGET),macos)
2946BATCHEXT=
2947EXEEXT=
2948DEBUGSYMEXT=.xcoff
2949SHORTSUFFIX=mac
2950IMPORTLIBPREFIX=imp
2951endif
2952ifneq ($(findstring $(OS_TARGET),darwin iphonesim),)
2953BATCHEXT=.sh
2954EXEEXT=
2955HASSHAREDLIB=1
2956SHORTSUFFIX=dwn
2957EXEDBGEXT=.dSYM
2958endif
2959ifeq ($(OS_TARGET),gba)
2960EXEEXT=.gba
2961SHAREDLIBEXT=.so
2962SHORTSUFFIX=gba
2963endif
2964ifeq ($(OS_TARGET),symbian)
2965SHAREDLIBEXT=.dll
2966SHORTSUFFIX=symbian
2967endif
2968ifeq ($(OS_TARGET),NativeNT)
2969SHAREDLIBEXT=.dll
2970SHORTSUFFIX=nativent
2971endif
2972ifeq ($(OS_TARGET),wii)
2973EXEEXT=.dol
2974SHAREDLIBEXT=.so
2975SHORTSUFFIX=wii
2976endif
2977ifeq ($(OS_TARGET),aix)
2978BATCHEXT=.sh
2979EXEEXT=
2980SHAREDLIBEXT=.a
2981SHORTSUFFIX=aix
2982endif
2983ifeq ($(OS_TARGET),java)
2984OEXT=.class
2985ASMEXT=.j
2986SHAREDLIBEXT=.jar
2987SHORTSUFFIX=java
2988endif
2989ifeq ($(CPU_TARGET),jvm)
2990ifeq ($(OS_TARGET),android)
2991OEXT=.class
2992ASMEXT=.j
2993SHAREDLIBEXT=.jar
2994SHORTSUFFIX=android
2995endif
2996endif
2997ifeq ($(OS_TARGET),msdos)
2998STATICLIBPREFIX=
2999STATICLIBEXT=.a
3000SHORTSUFFIX=d16
3001endif
3002ifeq ($(OS_TARGET),msxdos)
3003STATICLIBPREFIX=
3004STATICLIBEXT=.a
3005SHORTSUFFIX=msd
3006endif
3007ifeq ($(OS_TARGET),embedded)
3008ifeq ($(CPU_TARGET),i8086)
3009STATICLIBPREFIX=
3010STATICLIBEXT=.a
3011else
3012EXEEXT=.bin
3013endif
3014ifeq ($(CPU_TARGET),z80)
3015OEXT=.rel
3016endif
3017SHORTSUFFIX=emb
3018endif
3019ifeq ($(OS_TARGET),win16)
3020STATICLIBPREFIX=
3021STATICLIBEXT=.a
3022SHAREDLIBEXT=.dll
3023SHORTSUFFIX=w16
3024endif
3025ifeq ($(OS_TARGET),zxspectrum)
3026OEXT=.rel
3027endif
3028ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
3029FPCMADE=fpcmade.$(SHORTSUFFIX)
3030ZIPSUFFIX=$(SHORTSUFFIX)
3031ZIPCROSSPREFIX=
3032ZIPSOURCESUFFIX=src
3033ZIPEXAMPLESUFFIX=exm
3034else
3035FPCMADE=fpcmade.$(TARGETSUFFIX)
3036ZIPSOURCESUFFIX=.source
3037ZIPEXAMPLESUFFIX=.examples
3038ifdef CROSSCOMPILE
3039ZIPSUFFIX=.$(SOURCESUFFIX)
3040ZIPCROSSPREFIX=$(TARGETSUFFIX)-
3041else
3042ZIPSUFFIX=.$(TARGETSUFFIX)
3043ZIPCROSSPREFIX=
3044endif
3045endif
3046ifndef ECHO
3047ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
3048ifeq ($(ECHO),)
3049ECHO:=$(strip $(wildcard $(addsuffix /echo$(SRCEXEEXT),$(SEARCHPATH))))
3050ifeq ($(ECHO),)
3051ECHO= __missing_command_ECHO
3052else
3053ECHO:=$(firstword $(ECHO))
3054endif
3055else
3056ECHO:=$(firstword $(ECHO))
3057endif
3058endif
3059export ECHO
3060ifndef DATE
3061DATE:=$(strip $(wildcard $(addsuffix /gdate$(SRCEXEEXT),$(SEARCHPATH))))
3062ifeq ($(DATE),)
3063DATE:=$(strip $(wildcard $(addsuffix /date$(SRCEXEEXT),$(SEARCHPATH))))
3064ifeq ($(DATE),)
3065DATE= __missing_command_DATE
3066else
3067DATE:=$(firstword $(DATE))
3068endif
3069else
3070DATE:=$(firstword $(DATE))
3071endif
3072endif
3073export DATE
3074ifndef GINSTALL
3075GINSTALL:=$(strip $(wildcard $(addsuffix /ginstall$(SRCEXEEXT),$(SEARCHPATH))))
3076ifeq ($(GINSTALL),)
3077GINSTALL:=$(strip $(wildcard $(addsuffix /install$(SRCEXEEXT),$(SEARCHPATH))))
3078ifeq ($(GINSTALL),)
3079GINSTALL= __missing_command_GINSTALL
3080else
3081GINSTALL:=$(firstword $(GINSTALL))
3082endif
3083else
3084GINSTALL:=$(firstword $(GINSTALL))
3085endif
3086endif
3087export GINSTALL
3088ifndef CPPROG
3089CPPROG:=$(strip $(wildcard $(addsuffix /cp$(SRCEXEEXT),$(SEARCHPATH))))
3090ifeq ($(CPPROG),)
3091CPPROG= __missing_command_CPPROG
3092else
3093CPPROG:=$(firstword $(CPPROG))
3094endif
3095endif
3096export CPPROG
3097ifndef RMPROG
3098RMPROG:=$(strip $(wildcard $(addsuffix /rm$(SRCEXEEXT),$(SEARCHPATH))))
3099ifeq ($(RMPROG),)
3100RMPROG= __missing_command_RMPROG
3101else
3102RMPROG:=$(firstword $(RMPROG))
3103endif
3104endif
3105export RMPROG
3106ifndef MVPROG
3107MVPROG:=$(strip $(wildcard $(addsuffix /mv$(SRCEXEEXT),$(SEARCHPATH))))
3108ifeq ($(MVPROG),)
3109MVPROG= __missing_command_MVPROG
3110else
3111MVPROG:=$(firstword $(MVPROG))
3112endif
3113endif
3114export MVPROG
3115ifndef MKDIRPROG
3116MKDIRPROG:=$(strip $(wildcard $(addsuffix /gmkdir$(SRCEXEEXT),$(SEARCHPATH))))
3117ifeq ($(MKDIRPROG),)
3118MKDIRPROG:=$(strip $(wildcard $(addsuffix /mkdir$(SRCEXEEXT),$(SEARCHPATH))))
3119ifeq ($(MKDIRPROG),)
3120MKDIRPROG= __missing_command_MKDIRPROG
3121else
3122MKDIRPROG:=$(firstword $(MKDIRPROG))
3123endif
3124else
3125MKDIRPROG:=$(firstword $(MKDIRPROG))
3126endif
3127endif
3128export MKDIRPROG
3129ifndef ECHOREDIR
3130ifndef inUnix
3131ECHOREDIR=echo
3132else
3133ECHOREDIR=$(ECHO)
3134endif
3135endif
3136ifndef COPY
3137COPY:=$(CPPROG) -fp
3138endif
3139ifndef COPYTREE
3140COPYTREE:=$(CPPROG) -Rfp
3141endif
3142ifndef MKDIRTREE
3143MKDIRTREE:=$(MKDIRPROG) -p
3144endif
3145ifndef MOVE
3146MOVE:=$(MVPROG) -f
3147endif
3148ifndef DEL
3149DEL:=$(RMPROG) -f
3150endif
3151ifndef DELTREE
3152DELTREE:=$(RMPROG) -rf
3153endif
3154ifndef INSTALL
3155ifdef inUnix
3156INSTALL:=$(GINSTALL) -c -m 644
3157else
3158INSTALL:=$(COPY)
3159endif
3160endif
3161ifndef INSTALLEXE
3162ifdef inUnix
3163INSTALLEXE:=$(GINSTALL) -c -m 755
3164else
3165INSTALLEXE:=$(COPY)
3166endif
3167endif
3168ifndef MKDIR
3169MKDIR:=$(GINSTALL) -m 755 -d
3170endif
3171export ECHOREDIR COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
3172ifndef PPUMOVE
3173PPUMOVE:=$(strip $(wildcard $(addsuffix /ppumove$(SRCEXEEXT),$(SEARCHPATH))))
3174ifeq ($(PPUMOVE),)
3175PPUMOVE= __missing_command_PPUMOVE
3176else
3177PPUMOVE:=$(firstword $(PPUMOVE))
3178endif
3179endif
3180export PPUMOVE
3181ifndef FPCMAKE
3182FPCMAKE:=$(strip $(wildcard $(addsuffix /fpcmake$(SRCEXEEXT),$(SEARCHPATH))))
3183ifeq ($(FPCMAKE),)
3184FPCMAKE= __missing_command_FPCMAKE
3185else
3186FPCMAKE:=$(firstword $(FPCMAKE))
3187endif
3188endif
3189export FPCMAKE
3190ifndef ZIPPROG
3191ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(SRCEXEEXT),$(SEARCHPATH))))
3192ifeq ($(ZIPPROG),)
3193ZIPPROG= __missing_command_ZIPPROG
3194else
3195ZIPPROG:=$(firstword $(ZIPPROG))
3196endif
3197endif
3198export ZIPPROG
3199ifndef TARPROG
3200TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
3201ifeq ($(TARPROG),)
3202TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
3203ifeq ($(TARPROG),)
3204TARPROG= __missing_command_TARPROG
3205else
3206TARPROG:=$(firstword $(TARPROG))
3207endif
3208else
3209TARPROG:=$(firstword $(TARPROG))
3210endif
3211endif
3212export TARPROG
3213ASNAME=$(BINUTILSPREFIX)as
3214LDNAME=$(BINUTILSPREFIX)ld
3215ARNAME=$(BINUTILSPREFIX)ar
3216RCNAME=$(BINUTILSPREFIX)rc
3217NASMNAME=$(BINUTILSPREFIX)nasm
3218ifndef ASPROG
3219ifdef CROSSBINDIR
3220ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
3221else
3222ASPROG=$(ASNAME)
3223endif
3224endif
3225ifndef LDPROG
3226ifdef CROSSBINDIR
3227LDPROG=$(CROSSBINDIR)/$(LDNAME)$(SRCEXEEXT)
3228else
3229LDPROG=$(LDNAME)
3230endif
3231endif
3232ifndef RCPROG
3233ifdef CROSSBINDIR
3234RCPROG=$(CROSSBINDIR)/$(RCNAME)$(SRCEXEEXT)
3235else
3236RCPROG=$(RCNAME)
3237endif
3238endif
3239ifndef ARPROG
3240ifdef CROSSBINDIR
3241ARPROG=$(CROSSBINDIR)/$(ARNAME)$(SRCEXEEXT)
3242else
3243ARPROG=$(ARNAME)
3244endif
3245endif
3246ifndef NASMPROG
3247ifdef CROSSBINDIR
3248NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
3249else
3250NASMPROG=$(NASMNAME)
3251endif
3252endif
3253AS=$(ASPROG)
3254LD=$(LDPROG)
3255RC=$(RCPROG)
3256AR=$(ARPROG)
3257NASM=$(NASMPROG)
3258ifdef inUnix
3259PPAS=./ppas$(SRCBATCHEXT)
3260else
3261PPAS=ppas$(SRCBATCHEXT)
3262endif
3263ifdef inUnix
3264LDCONFIG=ldconfig
3265else
3266LDCONFIG=
3267endif
3268ifdef DATE
3269DATESTR:=$(shell $(DATE) +%Y%m%d)
3270else
3271DATESTR=
3272endif
3273ZIPOPT=-9
3274ZIPEXT=.zip
3275ifeq ($(USETAR),bz2)
3276TAROPT=vj
3277TAREXT=.tar.bz2
3278else
3279TAROPT=vz
3280TAREXT=.tar.gz
3281endif
3282override REQUIRE_PACKAGES=rtl regexpr
3283ifeq ($(FULL_TARGET),i386-linux)
3284REQUIRE_PACKAGES_RTL=1
3285REQUIRE_PACKAGES_PASZLIB=1
3286REQUIRE_PACKAGES_FCL-PROCESS=1
3287REQUIRE_PACKAGES_HASH=1
3288REQUIRE_PACKAGES_LIBTAR=1
3289REQUIRE_PACKAGES_FPMKUNIT=1
3290REQUIRE_PACKAGES_REGEXPR=1
3291endif
3292ifeq ($(FULL_TARGET),i386-go32v2)
3293REQUIRE_PACKAGES_RTL=1
3294REQUIRE_PACKAGES_PASZLIB=1
3295REQUIRE_PACKAGES_FCL-PROCESS=1
3296REQUIRE_PACKAGES_HASH=1
3297REQUIRE_PACKAGES_LIBTAR=1
3298REQUIRE_PACKAGES_FPMKUNIT=1
3299REQUIRE_PACKAGES_REGEXPR=1
3300endif
3301ifeq ($(FULL_TARGET),i386-win32)
3302REQUIRE_PACKAGES_RTL=1
3303REQUIRE_PACKAGES_PASZLIB=1
3304REQUIRE_PACKAGES_FCL-PROCESS=1
3305REQUIRE_PACKAGES_HASH=1
3306REQUIRE_PACKAGES_LIBTAR=1
3307REQUIRE_PACKAGES_FPMKUNIT=1
3308REQUIRE_PACKAGES_REGEXPR=1
3309endif
3310ifeq ($(FULL_TARGET),i386-os2)
3311REQUIRE_PACKAGES_RTL=1
3312REQUIRE_PACKAGES_PASZLIB=1
3313REQUIRE_PACKAGES_FCL-PROCESS=1
3314REQUIRE_PACKAGES_HASH=1
3315REQUIRE_PACKAGES_LIBTAR=1
3316REQUIRE_PACKAGES_FPMKUNIT=1
3317REQUIRE_PACKAGES_REGEXPR=1
3318endif
3319ifeq ($(FULL_TARGET),i386-freebsd)
3320REQUIRE_PACKAGES_RTL=1
3321REQUIRE_PACKAGES_PASZLIB=1
3322REQUIRE_PACKAGES_FCL-PROCESS=1
3323REQUIRE_PACKAGES_HASH=1
3324REQUIRE_PACKAGES_LIBTAR=1
3325REQUIRE_PACKAGES_FPMKUNIT=1
3326REQUIRE_PACKAGES_REGEXPR=1
3327endif
3328ifeq ($(FULL_TARGET),i386-beos)
3329REQUIRE_PACKAGES_RTL=1
3330REQUIRE_PACKAGES_PASZLIB=1
3331REQUIRE_PACKAGES_FCL-PROCESS=1
3332REQUIRE_PACKAGES_HASH=1
3333REQUIRE_PACKAGES_LIBTAR=1
3334REQUIRE_PACKAGES_FPMKUNIT=1
3335REQUIRE_PACKAGES_REGEXPR=1
3336endif
3337ifeq ($(FULL_TARGET),i386-haiku)
3338REQUIRE_PACKAGES_RTL=1
3339REQUIRE_PACKAGES_PASZLIB=1
3340REQUIRE_PACKAGES_FCL-PROCESS=1
3341REQUIRE_PACKAGES_HASH=1
3342REQUIRE_PACKAGES_LIBTAR=1
3343REQUIRE_PACKAGES_FPMKUNIT=1
3344REQUIRE_PACKAGES_REGEXPR=1
3345endif
3346ifeq ($(FULL_TARGET),i386-netbsd)
3347REQUIRE_PACKAGES_RTL=1
3348REQUIRE_PACKAGES_PASZLIB=1
3349REQUIRE_PACKAGES_FCL-PROCESS=1
3350REQUIRE_PACKAGES_HASH=1
3351REQUIRE_PACKAGES_LIBTAR=1
3352REQUIRE_PACKAGES_FPMKUNIT=1
3353REQUIRE_PACKAGES_REGEXPR=1
3354endif
3355ifeq ($(FULL_TARGET),i386-solaris)
3356REQUIRE_PACKAGES_RTL=1
3357REQUIRE_PACKAGES_PASZLIB=1
3358REQUIRE_PACKAGES_FCL-PROCESS=1
3359REQUIRE_PACKAGES_HASH=1
3360REQUIRE_PACKAGES_LIBTAR=1
3361REQUIRE_PACKAGES_FPMKUNIT=1
3362REQUIRE_PACKAGES_REGEXPR=1
3363endif
3364ifeq ($(FULL_TARGET),i386-netware)
3365REQUIRE_PACKAGES_RTL=1
3366REQUIRE_PACKAGES_PASZLIB=1
3367REQUIRE_PACKAGES_FCL-PROCESS=1
3368REQUIRE_PACKAGES_HASH=1
3369REQUIRE_PACKAGES_LIBTAR=1
3370REQUIRE_PACKAGES_FPMKUNIT=1
3371REQUIRE_PACKAGES_REGEXPR=1
3372endif
3373ifeq ($(FULL_TARGET),i386-openbsd)
3374REQUIRE_PACKAGES_RTL=1
3375REQUIRE_PACKAGES_PASZLIB=1
3376REQUIRE_PACKAGES_FCL-PROCESS=1
3377REQUIRE_PACKAGES_HASH=1
3378REQUIRE_PACKAGES_LIBTAR=1
3379REQUIRE_PACKAGES_FPMKUNIT=1
3380REQUIRE_PACKAGES_REGEXPR=1
3381endif
3382ifeq ($(FULL_TARGET),i386-wdosx)
3383REQUIRE_PACKAGES_RTL=1
3384REQUIRE_PACKAGES_PASZLIB=1
3385REQUIRE_PACKAGES_FCL-PROCESS=1
3386REQUIRE_PACKAGES_HASH=1
3387REQUIRE_PACKAGES_LIBTAR=1
3388REQUIRE_PACKAGES_FPMKUNIT=1
3389REQUIRE_PACKAGES_REGEXPR=1
3390endif
3391ifeq ($(FULL_TARGET),i386-darwin)
3392REQUIRE_PACKAGES_RTL=1
3393REQUIRE_PACKAGES_PASZLIB=1
3394REQUIRE_PACKAGES_FCL-PROCESS=1
3395REQUIRE_PACKAGES_HASH=1
3396REQUIRE_PACKAGES_LIBTAR=1
3397REQUIRE_PACKAGES_FPMKUNIT=1
3398REQUIRE_PACKAGES_REGEXPR=1
3399endif
3400ifeq ($(FULL_TARGET),i386-emx)
3401REQUIRE_PACKAGES_RTL=1
3402REQUIRE_PACKAGES_PASZLIB=1
3403REQUIRE_PACKAGES_FCL-PROCESS=1
3404REQUIRE_PACKAGES_HASH=1
3405REQUIRE_PACKAGES_LIBTAR=1
3406REQUIRE_PACKAGES_FPMKUNIT=1
3407REQUIRE_PACKAGES_REGEXPR=1
3408endif
3409ifeq ($(FULL_TARGET),i386-watcom)
3410REQUIRE_PACKAGES_RTL=1
3411REQUIRE_PACKAGES_PASZLIB=1
3412REQUIRE_PACKAGES_FCL-PROCESS=1
3413REQUIRE_PACKAGES_HASH=1
3414REQUIRE_PACKAGES_LIBTAR=1
3415REQUIRE_PACKAGES_FPMKUNIT=1
3416REQUIRE_PACKAGES_REGEXPR=1
3417endif
3418ifeq ($(FULL_TARGET),i386-netwlibc)
3419REQUIRE_PACKAGES_RTL=1
3420REQUIRE_PACKAGES_PASZLIB=1
3421REQUIRE_PACKAGES_FCL-PROCESS=1
3422REQUIRE_PACKAGES_HASH=1
3423REQUIRE_PACKAGES_LIBTAR=1
3424REQUIRE_PACKAGES_FPMKUNIT=1
3425REQUIRE_PACKAGES_REGEXPR=1
3426endif
3427ifeq ($(FULL_TARGET),i386-wince)
3428REQUIRE_PACKAGES_RTL=1
3429REQUIRE_PACKAGES_PASZLIB=1
3430REQUIRE_PACKAGES_FCL-PROCESS=1
3431REQUIRE_PACKAGES_HASH=1
3432REQUIRE_PACKAGES_LIBTAR=1
3433REQUIRE_PACKAGES_FPMKUNIT=1
3434REQUIRE_PACKAGES_REGEXPR=1
3435endif
3436ifeq ($(FULL_TARGET),i386-embedded)
3437REQUIRE_PACKAGES_RTL=1
3438REQUIRE_PACKAGES_PASZLIB=1
3439REQUIRE_PACKAGES_FCL-PROCESS=1
3440REQUIRE_PACKAGES_HASH=1
3441REQUIRE_PACKAGES_LIBTAR=1
3442REQUIRE_PACKAGES_FPMKUNIT=1
3443REQUIRE_PACKAGES_REGEXPR=1
3444endif
3445ifeq ($(FULL_TARGET),i386-symbian)
3446REQUIRE_PACKAGES_RTL=1
3447REQUIRE_PACKAGES_PASZLIB=1
3448REQUIRE_PACKAGES_FCL-PROCESS=1
3449REQUIRE_PACKAGES_HASH=1
3450REQUIRE_PACKAGES_LIBTAR=1
3451REQUIRE_PACKAGES_FPMKUNIT=1
3452REQUIRE_PACKAGES_REGEXPR=1
3453endif
3454ifeq ($(FULL_TARGET),i386-nativent)
3455REQUIRE_PACKAGES_RTL=1
3456REQUIRE_PACKAGES_PASZLIB=1
3457REQUIRE_PACKAGES_FCL-PROCESS=1
3458REQUIRE_PACKAGES_HASH=1
3459REQUIRE_PACKAGES_LIBTAR=1
3460REQUIRE_PACKAGES_FPMKUNIT=1
3461REQUIRE_PACKAGES_REGEXPR=1
3462endif
3463ifeq ($(FULL_TARGET),i386-iphonesim)
3464REQUIRE_PACKAGES_RTL=1
3465REQUIRE_PACKAGES_PASZLIB=1
3466REQUIRE_PACKAGES_FCL-PROCESS=1
3467REQUIRE_PACKAGES_HASH=1
3468REQUIRE_PACKAGES_LIBTAR=1
3469REQUIRE_PACKAGES_FPMKUNIT=1
3470REQUIRE_PACKAGES_REGEXPR=1
3471endif
3472ifeq ($(FULL_TARGET),i386-android)
3473REQUIRE_PACKAGES_RTL=1
3474REQUIRE_PACKAGES_PASZLIB=1
3475REQUIRE_PACKAGES_FCL-PROCESS=1
3476REQUIRE_PACKAGES_HASH=1
3477REQUIRE_PACKAGES_LIBTAR=1
3478REQUIRE_PACKAGES_FPMKUNIT=1
3479REQUIRE_PACKAGES_REGEXPR=1
3480endif
3481ifeq ($(FULL_TARGET),i386-aros)
3482REQUIRE_PACKAGES_RTL=1
3483REQUIRE_PACKAGES_PASZLIB=1
3484REQUIRE_PACKAGES_FCL-PROCESS=1
3485REQUIRE_PACKAGES_HASH=1
3486REQUIRE_PACKAGES_LIBTAR=1
3487REQUIRE_PACKAGES_FPMKUNIT=1
3488REQUIRE_PACKAGES_REGEXPR=1
3489endif
3490ifeq ($(FULL_TARGET),m68k-linux)
3491REQUIRE_PACKAGES_RTL=1
3492REQUIRE_PACKAGES_PASZLIB=1
3493REQUIRE_PACKAGES_FCL-PROCESS=1
3494REQUIRE_PACKAGES_HASH=1
3495REQUIRE_PACKAGES_LIBTAR=1
3496REQUIRE_PACKAGES_FPMKUNIT=1
3497REQUIRE_PACKAGES_REGEXPR=1
3498endif
3499ifeq ($(FULL_TARGET),m68k-netbsd)
3500REQUIRE_PACKAGES_RTL=1
3501REQUIRE_PACKAGES_PASZLIB=1
3502REQUIRE_PACKAGES_FCL-PROCESS=1
3503REQUIRE_PACKAGES_HASH=1
3504REQUIRE_PACKAGES_LIBTAR=1
3505REQUIRE_PACKAGES_FPMKUNIT=1
3506REQUIRE_PACKAGES_REGEXPR=1
3507endif
3508ifeq ($(FULL_TARGET),m68k-amiga)
3509REQUIRE_PACKAGES_RTL=1
3510REQUIRE_PACKAGES_PASZLIB=1
3511REQUIRE_PACKAGES_FCL-PROCESS=1
3512REQUIRE_PACKAGES_HASH=1
3513REQUIRE_PACKAGES_LIBTAR=1
3514REQUIRE_PACKAGES_FPMKUNIT=1
3515REQUIRE_PACKAGES_REGEXPR=1
3516endif
3517ifeq ($(FULL_TARGET),m68k-atari)
3518REQUIRE_PACKAGES_RTL=1
3519REQUIRE_PACKAGES_PASZLIB=1
3520REQUIRE_PACKAGES_FCL-PROCESS=1
3521REQUIRE_PACKAGES_HASH=1
3522REQUIRE_PACKAGES_LIBTAR=1
3523REQUIRE_PACKAGES_FPMKUNIT=1
3524REQUIRE_PACKAGES_REGEXPR=1
3525endif
3526ifeq ($(FULL_TARGET),m68k-palmos)
3527REQUIRE_PACKAGES_RTL=1
3528REQUIRE_PACKAGES_PASZLIB=1
3529REQUIRE_PACKAGES_FCL-PROCESS=1
3530REQUIRE_PACKAGES_HASH=1
3531REQUIRE_PACKAGES_LIBTAR=1
3532REQUIRE_PACKAGES_FPMKUNIT=1
3533REQUIRE_PACKAGES_REGEXPR=1
3534endif
3535ifeq ($(FULL_TARGET),m68k-macos)
3536REQUIRE_PACKAGES_RTL=1
3537REQUIRE_PACKAGES_PASZLIB=1
3538REQUIRE_PACKAGES_FCL-PROCESS=1
3539REQUIRE_PACKAGES_HASH=1
3540REQUIRE_PACKAGES_LIBTAR=1
3541REQUIRE_PACKAGES_FPMKUNIT=1
3542REQUIRE_PACKAGES_REGEXPR=1
3543endif
3544ifeq ($(FULL_TARGET),m68k-embedded)
3545REQUIRE_PACKAGES_RTL=1
3546REQUIRE_PACKAGES_PASZLIB=1
3547REQUIRE_PACKAGES_FCL-PROCESS=1
3548REQUIRE_PACKAGES_HASH=1
3549REQUIRE_PACKAGES_LIBTAR=1
3550REQUIRE_PACKAGES_FPMKUNIT=1
3551REQUIRE_PACKAGES_REGEXPR=1
3552endif
3553ifeq ($(FULL_TARGET),powerpc-linux)
3554REQUIRE_PACKAGES_RTL=1
3555REQUIRE_PACKAGES_PASZLIB=1
3556REQUIRE_PACKAGES_FCL-PROCESS=1
3557REQUIRE_PACKAGES_HASH=1
3558REQUIRE_PACKAGES_LIBTAR=1
3559REQUIRE_PACKAGES_FPMKUNIT=1
3560REQUIRE_PACKAGES_REGEXPR=1
3561endif
3562ifeq ($(FULL_TARGET),powerpc-netbsd)
3563REQUIRE_PACKAGES_RTL=1
3564REQUIRE_PACKAGES_PASZLIB=1
3565REQUIRE_PACKAGES_FCL-PROCESS=1
3566REQUIRE_PACKAGES_HASH=1
3567REQUIRE_PACKAGES_LIBTAR=1
3568REQUIRE_PACKAGES_FPMKUNIT=1
3569REQUIRE_PACKAGES_REGEXPR=1
3570endif
3571ifeq ($(FULL_TARGET),powerpc-amiga)
3572REQUIRE_PACKAGES_RTL=1
3573REQUIRE_PACKAGES_PASZLIB=1
3574REQUIRE_PACKAGES_FCL-PROCESS=1
3575REQUIRE_PACKAGES_HASH=1
3576REQUIRE_PACKAGES_LIBTAR=1
3577REQUIRE_PACKAGES_FPMKUNIT=1
3578REQUIRE_PACKAGES_REGEXPR=1
3579endif
3580ifeq ($(FULL_TARGET),powerpc-macos)
3581REQUIRE_PACKAGES_RTL=1
3582REQUIRE_PACKAGES_PASZLIB=1
3583REQUIRE_PACKAGES_FCL-PROCESS=1
3584REQUIRE_PACKAGES_HASH=1
3585REQUIRE_PACKAGES_LIBTAR=1
3586REQUIRE_PACKAGES_FPMKUNIT=1
3587REQUIRE_PACKAGES_REGEXPR=1
3588endif
3589ifeq ($(FULL_TARGET),powerpc-darwin)
3590REQUIRE_PACKAGES_RTL=1
3591REQUIRE_PACKAGES_PASZLIB=1
3592REQUIRE_PACKAGES_FCL-PROCESS=1
3593REQUIRE_PACKAGES_HASH=1
3594REQUIRE_PACKAGES_LIBTAR=1
3595REQUIRE_PACKAGES_FPMKUNIT=1
3596REQUIRE_PACKAGES_REGEXPR=1
3597endif
3598ifeq ($(FULL_TARGET),powerpc-morphos)
3599REQUIRE_PACKAGES_RTL=1
3600REQUIRE_PACKAGES_PASZLIB=1
3601REQUIRE_PACKAGES_FCL-PROCESS=1
3602REQUIRE_PACKAGES_HASH=1
3603REQUIRE_PACKAGES_LIBTAR=1
3604REQUIRE_PACKAGES_FPMKUNIT=1
3605REQUIRE_PACKAGES_REGEXPR=1
3606endif
3607ifeq ($(FULL_TARGET),powerpc-embedded)
3608REQUIRE_PACKAGES_RTL=1
3609REQUIRE_PACKAGES_PASZLIB=1
3610REQUIRE_PACKAGES_FCL-PROCESS=1
3611REQUIRE_PACKAGES_HASH=1
3612REQUIRE_PACKAGES_LIBTAR=1
3613REQUIRE_PACKAGES_FPMKUNIT=1
3614REQUIRE_PACKAGES_REGEXPR=1
3615endif
3616ifeq ($(FULL_TARGET),powerpc-wii)
3617REQUIRE_PACKAGES_RTL=1
3618REQUIRE_PACKAGES_PASZLIB=1
3619REQUIRE_PACKAGES_FCL-PROCESS=1
3620REQUIRE_PACKAGES_HASH=1
3621REQUIRE_PACKAGES_LIBTAR=1
3622REQUIRE_PACKAGES_FPMKUNIT=1
3623REQUIRE_PACKAGES_REGEXPR=1
3624endif
3625ifeq ($(FULL_TARGET),powerpc-aix)
3626REQUIRE_PACKAGES_RTL=1
3627REQUIRE_PACKAGES_PASZLIB=1
3628REQUIRE_PACKAGES_FCL-PROCESS=1
3629REQUIRE_PACKAGES_HASH=1
3630REQUIRE_PACKAGES_LIBTAR=1
3631REQUIRE_PACKAGES_FPMKUNIT=1
3632REQUIRE_PACKAGES_REGEXPR=1
3633endif
3634ifeq ($(FULL_TARGET),sparc-linux)
3635REQUIRE_PACKAGES_RTL=1
3636REQUIRE_PACKAGES_PASZLIB=1
3637REQUIRE_PACKAGES_FCL-PROCESS=1
3638REQUIRE_PACKAGES_HASH=1
3639REQUIRE_PACKAGES_LIBTAR=1
3640REQUIRE_PACKAGES_FPMKUNIT=1
3641REQUIRE_PACKAGES_REGEXPR=1
3642endif
3643ifeq ($(FULL_TARGET),sparc-netbsd)
3644REQUIRE_PACKAGES_RTL=1
3645REQUIRE_PACKAGES_PASZLIB=1
3646REQUIRE_PACKAGES_FCL-PROCESS=1
3647REQUIRE_PACKAGES_HASH=1
3648REQUIRE_PACKAGES_LIBTAR=1
3649REQUIRE_PACKAGES_FPMKUNIT=1
3650REQUIRE_PACKAGES_REGEXPR=1
3651endif
3652ifeq ($(FULL_TARGET),sparc-solaris)
3653REQUIRE_PACKAGES_RTL=1
3654REQUIRE_PACKAGES_PASZLIB=1
3655REQUIRE_PACKAGES_FCL-PROCESS=1
3656REQUIRE_PACKAGES_HASH=1
3657REQUIRE_PACKAGES_LIBTAR=1
3658REQUIRE_PACKAGES_FPMKUNIT=1
3659REQUIRE_PACKAGES_REGEXPR=1
3660endif
3661ifeq ($(FULL_TARGET),sparc-embedded)
3662REQUIRE_PACKAGES_RTL=1
3663REQUIRE_PACKAGES_PASZLIB=1
3664REQUIRE_PACKAGES_FCL-PROCESS=1
3665REQUIRE_PACKAGES_HASH=1
3666REQUIRE_PACKAGES_LIBTAR=1
3667REQUIRE_PACKAGES_FPMKUNIT=1
3668REQUIRE_PACKAGES_REGEXPR=1
3669endif
3670ifeq ($(FULL_TARGET),x86_64-linux)
3671REQUIRE_PACKAGES_RTL=1
3672REQUIRE_PACKAGES_PASZLIB=1
3673REQUIRE_PACKAGES_FCL-PROCESS=1
3674REQUIRE_PACKAGES_HASH=1
3675REQUIRE_PACKAGES_LIBTAR=1
3676REQUIRE_PACKAGES_FPMKUNIT=1
3677REQUIRE_PACKAGES_REGEXPR=1
3678endif
3679ifeq ($(FULL_TARGET),x86_64-freebsd)
3680REQUIRE_PACKAGES_RTL=1
3681REQUIRE_PACKAGES_PASZLIB=1
3682REQUIRE_PACKAGES_FCL-PROCESS=1
3683REQUIRE_PACKAGES_HASH=1
3684REQUIRE_PACKAGES_LIBTAR=1
3685REQUIRE_PACKAGES_FPMKUNIT=1
3686REQUIRE_PACKAGES_REGEXPR=1
3687endif
3688ifeq ($(FULL_TARGET),x86_64-haiku)
3689REQUIRE_PACKAGES_RTL=1
3690REQUIRE_PACKAGES_PASZLIB=1
3691REQUIRE_PACKAGES_FCL-PROCESS=1
3692REQUIRE_PACKAGES_HASH=1
3693REQUIRE_PACKAGES_LIBTAR=1
3694REQUIRE_PACKAGES_FPMKUNIT=1
3695REQUIRE_PACKAGES_REGEXPR=1
3696endif
3697ifeq ($(FULL_TARGET),x86_64-netbsd)
3698REQUIRE_PACKAGES_RTL=1
3699REQUIRE_PACKAGES_PASZLIB=1
3700REQUIRE_PACKAGES_FCL-PROCESS=1
3701REQUIRE_PACKAGES_HASH=1
3702REQUIRE_PACKAGES_LIBTAR=1
3703REQUIRE_PACKAGES_FPMKUNIT=1
3704REQUIRE_PACKAGES_REGEXPR=1
3705endif
3706ifeq ($(FULL_TARGET),x86_64-solaris)
3707REQUIRE_PACKAGES_RTL=1
3708REQUIRE_PACKAGES_PASZLIB=1
3709REQUIRE_PACKAGES_FCL-PROCESS=1
3710REQUIRE_PACKAGES_HASH=1
3711REQUIRE_PACKAGES_LIBTAR=1
3712REQUIRE_PACKAGES_FPMKUNIT=1
3713REQUIRE_PACKAGES_REGEXPR=1
3714endif
3715ifeq ($(FULL_TARGET),x86_64-openbsd)
3716REQUIRE_PACKAGES_RTL=1
3717REQUIRE_PACKAGES_PASZLIB=1
3718REQUIRE_PACKAGES_FCL-PROCESS=1
3719REQUIRE_PACKAGES_HASH=1
3720REQUIRE_PACKAGES_LIBTAR=1
3721REQUIRE_PACKAGES_FPMKUNIT=1
3722REQUIRE_PACKAGES_REGEXPR=1
3723endif
3724ifeq ($(FULL_TARGET),x86_64-darwin)
3725REQUIRE_PACKAGES_RTL=1
3726REQUIRE_PACKAGES_PASZLIB=1
3727REQUIRE_PACKAGES_FCL-PROCESS=1
3728REQUIRE_PACKAGES_HASH=1
3729REQUIRE_PACKAGES_LIBTAR=1
3730REQUIRE_PACKAGES_FPMKUNIT=1
3731REQUIRE_PACKAGES_REGEXPR=1
3732endif
3733ifeq ($(FULL_TARGET),x86_64-win64)
3734REQUIRE_PACKAGES_RTL=1
3735REQUIRE_PACKAGES_PASZLIB=1
3736REQUIRE_PACKAGES_FCL-PROCESS=1
3737REQUIRE_PACKAGES_HASH=1
3738REQUIRE_PACKAGES_LIBTAR=1
3739REQUIRE_PACKAGES_FPMKUNIT=1
3740REQUIRE_PACKAGES_REGEXPR=1
3741endif
3742ifeq ($(FULL_TARGET),x86_64-embedded)
3743REQUIRE_PACKAGES_RTL=1
3744REQUIRE_PACKAGES_PASZLIB=1
3745REQUIRE_PACKAGES_FCL-PROCESS=1
3746REQUIRE_PACKAGES_HASH=1
3747REQUIRE_PACKAGES_LIBTAR=1
3748REQUIRE_PACKAGES_FPMKUNIT=1
3749REQUIRE_PACKAGES_REGEXPR=1
3750endif
3751ifeq ($(FULL_TARGET),x86_64-iphonesim)
3752REQUIRE_PACKAGES_RTL=1
3753REQUIRE_PACKAGES_PASZLIB=1
3754REQUIRE_PACKAGES_FCL-PROCESS=1
3755REQUIRE_PACKAGES_HASH=1
3756REQUIRE_PACKAGES_LIBTAR=1
3757REQUIRE_PACKAGES_FPMKUNIT=1
3758REQUIRE_PACKAGES_REGEXPR=1
3759endif
3760ifeq ($(FULL_TARGET),x86_64-android)
3761REQUIRE_PACKAGES_RTL=1
3762REQUIRE_PACKAGES_PASZLIB=1
3763REQUIRE_PACKAGES_FCL-PROCESS=1
3764REQUIRE_PACKAGES_HASH=1
3765REQUIRE_PACKAGES_LIBTAR=1
3766REQUIRE_PACKAGES_FPMKUNIT=1
3767REQUIRE_PACKAGES_REGEXPR=1
3768endif
3769ifeq ($(FULL_TARGET),x86_64-aros)
3770REQUIRE_PACKAGES_RTL=1
3771REQUIRE_PACKAGES_PASZLIB=1
3772REQUIRE_PACKAGES_FCL-PROCESS=1
3773REQUIRE_PACKAGES_HASH=1
3774REQUIRE_PACKAGES_LIBTAR=1
3775REQUIRE_PACKAGES_FPMKUNIT=1
3776REQUIRE_PACKAGES_REGEXPR=1
3777endif
3778ifeq ($(FULL_TARGET),x86_64-dragonfly)
3779REQUIRE_PACKAGES_RTL=1
3780REQUIRE_PACKAGES_PASZLIB=1
3781REQUIRE_PACKAGES_FCL-PROCESS=1
3782REQUIRE_PACKAGES_HASH=1
3783REQUIRE_PACKAGES_LIBTAR=1
3784REQUIRE_PACKAGES_FPMKUNIT=1
3785REQUIRE_PACKAGES_REGEXPR=1
3786endif
3787ifeq ($(FULL_TARGET),arm-linux)
3788REQUIRE_PACKAGES_RTL=1
3789REQUIRE_PACKAGES_PASZLIB=1
3790REQUIRE_PACKAGES_FCL-PROCESS=1
3791REQUIRE_PACKAGES_HASH=1
3792REQUIRE_PACKAGES_LIBTAR=1
3793REQUIRE_PACKAGES_FPMKUNIT=1
3794REQUIRE_PACKAGES_REGEXPR=1
3795endif
3796ifeq ($(FULL_TARGET),arm-netbsd)
3797REQUIRE_PACKAGES_RTL=1
3798REQUIRE_PACKAGES_PASZLIB=1
3799REQUIRE_PACKAGES_FCL-PROCESS=1
3800REQUIRE_PACKAGES_HASH=1
3801REQUIRE_PACKAGES_LIBTAR=1
3802REQUIRE_PACKAGES_FPMKUNIT=1
3803REQUIRE_PACKAGES_REGEXPR=1
3804endif
3805ifeq ($(FULL_TARGET),arm-palmos)
3806REQUIRE_PACKAGES_RTL=1
3807REQUIRE_PACKAGES_PASZLIB=1
3808REQUIRE_PACKAGES_FCL-PROCESS=1
3809REQUIRE_PACKAGES_HASH=1
3810REQUIRE_PACKAGES_LIBTAR=1
3811REQUIRE_PACKAGES_FPMKUNIT=1
3812REQUIRE_PACKAGES_REGEXPR=1
3813endif
3814ifeq ($(FULL_TARGET),arm-darwin)
3815REQUIRE_PACKAGES_RTL=1
3816REQUIRE_PACKAGES_PASZLIB=1
3817REQUIRE_PACKAGES_FCL-PROCESS=1
3818REQUIRE_PACKAGES_HASH=1
3819REQUIRE_PACKAGES_LIBTAR=1
3820REQUIRE_PACKAGES_FPMKUNIT=1
3821REQUIRE_PACKAGES_REGEXPR=1
3822endif
3823ifeq ($(FULL_TARGET),arm-wince)
3824REQUIRE_PACKAGES_RTL=1
3825REQUIRE_PACKAGES_PASZLIB=1
3826REQUIRE_PACKAGES_FCL-PROCESS=1
3827REQUIRE_PACKAGES_HASH=1
3828REQUIRE_PACKAGES_LIBTAR=1
3829REQUIRE_PACKAGES_FPMKUNIT=1
3830REQUIRE_PACKAGES_REGEXPR=1
3831endif
3832ifeq ($(FULL_TARGET),arm-gba)
3833REQUIRE_PACKAGES_RTL=1
3834REQUIRE_PACKAGES_PASZLIB=1
3835REQUIRE_PACKAGES_FCL-PROCESS=1
3836REQUIRE_PACKAGES_HASH=1
3837REQUIRE_PACKAGES_LIBTAR=1
3838REQUIRE_PACKAGES_FPMKUNIT=1
3839REQUIRE_PACKAGES_REGEXPR=1
3840endif
3841ifeq ($(FULL_TARGET),arm-nds)
3842REQUIRE_PACKAGES_RTL=1
3843REQUIRE_PACKAGES_PASZLIB=1
3844REQUIRE_PACKAGES_FCL-PROCESS=1
3845REQUIRE_PACKAGES_HASH=1
3846REQUIRE_PACKAGES_LIBTAR=1
3847REQUIRE_PACKAGES_FPMKUNIT=1
3848REQUIRE_PACKAGES_REGEXPR=1
3849endif
3850ifeq ($(FULL_TARGET),arm-embedded)
3851REQUIRE_PACKAGES_RTL=1
3852REQUIRE_PACKAGES_PASZLIB=1
3853REQUIRE_PACKAGES_FCL-PROCESS=1
3854REQUIRE_PACKAGES_HASH=1
3855REQUIRE_PACKAGES_LIBTAR=1
3856REQUIRE_PACKAGES_FPMKUNIT=1
3857REQUIRE_PACKAGES_REGEXPR=1
3858endif
3859ifeq ($(FULL_TARGET),arm-symbian)
3860REQUIRE_PACKAGES_RTL=1
3861REQUIRE_PACKAGES_PASZLIB=1
3862REQUIRE_PACKAGES_FCL-PROCESS=1
3863REQUIRE_PACKAGES_HASH=1
3864REQUIRE_PACKAGES_LIBTAR=1
3865REQUIRE_PACKAGES_FPMKUNIT=1
3866REQUIRE_PACKAGES_REGEXPR=1
3867endif
3868ifeq ($(FULL_TARGET),arm-android)
3869REQUIRE_PACKAGES_RTL=1
3870REQUIRE_PACKAGES_PASZLIB=1
3871REQUIRE_PACKAGES_FCL-PROCESS=1
3872REQUIRE_PACKAGES_HASH=1
3873REQUIRE_PACKAGES_LIBTAR=1
3874REQUIRE_PACKAGES_FPMKUNIT=1
3875REQUIRE_PACKAGES_REGEXPR=1
3876endif
3877ifeq ($(FULL_TARGET),arm-aros)
3878REQUIRE_PACKAGES_RTL=1
3879REQUIRE_PACKAGES_PASZLIB=1
3880REQUIRE_PACKAGES_FCL-PROCESS=1
3881REQUIRE_PACKAGES_HASH=1
3882REQUIRE_PACKAGES_LIBTAR=1
3883REQUIRE_PACKAGES_FPMKUNIT=1
3884REQUIRE_PACKAGES_REGEXPR=1
3885endif
3886ifeq ($(FULL_TARGET),arm-freertos)
3887REQUIRE_PACKAGES_RTL=1
3888REQUIRE_PACKAGES_PASZLIB=1
3889REQUIRE_PACKAGES_FCL-PROCESS=1
3890REQUIRE_PACKAGES_HASH=1
3891REQUIRE_PACKAGES_LIBTAR=1
3892REQUIRE_PACKAGES_FPMKUNIT=1
3893REQUIRE_PACKAGES_REGEXPR=1
3894endif
3895ifeq ($(FULL_TARGET),powerpc64-linux)
3896REQUIRE_PACKAGES_RTL=1
3897REQUIRE_PACKAGES_PASZLIB=1
3898REQUIRE_PACKAGES_FCL-PROCESS=1
3899REQUIRE_PACKAGES_HASH=1
3900REQUIRE_PACKAGES_LIBTAR=1
3901REQUIRE_PACKAGES_FPMKUNIT=1
3902REQUIRE_PACKAGES_REGEXPR=1
3903endif
3904ifeq ($(FULL_TARGET),powerpc64-darwin)
3905REQUIRE_PACKAGES_RTL=1
3906REQUIRE_PACKAGES_PASZLIB=1
3907REQUIRE_PACKAGES_FCL-PROCESS=1
3908REQUIRE_PACKAGES_HASH=1
3909REQUIRE_PACKAGES_LIBTAR=1
3910REQUIRE_PACKAGES_FPMKUNIT=1
3911REQUIRE_PACKAGES_REGEXPR=1
3912endif
3913ifeq ($(FULL_TARGET),powerpc64-embedded)
3914REQUIRE_PACKAGES_RTL=1
3915REQUIRE_PACKAGES_PASZLIB=1
3916REQUIRE_PACKAGES_FCL-PROCESS=1
3917REQUIRE_PACKAGES_HASH=1
3918REQUIRE_PACKAGES_LIBTAR=1
3919REQUIRE_PACKAGES_FPMKUNIT=1
3920REQUIRE_PACKAGES_REGEXPR=1
3921endif
3922ifeq ($(FULL_TARGET),powerpc64-aix)
3923REQUIRE_PACKAGES_RTL=1
3924REQUIRE_PACKAGES_PASZLIB=1
3925REQUIRE_PACKAGES_FCL-PROCESS=1
3926REQUIRE_PACKAGES_HASH=1
3927REQUIRE_PACKAGES_LIBTAR=1
3928REQUIRE_PACKAGES_FPMKUNIT=1
3929REQUIRE_PACKAGES_REGEXPR=1
3930endif
3931ifeq ($(FULL_TARGET),avr-embedded)
3932REQUIRE_PACKAGES_RTL=1
3933REQUIRE_PACKAGES_PASZLIB=1
3934REQUIRE_PACKAGES_FCL-PROCESS=1
3935REQUIRE_PACKAGES_HASH=1
3936REQUIRE_PACKAGES_LIBTAR=1
3937REQUIRE_PACKAGES_FPMKUNIT=1
3938REQUIRE_PACKAGES_REGEXPR=1
3939endif
3940ifeq ($(FULL_TARGET),armeb-linux)
3941REQUIRE_PACKAGES_RTL=1
3942REQUIRE_PACKAGES_PASZLIB=1
3943REQUIRE_PACKAGES_FCL-PROCESS=1
3944REQUIRE_PACKAGES_HASH=1
3945REQUIRE_PACKAGES_LIBTAR=1
3946REQUIRE_PACKAGES_FPMKUNIT=1
3947REQUIRE_PACKAGES_REGEXPR=1
3948endif
3949ifeq ($(FULL_TARGET),armeb-embedded)
3950REQUIRE_PACKAGES_RTL=1
3951REQUIRE_PACKAGES_PASZLIB=1
3952REQUIRE_PACKAGES_FCL-PROCESS=1
3953REQUIRE_PACKAGES_HASH=1
3954REQUIRE_PACKAGES_LIBTAR=1
3955REQUIRE_PACKAGES_FPMKUNIT=1
3956REQUIRE_PACKAGES_REGEXPR=1
3957endif
3958ifeq ($(FULL_TARGET),mips-linux)
3959REQUIRE_PACKAGES_RTL=1
3960REQUIRE_PACKAGES_PASZLIB=1
3961REQUIRE_PACKAGES_FCL-PROCESS=1
3962REQUIRE_PACKAGES_HASH=1
3963REQUIRE_PACKAGES_LIBTAR=1
3964REQUIRE_PACKAGES_FPMKUNIT=1
3965REQUIRE_PACKAGES_REGEXPR=1
3966endif
3967ifeq ($(FULL_TARGET),mipsel-linux)
3968REQUIRE_PACKAGES_RTL=1
3969REQUIRE_PACKAGES_PASZLIB=1
3970REQUIRE_PACKAGES_FCL-PROCESS=1
3971REQUIRE_PACKAGES_HASH=1
3972REQUIRE_PACKAGES_LIBTAR=1
3973REQUIRE_PACKAGES_FPMKUNIT=1
3974REQUIRE_PACKAGES_REGEXPR=1
3975endif
3976ifeq ($(FULL_TARGET),mipsel-embedded)
3977REQUIRE_PACKAGES_RTL=1
3978REQUIRE_PACKAGES_PASZLIB=1
3979REQUIRE_PACKAGES_FCL-PROCESS=1
3980REQUIRE_PACKAGES_HASH=1
3981REQUIRE_PACKAGES_LIBTAR=1
3982REQUIRE_PACKAGES_FPMKUNIT=1
3983REQUIRE_PACKAGES_REGEXPR=1
3984endif
3985ifeq ($(FULL_TARGET),mipsel-android)
3986REQUIRE_PACKAGES_RTL=1
3987REQUIRE_PACKAGES_PASZLIB=1
3988REQUIRE_PACKAGES_FCL-PROCESS=1
3989REQUIRE_PACKAGES_HASH=1
3990REQUIRE_PACKAGES_LIBTAR=1
3991REQUIRE_PACKAGES_FPMKUNIT=1
3992REQUIRE_PACKAGES_REGEXPR=1
3993endif
3994ifeq ($(FULL_TARGET),mips64el-linux)
3995REQUIRE_PACKAGES_RTL=1
3996REQUIRE_PACKAGES_PASZLIB=1
3997REQUIRE_PACKAGES_FCL-PROCESS=1
3998REQUIRE_PACKAGES_HASH=1
3999REQUIRE_PACKAGES_LIBTAR=1
4000REQUIRE_PACKAGES_FPMKUNIT=1
4001REQUIRE_PACKAGES_REGEXPR=1
4002endif
4003ifeq ($(FULL_TARGET),jvm-java)
4004REQUIRE_PACKAGES_RTL=1
4005REQUIRE_PACKAGES_PASZLIB=1
4006REQUIRE_PACKAGES_FCL-PROCESS=1
4007REQUIRE_PACKAGES_HASH=1
4008REQUIRE_PACKAGES_LIBTAR=1
4009REQUIRE_PACKAGES_FPMKUNIT=1
4010REQUIRE_PACKAGES_REGEXPR=1
4011endif
4012ifeq ($(FULL_TARGET),jvm-android)
4013REQUIRE_PACKAGES_RTL=1
4014REQUIRE_PACKAGES_PASZLIB=1
4015REQUIRE_PACKAGES_FCL-PROCESS=1
4016REQUIRE_PACKAGES_HASH=1
4017REQUIRE_PACKAGES_LIBTAR=1
4018REQUIRE_PACKAGES_FPMKUNIT=1
4019REQUIRE_PACKAGES_REGEXPR=1
4020endif
4021ifeq ($(FULL_TARGET),i8086-embedded)
4022REQUIRE_PACKAGES_RTL=1
4023REQUIRE_PACKAGES_PASZLIB=1
4024REQUIRE_PACKAGES_FCL-PROCESS=1
4025REQUIRE_PACKAGES_HASH=1
4026REQUIRE_PACKAGES_LIBTAR=1
4027REQUIRE_PACKAGES_FPMKUNIT=1
4028REQUIRE_PACKAGES_REGEXPR=1
4029endif
4030ifeq ($(FULL_TARGET),i8086-msdos)
4031REQUIRE_PACKAGES_RTL=1
4032REQUIRE_PACKAGES_PASZLIB=1
4033REQUIRE_PACKAGES_FCL-PROCESS=1
4034REQUIRE_PACKAGES_HASH=1
4035REQUIRE_PACKAGES_LIBTAR=1
4036REQUIRE_PACKAGES_FPMKUNIT=1
4037REQUIRE_PACKAGES_REGEXPR=1
4038endif
4039ifeq ($(FULL_TARGET),i8086-win16)
4040REQUIRE_PACKAGES_RTL=1
4041REQUIRE_PACKAGES_PASZLIB=1
4042REQUIRE_PACKAGES_FCL-PROCESS=1
4043REQUIRE_PACKAGES_HASH=1
4044REQUIRE_PACKAGES_LIBTAR=1
4045REQUIRE_PACKAGES_FPMKUNIT=1
4046REQUIRE_PACKAGES_REGEXPR=1
4047endif
4048ifeq ($(FULL_TARGET),aarch64-linux)
4049REQUIRE_PACKAGES_RTL=1
4050REQUIRE_PACKAGES_PASZLIB=1
4051REQUIRE_PACKAGES_FCL-PROCESS=1
4052REQUIRE_PACKAGES_HASH=1
4053REQUIRE_PACKAGES_LIBTAR=1
4054REQUIRE_PACKAGES_FPMKUNIT=1
4055REQUIRE_PACKAGES_REGEXPR=1
4056endif
4057ifeq ($(FULL_TARGET),aarch64-darwin)
4058REQUIRE_PACKAGES_RTL=1
4059REQUIRE_PACKAGES_PASZLIB=1
4060REQUIRE_PACKAGES_FCL-PROCESS=1
4061REQUIRE_PACKAGES_HASH=1
4062REQUIRE_PACKAGES_LIBTAR=1
4063REQUIRE_PACKAGES_FPMKUNIT=1
4064REQUIRE_PACKAGES_REGEXPR=1
4065endif
4066ifeq ($(FULL_TARGET),aarch64-win64)
4067REQUIRE_PACKAGES_RTL=1
4068REQUIRE_PACKAGES_PASZLIB=1
4069REQUIRE_PACKAGES_FCL-PROCESS=1
4070REQUIRE_PACKAGES_HASH=1
4071REQUIRE_PACKAGES_LIBTAR=1
4072REQUIRE_PACKAGES_FPMKUNIT=1
4073REQUIRE_PACKAGES_REGEXPR=1
4074endif
4075ifeq ($(FULL_TARGET),aarch64-android)
4076REQUIRE_PACKAGES_RTL=1
4077REQUIRE_PACKAGES_PASZLIB=1
4078REQUIRE_PACKAGES_FCL-PROCESS=1
4079REQUIRE_PACKAGES_HASH=1
4080REQUIRE_PACKAGES_LIBTAR=1
4081REQUIRE_PACKAGES_FPMKUNIT=1
4082REQUIRE_PACKAGES_REGEXPR=1
4083endif
4084ifeq ($(FULL_TARGET),wasm-wasm)
4085REQUIRE_PACKAGES_RTL=1
4086REQUIRE_PACKAGES_PASZLIB=1
4087REQUIRE_PACKAGES_FCL-PROCESS=1
4088REQUIRE_PACKAGES_HASH=1
4089REQUIRE_PACKAGES_LIBTAR=1
4090REQUIRE_PACKAGES_FPMKUNIT=1
4091REQUIRE_PACKAGES_REGEXPR=1
4092endif
4093ifeq ($(FULL_TARGET),sparc64-linux)
4094REQUIRE_PACKAGES_RTL=1
4095REQUIRE_PACKAGES_PASZLIB=1
4096REQUIRE_PACKAGES_FCL-PROCESS=1
4097REQUIRE_PACKAGES_HASH=1
4098REQUIRE_PACKAGES_LIBTAR=1
4099REQUIRE_PACKAGES_FPMKUNIT=1
4100REQUIRE_PACKAGES_REGEXPR=1
4101endif
4102ifeq ($(FULL_TARGET),riscv32-linux)
4103REQUIRE_PACKAGES_RTL=1
4104REQUIRE_PACKAGES_PASZLIB=1
4105REQUIRE_PACKAGES_FCL-PROCESS=1
4106REQUIRE_PACKAGES_HASH=1
4107REQUIRE_PACKAGES_LIBTAR=1
4108REQUIRE_PACKAGES_FPMKUNIT=1
4109REQUIRE_PACKAGES_REGEXPR=1
4110endif
4111ifeq ($(FULL_TARGET),riscv32-embedded)
4112REQUIRE_PACKAGES_RTL=1
4113REQUIRE_PACKAGES_PASZLIB=1
4114REQUIRE_PACKAGES_FCL-PROCESS=1
4115REQUIRE_PACKAGES_HASH=1
4116REQUIRE_PACKAGES_LIBTAR=1
4117REQUIRE_PACKAGES_FPMKUNIT=1
4118REQUIRE_PACKAGES_REGEXPR=1
4119endif
4120ifeq ($(FULL_TARGET),riscv64-linux)
4121REQUIRE_PACKAGES_RTL=1
4122REQUIRE_PACKAGES_PASZLIB=1
4123REQUIRE_PACKAGES_FCL-PROCESS=1
4124REQUIRE_PACKAGES_HASH=1
4125REQUIRE_PACKAGES_LIBTAR=1
4126REQUIRE_PACKAGES_FPMKUNIT=1
4127REQUIRE_PACKAGES_REGEXPR=1
4128endif
4129ifeq ($(FULL_TARGET),riscv64-embedded)
4130REQUIRE_PACKAGES_RTL=1
4131REQUIRE_PACKAGES_PASZLIB=1
4132REQUIRE_PACKAGES_FCL-PROCESS=1
4133REQUIRE_PACKAGES_HASH=1
4134REQUIRE_PACKAGES_LIBTAR=1
4135REQUIRE_PACKAGES_FPMKUNIT=1
4136REQUIRE_PACKAGES_REGEXPR=1
4137endif
4138ifeq ($(FULL_TARGET),xtensa-linux)
4139REQUIRE_PACKAGES_RTL=1
4140REQUIRE_PACKAGES_PASZLIB=1
4141REQUIRE_PACKAGES_FCL-PROCESS=1
4142REQUIRE_PACKAGES_HASH=1
4143REQUIRE_PACKAGES_LIBTAR=1
4144REQUIRE_PACKAGES_FPMKUNIT=1
4145REQUIRE_PACKAGES_REGEXPR=1
4146endif
4147ifeq ($(FULL_TARGET),xtensa-embedded)
4148REQUIRE_PACKAGES_RTL=1
4149REQUIRE_PACKAGES_PASZLIB=1
4150REQUIRE_PACKAGES_FCL-PROCESS=1
4151REQUIRE_PACKAGES_HASH=1
4152REQUIRE_PACKAGES_LIBTAR=1
4153REQUIRE_PACKAGES_FPMKUNIT=1
4154REQUIRE_PACKAGES_REGEXPR=1
4155endif
4156ifeq ($(FULL_TARGET),xtensa-freertos)
4157REQUIRE_PACKAGES_RTL=1
4158REQUIRE_PACKAGES_PASZLIB=1
4159REQUIRE_PACKAGES_FCL-PROCESS=1
4160REQUIRE_PACKAGES_HASH=1
4161REQUIRE_PACKAGES_LIBTAR=1
4162REQUIRE_PACKAGES_FPMKUNIT=1
4163REQUIRE_PACKAGES_REGEXPR=1
4164endif
4165ifeq ($(FULL_TARGET),z80-embedded)
4166REQUIRE_PACKAGES_RTL=1
4167REQUIRE_PACKAGES_PASZLIB=1
4168REQUIRE_PACKAGES_FCL-PROCESS=1
4169REQUIRE_PACKAGES_HASH=1
4170REQUIRE_PACKAGES_LIBTAR=1
4171REQUIRE_PACKAGES_FPMKUNIT=1
4172REQUIRE_PACKAGES_REGEXPR=1
4173endif
4174ifeq ($(FULL_TARGET),z80-zxspectrum)
4175REQUIRE_PACKAGES_RTL=1
4176REQUIRE_PACKAGES_PASZLIB=1
4177REQUIRE_PACKAGES_FCL-PROCESS=1
4178REQUIRE_PACKAGES_HASH=1
4179REQUIRE_PACKAGES_LIBTAR=1
4180REQUIRE_PACKAGES_FPMKUNIT=1
4181REQUIRE_PACKAGES_REGEXPR=1
4182endif
4183ifeq ($(FULL_TARGET),z80-msxdos)
4184REQUIRE_PACKAGES_RTL=1
4185REQUIRE_PACKAGES_PASZLIB=1
4186REQUIRE_PACKAGES_FCL-PROCESS=1
4187REQUIRE_PACKAGES_HASH=1
4188REQUIRE_PACKAGES_LIBTAR=1
4189REQUIRE_PACKAGES_FPMKUNIT=1
4190REQUIRE_PACKAGES_REGEXPR=1
4191endif
4192ifdef REQUIRE_PACKAGES_RTL
4193PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
4194ifneq ($(PACKAGEDIR_RTL),)
4195ifneq ($(wildcard $(PACKAGEDIR_RTL)/units/$(TARGETSUFFIX)),)
4196UNITDIR_RTL=$(PACKAGEDIR_RTL)/units/$(TARGETSUFFIX)
4197else
4198UNITDIR_RTL=$(PACKAGEDIR_RTL)
4199endif
4200ifneq ($(wildcard $(PACKAGEDIR_RTL)/units/$(SOURCESUFFIX)),)
4201UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)/units/$(SOURCESUFFIX)
4202else
4203ifneq ($(wildcard $(PACKAGEDIR_RTL)/units_bs/$(SOURCESUFFIX)),)
4204UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)/units_bs/$(SOURCESUFFIX)
4205else
4206UNITDIR_FPMAKE_RTL=$(PACKAGEDIR_RTL)
4207endif
4208endif
4209ifdef CHECKDEPEND
4210$(PACKAGEDIR_RTL)/$(OS_TARGET)/$(FPCMADE):
4211	$(MAKE) -C $(PACKAGEDIR_RTL)/$(OS_TARGET) $(FPCMADE)
4212override ALLDEPENDENCIES+=$(PACKAGEDIR_RTL)/$(OS_TARGET)/$(FPCMADE)
4213endif
4214else
4215PACKAGEDIR_RTL=
4216UNITDIR_RTL:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /rtl/Package.fpc,$(UNITSDIR)))))
4217ifneq ($(UNITDIR_RTL),)
4218UNITDIR_RTL:=$(firstword $(UNITDIR_RTL))
4219else
4220UNITDIR_RTL=
4221endif
4222endif
4223ifdef UNITDIR_RTL
4224override COMPILER_UNITDIR+=$(UNITDIR_RTL)
4225endif
4226ifdef UNITDIR_FPMAKE_RTL
4227override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_RTL)
4228endif
4229endif
4230ifdef REQUIRE_PACKAGES_PASZLIB
4231PACKAGEDIR_PASZLIB:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /paszlib/Makefile.fpc,$(PACKAGESDIR))))))
4232ifneq ($(PACKAGEDIR_PASZLIB),)
4233ifneq ($(wildcard $(PACKAGEDIR_PASZLIB)/units/$(TARGETSUFFIX)),)
4234UNITDIR_PASZLIB=$(PACKAGEDIR_PASZLIB)/units/$(TARGETSUFFIX)
4235else
4236UNITDIR_PASZLIB=$(PACKAGEDIR_PASZLIB)
4237endif
4238ifneq ($(wildcard $(PACKAGEDIR_PASZLIB)/units/$(SOURCESUFFIX)),)
4239UNITDIR_FPMAKE_PASZLIB=$(PACKAGEDIR_PASZLIB)/units/$(SOURCESUFFIX)
4240else
4241ifneq ($(wildcard $(PACKAGEDIR_PASZLIB)/units_bs/$(SOURCESUFFIX)),)
4242UNITDIR_FPMAKE_PASZLIB=$(PACKAGEDIR_PASZLIB)/units_bs/$(SOURCESUFFIX)
4243else
4244UNITDIR_FPMAKE_PASZLIB=$(PACKAGEDIR_PASZLIB)
4245endif
4246endif
4247ifdef CHECKDEPEND
4248$(PACKAGEDIR_PASZLIB)/$(FPCMADE):
4249	$(MAKE) -C $(PACKAGEDIR_PASZLIB) $(FPCMADE)
4250override ALLDEPENDENCIES+=$(PACKAGEDIR_PASZLIB)/$(FPCMADE)
4251endif
4252else
4253PACKAGEDIR_PASZLIB=
4254UNITDIR_PASZLIB:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /paszlib/Package.fpc,$(UNITSDIR)))))
4255ifneq ($(UNITDIR_PASZLIB),)
4256UNITDIR_PASZLIB:=$(firstword $(UNITDIR_PASZLIB))
4257else
4258UNITDIR_PASZLIB=
4259endif
4260endif
4261ifdef UNITDIR_PASZLIB
4262override COMPILER_UNITDIR+=$(UNITDIR_PASZLIB)
4263endif
4264ifdef UNITDIR_FPMAKE_PASZLIB
4265override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_PASZLIB)
4266endif
4267endif
4268ifdef REQUIRE_PACKAGES_FCL-PROCESS
4269PACKAGEDIR_FCL-PROCESS:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /fcl-process/Makefile.fpc,$(PACKAGESDIR))))))
4270ifneq ($(PACKAGEDIR_FCL-PROCESS),)
4271ifneq ($(wildcard $(PACKAGEDIR_FCL-PROCESS)/units/$(TARGETSUFFIX)),)
4272UNITDIR_FCL-PROCESS=$(PACKAGEDIR_FCL-PROCESS)/units/$(TARGETSUFFIX)
4273else
4274UNITDIR_FCL-PROCESS=$(PACKAGEDIR_FCL-PROCESS)
4275endif
4276ifneq ($(wildcard $(PACKAGEDIR_FCL-PROCESS)/units/$(SOURCESUFFIX)),)
4277UNITDIR_FPMAKE_FCL-PROCESS=$(PACKAGEDIR_FCL-PROCESS)/units/$(SOURCESUFFIX)
4278else
4279ifneq ($(wildcard $(PACKAGEDIR_FCL-PROCESS)/units_bs/$(SOURCESUFFIX)),)
4280UNITDIR_FPMAKE_FCL-PROCESS=$(PACKAGEDIR_FCL-PROCESS)/units_bs/$(SOURCESUFFIX)
4281else
4282UNITDIR_FPMAKE_FCL-PROCESS=$(PACKAGEDIR_FCL-PROCESS)
4283endif
4284endif
4285ifdef CHECKDEPEND
4286$(PACKAGEDIR_FCL-PROCESS)/$(FPCMADE):
4287	$(MAKE) -C $(PACKAGEDIR_FCL-PROCESS) $(FPCMADE)
4288override ALLDEPENDENCIES+=$(PACKAGEDIR_FCL-PROCESS)/$(FPCMADE)
4289endif
4290else
4291PACKAGEDIR_FCL-PROCESS=
4292UNITDIR_FCL-PROCESS:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /fcl-process/Package.fpc,$(UNITSDIR)))))
4293ifneq ($(UNITDIR_FCL-PROCESS),)
4294UNITDIR_FCL-PROCESS:=$(firstword $(UNITDIR_FCL-PROCESS))
4295else
4296UNITDIR_FCL-PROCESS=
4297endif
4298endif
4299ifdef UNITDIR_FCL-PROCESS
4300override COMPILER_UNITDIR+=$(UNITDIR_FCL-PROCESS)
4301endif
4302ifdef UNITDIR_FPMAKE_FCL-PROCESS
4303override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_FCL-PROCESS)
4304endif
4305endif
4306ifdef REQUIRE_PACKAGES_HASH
4307PACKAGEDIR_HASH:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /hash/Makefile.fpc,$(PACKAGESDIR))))))
4308ifneq ($(PACKAGEDIR_HASH),)
4309ifneq ($(wildcard $(PACKAGEDIR_HASH)/units/$(TARGETSUFFIX)),)
4310UNITDIR_HASH=$(PACKAGEDIR_HASH)/units/$(TARGETSUFFIX)
4311else
4312UNITDIR_HASH=$(PACKAGEDIR_HASH)
4313endif
4314ifneq ($(wildcard $(PACKAGEDIR_HASH)/units/$(SOURCESUFFIX)),)
4315UNITDIR_FPMAKE_HASH=$(PACKAGEDIR_HASH)/units/$(SOURCESUFFIX)
4316else
4317ifneq ($(wildcard $(PACKAGEDIR_HASH)/units_bs/$(SOURCESUFFIX)),)
4318UNITDIR_FPMAKE_HASH=$(PACKAGEDIR_HASH)/units_bs/$(SOURCESUFFIX)
4319else
4320UNITDIR_FPMAKE_HASH=$(PACKAGEDIR_HASH)
4321endif
4322endif
4323ifdef CHECKDEPEND
4324$(PACKAGEDIR_HASH)/$(FPCMADE):
4325	$(MAKE) -C $(PACKAGEDIR_HASH) $(FPCMADE)
4326override ALLDEPENDENCIES+=$(PACKAGEDIR_HASH)/$(FPCMADE)
4327endif
4328else
4329PACKAGEDIR_HASH=
4330UNITDIR_HASH:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /hash/Package.fpc,$(UNITSDIR)))))
4331ifneq ($(UNITDIR_HASH),)
4332UNITDIR_HASH:=$(firstword $(UNITDIR_HASH))
4333else
4334UNITDIR_HASH=
4335endif
4336endif
4337ifdef UNITDIR_HASH
4338override COMPILER_UNITDIR+=$(UNITDIR_HASH)
4339endif
4340ifdef UNITDIR_FPMAKE_HASH
4341override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_HASH)
4342endif
4343endif
4344ifdef REQUIRE_PACKAGES_LIBTAR
4345PACKAGEDIR_LIBTAR:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /libtar/Makefile.fpc,$(PACKAGESDIR))))))
4346ifneq ($(PACKAGEDIR_LIBTAR),)
4347ifneq ($(wildcard $(PACKAGEDIR_LIBTAR)/units/$(TARGETSUFFIX)),)
4348UNITDIR_LIBTAR=$(PACKAGEDIR_LIBTAR)/units/$(TARGETSUFFIX)
4349else
4350UNITDIR_LIBTAR=$(PACKAGEDIR_LIBTAR)
4351endif
4352ifneq ($(wildcard $(PACKAGEDIR_LIBTAR)/units/$(SOURCESUFFIX)),)
4353UNITDIR_FPMAKE_LIBTAR=$(PACKAGEDIR_LIBTAR)/units/$(SOURCESUFFIX)
4354else
4355ifneq ($(wildcard $(PACKAGEDIR_LIBTAR)/units_bs/$(SOURCESUFFIX)),)
4356UNITDIR_FPMAKE_LIBTAR=$(PACKAGEDIR_LIBTAR)/units_bs/$(SOURCESUFFIX)
4357else
4358UNITDIR_FPMAKE_LIBTAR=$(PACKAGEDIR_LIBTAR)
4359endif
4360endif
4361ifdef CHECKDEPEND
4362$(PACKAGEDIR_LIBTAR)/$(FPCMADE):
4363	$(MAKE) -C $(PACKAGEDIR_LIBTAR) $(FPCMADE)
4364override ALLDEPENDENCIES+=$(PACKAGEDIR_LIBTAR)/$(FPCMADE)
4365endif
4366else
4367PACKAGEDIR_LIBTAR=
4368UNITDIR_LIBTAR:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /libtar/Package.fpc,$(UNITSDIR)))))
4369ifneq ($(UNITDIR_LIBTAR),)
4370UNITDIR_LIBTAR:=$(firstword $(UNITDIR_LIBTAR))
4371else
4372UNITDIR_LIBTAR=
4373endif
4374endif
4375ifdef UNITDIR_LIBTAR
4376override COMPILER_UNITDIR+=$(UNITDIR_LIBTAR)
4377endif
4378ifdef UNITDIR_FPMAKE_LIBTAR
4379override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_LIBTAR)
4380endif
4381endif
4382ifdef REQUIRE_PACKAGES_FPMKUNIT
4383PACKAGEDIR_FPMKUNIT:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /fpmkunit/Makefile.fpc,$(PACKAGESDIR))))))
4384ifneq ($(PACKAGEDIR_FPMKUNIT),)
4385ifneq ($(wildcard $(PACKAGEDIR_FPMKUNIT)/units/$(TARGETSUFFIX)),)
4386UNITDIR_FPMKUNIT=$(PACKAGEDIR_FPMKUNIT)/units/$(TARGETSUFFIX)
4387else
4388UNITDIR_FPMKUNIT=$(PACKAGEDIR_FPMKUNIT)
4389endif
4390ifneq ($(wildcard $(PACKAGEDIR_FPMKUNIT)/units/$(SOURCESUFFIX)),)
4391UNITDIR_FPMAKE_FPMKUNIT=$(PACKAGEDIR_FPMKUNIT)/units/$(SOURCESUFFIX)
4392else
4393ifneq ($(wildcard $(PACKAGEDIR_FPMKUNIT)/units_bs/$(SOURCESUFFIX)),)
4394UNITDIR_FPMAKE_FPMKUNIT=$(PACKAGEDIR_FPMKUNIT)/units_bs/$(SOURCESUFFIX)
4395else
4396UNITDIR_FPMAKE_FPMKUNIT=$(PACKAGEDIR_FPMKUNIT)
4397endif
4398endif
4399ifdef CHECKDEPEND
4400$(PACKAGEDIR_FPMKUNIT)/$(FPCMADE):
4401	$(MAKE) -C $(PACKAGEDIR_FPMKUNIT) $(FPCMADE)
4402override ALLDEPENDENCIES+=$(PACKAGEDIR_FPMKUNIT)/$(FPCMADE)
4403endif
4404else
4405PACKAGEDIR_FPMKUNIT=
4406UNITDIR_FPMKUNIT:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /fpmkunit/Package.fpc,$(UNITSDIR)))))
4407ifneq ($(UNITDIR_FPMKUNIT),)
4408UNITDIR_FPMKUNIT:=$(firstword $(UNITDIR_FPMKUNIT))
4409else
4410UNITDIR_FPMKUNIT=
4411endif
4412endif
4413ifdef UNITDIR_FPMKUNIT
4414override COMPILER_UNITDIR+=$(UNITDIR_FPMKUNIT)
4415endif
4416ifdef UNITDIR_FPMAKE_FPMKUNIT
4417override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_FPMKUNIT)
4418endif
4419endif
4420ifdef REQUIRE_PACKAGES_REGEXPR
4421PACKAGEDIR_REGEXPR:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /regexpr/Makefile.fpc,$(PACKAGESDIR))))))
4422ifneq ($(PACKAGEDIR_REGEXPR),)
4423ifneq ($(wildcard $(PACKAGEDIR_REGEXPR)/units/$(TARGETSUFFIX)),)
4424UNITDIR_REGEXPR=$(PACKAGEDIR_REGEXPR)/units/$(TARGETSUFFIX)
4425else
4426UNITDIR_REGEXPR=$(PACKAGEDIR_REGEXPR)
4427endif
4428ifneq ($(wildcard $(PACKAGEDIR_REGEXPR)/units/$(SOURCESUFFIX)),)
4429UNITDIR_FPMAKE_REGEXPR=$(PACKAGEDIR_REGEXPR)/units/$(SOURCESUFFIX)
4430else
4431ifneq ($(wildcard $(PACKAGEDIR_REGEXPR)/units_bs/$(SOURCESUFFIX)),)
4432UNITDIR_FPMAKE_REGEXPR=$(PACKAGEDIR_REGEXPR)/units_bs/$(SOURCESUFFIX)
4433else
4434UNITDIR_FPMAKE_REGEXPR=$(PACKAGEDIR_REGEXPR)
4435endif
4436endif
4437ifdef CHECKDEPEND
4438$(PACKAGEDIR_REGEXPR)/$(FPCMADE):
4439	$(MAKE) -C $(PACKAGEDIR_REGEXPR) $(FPCMADE)
4440override ALLDEPENDENCIES+=$(PACKAGEDIR_REGEXPR)/$(FPCMADE)
4441endif
4442else
4443PACKAGEDIR_REGEXPR=
4444UNITDIR_REGEXPR:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /regexpr/Package.fpc,$(UNITSDIR)))))
4445ifneq ($(UNITDIR_REGEXPR),)
4446UNITDIR_REGEXPR:=$(firstword $(UNITDIR_REGEXPR))
4447else
4448UNITDIR_REGEXPR=
4449endif
4450endif
4451ifdef UNITDIR_REGEXPR
4452override COMPILER_UNITDIR+=$(UNITDIR_REGEXPR)
4453endif
4454ifdef UNITDIR_FPMAKE_REGEXPR
4455override COMPILER_FPMAKE_UNITDIR+=$(UNITDIR_FPMAKE_REGEXPR)
4456endif
4457endif
4458ifndef NOCPUDEF
4459override FPCOPTDEF=$(ARCH)
4460endif
4461ifneq ($(OS_TARGET),$(OS_SOURCE))
4462override FPCOPT+=-T$(OS_TARGET)
4463endif
4464ifneq ($(CPU_TARGET),$(CPU_SOURCE))
4465override FPCOPT+=-P$(ARCH)
4466endif
4467ifeq ($(OS_SOURCE),openbsd)
4468override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
4469override FPCMAKEOPT+=-FD$(NEW_BINUTILS_PATH)
4470override FPMAKE_BUILD_OPT+=-FD$(NEW_BINUTILS_PATH)
4471endif
4472ifndef CROSSBOOTSTRAP
4473ifneq ($(BINUTILSPREFIX),)
4474override FPCOPT+=-XP$(BINUTILSPREFIX)
4475endif
4476ifneq ($(BINUTILSPREFIX),)
4477override FPCOPT+=-Xr$(RLINKPATH)
4478endif
4479endif
4480ifndef CROSSCOMPILE
4481ifneq ($(BINUTILSPREFIX),)
4482override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
4483override FPMAKE_BUILD_OPT+=-XP$(BINUTILSPREFIX)
4484endif
4485endif
4486ifdef UNITDIR
4487override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
4488endif
4489ifdef LIBDIR
4490override FPCOPT+=$(addprefix -Fl,$(LIBDIR))
4491endif
4492ifdef OBJDIR
4493override FPCOPT+=$(addprefix -Fo,$(OBJDIR))
4494endif
4495ifdef INCDIR
4496override FPCOPT+=$(addprefix -Fi,$(INCDIR))
4497endif
4498ifdef LINKSMART
4499override FPCOPT+=-XX
4500endif
4501ifdef CREATESMART
4502override FPCOPT+=-CX
4503endif
4504ifdef DEBUG
4505override FPCOPT+=-gl
4506override FPCOPTDEF+=DEBUG
4507endif
4508ifdef RELEASE
4509FPCCPUOPT:=-O2
4510override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
4511override FPCOPTDEF+=RELEASE
4512endif
4513ifdef STRIP
4514override FPCOPT+=-Xs
4515endif
4516ifdef OPTIMIZE
4517override FPCOPT+=-O2
4518endif
4519ifdef VERBOSE
4520override FPCOPT+=-vwni
4521endif
4522ifdef COMPILER_OPTIONS
4523override FPCOPT+=$(COMPILER_OPTIONS)
4524endif
4525ifdef COMPILER_UNITDIR
4526override FPCOPT+=$(addprefix -Fu,$(COMPILER_UNITDIR))
4527endif
4528ifdef COMPILER_LIBRARYDIR
4529override FPCOPT+=$(addprefix -Fl,$(COMPILER_LIBRARYDIR))
4530endif
4531ifdef COMPILER_OBJECTDIR
4532override FPCOPT+=$(addprefix -Fo,$(COMPILER_OBJECTDIR))
4533endif
4534ifdef COMPILER_INCLUDEDIR
4535override FPCOPT+=$(addprefix -Fi,$(COMPILER_INCLUDEDIR))
4536endif
4537ifdef CROSSBINDIR
4538override FPCOPT+=-FD$(CROSSBINDIR)
4539endif
4540ifdef COMPILER_TARGETDIR
4541override FPCOPT+=-FE$(COMPILER_TARGETDIR)
4542ifeq ($(COMPILER_TARGETDIR),.)
4543override TARGETDIRPREFIX=
4544else
4545override TARGETDIRPREFIX=$(COMPILER_TARGETDIR)/
4546endif
4547endif
4548ifdef COMPILER_UNITTARGETDIR
4549override FPCOPT+=-FU$(COMPILER_UNITTARGETDIR)
4550ifeq ($(COMPILER_UNITTARGETDIR),.)
4551override UNITTARGETDIRPREFIX=
4552else
4553override UNITTARGETDIRPREFIX=$(COMPILER_UNITTARGETDIR)/
4554endif
4555else
4556ifdef COMPILER_TARGETDIR
4557override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
4558override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
4559endif
4560endif
4561ifdef CREATESHARED
4562override FPCOPT+=-Cg
4563endif
4564ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
4565ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),)
4566override FPCOPT+=-Cg
4567endif
4568endif
4569ifdef LINKSHARED
4570endif
4571ifdef GCCLIBDIR
4572override FPCOPT+=-Fl$(GCCLIBDIR)
4573ifdef FPCMAKEGCCLIBDIR
4574override FPCMAKEOPT+=-Fl$(FPCMAKEGCCLIBDIR)
4575else
4576override FPCMAKEOPT+=-Fl$(GCCLIBDIR)
4577endif
4578endif
4579ifdef OTHERLIBDIR
4580override FPCOPT+=$(addprefix -Fl,$(OTHERLIBDIR))
4581endif
4582ifdef OPT
4583override FPCOPT+=$(OPT)
4584endif
4585ifdef FPMAKEBUILDOPT
4586override FPMAKE_BUILD_OPT+=$(FPMAKEBUILDOPT)
4587endif
4588ifdef FPCOPTDEF
4589override FPCOPT+=$(addprefix -d,$(FPCOPTDEF))
4590endif
4591ifdef CFGFILE
4592override FPCOPT+=@$(CFGFILE)
4593endif
4594ifdef USEENV
4595override FPCEXTCMD:=$(FPCOPT)
4596override FPCOPT:=!FPCEXTCMD
4597export FPCEXTCMD
4598endif
4599override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
4600override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
4601ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
4602override ACROSSCOMPILE=1
4603endif
4604ifdef ACROSSCOMPILE
4605override FPCOPT+=$(CROSSOPT)
4606endif
4607override COMPILER:=$(strip $(FPC) $(FPCOPT))
4608ifneq (,$(findstring -sh ,$(COMPILER)))
4609UseEXECPPAS=1
4610endif
4611ifneq (,$(findstring -s ,$(COMPILER)))
4612ifeq ($(FULL_SOURCE),$(FULL_TARGET))
4613UseEXECPPAS=1
4614endif
4615endif
4616ifneq ($(UseEXECPPAS),1)
4617EXECPPAS=
4618else
4619ifdef RUNBATCH
4620EXECPPAS:=@$(RUNBATCH) $(PPAS)
4621else
4622EXECPPAS:=@$(PPAS)
4623endif
4624endif
4625.PHONY: fpc_exes
4626ifndef CROSSINSTALL
4627ifneq ($(TARGET_PROGRAMS),)
4628override EXEFILES=$(addsuffix $(EXEEXT),$(TARGET_PROGRAMS))
4629override EXEOFILES:=$(addsuffix $(OEXT),$(TARGET_PROGRAMS)) $(addsuffix $(LTOEXT),$(TARGET_PROGRAMS))$(addprefix $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_PROGRAMS))) $(addprefix $(IMPORTLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_PROGRAMS)))
4630override EXEDBGFILES:=$(addsuffix $(EXEDBGEXT),$(TARGET_PROGRAMS))
4631override ALLTARGET+=fpc_exes
4632override INSTALLEXEFILES+=$(EXEFILES)
4633override CLEANEXEFILES+=$(EXEFILES) $(EXEOFILES)
4634override CLEANEXEDBGFILES+=$(EXEDBGFILES)
4635ifeq ($(OS_TARGET),os2)
4636override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_PROGRAMS))
4637endif
4638ifeq ($(OS_TARGET),emx)
4639override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_PROGRAMS))
4640endif
4641endif
4642endif
4643fpc_exes: $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(EXEFILES)
4644ifdef TARGET_RSTS
4645override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
4646override CLEANRSTFILES+=$(RSTFILES)
4647endif
4648.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
4649$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
4650	@$(ECHOREDIR) Compiled > $(FPCMADE)
4651fpc_all: $(FPCMADE)
4652fpc_smart:
4653	$(MAKE) all LINKSMART=1 CREATESMART=1
4654fpc_debug:
4655	$(MAKE) all DEBUG=1
4656fpc_release:
4657	$(MAKE) all RELEASE=1
4658.SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) $(LTOEXT) .pas .lpr .dpr .pp .rc .res
4659$(COMPILER_UNITTARGETDIR):
4660	$(MKDIRTREE) $(COMPILER_UNITTARGETDIR)
4661$(COMPILER_TARGETDIR):
4662	$(MKDIRTREE) $(COMPILER_TARGETDIR)
4663%$(PPUEXT): %.pp
4664	$(COMPILER) $<
4665	$(EXECPPAS)
4666%$(PPUEXT): %.pas
4667	$(COMPILER) $<
4668	$(EXECPPAS)
4669%$(EXEEXT): %.pp
4670	$(COMPILER) $<
4671	$(EXECPPAS)
4672%$(EXEEXT): %.pas
4673	$(COMPILER) $<
4674	$(EXECPPAS)
4675%$(EXEEXT): %.lpr
4676	$(COMPILER) $<
4677	$(EXECPPAS)
4678%$(EXEEXT): %.dpr
4679	$(COMPILER) $<
4680	$(EXECPPAS)
4681%.res: %.rc
4682	windres -i $< -o $@
4683vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
4684vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
4685vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
4686vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
4687vpath %.inc $(COMPILER_INCLUDEDIR)
4688vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
4689vpath %$(LTOEXT) $(COMPILER_UNITTARGETDIR)
4690vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
4691.PHONY: fpc_shared
4692override INSTALLTARGET+=fpc_shared_install
4693ifndef SHARED_LIBVERSION
4694SHARED_LIBVERSION=$(FPC_VERSION)
4695endif
4696ifndef SHARED_LIBNAME
4697SHARED_LIBNAME=$(PACKAGE_NAME)
4698endif
4699ifndef SHARED_FULLNAME
4700SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
4701endif
4702ifndef SHARED_LIBUNITS
4703SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
4704override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
4705endif
4706fpc_shared:
4707ifdef HASSHAREDLIB
4708	$(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
4709ifneq ($(SHARED_BUILD),n)
4710	$(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR) -P$(BINUTILSPREFIX)
4711endif
4712else
4713	@$(ECHO) Shared Libraries not supported
4714endif
4715fpc_shared_install:
4716ifneq ($(SHARED_BUILD),n)
4717ifneq ($(SHARED_LIBUNITS),)
4718ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
4719	$(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
4720endif
4721endif
4722endif
4723.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
4724ifdef INSTALL_UNITS
4725override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
4726endif
4727ifdef INSTALL_BUILDUNIT
4728override INSTALLPPUFILES:=$(filter-out $(INSTALL_BUILDUNIT)$(PPUEXT),$(INSTALLPPUFILES))
4729endif
4730ifdef INSTALLPPUFILES
4731ifneq ($(IMPORTLIBPREFIX)-$(STATICLIBEXT),$(STATICLIBPREFIX)-$(STATICLIBEXT))
4732override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
4733else
4734override INSTALLPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(INSTALLPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(INSTALLPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(INSTALLPPUFILES)))
4735endif
4736ifneq ($(UNITTARGETDIRPREFIX),)
4737override INSTALLPPUFILENAMES:=$(notdir $(INSTALLPPUFILES))
4738override INSTALLPPULINKFILENAMES:=$(notdir $(INSTALLPPULINKFILES))
4739override INSTALLPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPUFILENAMES))
4740override INSTALLPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(INSTALLPPULINKFILENAMES)))
4741endif
4742override INSTALL_CREATEPACKAGEFPC=1
4743endif
4744ifdef INSTALLEXEFILES
4745ifneq ($(TARGETDIRPREFIX),)
4746override INSTALLEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(notdir $(INSTALLEXEFILES)))
4747endif
4748endif
4749fpc_install: all $(INSTALLTARGET)
4750ifdef INSTALLEXEFILES
4751	$(MKDIR) $(INSTALL_BINDIR)
4752	$(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
4753endif
4754ifdef INSTALL_CREATEPACKAGEFPC
4755ifdef FPCMAKE
4756ifdef PACKAGE_VERSION
4757ifneq ($(wildcard Makefile.fpc),)
4758	$(FPCMAKE) -p -T$(CPU_TARGET)-$(OS_TARGET) Makefile.fpc
4759	$(MKDIR) $(INSTALL_UNITDIR)
4760	$(INSTALL) Package.fpc $(INSTALL_UNITDIR)
4761endif
4762endif
4763endif
4764endif
4765ifdef INSTALLPPUFILES
4766	$(MKDIR) $(INSTALL_UNITDIR)
4767	$(INSTALL) $(INSTALLPPUFILES) $(INSTALL_UNITDIR)
4768ifneq ($(INSTALLPPULINKFILES),)
4769	$(INSTALL) $(INSTALLPPULINKFILES) $(INSTALL_UNITDIR)
4770endif
4771ifneq ($(wildcard $(LIB_FULLNAME)),)
4772	$(MKDIR) $(INSTALL_LIBDIR)
4773	$(INSTALL) $(LIB_FULLNAME) $(INSTALL_LIBDIR)
4774ifdef inUnix
4775	ln -sf $(LIB_FULLNAME) $(INSTALL_LIBDIR)/$(LIB_NAME)
4776endif
4777endif
4778endif
4779ifdef INSTALL_FILES
4780	$(MKDIR) $(INSTALL_DATADIR)
4781	$(INSTALL) $(INSTALL_FILES) $(INSTALL_DATADIR)
4782endif
4783fpc_sourceinstall: distclean
4784	$(MKDIR) $(INSTALL_SOURCEDIR)
4785	$(COPYTREE) $(BASEDIR)/* $(INSTALL_SOURCEDIR)
4786fpc_exampleinstall: $(EXAMPLEINSTALLTARGET) $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
4787ifdef HASEXAMPLES
4788	$(MKDIR) $(INSTALL_EXAMPLEDIR)
4789endif
4790ifdef EXAMPLESOURCEFILES
4791	$(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
4792endif
4793ifdef TARGET_EXAMPLEDIRS
4794	$(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
4795endif
4796.PHONY: fpc_distinstall
4797fpc_distinstall: install exampleinstall
4798.PHONY: fpc_zipinstall fpc_zipsourceinstall fpc_zipexampleinstall
4799ifndef PACKDIR
4800ifndef inUnix
4801PACKDIR=$(BASEDIR)/../fpc-pack
4802else
4803PACKDIR=/tmp/fpc-pack
4804endif
4805endif
4806ifndef ZIPNAME
4807ifdef DIST_ZIPNAME
4808ZIPNAME=$(DIST_ZIPNAME)
4809else
4810ZIPNAME=$(PACKAGE_NAME)
4811endif
4812endif
4813ifndef FULLZIPNAME
4814FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX)
4815endif
4816ifndef ZIPTARGET
4817ifdef DIST_ZIPTARGET
4818ZIPTARGET=DIST_ZIPTARGET
4819else
4820ZIPTARGET=install
4821endif
4822endif
4823ifndef USEZIP
4824ifdef inUnix
4825USETAR=1
4826endif
4827endif
4828ifndef inUnix
4829USEZIPWRAPPER=1
4830endif
4831ifdef USEZIPWRAPPER
4832ZIPPATHSEP=$(PATHSEP)
4833ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT))
4834else
4835ZIPPATHSEP=/
4836endif
4837ZIPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR))
4838ZIPCMD_CDBASE:=cd $(subst /,$(ZIPPATHSEP),$(BASEDIR))
4839ifdef USETAR
4840ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT)
4841ZIPCMD_ZIP:=$(TARPROG) c$(TAROPT)f $(ZIPDESTFILE) *
4842else
4843ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)
4844ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPDESTFILE) *
4845endif
4846fpc_zipinstall:
4847	$(MAKE) $(ZIPTARGET) INSTALL_PREFIX=$(PACKDIR) ZIPINSTALL=1
4848	$(MKDIR) $(DIST_DESTDIR)
4849	$(DEL) $(ZIPDESTFILE)
4850ifdef USEZIPWRAPPER
4851ifneq ($(ECHOREDIR),echo)
4852	$(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDPACK))" > $(ZIPWRAPPER)
4853	$(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_ZIP))" >> $(ZIPWRAPPER)
4854	$(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDBASE))" >> $(ZIPWRAPPER)
4855else
4856	echo $(ZIPCMD_CDPACK) > $(ZIPWRAPPER)
4857	echo $(ZIPCMD_ZIP) >> $(ZIPWRAPPER)
4858	echo $(ZIPCMD_CDBASE) >> $(ZIPWRAPPER)
4859endif
4860ifdef inUnix
4861	/bin/sh $(ZIPWRAPPER)
4862else
4863ifdef RUNBATCH
4864	$(RUNBATCH) $(ZIPWRAPPER)
4865else
4866	$(ZIPWRAPPER)
4867endif
4868endif
4869	$(DEL) $(ZIPWRAPPER)
4870else
4871	$(ZIPCMD_CDPACK) ; $(ZIPCMD_ZIP) ; $(ZIPCMD_CDBASE)
4872endif
4873	$(DELTREE) $(PACKDIR)
4874fpc_zipsourceinstall:
4875	$(MAKE) fpc_zipinstall ZIPTARGET=sourceinstall ZIPSUFFIX=$(ZIPSOURCESUFFIX)
4876fpc_zipexampleinstall:
4877ifdef HASEXAMPLES
4878	$(MAKE) fpc_zipinstall ZIPTARGET=exampleinstall ZIPSUFFIX=$(ZIPEXAMPLESUFFIX)
4879endif
4880fpc_zipdistinstall:
4881	$(MAKE) fpc_zipinstall ZIPTARGET=distinstall
4882.PHONY: fpc_clean fpc_cleanall fpc_distclean
4883ifdef EXEFILES
4884override CLEANEXEFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEFILES))
4885override CLEANEXEDBGFILES:=$(addprefix $(TARGETDIRPREFIX),$(CLEANEXEDBGFILES))
4886endif
4887ifdef CLEAN_PROGRAMS
4888override CLEANEXEFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEEXT), $(CLEAN_PROGRAMS)))
4889override CLEANEXEDBGFILES+=$(addprefix $(TARGETDIRPREFIX),$(addsuffix $(EXEDBGEXT), $(CLEAN_PROGRAMS)))
4890endif
4891ifdef CLEAN_UNITS
4892override CLEANPPUFILES+=$(addsuffix $(PPUEXT),$(CLEAN_UNITS))
4893endif
4894ifdef CLEANPPUFILES
4895override CLEANPPULINKFILES:=$(subst $(PPUEXT),$(OEXT),$(CLEANPPUFILES)) $(subst $(PPUEXT),$(LTOEXT),$(CLEANPPUFILES)) $(addprefix $(STATICLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES))) $(addprefix $(IMPORTLIBPREFIX),$(subst $(PPUEXT),$(STATICLIBEXT),$(CLEANPPUFILES)))
4896ifdef DEBUGSYMEXT
4897override CLEANPPULINKFILES+=$(subst $(PPUEXT),$(DEBUGSYMEXT),$(CLEANPPUFILES))
4898endif
4899override CLEANPPUFILENAMES:=$(CLEANPPUFILES)
4900override CLEANPPUFILES=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILENAMES))
4901override CLEANPPULINKFILENAMES:=$(CLEANPPULINKFILES)
4902override CLEANPPULINKFILES=$(wildcard $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILENAMES)))
4903endif
4904fpc_clean: $(CLEANTARGET)
4905ifdef CLEANEXEFILES
4906	-$(DEL) $(CLEANEXEFILES)
4907endif
4908ifdef CLEANEXEDBGFILES
4909	-$(DELTREE) $(CLEANEXEDBGFILES)
4910endif
4911ifdef CLEANPPUFILES
4912	-$(DEL) $(CLEANPPUFILES)
4913endif
4914ifneq ($(CLEANPPULINKFILES),)
4915	-$(DEL) $(CLEANPPULINKFILES)
4916endif
4917ifdef CLEANRSTFILES
4918	-$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
4919endif
4920ifdef CLEAN_FILES
4921	-$(DEL) $(CLEAN_FILES)
4922endif
4923ifdef LIB_NAME
4924	-$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
4925endif
4926	-$(DEL) $(FPCMADE) *$(FULL_TARGET).fpm Package.fpc *$(ASMEXT)
4927	-$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
4928	-$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
4929fpc_cleanall: $(CLEANTARGET)
4930ifdef CLEANEXEFILES
4931	-$(DEL) $(CLEANEXEFILES)
4932endif
4933ifdef COMPILER_UNITTARGETDIR
4934ifdef CLEANPPUFILES
4935	-$(DEL) $(CLEANPPUFILES)
4936endif
4937ifneq ($(CLEANPPULINKFILES),)
4938	-$(DEL) $(CLEANPPULINKFILES)
4939endif
4940ifdef CLEANRSTFILES
4941	-$(DEL) $(addprefix $(UNITTARGETDIRPREFIX),$(CLEANRSTFILES))
4942endif
4943endif
4944ifdef CLEAN_FILES
4945	-$(DEL) $(CLEAN_FILES)
4946endif
4947	-$(DELTREE) units
4948	-$(DELTREE) bin
4949	-$(DEL) *$(OEXT) *$(LTOEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
4950ifneq ($(PPUEXT),.ppu)
4951	-$(DEL) *.o *.ppu *.a
4952endif
4953	-$(DELTREE) *$(SMARTEXT)
4954	-$(DEL) fpcmade.* Package.fpc *.fpm
4955	-$(DEL) $(FPCEXTFILE) $(REDIRFILE) script*.res link*.res *_script.res *_link.res
4956	-$(DEL) $(PPAS) *_ppas$(BATCHEXT) ppas$(BATCHEXT) ppaslink$(BATCHEXT)
4957ifdef AOUTEXT
4958	-$(DEL) *$(AOUTEXT)
4959endif
4960ifdef DEBUGSYMEXT
4961	-$(DEL) *$(DEBUGSYMEXT)
4962endif
4963ifdef LOCALFPMAKEBIN
4964	-$(DEL) $(LOCALFPMAKEBIN)
4965	-$(DEL) $(FPMAKEBINOBJ)
4966endif
4967fpc_distclean: cleanall
4968.PHONY: fpc_baseinfo
4969override INFORULES+=fpc_baseinfo
4970fpc_baseinfo:
4971	@$(ECHO)
4972	@$(ECHO)  == Package info ==
4973	@$(ECHO)  Package Name..... $(PACKAGE_NAME)
4974	@$(ECHO)  Package Version.. $(PACKAGE_VERSION)
4975	@$(ECHO)
4976	@$(ECHO)  == Configuration info ==
4977	@$(ECHO)
4978	@$(ECHO)  FPC.......... $(FPC)
4979	@$(ECHO)  FPC Version.. $(FPC_VERSION)
4980	@$(ECHO)  Source CPU... $(CPU_SOURCE)
4981	@$(ECHO)  Target CPU... $(CPU_TARGET)
4982	@$(ECHO)  Source OS.... $(OS_SOURCE)
4983	@$(ECHO)  Target OS.... $(OS_TARGET)
4984	@$(ECHO)  Full Source.. $(FULL_SOURCE)
4985	@$(ECHO)  Full Target.. $(FULL_TARGET)
4986	@$(ECHO)  SourceSuffix. $(SOURCESUFFIX)
4987	@$(ECHO)  TargetSuffix. $(TARGETSUFFIX)
4988	@$(ECHO)  FPC fpmake... $(FPCFPMAKE)
4989	@$(ECHO)
4990	@$(ECHO)  == Directory info ==
4991	@$(ECHO)
4992	@$(ECHO)  Required pkgs... $(REQUIRE_PACKAGES)
4993	@$(ECHO)
4994	@$(ECHO)  Basedir......... $(BASEDIR)
4995	@$(ECHO)  FPCDir.......... $(FPCDIR)
4996	@$(ECHO)  CrossBinDir..... $(CROSSBINDIR)
4997	@$(ECHO)  UnitsDir........ $(UNITSDIR)
4998	@$(ECHO)  PackagesDir..... $(PACKAGESDIR)
4999	@$(ECHO)
5000	@$(ECHO)  GCC library..... $(GCCLIBDIR)
5001	@$(ECHO)  Other library... $(OTHERLIBDIR)
5002	@$(ECHO)
5003	@$(ECHO)  == Tools info ==
5004	@$(ECHO)
5005	@$(ECHO)  As........ $(AS)
5006	@$(ECHO)  Ld........ $(LD)
5007	@$(ECHO)  Ar........ $(AR)
5008	@$(ECHO)  Rc........ $(RC)
5009	@$(ECHO)
5010	@$(ECHO)  Mv........ $(MVPROG)
5011	@$(ECHO)  Cp........ $(CPPROG)
5012	@$(ECHO)  Rm........ $(RMPROG)
5013	@$(ECHO)  GInstall.. $(GINSTALL)
5014	@$(ECHO)  Echo...... $(ECHO)
5015	@$(ECHO)  Shell..... $(SHELL)
5016	@$(ECHO)  Date...... $(DATE)
5017	@$(ECHO)  FPCMake... $(FPCMAKE)
5018	@$(ECHO)  PPUMove... $(PPUMOVE)
5019	@$(ECHO)  Zip....... $(ZIPPROG)
5020	@$(ECHO)
5021	@$(ECHO)  == Object info ==
5022	@$(ECHO)
5023	@$(ECHO)  Target Loaders........ $(TARGET_LOADERS)
5024	@$(ECHO)  Target Units.......... $(TARGET_UNITS)
5025	@$(ECHO)  Target Implicit Units. $(TARGET_IMPLICITUNITS)
5026	@$(ECHO)  Target Programs....... $(TARGET_PROGRAMS)
5027	@$(ECHO)  Target Dirs........... $(TARGET_DIRS)
5028	@$(ECHO)  Target Examples....... $(TARGET_EXAMPLES)
5029	@$(ECHO)  Target ExampleDirs.... $(TARGET_EXAMPLEDIRS)
5030	@$(ECHO)
5031	@$(ECHO)  Clean Units......... $(CLEAN_UNITS)
5032	@$(ECHO)  Clean Files......... $(CLEAN_FILES)
5033	@$(ECHO)
5034	@$(ECHO)  Install Units....... $(INSTALL_UNITS)
5035	@$(ECHO)  Install Files....... $(INSTALL_FILES)
5036	@$(ECHO)
5037	@$(ECHO)  == Install info ==
5038	@$(ECHO)
5039	@$(ECHO)  DateStr.............. $(DATESTR)
5040	@$(ECHO)  ZipName.............. $(ZIPNAME)
5041	@$(ECHO)  ZipPrefix............ $(ZIPPREFIX)
5042	@$(ECHO)  ZipCrossPrefix....... $(ZIPCROSSPREFIX)
5043	@$(ECHO)  ZipSuffix............ $(ZIPSUFFIX)
5044	@$(ECHO)  FullZipName.......... $(FULLZIPNAME)
5045	@$(ECHO)  Install FPC Package.. $(INSTALL_FPCPACKAGE)
5046	@$(ECHO)
5047	@$(ECHO)  Install base dir..... $(INSTALL_BASEDIR)
5048	@$(ECHO)  Install binary dir... $(INSTALL_BINDIR)
5049	@$(ECHO)  Install library dir.. $(INSTALL_LIBDIR)
5050	@$(ECHO)  Install units dir.... $(INSTALL_UNITDIR)
5051	@$(ECHO)  Install source dir... $(INSTALL_SOURCEDIR)
5052	@$(ECHO)  Install doc dir...... $(INSTALL_DOCDIR)
5053	@$(ECHO)  Install example dir.. $(INSTALL_EXAMPLEDIR)
5054	@$(ECHO)  Install data dir..... $(INSTALL_DATADIR)
5055	@$(ECHO)
5056	@$(ECHO)  Dist destination dir. $(DIST_DESTDIR)
5057	@$(ECHO)  Dist zip name........ $(DIST_ZIPNAME)
5058	@$(ECHO)
5059.PHONY: fpc_info
5060fpc_info: $(INFORULES)
5061.PHONY: fpc_makefile fpc_makefiles fpc_makefile_sub1 fpc_makefile_sub2 \
5062	fpc_makefile_dirs
5063fpc_makefile:
5064	$(FPCMAKE) -w -T$(OS_TARGET) Makefile.fpc
5065fpc_makefile_sub1:
5066ifdef TARGET_DIRS
5067	$(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_DIRS))
5068endif
5069ifdef TARGET_EXAMPLEDIRS
5070	$(FPCMAKE) -w -T$(OS_TARGET) $(addsuffix /Makefile.fpc,$(TARGET_EXAMPLEDIRS))
5071endif
5072fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
5073fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
5074fpc_makefiles: fpc_makefile fpc_makefile_dirs
5075debug: fpc_debug
5076smart: fpc_smart
5077release: fpc_release
5078units: fpc_units
5079examples:
5080shared: fpc_shared
5081install: fpc_install
5082sourceinstall: fpc_sourceinstall
5083exampleinstall: fpc_exampleinstall
5084distinstall: fpc_distinstall
5085zipinstall: fpc_zipinstall
5086zipsourceinstall: fpc_zipsourceinstall
5087zipexampleinstall: fpc_zipexampleinstall
5088zipdistinstall: fpc_zipdistinstall
5089clean: fpc_clean
5090cleanall: fpc_cleanall
5091info: fpc_info
5092makefiles: fpc_makefiles
5093.PHONY: debug smart release units examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean cleanall info makefiles
5094ifneq ($(wildcard fpcmake.loc),)
5095include fpcmake.loc
5096endif
5097.PHONY: ide idepkg bigide starter lazbuilder all clean cleanide purge revisioninc codepage
5098revisioninc:
5099ifneq ($(USESVN2REVISIONINC),0)
5100ifeq ($(wildcard ../tools/svn2revisioninc$(SRCEXEEXT)),)
5101	$(MAKE) -C ../tools svn2revisioninc$(SRCEXEEXT) OS_TARGET=$(OS_SOURCE) CPU_TARGET=$(CPU_SOURCE) OPT=''
5102endif
5103	../tools/svn2revisioninc$(SRCEXEEXT) .. revision.inc
5104endif
5105ide: $(COMPILER_UNITTARGETDIR) revisioninc
5106	$(MAKE) --assume-new=lazarus.pp lazarus$(EXEEXT) OPT='$(DEFAULT_IDE_OPTIONS) $(LAZARUS_OPT) $(OPT)'
5107idepkg: $(COMPILER_UNITTARGETDIR) revisioninc
5108	$(MAKE) --assume-new=lazarus.pp lazarus$(EXEEXT) OPT='$(LAZARUS_OPT) $(OPT)'
5109bigide: $(COMPILER_UNITTARGETDIR) revisioninc
5110	-$(DEL) $(COMPILER_UNITTARGETDIR)/pkgmanager$(PPUEXT)
5111	$(MAKE) --assume-new=lazarus.pp lazarus$(EXEEXT) OPT='$(OPT) $(BIG_IDE_OPTIONS)'
5112starter: $(COMPILER_UNITTARGETDIR)
5113	$(MAKE) --assume-new=startlazarus.lpr startlazarus$(EXEEXT) OPT='$(DEFAULT_IDE_OPTIONS) $(LAZARUS_OPT) $(OPT)'
5114lazbuilder: $(COMPILER_UNITTARGETDIR)
5115	$(MAKE) --assume-new=lazbuild.lpr lazbuild$(EXEEXT) OPT='$(DEFAULT_IDE_OPTIONS) $(OPT)'
5116all: ide starter lazbuilder
5117cleanide:
5118	-$(DEL) $(wildcard *$(OEXT))
5119	-$(DEL) $(wildcard *$(PPUEXT))
5120	-$(DEL) $(wildcard *$(RSTEXT))
5121	-$(DEL) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT))
5122	-$(DEL) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT))
5123	-$(DEL) $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT))
5124	-$(DEL) $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm)
5125	-$(DEL) $(wildcard ../*$(OEXT))
5126	-$(DEL) $(wildcard ../*$(PPUEXT))
5127	-$(DEL) $(wildcard ../designer/*$(OEXT))
5128	-$(DEL) $(wildcard ../designer/*$(PPUEXT))
5129	-$(DEL) $(wildcard ../debugger/*$(OEXT))
5130	-$(DEL) $(wildcard ../debugger/*$(PPUEXT))
5131	-$(DEL) $(wildcard ../packager/*$(OEXT))
5132	-$(DEL) $(wildcard ../packager/*$(PPUEXT))
5133	-$(DEL) $(wildcard ../converter/*$(OEXT))
5134	-$(DEL) $(wildcard ../converter/*$(PPUEXT))
5135	-$(DEL) $(wildcard ../doceditor/*$(OEXT))
5136	-$(DEL) $(wildcard ../doceditor/*$(PPUEXT))
5137ifneq ($(findstring $(OS_TARGET),win32 win64),)
5138	-$(DEL) $(wildcard $(COMPILER_UNITTARGETDIR)/*.or)
5139	-$(DEL) $(wildcard $(COMPILER_UNITTARGETDIR)/*.res)
5140endif
5141cleanlaz: clean cleanide
5142	${DELTREE} ../units/*
5143purge: cleanlaz
5144distclean: cleanlaz
5145