|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2005/09/25]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2005/12/04]
|
|
|
#
|
|
|
default: all
|
|
|
-MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-wince
|
|
|
+MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-wince powerpc64-linux
|
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
|
UNIXs = linux $(BSDs) solaris qnx
|
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
@@ -340,6 +340,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_UNITS+=x xlib xutil xresource xcms xshm xrender keysym xi xkb xkblib xatom xinerama xv xvlib cursorfont xrandr
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override TARGET_UNITS+=x xlib xutil xresource xcms xshm xrender keysym xi xkb xkblib xatom xinerama xv xvlib cursorfont xrandr
|
|
|
+endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
ifdef REQUIRE_UNITSDIR
|
|
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
|
@@ -543,6 +546,11 @@ GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
|
|
|
endif
|
|
|
endif
|
|
|
endif
|
|
|
+ifeq ($(CPU_TARGET),powerpc64)
|
|
|
+ifeq ($(BINUTILSPREFIX),)
|
|
|
+GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
|
|
|
+endif
|
|
|
+endif
|
|
|
endif
|
|
|
ifndef GCCLIBDIR
|
|
|
CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
|
|
@@ -1204,6 +1212,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-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),)
|
|
@@ -1274,7 +1285,7 @@ ifeq ($(CPU_TARGET),i386)
|
|
|
FPCCPUOPT:=-OG2p3
|
|
|
else
|
|
|
ifeq ($(CPU_TARGET),powerpc)
|
|
|
-FPCCPUOPT:=-O1
|
|
|
+FPCCPUOPT:=-O1r
|
|
|
else
|
|
|
FPCCPUOPT:=
|
|
|
endif
|
|
@@ -1357,6 +1368,14 @@ override FPCEXTCMD:=$(FPCOPT)
|
|
|
override FPCOPT:=!FPCEXTCMD
|
|
|
export FPCEXTCMD
|
|
|
endif
|
|
|
+override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
|
|
|
+override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
|
|
|
+ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
|
|
|
+override ACROSSCOMPILE=1
|
|
|
+endif
|
|
|
+ifdef ACROSSCOMPILE
|
|
|
+override FPCOPT+=$(CROSSOPT)
|
|
|
+endif
|
|
|
override COMPILER:=$(FPC) $(FPCOPT)
|
|
|
ifeq (,$(findstring -s ,$(COMPILER)))
|
|
|
EXECPPAS=
|