|
@@ -1,8 +1,8 @@
|
|
#
|
|
#
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2012/04/25]
|
|
|
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2012/07/11]
|
|
#
|
|
#
|
|
default: all
|
|
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 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 powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux 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 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 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
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
UNIXs = linux $(BSDs) solaris qnx haiku aix
|
|
UNIXs = linux $(BSDs) solaris qnx haiku aix
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
@@ -258,11 +258,13 @@ ifndef BINUTILSPREFIX
|
|
ifndef CROSSBINDIR
|
|
ifndef CROSSBINDIR
|
|
ifdef CROSSCOMPILE
|
|
ifdef CROSSCOMPILE
|
|
ifndef DARWIN2DARWIN
|
|
ifndef DARWIN2DARWIN
|
|
|
|
+ifneq ($(CPU_TARGET),jvm)
|
|
BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
|
|
BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
+endif
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(TARGETSUFFIX))
|
|
ifeq ($(UNITSDIR),)
|
|
ifeq ($(UNITSDIR),)
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
@@ -319,6 +321,9 @@ endif
|
|
ifeq ($(PPC_TARGET),powerpc64)
|
|
ifeq ($(PPC_TARGET),powerpc64)
|
|
override FPCOPT+= -Fu$(COMPILERDIR)/ppcgen
|
|
override FPCOPT+= -Fu$(COMPILERDIR)/ppcgen
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(PPC_TARGET),mipsel)
|
|
|
|
+override FPCOPT+= -Fu$(COMPILERDIR)/mips
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
override TARGET_UNITS+=compunit
|
|
override TARGET_UNITS+=compunit
|
|
endif
|
|
endif
|
|
@@ -523,6 +528,12 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
override TARGET_UNITS+=compunit
|
|
override TARGET_UNITS+=compunit
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-java)
|
|
|
|
+override TARGET_UNITS+=compunit
|
|
|
|
+endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-android)
|
|
|
|
+override TARGET_UNITS+=compunit
|
|
|
|
+endif
|
|
override INSTALL_FPCPACKAGE=y
|
|
override INSTALL_FPCPACKAGE=y
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
@@ -728,6 +739,12 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-java)
|
|
|
|
+override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
|
|
+endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-android)
|
|
|
|
+override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
endif
|
|
endif
|
|
@@ -932,6 +949,12 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-java)
|
|
|
|
+override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
|
|
+endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-android)
|
|
|
|
+override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
endif
|
|
endif
|
|
@@ -1136,6 +1159,12 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-java)
|
|
|
|
+override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
|
|
+endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-android)
|
|
|
|
+override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
|
|
+endif
|
|
ifdef REQUIRE_UNITSDIR
|
|
ifdef REQUIRE_UNITSDIR
|
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
|
endif
|
|
endif
|
|
@@ -1493,6 +1522,18 @@ BATCHEXT=.sh
|
|
EXEEXT=
|
|
EXEEXT=
|
|
SHORTSUFFIX=aix
|
|
SHORTSUFFIX=aix
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(OS_TARGET),java)
|
|
|
|
+OEXT=.class
|
|
|
|
+ASMEXT=.j
|
|
|
|
+SHAREDLIBEXT=.jar
|
|
|
|
+SHORTSUFFIX=java
|
|
|
|
+endif
|
|
|
|
+ifeq ($(OS_TARGET),android)
|
|
|
|
+OEXT=.class
|
|
|
|
+ASMEXT=.j
|
|
|
|
+SHAREDLIBEXT=.jar
|
|
|
|
+SHORTSUFFIX=android
|
|
|
|
+endif
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
FPCMADE=fpcmade.$(SHORTSUFFIX)
|
|
FPCMADE=fpcmade.$(SHORTSUFFIX)
|
|
ZIPSUFFIX=$(SHORTSUFFIX)
|
|
ZIPSUFFIX=$(SHORTSUFFIX)
|
|
@@ -1939,6 +1980,12 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-java)
|
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
|
+endif
|
|
|
|
+ifeq ($(FULL_TARGET),jvm-android)
|
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
|
+endif
|
|
ifdef REQUIRE_PACKAGES_RTL
|
|
ifdef REQUIRE_PACKAGES_RTL
|
|
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
|
|
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
|
|
ifneq ($(PACKAGEDIR_RTL),)
|
|
ifneq ($(PACKAGEDIR_RTL),)
|
|
@@ -2089,17 +2136,12 @@ endif
|
|
endif
|
|
endif
|
|
ifdef CREATESHARED
|
|
ifdef CREATESHARED
|
|
override FPCOPT+=-Cg
|
|
override FPCOPT+=-Cg
|
|
-ifeq ($(CPU_TARGET),i386)
|
|
|
|
-override FPCOPT+=-Aas
|
|
|
|
-endif
|
|
|
|
endif
|
|
endif
|
|
-ifeq ($(findstring 2.0.,$(FPC_VERSION)),)
|
|
|
|
ifneq ($(findstring $(OS_TARGET),freebsd openbsd netbsd linux solaris),)
|
|
ifneq ($(findstring $(OS_TARGET),freebsd openbsd netbsd linux solaris),)
|
|
ifeq ($(CPU_TARGET),x86_64)
|
|
ifeq ($(CPU_TARGET),x86_64)
|
|
override FPCOPT+=-Cg
|
|
override FPCOPT+=-Cg
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
-endif
|
|
|
|
ifdef LINKSHARED
|
|
ifdef LINKSHARED
|
|
endif
|
|
endif
|
|
ifdef OPT
|
|
ifdef OPT
|