|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2017-04-18 rev 35825]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2017/05/30]
|
|
|
#
|
|
|
default: all
|
|
|
-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 i386-aros 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 x86_64-iphonesim x86_64-aros x86_64-dragonfly arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-darwin wasm-wasm
|
|
|
+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 i386-aros 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 x86_64-iphonesim x86_64-aros x86_64-dragonfly arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android arm-aros powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16 aarch64-linux aarch64-darwin wasm-wasm sparc64-linux
|
|
|
BSDs = freebsd netbsd openbsd darwin dragonfly
|
|
|
UNIXs = linux $(BSDs) solaris qnx haiku aix
|
|
|
LIMIT83fs = go32v2 os2 emx watcom msdos win16
|
|
@@ -334,7 +334,7 @@ endif
|
|
|
override PACKAGE_NAME=compiler
|
|
|
override PACKAGE_VERSION=3.1.1
|
|
|
unexport FPC_VERSION FPC_COMPILERINFO
|
|
|
-CYCLETARGETS=i386 powerpc sparc arm x86_64 powerpc64 m68k armeb mipsel mips avr jvm i8086 aarch64
|
|
|
+CYCLETARGETS=i386 powerpc sparc arm x86_64 powerpc64 m68k armeb mipsel mips avr jvm i8086 aarch64 sparc64
|
|
|
ALLTARGETS=$(CYCLETARGETS)
|
|
|
ifdef POWERPC
|
|
|
PPC_TARGET=powerpc
|
|
@@ -345,6 +345,9 @@ endif
|
|
|
ifdef SPARC
|
|
|
PPC_TARGET=sparc
|
|
|
endif
|
|
|
+ifdef SPARC64
|
|
|
+PPC_TARGET=sparc64
|
|
|
+endif
|
|
|
ifdef M68K
|
|
|
PPC_TARGET=m68k
|
|
|
endif
|
|
@@ -452,6 +455,9 @@ endif
|
|
|
ifeq ($(CPC_TARGET),sparc)
|
|
|
CPUSUF=sparc
|
|
|
endif
|
|
|
+ifeq ($(CPC_TARGET),sparc64)
|
|
|
+CPUSUF=sparc64
|
|
|
+endif
|
|
|
ifeq ($(CPC_TARGET),x86_64)
|
|
|
CPUSUF=x64
|
|
|
endif
|
|
@@ -521,7 +527,10 @@ ifeq ($(PPC_TARGET),m68k)
|
|
|
override LOCALOPT+=
|
|
|
endif
|
|
|
ifeq ($(PPC_TARGET),sparc)
|
|
|
-override LOCALOPT+=
|
|
|
+override LOCALOPT+=-Fusparcgen
|
|
|
+endif
|
|
|
+ifeq ($(PPC_TARGET),sparc64)
|
|
|
+override LOCALOPT+=-Fusparcgen
|
|
|
endif
|
|
|
ifeq ($(PPC_TARGET),arm)
|
|
|
override LOCALOPT+=
|
|
@@ -818,6 +827,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
override TARGET_DIRS+=utils
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+override TARGET_DIRS+=utils
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override TARGET_PROGRAMS+=pp
|
|
|
endif
|
|
@@ -1073,6 +1085,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
override TARGET_PROGRAMS+=pp
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+override TARGET_PROGRAMS+=pp
|
|
|
+endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(CPC_TARGET)
|
|
@@ -1329,6 +1344,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
override COMPILER_INCLUDEDIR+=$(CPC_TARGET)
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+override COMPILER_INCLUDEDIR+=$(CPC_TARGET)
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
|
|
endif
|
|
@@ -1584,6 +1602,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_TARGETDIR+=.
|
|
|
endif
|
|
@@ -1839,6 +1860,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
override COMPILER_TARGETDIR+=.
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+override COMPILER_TARGETDIR+=.
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
|
|
endif
|
|
@@ -2094,6 +2118,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+override COMPILER_UNITTARGETDIR+=$(CPU_UNITDIR)/units/$(FULL_TARGET)
|
|
|
+endif
|
|
|
ifdef REQUIRE_UNITSDIR
|
|
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
|
|
endif
|
|
@@ -3014,6 +3041,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
+endif
|
|
|
ifdef REQUIRE_PACKAGES_RTL
|
|
|
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
|
|
|
ifneq ($(PACKAGEDIR_RTL),)
|
|
@@ -3910,6 +3940,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),wasm-wasm)
|
|
|
TARGET_DIRS_UTILS=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),sparc64-linux)
|
|
|
+TARGET_DIRS_UTILS=1
|
|
|
+endif
|
|
|
ifdef TARGET_DIRS_UTILS
|
|
|
utils_all:
|
|
|
$(MAKE) -C utils all
|
|
@@ -4038,7 +4071,7 @@ INSTALLEXEFILE=$(PPCROSSNAME)
|
|
|
else
|
|
|
INSTALLEXEFILE=$(EXENAME)
|
|
|
endif
|
|
|
-PPC_TARGETS=i386 m68k powerpc sparc arm armeb x86_64 powerpc64 mips mipsel avr jvm i8086 aarch64
|
|
|
+PPC_TARGETS=i386 m68k powerpc sparc arm armeb x86_64 powerpc64 mips mipsel avr jvm i8086 aarch64 sparc64
|
|
|
INSTALL_TARGETS=$(addsuffix _exe_install,$(sort $(CYCLETARGETS) $(PPC_TARGETS)))
|
|
|
SYMLINKINSTALL_TARGETS=$(addsuffix _symlink_install,$(sort $(CYCLETARGETS) $(PPC_TARGETS)))
|
|
|
.PHONY: $(PPC_TARGETS) $(INSTALL_TARGETS)$(SYMLINKINSTALL_TARGETS)
|
|
@@ -4117,9 +4150,14 @@ regdatx86 : x86/x86reg.dat
|
|
|
regdatarm : arm/armreg.dat
|
|
|
$(COMPILER) -FE$(COMPILERUTILSDIR) $(COMPILERUTILSDIR)/mkarmreg.pp
|
|
|
cd arm && ..$(PATHSEP)utils$(PATHSEP)mkarmreg$(SRCEXEEXT)
|
|
|
-regdatsp : sparc/spreg.dat
|
|
|
+regdatsp : sparcgen/spreg.dat
|
|
|
+ $(COMPILER) -FE$(COMPILERUTILSDIR) $(COMPILERUTILSDIR)/mkspreg.pp
|
|
|
+ cd sparcgen && ..$(PATHSEP)utils$(PATHSEP)mkspreg$(SRCEXEEXT)
|
|
|
+ mv -f sparcgen/rsp*.inc sparc
|
|
|
+regdatsp64 : sparcgen/spreg.dat
|
|
|
$(COMPILER) -FE$(COMPILERUTILSDIR) $(COMPILERUTILSDIR)/mkspreg.pp
|
|
|
- cd sparc && ..$(PATHSEP)utils$(PATHSEP)mkspreg$(SRCEXEEXT)
|
|
|
+ cd sparcgen && ..$(PATHSEP)utils$(PATHSEP)mkspreg$(SRCEXEEXT) sparc64
|
|
|
+ mv -f sparcgen/rsp*.inc sparc64
|
|
|
regdatavr : avr/avrreg.dat
|
|
|
$(COMPILER) -FE$(COMPILERUTILSDIR) $(COMPILERUTILSDIR)/mkavrreg.pp
|
|
|
cd avr && ..$(PATHSEP)utils$(PATHSEP)mkavrreg$(SRCEXEEXT)
|
|
@@ -4129,7 +4167,7 @@ regdataarch64 : aarch64/a64reg.dat
|
|
|
regdatmips : mips/mipsreg.dat
|
|
|
$(COMPILER) -FE$(COMPILERUTILSDIR) $(COMPILERUTILSDIR)/mkmpsreg.pp
|
|
|
cd mips && ..$(PATHSEP)utils$(PATHSEP)mkmpsreg$(SRCEXEEXT)
|
|
|
-regdat : regdatx86 regdatarm regdatsp regdatavr regdataarch64 regdatmips
|
|
|
+regdat : regdatx86 regdatarm regdatsp regdatavr regdataarch64 regdatmips regdatsp64
|
|
|
revision.inc :
|
|
|
ifneq ($(REVSTR),)
|
|
|
ifdef USEZIPWRAPPER
|
|
@@ -4266,7 +4304,7 @@ cvstest:
|
|
|
ifeq ($(OS_SOURCE),win64)
|
|
|
EXCLUDE_80BIT_TARGETS=1
|
|
|
endif
|
|
|
-ifneq ($(findstring $(CPU_SOURCE),aarch64 arm avr jvm m68k mips mipsel powerpc powerpc64 sparc),)
|
|
|
+ifneq ($(findstring $(CPU_SOURCE),aarch64 arm avr jvm m68k mips mipsel powerpc powerpc64 sparc sparc64),)
|
|
|
EXCLUDE_80BIT_TARGETS=1
|
|
|
endif
|
|
|
full: fullcycle
|