mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 12:51:34 +02:00
* use echoredir for creating revision.inc
git-svn-id: trunk@4320 -
This commit is contained in:
parent
3b51742204
commit
979094d0a2
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/05/13]
|
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/07/30]
|
||||||
#
|
#
|
||||||
default: all
|
default: all
|
||||||
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 m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince powerpc64-linux
|
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 m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince arm-gba powerpc64-linux
|
||||||
BSDs = freebsd netbsd openbsd darwin
|
BSDs = freebsd netbsd openbsd darwin
|
||||||
UNIXs = linux $(BSDs) solaris qnx
|
UNIXs = linux $(BSDs) solaris qnx
|
||||||
LIMIT83fs = go32v2 os2 emx watcom
|
LIMIT83fs = go32v2 os2 emx watcom
|
||||||
@ -321,7 +321,7 @@ ifneq ($(REVINC),)
|
|||||||
override LOCALOPT+=-dREVINC
|
override LOCALOPT+=-dREVINC
|
||||||
ifeq ($(REVSTR),)
|
ifeq ($(REVSTR),)
|
||||||
SVNVERSION:=$(wildcard svnversion$(EXEEXT))
|
SVNVERSION:=$(wildcard svnversion$(EXEEXT))
|
||||||
REVSTR:=$(value ')$(shell svnversion .)$(value ')
|
REVSTR:=$(shell svnversion .)
|
||||||
export REVSTR
|
export REVSTR
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -466,6 +466,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
override TARGET_DIRS+=utils
|
override TARGET_DIRS+=utils
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override TARGET_DIRS+=utils
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
override TARGET_DIRS+=utils
|
override TARGET_DIRS+=utils
|
||||||
endif
|
endif
|
||||||
@ -583,6 +586,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
override TARGET_PROGRAMS+=pp
|
override TARGET_PROGRAMS+=pp
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override TARGET_PROGRAMS+=pp
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
override TARGET_PROGRAMS+=pp
|
override TARGET_PROGRAMS+=pp
|
||||||
endif
|
endif
|
||||||
@ -701,6 +707,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
override COMPILER_INCLUDEDIR+=$(PPC_TARGET)
|
override COMPILER_INCLUDEDIR+=$(PPC_TARGET)
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override COMPILER_INCLUDEDIR+=$(PPC_TARGET)
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
override COMPILER_INCLUDEDIR+=$(PPC_TARGET)
|
override COMPILER_INCLUDEDIR+=$(PPC_TARGET)
|
||||||
endif
|
endif
|
||||||
@ -818,6 +827,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
||||||
endif
|
endif
|
||||||
@ -935,6 +947,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
override COMPILER_TARGETDIR+=.
|
override COMPILER_TARGETDIR+=.
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override COMPILER_TARGETDIR+=.
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
override COMPILER_TARGETDIR+=.
|
override COMPILER_TARGETDIR+=.
|
||||||
endif
|
endif
|
||||||
@ -1052,6 +1067,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
||||||
endif
|
endif
|
||||||
@ -1376,6 +1394,11 @@ EXEEXT=
|
|||||||
HASSHAREDLIB=1
|
HASSHAREDLIB=1
|
||||||
SHORTSUFFIX=dwn
|
SHORTSUFFIX=dwn
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(OS_TARGET),gba)
|
||||||
|
EXEEXT=.gba
|
||||||
|
SHAREDLIBEXT=.so
|
||||||
|
SHORTSUFFIX=gba
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
ifeq ($(OS_TARGET),go32v1)
|
ifeq ($(OS_TARGET),go32v1)
|
||||||
PPUEXT=.pp1
|
PPUEXT=.pp1
|
||||||
@ -1908,6 +1931,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
REQUIRE_PACKAGES_RTL=1
|
REQUIRE_PACKAGES_RTL=1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
REQUIRE_PACKAGES_RTL=1
|
REQUIRE_PACKAGES_RTL=1
|
||||||
endif
|
endif
|
||||||
@ -1988,7 +2014,7 @@ ifeq ($(CPU_TARGET),powerpc)
|
|||||||
FPCCPUOPT:=-O1r
|
FPCCPUOPT:=-O1r
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
FPCCPUOPT:=-O2
|
FPCCPUOPT:=-O1r
|
||||||
endif
|
endif
|
||||||
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
|
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
|
||||||
override FPCOPTDEF+=RELEASE
|
override FPCOPTDEF+=RELEASE
|
||||||
@ -2612,6 +2638,9 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),arm-wince)
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
TARGET_DIRS_UTILS=1
|
TARGET_DIRS_UTILS=1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
TARGET_DIRS_UTILS=1
|
||||||
|
endif
|
||||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
TARGET_DIRS_UTILS=1
|
TARGET_DIRS_UTILS=1
|
||||||
endif
|
endif
|
||||||
@ -2782,7 +2811,7 @@ $(EXENAME) : $(wildcard *.pas) $(wildcard *.inc) msg \
|
|||||||
$(wildcard systems/*.pas) $(wilcard systems/*.inc) \
|
$(wildcard systems/*.pas) $(wilcard systems/*.inc) \
|
||||||
$(wildcard $(PPC_TARGET)/*.pas) $(wildcard $(PPC_TARGET)/*.inc)
|
$(wildcard $(PPC_TARGET)/*.pas) $(wildcard $(PPC_TARGET)/*.inc)
|
||||||
ifneq ($(REVSTR),)
|
ifneq ($(REVSTR),)
|
||||||
$(ECHO) "'$(REVSTR)'" > revision.inc
|
$(ECHOREDIR) "'$(REVSTR)'" > revision.inc
|
||||||
endif
|
endif
|
||||||
$(COMPILER) pp.pas
|
$(COMPILER) pp.pas
|
||||||
$(EXECPPAS)
|
$(EXECPPAS)
|
||||||
|
@ -353,7 +353,7 @@ $(EXENAME) : $(wildcard *.pas) $(wildcard *.inc) msg \
|
|||||||
$(wildcard systems/*.pas) $(wilcard systems/*.inc) \
|
$(wildcard systems/*.pas) $(wilcard systems/*.inc) \
|
||||||
$(wildcard $(PPC_TARGET)/*.pas) $(wildcard $(PPC_TARGET)/*.inc)
|
$(wildcard $(PPC_TARGET)/*.pas) $(wildcard $(PPC_TARGET)/*.inc)
|
||||||
ifneq ($(REVSTR),)
|
ifneq ($(REVSTR),)
|
||||||
$(ECHO) "'$(REVSTR)'" > revision.inc
|
$(ECHOREDIR) "'$(REVSTR)'" > revision.inc
|
||||||
endif
|
endif
|
||||||
$(COMPILER) pp.pas
|
$(COMPILER) pp.pas
|
||||||
$(EXECPPAS)
|
$(EXECPPAS)
|
||||||
|
Loading…
Reference in New Issue
Block a user