|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/02/06]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/04/07]
|
|
|
#
|
|
|
default: allexectests
|
|
|
-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-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 powerpc64-linux
|
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
|
UNIXs = linux $(BSDs) solaris qnx
|
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
@@ -871,12 +871,17 @@ endif
|
|
|
endif
|
|
|
export ZIPPROG
|
|
|
ifndef TARPROG
|
|
|
+TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
|
|
|
+ifeq ($(TARPROG),)
|
|
|
TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
|
|
|
ifeq ($(TARPROG),)
|
|
|
TARPROG= __missing_command_TARPROG
|
|
|
else
|
|
|
TARPROG:=$(firstword $(TARPROG))
|
|
|
endif
|
|
|
+else
|
|
|
+TARPROG:=$(firstword $(TARPROG))
|
|
|
+endif
|
|
|
endif
|
|
|
export TARPROG
|
|
|
ASNAME=$(BINUTILSPREFIX)as
|
|
@@ -1003,14 +1008,15 @@ override FPCOPT+=-gl
|
|
|
override FPCOPTDEF+=DEBUG
|
|
|
endif
|
|
|
ifdef RELEASE
|
|
|
+ifneq ($(findstring 2.0.,$(FPC_VERSION)),)
|
|
|
ifeq ($(CPU_TARGET),i386)
|
|
|
FPCCPUOPT:=-OG2p3
|
|
|
-else
|
|
|
+endif
|
|
|
ifeq ($(CPU_TARGET),powerpc)
|
|
|
FPCCPUOPT:=-O1r
|
|
|
-else
|
|
|
-FPCCPUOPT:=
|
|
|
endif
|
|
|
+else
|
|
|
+FPCCPUOPT:=-O2
|
|
|
endif
|
|
|
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
|
|
|
override FPCOPTDEF+=RELEASE
|
|
@@ -1019,9 +1025,7 @@ ifdef STRIP
|
|
|
override FPCOPT+=-Xs
|
|
|
endif
|
|
|
ifdef OPTIMIZE
|
|
|
-ifeq ($(CPU_TARGET),i386)
|
|
|
-override FPCOPT+=-OG2p3
|
|
|
-endif
|
|
|
+override FPCOPT+=-O2
|
|
|
endif
|
|
|
ifdef VERBOSE
|
|
|
override FPCOPT+=-vwni
|
|
@@ -1065,11 +1069,6 @@ override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
|
|
|
override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
|
|
|
endif
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),linux)
|
|
|
-ifeq ($(FPC_VERSION),1.0.6)
|
|
|
-override FPCOPTDEF+=HASUNIX
|
|
|
-endif
|
|
|
-endif
|
|
|
ifdef CREATESHARED
|
|
|
override FPCOPT+=-Cg
|
|
|
ifeq ($(CPU_TARGET),i386)
|
|
@@ -1394,6 +1393,7 @@ copyfiles: $(TEST_OUTPUTDIR)
|
|
|
$(COPY) test/cg/obj/$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)/ctest.o test/cg
|
|
|
$(COPY) test/cg/obj/$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)/tcext3.o test/cg
|
|
|
$(COPY) test/cg/obj/$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)/tcext4.o test/cg
|
|
|
+ $(COPY) test/cg/obj/$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)/tcext5.o test/cg
|
|
|
-$(MKDIRTREE) $(TEST_OUTPUTDIR)/test/units/system
|
|
|
$(COPY) test/units/system/test*.txt $(TEST_OUTPUTDIR)/test/units/system
|
|
|
testprep: testprep-stamp.$(TEST_FULL_TARGET)
|