~ubuntu-branches/ubuntu/saucy/lazarus/saucy

« back to all changes in this revision

Viewing changes to lcl/interfaces/customdrawn/Makefile

  • Committer: Package Import Robot
  • Author(s): Paul Gevers, Abou Al Montacir, Bart Martens, Paul Gevers
  • Date: 2013-06-08 14:12:17 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20130608141217-7k0cy9id8ifcnutc
Tags: 1.0.8+dfsg-1
[ Abou Al Montacir ]
* New upstream major release and multiple maintenace release offering many
  fixes and new features marking a new milestone for the Lazarus development
  and its stability level.
  - The detailed list of changes can be found here:
    http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes
    http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch
* LCL changes:
  - LCL is now a normal package.
      + Platform independent parts of the LCL are now in the package LCLBase
      + LCL is automatically recompiled when switching the target platform,
        unless pre-compiled binaries for this target are already installed.
      + No impact on existing projects.
      + Linker options needed by LCL are no more added to projects that do
        not use the LCL package.
  - Minor changes in LCL basic classes behaviour
      + TCustomForm.Create raises an exception if a form resource is not
        found.
      + TNotebook and TPage: a new implementation of these classes was added.
      + TDBNavigator: It is now possible to have focusable buttons by setting
        Options = [navFocusableButtons] and TabStop = True, useful for
        accessibility and for devices with neither mouse nor touch screen.
      + Names of TControlBorderSpacing.GetSideSpace and GetSpace were swapped
        and are now consistent. GetSideSpace = Around + GetSpace.
      + TForm.WindowState=wsFullscreen was added
      + TCanvas.TextFitInfo was added to calculate how many characters will
        fit into a specified Width. Useful for word-wrapping calculations.
      + TControl.GetColorResolvingParent and
        TControl.GetRGBColorResolvingParent were added, simplifying the work
        to obtain the final color of the control while resolving clDefault
        and the ParentColor.
      + LCLIntf.GetTextExtentExPoint now has a good default implementation
        which works in any platform not providing a specific implementation.
        However, Widgetset specific implementation is better, when available.
      + TTabControl was reorganized. Now it has the correct class hierarchy
        and inherits from TCustomTabControl as it should.
  - New unit in the LCL:
      + lazdialogs.pas: adds non-native versions of various native dialogs,
        for example TLazOpenDialog, TLazSaveDialog, TLazSelectDirectoryDialog.
        It is used by widgetsets which either do not have a native dialog, or
        do not wish to use it because it is limited. These dialogs can also be
        used by user applications directly.
      + lazdeviceapis.pas: offers an interface to more hardware devices such
        as the accelerometer, GPS, etc. See LazDeviceAPIs
      + lazcanvas.pas: provides a TFPImageCanvas descendent implementing
        drawing in a LCL-compatible way, but 100% in Pascal.
      + lazregions.pas. LazRegions is a wholly Pascal implementation of
        regions for canvas clipping, event clipping, finding in which control
        of a region tree one an event should reach, for drawing polygons, etc.
      + customdrawncontrols.pas, customdrawndrawers.pas,
        customdrawn_common.pas, customdrawn_android.pas and
        customdrawn_winxp.pas: are the Lazarus Custom Drawn Controls -controls
        which imitate the standard LCL ones, but with the difference that they
        are non-native and support skinning.
  - New APIs added to the LCL to improve support of accessibility software
    such as screen readers.
* IDE changes:
  - Many improvments.
  - The detailed list of changes can be found here:
    http://wiki.lazarus.freepascal.org/New_IDE_features_since#v1.0_.282012-08-29.29
    http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes#IDE_Changes
* Debugger / Editor changes:
  - Added pascal sources and breakpoints to the disassembler
  - Added threads dialog.
* Components changes:
  - TAChart: many fixes and new features
  - CodeTool: support Delphi style generics and new syntax extensions.
  - AggPas: removed to honor free licencing. (Closes: Bug#708695)
[Bart Martens]
* New debian/watch file fixing issues with upstream RC release.
[Abou Al Montacir]
* Avoid changing files in .pc hidden directory, these are used by quilt for
  internal purpose and could lead to surprises during build.
[Paul Gevers]
* Updated get-orig-source target and it compinion script orig-tar.sh so that they
  repack the source file, allowing bug 708695 to be fixed.

Show diffs side-by-side

added added

removed removed

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