|
@@ -1,11 +1,11 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2015-01-04 rev 29399]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2014/10/11]
|
|
|
#
|
|
|
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-dragonfly 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 aarch64-darwin
|
|
|
-BSDs = freebsd netbsd openbsd darwin dragonfly
|
|
|
-UNIXs = linux $(BSDs) solaris qnx haiku aix
|
|
|
-LIMIT83fs = go32v2 os2 emx watcom 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 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
|
|
|
+BSDs = freebsd netbsd openbsd darwin
|
|
|
+UNIXs = linux $(BSDs) solaris qnx haiku
|
|
|
+LIMIT83fs = go32v2 os2 emx watcom
|
|
|
OSNeedsComspecToRunBatch = go32v2 watcom
|
|
|
FORCE:
|
|
|
.PHONY: FORCE
|
|
@@ -180,18 +180,6 @@ 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
|
|
|
-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)),)
|
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
@@ -217,14 +205,6 @@ 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))
|
|
@@ -273,27 +253,8 @@ endif
|
|
|
ifndef BINUTILSPREFIX
|
|
|
ifndef CROSSBINDIR
|
|
|
ifdef CROSSCOMPILE
|
|
|
-ifneq ($(OS_TARGET),msdos)
|
|
|
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),mipsel)
|
|
|
-BINUTILSPREFIX=mipsel-linux-android-
|
|
|
-endif
|
|
|
-endif
|
|
|
-endif
|
|
|
-endif
|
|
|
-endif
|
|
|
-endif
|
|
|
-else
|
|
|
-BINUTILSPREFIX=$(OS_TARGET)-
|
|
|
endif
|
|
|
endif
|
|
|
endif
|
|
@@ -335,6 +296,8 @@ COMMON=$(RTL)/common
|
|
|
PROCINC=$(RTL)/$(CPU_TARGET)
|
|
|
UNITPREFIX=rtl
|
|
|
SYSTEMUNIT=system
|
|
|
+LOADERS=prt0 cprt0
|
|
|
+override [email protected]
|
|
|
ifdef RELEASE
|
|
|
override FPCOPT+=-Ur
|
|
|
endif
|
|
@@ -406,12 +369,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),i386-android)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i386-aros)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
@@ -460,9 +417,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc-aix)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
@@ -499,12 +453,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-iphonesim)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-dragonfly)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
@@ -529,9 +477,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-symbian)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-android)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
@@ -541,9 +486,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc64-aix)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),avr-embedded)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
@@ -553,30 +495,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mips-linux)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-android)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-java)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-android)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i8086-msdos)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),aarch64-darwin)
|
|
|
-override TARGET_UNITS+=$(SYSTEMUNIT) uuchar objpas macpas iso7185 strings sysutils classes math typinfo ctypes charset cpall getopts types rtlconsts sysconst lineinfo fgl
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
@@ -643,12 +564,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),i386-android)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i386-aros)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
@@ -697,9 +612,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc-aix)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
@@ -736,12 +648,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-iphonesim)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-dragonfly)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
@@ -766,9 +672,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-symbian)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-android)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
@@ -778,9 +681,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc64-aix)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),avr-embedded)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
@@ -790,266 +690,203 @@ endif
|
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mips-linux)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
|
override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-android)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-java)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-android)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i8086-msdos)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),aarch64-darwin)
|
|
|
-override TARGET_IMPLICITUNITS+=cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 cp437 cp646 cp850 cp856 cp866 cp874 cp8859_1 cp8859_5 cp8859_2 cp852
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-go32v2)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-win32)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-os2)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-freebsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-beos)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-haiku)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-netbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-solaris)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-qnx)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-netware)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-openbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-wdosx)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-darwin)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-emx)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-watcom)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-netwlibc)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-wince)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-symbian)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-nativent)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i386-android)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i386-aros)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-freebsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-netbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-amiga)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-atari)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-openbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-palmos)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),m68k-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-amiga)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-macos)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-darwin)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-morphos)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc-aix)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-netbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-solaris)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),sparc-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-netbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-solaris)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-openbsd)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-darwin)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-win64)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-iphonesim)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-dragonfly)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-darwin)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-gba)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-nds)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),arm-symbian)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),arm-android)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc64-aix)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),avr-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),armeb-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mips-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-android)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-java)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-android)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i8086-msdos)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),aarch64-darwin)
|
|
|
-override TARGET_LOADERS+=prt0 cprt0
|
|
|
+override TARGET_LOADERS+=$(LOADERS)
|
|
|
endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
@@ -1118,12 +955,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),i386-android)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i386-aros)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
@@ -1172,9 +1003,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc-aix)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
@@ -1211,12 +1039,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-iphonesim)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-dragonfly)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
@@ -1241,9 +1063,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-symbian)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-android)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
@@ -1253,9 +1072,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc64-aix)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),avr-embedded)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
@@ -1265,30 +1081,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mips-linux)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-android)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-java)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-android)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i8086-msdos)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),aarch64-darwin)
|
|
|
-override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
@@ -1355,12 +1150,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),i386-iphonesim)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),i386-android)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i386-aros)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),m68k-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
@@ -1409,9 +1198,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc-wii)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc-aix)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),sparc-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
@@ -1448,12 +1234,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-iphonesim)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),x86_64-dragonfly)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
@@ -1478,9 +1258,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-symbian)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-android)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
@@ -1490,9 +1267,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),powerpc64-aix)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),avr-embedded)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
@@ -1502,30 +1276,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mips-linux)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),mipsel-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-embedded)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),mipsel-android)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-java)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),jvm-android)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),i8086-msdos)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
-ifeq ($(FULL_TARGET),aarch64-darwin)
|
|
|
-override COMPILER_SOURCEDIR+=$(INC) $(PROCINC) $(COMMON)
|
|
|
-endif
|
|
|
ifdef REQUIRE_UNITSDIR
|
|
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
|
|
endif
|
|
@@ -1754,26 +1507,12 @@ 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=
|
|
|
HASSHAREDLIB=1
|
|
|
SHORTSUFFIX=lnx
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),dragonfly)
|
|
|
-BATCHEXT=.sh
|
|
|
-EXEEXT=
|
|
|
-HASSHAREDLIB=1
|
|
|
-SHORTSUFFIX=df
|
|
|
-endif
|
|
|
ifeq ($(OS_TARGET),freebsd)
|
|
|
BATCHEXT=.sh
|
|
|
EXEEXT=
|
|
@@ -1819,11 +1558,6 @@ EXEEXT=
|
|
|
SHAREDLIBEXT=.library
|
|
|
SHORTSUFFIX=amg
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),aros)
|
|
|
-EXEEXT=
|
|
|
-SHAREDLIBEXT=.library
|
|
|
-SHORTSUFFIX=aros
|
|
|
-endif
|
|
|
ifeq ($(OS_TARGET),morphos)
|
|
|
EXEEXT=
|
|
|
SHAREDLIBEXT=.library
|
|
@@ -1897,30 +1631,6 @@ 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
|
|
|
-ifeq ($(OS_TARGET),msdos)
|
|
|
-STATICLIBPREFIX=
|
|
|
-STATICLIBEXT=.a
|
|
|
-SHORTSUFFIX=d16
|
|
|
-endif
|
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
|
FPCMADE=fpcmade.$(SHORTSUFFIX)
|
|
|
ZIPSUFFIX=$(SHORTSUFFIX)
|
|
@@ -2110,7 +1820,6 @@ ASNAME=$(BINUTILSPREFIX)as
|
|
|
LDNAME=$(BINUTILSPREFIX)ld
|
|
|
ARNAME=$(BINUTILSPREFIX)ar
|
|
|
RCNAME=$(BINUTILSPREFIX)rc
|
|
|
-NASMNAME=$(BINUTILSPREFIX)nasm
|
|
|
ifndef ASPROG
|
|
|
ifdef CROSSBINDIR
|
|
|
ASPROG=$(CROSSBINDIR)/$(ASNAME)$(SRCEXEEXT)
|
|
@@ -2139,23 +1848,11 @@ else
|
|
|
ARPROG=$(ARNAME)
|
|
|
endif
|
|
|
endif
|
|
|
-ifndef NASMPROG
|
|
|
-ifdef CROSSBINDIR
|
|
|
-NASMPROG=$(CROSSBINDIR)/$(NASMNAME)$(SRCEXEEXT)
|
|
|
-else
|
|
|
-NASMPROG=$(NASMNAME)
|
|
|
-endif
|
|
|
-endif
|
|
|
AS=$(ASPROG)
|
|
|
LD=$(LDPROG)
|
|
|
RC=$(RCPROG)
|
|
|
AR=$(ARPROG)
|
|
|
-NASM=$(NASMPROG)
|
|
|
-ifdef inUnix
|
|
|
-PPAS=./ppas$(SRCBATCHEXT)
|
|
|
-else
|
|
|
PPAS=ppas$(SRCBATCHEXT)
|
|
|
-endif
|
|
|
ifdef inUnix
|
|
|
LDCONFIG=ldconfig
|
|
|
else
|
|
@@ -2287,12 +1984,17 @@ endif
|
|
|
endif
|
|
|
ifdef CREATESHARED
|
|
|
override FPCOPT+=-Cg
|
|
|
+ifeq ($(CPU_TARGET),i386)
|
|
|
+override FPCOPT+=-Aas
|
|
|
endif
|
|
|
-ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
|
|
|
-ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),)
|
|
|
+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
|
|
@@ -2317,24 +2019,18 @@ endif
|
|
|
ifdef ACROSSCOMPILE
|
|
|
override FPCOPT+=$(CROSSOPT)
|
|
|
endif
|
|
|
-override COMPILER:=$(strip $(FPC) $(FPCOPT))
|
|
|
-ifneq (,$(findstring -sh ,$(COMPILER)))
|
|
|
-UseEXECPPAS=1
|
|
|
-endif
|
|
|
-ifneq (,$(findstring -s ,$(COMPILER)))
|
|
|
-ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
-UseEXECPPAS=1
|
|
|
-endif
|
|
|
-endif
|
|
|
-ifneq ($(UseEXECPPAS),1)
|
|
|
+override COMPILER:=$(FPC) $(FPCOPT)
|
|
|
+ifeq (,$(findstring -s ,$(COMPILER)))
|
|
|
EXECPPAS=
|
|
|
else
|
|
|
+ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
ifdef RUNBATCH
|
|
|
EXECPPAS:=@$(RUNBATCH) $(PPAS)
|
|
|
else
|
|
|
EXECPPAS:=@$(PPAS)
|
|
|
endif
|
|
|
endif
|
|
|
+endif
|
|
|
.PHONY: fpc_loaders
|
|
|
ifneq ($(TARGET_LOADERS),)
|
|
|
override ALLTARGET+=fpc_loaders
|
|
@@ -2770,8 +2466,6 @@ fgl$(PPUEXT): $(OBJPASDIR)/fgl.pp objpas$(PPUEXT) types$(PPUEXT) system$(PPUEXT)
|
|
|
$(COMPILER) -Sg $(OBJPASDIR)/fgl.pp $(REDIR)
|
|
|
macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT)
|
|
|
$(COMPILER) $(INC)/macpas.pp $(REDIR)
|
|
|
-ucomplex$(PPUEXT): $(INC)/ucomplex.pp math$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
- $(COMPILER) $(INC)/ucomplex.pp
|
|
|
getopts$(PPUEXT) : $(INC)/getopts.pp $(SYSTEMUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $(INC)/getopts.pp
|
|
|
heaptrc$(PPUEXT) : $(INC)/heaptrc.pp $(SYSTEMUNIT)$(PPUEXT)
|