|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2005/08/15]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2005/10/20]
|
|
|
#
|
|
|
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
|
|
@@ -343,6 +343,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_DIRS+=xml image db shedit passrc net fpcunit
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override TARGET_UNITS+=$(CLASSES10) contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex process resolve ssockets fpasync syncobjs simpleipc msgintf dbugintf
|
|
|
endif
|
|
@@ -451,6 +454,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_UNITS+=$(CLASSES10) contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override TARGET_UNITS+=$(CLASSES10) contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex process resolve ssockets fpasync syncobjs simpleipc msgintf dbugintf
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
|
|
|
endif
|
|
@@ -559,6 +565,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override TARGET_EXAMPLEDIRS+=tests
|
|
|
endif
|
|
@@ -667,6 +676,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_EXAMPLEDIRS+=tests
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override TARGET_EXAMPLEDIRS+=tests
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads streamio
|
|
|
endif
|
|
@@ -775,6 +787,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads streamio
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads streamio
|
|
|
+endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_OPTIONS+=-S2
|
|
@@ -884,6 +899,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override COMPILER_OPTIONS+=-S2
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override COMPILER_OPTIONS+=-S2
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc unix
|
|
|
endif
|
|
@@ -992,6 +1010,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc unix
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
|
|
endif
|
|
@@ -1100,6 +1121,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
|
|
+endif
|
|
|
ifdef REQUIRE_UNITSDIR
|
|
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
|
|
endif
|
|
@@ -2185,6 +2209,18 @@ REQUIRE_PACKAGES_PASJPEG=1
|
|
|
REQUIRE_PACKAGES_NETDB=1
|
|
|
REQUIRE_PACKAGES_LIBASYNC=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+REQUIRE_PACKAGES_RTL=1
|
|
|
+REQUIRE_PACKAGES_PASZLIB=1
|
|
|
+REQUIRE_PACKAGES_NETDB=1
|
|
|
+REQUIRE_PACKAGES_LIBASYNC=1
|
|
|
+REQUIRE_PACKAGES_PTHREADS=1
|
|
|
+REQUIRE_PACKAGES_PASJPEG=1
|
|
|
+REQUIRE_PACKAGES_IBASE=1
|
|
|
+REQUIRE_PACKAGES_POSTGRES=1
|
|
|
+REQUIRE_PACKAGES_MYSQL=1
|
|
|
+REQUIRE_PACKAGES_SQLITE=1
|
|
|
+endif
|
|
|
ifdef REQUIRE_PACKAGES_RTL
|
|
|
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
|
|
|
ifneq ($(PACKAGEDIR_RTL),)
|
|
@@ -2489,7 +2525,7 @@ ifeq ($(CPU_TARGET),i386)
|
|
|
FPCCPUOPT:=-OG2p3
|
|
|
else
|
|
|
ifeq ($(CPU_TARGET),powerpc)
|
|
|
-FPCCPUOPT:=-O1
|
|
|
+FPCCPUOPT:=-O1r
|
|
|
else
|
|
|
FPCCPUOPT:=
|
|
|
endif
|
|
@@ -3301,6 +3337,15 @@ TARGET_DIRS_PASSRC=1
|
|
|
TARGET_DIRS_NET=1
|
|
|
TARGET_DIRS_FPCUNIT=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+TARGET_DIRS_XML=1
|
|
|
+TARGET_DIRS_IMAGE=1
|
|
|
+TARGET_DIRS_DB=1
|
|
|
+TARGET_DIRS_SHEDIT=1
|
|
|
+TARGET_DIRS_PASSRC=1
|
|
|
+TARGET_DIRS_NET=1
|
|
|
+TARGET_DIRS_FPCUNIT=1
|
|
|
+endif
|
|
|
ifdef TARGET_DIRS_XML
|
|
|
xml_all:
|
|
|
$(MAKE) -C xml all
|
|
@@ -3724,6 +3769,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
TARGET_EXAMPLEDIRS_TESTS=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),powerpc64-linux)
|
|
|
+TARGET_EXAMPLEDIRS_TESTS=1
|
|
|
+endif
|
|
|
ifdef TARGET_EXAMPLEDIRS_TESTS
|
|
|
tests_all:
|
|
|
$(MAKE) -C tests all
|