|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/02/04]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/01/08]
|
|
|
#
|
|
|
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-palmos arm-wince powerpc64-linux
|
|
|
+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,9 +340,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override TARGET_DIRS+=xml image db shedit passrc net fpcunit
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override TARGET_DIRS+=xml image db shedit passrc net fpcunit
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_DIRS+=xml image db shedit passrc net fpcunit
|
|
|
endif
|
|
@@ -454,9 +451,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-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),arm-palmos)
|
|
|
-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),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 process fileinfo resolve ssockets syncobjs simpleipc msgintf dbugintf
|
|
|
endif
|
|
@@ -568,9 +562,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
|
|
|
endif
|
|
@@ -682,9 +673,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override TARGET_EXAMPLEDIRS+=tests
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override TARGET_EXAMPLEDIRS+=tests
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_EXAMPLEDIRS+=tests
|
|
|
endif
|
|
@@ -796,9 +784,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
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),arm-palmos)
|
|
|
-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),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
|
|
@@ -911,9 +896,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override COMPILER_OPTIONS+=-S2
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override COMPILER_OPTIONS+=-S2
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override COMPILER_OPTIONS+=-S2
|
|
|
endif
|
|
@@ -1025,9 +1007,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc unix
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
|
|
|
endif
|
|
@@ -1139,9 +1118,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
|
|
|
endif
|
|
@@ -1331,9 +1307,6 @@ endif
|
|
|
ifndef INSTALL_DATADIR
|
|
|
INSTALL_DATADIR=$(INSTALL_BASEDIR)
|
|
|
endif
|
|
|
-ifndef INSTALL_SHAREDDIR
|
|
|
-INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
|
|
|
-endif
|
|
|
ifdef CROSSCOMPILE
|
|
|
ifndef CROSSBINDIR
|
|
|
CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
|
|
@@ -1385,7 +1358,6 @@ ASMEXT=.s
|
|
|
SMARTEXT=.sl
|
|
|
STATICLIBEXT=.a
|
|
|
SHAREDLIBEXT=.so
|
|
|
-SHAREDLIBPREFIX=libfp
|
|
|
STATICLIBPREFIX=libp
|
|
|
RSTEXT=.rst
|
|
|
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
@@ -2290,14 +2262,6 @@ REQUIRE_PACKAGES_MYSQL=1
|
|
|
REQUIRE_PACKAGES_ODBC=1
|
|
|
REQUIRE_PACKAGES_SQLITE=1
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-REQUIRE_PACKAGES_RTL=1
|
|
|
-REQUIRE_PACKAGES_HASH=1
|
|
|
-REQUIRE_PACKAGES_PASZLIB=1
|
|
|
-REQUIRE_PACKAGES_PASJPEG=1
|
|
|
-REQUIRE_PACKAGES_NETDB=1
|
|
|
-REQUIRE_PACKAGES_LIBASYNC=1
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
|
REQUIRE_PACKAGES_HASH=1
|
|
@@ -2742,14 +2706,6 @@ ifeq ($(FPC_VERSION),1.0.6)
|
|
|
override FPCOPTDEF+=HASUNIX
|
|
|
endif
|
|
|
endif
|
|
|
-ifdef CREATESHARED
|
|
|
-override FPCOPT+=-Cg
|
|
|
-ifeq ($(CPU_TARGET),i386)
|
|
|
-override FPCOPT+=-Aas
|
|
|
-endif
|
|
|
-endif
|
|
|
-ifdef LINKSHARED
|
|
|
-endif
|
|
|
ifdef GCCLIBDIR
|
|
|
override FPCOPT+=-Fl$(GCCLIBDIR)
|
|
|
endif
|
|
@@ -2817,7 +2773,7 @@ ifneq ($(TARGET_EXAMPLEDIRS),)
|
|
|
HASEXAMPLES=1
|
|
|
endif
|
|
|
fpc_examples: all $(EXAMPLEFILES) $(addsuffix _all,$(TARGET_EXAMPLEDIRS))
|
|
|
-.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
|
|
|
+.PHONY: fpc_all fpc_smart fpc_debug fpc_release
|
|
|
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
|
|
|
@$(ECHOREDIR) Compiled > $(FPCMADE)
|
|
|
fpc_all: $(FPCMADE)
|
|
@@ -2858,38 +2814,6 @@ vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
|
|
|
vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
|
|
|
vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
|
|
|
vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
|
|
|
-.PHONY: fpc_shared
|
|
|
-override INSTALLTARGET+=fpc_shared_install
|
|
|
-ifndef SHARED_LIBVERSION
|
|
|
-SHARED_LIBVERSION=$(FPC_VERSION)
|
|
|
-endif
|
|
|
-ifndef SHARED_LIBNAME
|
|
|
-SHARED_LIBNAME=$(PACKAGE_NAME)
|
|
|
-endif
|
|
|
-ifndef SHARED_FULLNAME
|
|
|
-SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
|
|
|
-endif
|
|
|
-ifndef SHARED_LIBUNITS
|
|
|
-SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
|
|
|
-override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
|
|
|
-endif
|
|
|
-fpc_shared:
|
|
|
-ifdef HASSHAREDLIB
|
|
|
- $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
|
|
|
-ifneq ($(SHARED_BUILD),n)
|
|
|
- $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
|
|
|
-endif
|
|
|
-else
|
|
|
- @$(ECHO) Shared Libraries not supported
|
|
|
-endif
|
|
|
-fpc_shared_install:
|
|
|
-ifneq ($(SHARED_BUILD),n)
|
|
|
-ifneq ($(SHARED_LIBUNITS),)
|
|
|
-ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
|
|
|
- $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
|
|
|
-endif
|
|
|
-endif
|
|
|
-endif
|
|
|
.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
|
|
|
ifdef INSTALL_UNITS
|
|
|
override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
|
|
@@ -3530,15 +3454,6 @@ TARGET_DIRS_PASSRC=1
|
|
|
TARGET_DIRS_NET=1
|
|
|
TARGET_DIRS_FPCUNIT=1
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-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
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
TARGET_DIRS_XML=1
|
|
|
TARGET_DIRS_IMAGE=1
|
|
@@ -3977,9 +3892,6 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-linux)
|
|
|
TARGET_EXAMPLEDIRS_TESTS=1
|
|
|
endif
|
|
|
-ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
-TARGET_EXAMPLEDIRS_TESTS=1
|
|
|
-endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
TARGET_EXAMPLEDIRS_TESTS=1
|
|
|
endif
|
|
@@ -4037,7 +3949,7 @@ smart: fpc_smart
|
|
|
release: fpc_release
|
|
|
units: fpc_units $(addsuffix _units,$(TARGET_DIRS))
|
|
|
examples: fpc_examples $(addsuffix _examples,$(TARGET_DIRS))
|
|
|
-shared: fpc_shared
|
|
|
+shared: $(addsuffix _shared,$(TARGET_DIRS))
|
|
|
install: fpc_install $(addsuffix _install,$(TARGET_DIRS))
|
|
|
sourceinstall: fpc_sourceinstall
|
|
|
exampleinstall: fpc_exampleinstall $(addsuffix _exampleinstall,$(TARGET_DIRS))
|