|
@@ -1,10 +1,10 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2013/01/27]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2013-03-25 rev 23995]
|
|
|
#
|
|
|
default: allexectests
|
|
|
-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-netbsd 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 mipsel-linux
|
|
|
+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 i386-android 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 powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-netbsd 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 arm-android powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux jvm-java jvm-android
|
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
|
-UNIXs = linux $(BSDs) solaris qnx haiku
|
|
|
+UNIXs = linux $(BSDs) solaris qnx haiku aix
|
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
|
OSNeedsComspecToRunBatch = go32v2 watcom
|
|
|
FORCE:
|
|
@@ -178,6 +178,12 @@ else
|
|
|
ARCH=$(CPU_TARGET)
|
|
|
endif
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),arm-embedded)
|
|
|
+ifeq ($(SUBARCH),)
|
|
|
+$(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t or SUBARCH=armv7m) must be defined)
|
|
|
+endif
|
|
|
+override FPCOPT+=-Cp$(SUBARCH)
|
|
|
+endif
|
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
@@ -203,6 +209,14 @@ endif
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
linuxHier=1
|
|
|
endif
|
|
|
+ifndef CROSSCOMPILE
|
|
|
+BUILDFULLNATIVE=1
|
|
|
+export BUILDFULLNATIVE
|
|
|
+endif
|
|
|
+ifdef BUILDFULLNATIVE
|
|
|
+BUILDNATIVE=1
|
|
|
+export BUILDNATIVE
|
|
|
+endif
|
|
|
export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE
|
|
|
ifdef FPCDIR
|
|
|
override FPCDIR:=$(subst \,/,$(FPCDIR))
|
|
@@ -252,7 +266,22 @@ ifndef BINUTILSPREFIX
|
|
|
ifndef CROSSBINDIR
|
|
|
ifdef CROSSCOMPILE
|
|
|
ifndef DARWIN2DARWIN
|
|
|
+ifneq ($(CPU_TARGET),jvm)
|
|
|
BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
|
|
|
+ifeq ($(OS_TARGET),android)
|
|
|
+ifeq ($(CPU_TARGET),arm)
|
|
|
+BINUTILSPREFIX=arm-linux-androideabi-
|
|
|
+else
|
|
|
+ifeq ($(CPU_TARGET),i386)
|
|
|
+BINUTILSPREFIX=i686-linux-android-
|
|
|
+else
|
|
|
+ifeq ($(CPU_TARGET),mips)
|
|
|
+BINUTILSPREFIX=mipsel-linux-android-
|
|
|
+endif
|
|
|
+endif
|
|
|
+endif
|
|
|
+endif
|
|
|
+endif
|
|
|
endif
|
|
|
endif
|
|
|
endif
|
|
@@ -515,6 +544,14 @@ SHAREDLIBEXT=.dll
|
|
|
SHORTSUFFIX=wat
|
|
|
IMPORTLIBPREFIX=
|
|
|
endif
|
|
|
+ifneq ($(CPU_TARGET),jvm)
|
|
|
+ifeq ($(OS_TARGET),android)
|
|
|
+BATCHEXT=.sh
|
|
|
+EXEEXT=
|
|
|
+HASSHAREDLIB=1
|
|
|
+SHORTSUFFIX=lnx
|
|
|
+endif
|
|
|
+endif
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
BATCHEXT=.sh
|
|
|
EXEEXT=
|
|
@@ -639,6 +676,25 @@ EXEEXT=.dol
|
|
|
SHAREDLIBEXT=.so
|
|
|
SHORTSUFFIX=wii
|
|
|
endif
|
|
|
+ifeq ($(OS_TARGET),aix)
|
|
|
+BATCHEXT=.sh
|
|
|
+EXEEXT=
|
|
|
+SHORTSUFFIX=aix
|
|
|
+endif
|
|
|
+ifeq ($(OS_TARGET),java)
|
|
|
+OEXT=.class
|
|
|
+ASMEXT=.j
|
|
|
+SHAREDLIBEXT=.jar
|
|
|
+SHORTSUFFIX=java
|
|
|
+endif
|
|
|
+ifeq ($(CPU_TARGET),jvm)
|
|
|
+ifeq ($(OS_TARGET),android)
|
|
|
+OEXT=.class
|
|
|
+ASMEXT=.j
|
|
|
+SHAREDLIBEXT=.jar
|
|
|
+SHORTSUFFIX=android
|
|
|
+endif
|
|
|
+endif
|
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
|
FPCMADE=fpcmade.$(SHORTSUFFIX)
|
|
|
ZIPSUFFIX=$(SHORTSUFFIX)
|
|
@@ -860,7 +916,11 @@ AS=$(ASPROG)
|
|
|
LD=$(LDPROG)
|
|
|
RC=$(RCPROG)
|
|
|
AR=$(ARPROG)
|
|
|
+ifdef inUnix
|
|
|
+PPAS=./ppas$(SRCBATCHEXT)
|
|
|
+else
|
|
|
PPAS=ppas$(SRCBATCHEXT)
|
|
|
+endif
|
|
|
ifdef inUnix
|
|
|
LDCONFIG=ldconfig
|
|
|
else
|
|
@@ -992,17 +1052,12 @@ endif
|
|
|
endif
|
|
|
ifdef CREATESHARED
|
|
|
override FPCOPT+=-Cg
|
|
|
-ifeq ($(CPU_TARGET),i386)
|
|
|
-override FPCOPT+=-Aas
|
|
|
-endif
|
|
|
endif
|
|
|
-ifeq ($(findstring 2.0.,$(FPC_VERSION)),)
|
|
|
ifneq ($(findstring $(OS_TARGET),freebsd openbsd netbsd linux solaris),)
|
|
|
ifeq ($(CPU_TARGET),x86_64)
|
|
|
override FPCOPT+=-Cg
|
|
|
endif
|
|
|
endif
|
|
|
-endif
|
|
|
ifdef LINKSHARED
|
|
|
endif
|
|
|
ifdef OPT
|
|
@@ -1340,7 +1395,7 @@ endif
|
|
|
ifndef LOG
|
|
|
export LOG:=$(TEST_OUTPUTDIR)/log
|
|
|
endif
|
|
|
-TESTSUBDIRS=cg cg/variants cg/cdecl library opt units/system units/dos units/crt units/objects units/strings units/sysutils units/math units/sharemem units/strutils units/matrix
|
|
|
+TESTSUBDIRS=cg cg/variants cg/cdecl library opt units/system units/dos units/crt units/objects units/strings units/sysutils units/math units/sharemem units/strutils units/matrix units/ucomplex
|
|
|
TESTPACKAGESUBDIRS=packages/win-base packages/webtbs packages/hash packages/fcl-registry packages/fcl-process packages/zlib packages/fcl-db packages/fcl-base packages/fcl-xml packages/cocoaint packages/bzip2
|
|
|
ifdef QUICKTEST
|
|
|
export QUICKTEST
|