|
@@ -1,8 +1,8 @@
|
|
#
|
|
#
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2014-02-06 rev 26692]
|
|
|
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2014-08-17 rev 28432]
|
|
#
|
|
#
|
|
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 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 mipsel-android jvm-java jvm-android i8086-msdos
|
|
|
|
|
|
+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 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 mipsel-embedded mipsel-android jvm-java jvm-android i8086-msdos
|
|
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 msdos
|
|
LIMIT83fs = go32v2 os2 emx watcom msdos
|
|
@@ -184,6 +184,12 @@ $(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=armv4t
|
|
endif
|
|
endif
|
|
override FPCOPT+=-Cp$(SUBARCH)
|
|
override FPCOPT+=-Cp$(SUBARCH)
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
|
+ifeq ($(SUBARCH),)
|
|
|
|
+$(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic32mx) must be defined)
|
|
|
|
+endif
|
|
|
|
+override FPCOPT+=-Cp$(SUBARCH)
|
|
|
|
+endif
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
@@ -418,6 +424,9 @@ endif
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
override TARGET_UNITS+=compunit
|
|
override TARGET_UNITS+=compunit
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),i386-aros)
|
|
|
|
+override TARGET_UNITS+=compunit
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
override TARGET_UNITS+=compunit
|
|
override TARGET_UNITS+=compunit
|
|
endif
|
|
endif
|
|
@@ -559,6 +568,9 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
override TARGET_UNITS+=compunit
|
|
override TARGET_UNITS+=compunit
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
|
+override TARGET_UNITS+=compunit
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
override TARGET_UNITS+=compunit
|
|
override TARGET_UNITS+=compunit
|
|
endif
|
|
endif
|
|
@@ -641,6 +653,9 @@ endif
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),i386-aros)
|
|
|
|
+override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
endif
|
|
endif
|
|
@@ -782,6 +797,9 @@ 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),mipsel-embedded)
|
|
|
|
+override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
override COMPILER_OPTIONS+=-Ur -dNOCATCH
|
|
endif
|
|
endif
|
|
@@ -863,6 +881,9 @@ endif
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),i386-aros)
|
|
|
|
+override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
endif
|
|
endif
|
|
@@ -1004,6 +1025,9 @@ 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),mipsel-embedded)
|
|
|
|
+override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET)
|
|
endif
|
|
endif
|
|
@@ -1085,6 +1109,9 @@ endif
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
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),i386-aros)
|
|
|
|
+override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
ifeq ($(FULL_TARGET),m68k-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
|
|
@@ -1226,6 +1253,9 @@ 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),mipsel-embedded)
|
|
|
|
+override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(PPC_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
|
|
endif
|
|
endif
|
|
@@ -1525,6 +1555,11 @@ EXEEXT=
|
|
SHAREDLIBEXT=.library
|
|
SHAREDLIBEXT=.library
|
|
SHORTSUFFIX=amg
|
|
SHORTSUFFIX=amg
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(OS_TARGET),aros)
|
|
|
|
+EXEEXT=
|
|
|
|
+SHAREDLIBEXT=.library
|
|
|
|
+SHORTSUFFIX=aros
|
|
|
|
+endif
|
|
ifeq ($(OS_TARGET),morphos)
|
|
ifeq ($(OS_TARGET),morphos)
|
|
EXEEXT=
|
|
EXEEXT=
|
|
SHAREDLIBEXT=.library
|
|
SHAREDLIBEXT=.library
|
|
@@ -1946,6 +1981,9 @@ endif
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
ifeq ($(FULL_TARGET),i386-android)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),i386-aros)
|
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
@@ -2087,6 +2125,9 @@ endif
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
ifeq ($(FULL_TARGET),mipsel-android)
|
|
REQUIRE_PACKAGES_RTL=1
|
|
REQUIRE_PACKAGES_RTL=1
|
|
endif
|
|
endif
|
|
@@ -2280,17 +2321,23 @@ ifdef ACROSSCOMPILE
|
|
override FPCOPT+=$(CROSSOPT)
|
|
override FPCOPT+=$(CROSSOPT)
|
|
endif
|
|
endif
|
|
override COMPILER:=$(strip $(FPC) $(FPCOPT))
|
|
override COMPILER:=$(strip $(FPC) $(FPCOPT))
|
|
-ifeq (,$(findstring -s ,$(COMPILER)))
|
|
|
|
|
|
+ifneq (,$(findstring -sh ,$(COMPILER)))
|
|
|
|
+UseEXECPPAS=1
|
|
|
|
+endif
|
|
|
|
+ifneq (,$(findstring -s ,$(COMPILER)))
|
|
|
|
+ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
|
+UseEXECPPAS=1
|
|
|
|
+endif
|
|
|
|
+endif
|
|
|
|
+ifneq ($(UseEXECPPAS),1)
|
|
EXECPPAS=
|
|
EXECPPAS=
|
|
else
|
|
else
|
|
-ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
|
ifdef RUNBATCH
|
|
ifdef RUNBATCH
|
|
EXECPPAS:=@$(RUNBATCH) $(PPAS)
|
|
EXECPPAS:=@$(RUNBATCH) $(PPAS)
|
|
else
|
|
else
|
|
EXECPPAS:=@$(PPAS)
|
|
EXECPPAS:=@$(PPAS)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
-endif
|
|
|
|
.PHONY: fpc_units
|
|
.PHONY: fpc_units
|
|
ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
|
|
ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
|
|
override ALLTARGET+=fpc_units
|
|
override ALLTARGET+=fpc_units
|