~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to demo/text/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/08/29]
 
2
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/08/19]
3
3
#
4
4
default: all
5
 
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos 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 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-embedded
 
5
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos 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 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded
6
6
BSDs = freebsd netbsd openbsd darwin
7
7
UNIXs = linux $(BSDs) solaris qnx
8
8
LIMIT83fs = go32v2 os2 emx watcom
 
9
OSNeedsComspecToRunBatch = go32v2 watcom
9
10
FORCE:
10
11
.PHONY: FORCE
11
12
override PATH:=$(patsubst %/,%,$(subst \,/,$(PATH)))
56
57
SRCBATCHEXT=.bat
57
58
endif
58
59
endif
 
60
ifdef COMSPEC
 
61
ifneq ($(findstring $(OS_SOURCE),$(OSNeedsComspecToRunBatch)),)
 
62
RUNBATCH=$(COMSPEC) /C
 
63
endif
 
64
endif
59
65
ifdef inUnix
60
66
PATHSEP=/
61
67
else
92
98
endif
93
99
export ECHO
94
100
endif
95
 
override DEFAULT_FPCDIR=../..
 
101
override DEFAULT_FPCDIR=../../fpcsrc
96
102
ifndef FPC
97
103
ifdef PP
98
104
FPC=$(PP)
102
108
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
103
109
ifneq ($(FPCPROG),)
104
110
FPCPROG:=$(firstword $(FPCPROG))
 
111
ifneq ($(CPU_TARGET),)
 
112
FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
 
113
else
105
114
FPC:=$(shell $(FPCPROG) -PB)
 
115
endif
106
116
ifneq ($(findstring Error,$(FPC)),)
107
117
override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
108
118
endif
218
228
ifndef CROSSBINDIR
219
229
CROSSBINDIR:=$(wildcard $(FPCDIR)/bin/$(TARGETSUFFIX))
220
230
endif
 
231
ifeq ($(OS_TARGET),darwin)
 
232
ifeq ($(OS_SOURCE),darwin)
 
233
DARWIN2DARWIN=1
 
234
endif
 
235
endif
221
236
ifndef BINUTILSPREFIX
222
237
ifndef CROSSBINDIR
223
238
ifdef CROSSCOMPILE
 
239
ifndef DARWIN2DARWIN
224
240
BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
225
241
endif
226
242
endif
227
243
endif
 
244
endif
228
245
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
229
246
ifeq ($(UNITSDIR),)
230
247
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
350
367
ifeq ($(FULL_TARGET),x86_64-freebsd)
351
368
override TARGET_PROGRAMS+=eratos qsort hello blackbox magic lines
352
369
endif
 
370
ifeq ($(FULL_TARGET),x86_64-darwin)
 
371
override TARGET_PROGRAMS+=eratos qsort hello blackbox magic lines
 
372
endif
353
373
ifeq ($(FULL_TARGET),x86_64-win64)
354
374
override TARGET_PROGRAMS+=eratos qsort hello blackbox magic lines
355
375
endif
380
400
ifeq ($(FULL_TARGET),powerpc64-linux)
381
401
override TARGET_PROGRAMS+=eratos qsort hello blackbox magic lines
382
402
endif
 
403
ifeq ($(FULL_TARGET),powerpc64-darwin)
 
404
override TARGET_PROGRAMS+=eratos qsort hello blackbox magic lines
 
405
endif
383
406
ifeq ($(FULL_TARGET),powerpc64-embedded)
384
407
override TARGET_PROGRAMS+=eratos qsort hello blackbox magic lines
385
408
endif
1251
1274
ifeq ($(FULL_TARGET),x86_64-freebsd)
1252
1275
REQUIRE_PACKAGES_RTL=1
1253
1276
endif
 
1277
ifeq ($(FULL_TARGET),x86_64-darwin)
 
1278
REQUIRE_PACKAGES_RTL=1
 
1279
endif
1254
1280
ifeq ($(FULL_TARGET),x86_64-win64)
1255
1281
REQUIRE_PACKAGES_RTL=1
1256
1282
endif
1281
1307
ifeq ($(FULL_TARGET),powerpc64-linux)
1282
1308
REQUIRE_PACKAGES_RTL=1
1283
1309
endif
 
1310
ifeq ($(FULL_TARGET),powerpc64-darwin)
 
1311
REQUIRE_PACKAGES_RTL=1
 
1312
endif
1284
1313
ifeq ($(FULL_TARGET),powerpc64-embedded)
1285
1314
REQUIRE_PACKAGES_RTL=1
1286
1315
endif
1324
1353
endif
1325
1354
ifndef CROSSBOOTSTRAP
1326
1355
ifneq ($(BINUTILSPREFIX),)
1327
 
override FPCOPT+=-XP$(BINUTILSPREFIX) 
 
1356
override FPCOPT+=-XP$(BINUTILSPREFIX)
1328
1357
endif
1329
1358
ifneq ($(BINUTILSPREFIX),)
1330
1359
override FPCOPT+=-Xr$(RLINKPATH)
1456
1485
EXECPPAS=
1457
1486
else
1458
1487
ifeq ($(FULL_SOURCE),$(FULL_TARGET))
 
1488
ifdef RUNBATCH
 
1489
EXECPPAS:=@$(RUNBATCH) $(PPAS)
 
1490
else
1459
1491
EXECPPAS:=@$(PPAS)
1460
1492
endif
1461
1493
endif
 
1494
endif
1462
1495
.PHONY: fpc_exes
1463
1496
ifndef CROSSINSTALL
1464
1497
ifneq ($(TARGET_PROGRAMS),)