|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/20]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/04/12]
|
|
|
#
|
|
|
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-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded
|
|
|
+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-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian 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 sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd 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
|
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
|
UNIXs = linux $(BSDs) solaris qnx
|
|
|
LIMIT83fs = go32v2 os2 emx watcom
|
|
@@ -167,6 +167,17 @@ OS_TARGET:=$(word 5,$(FPC_COMPILERINFO))
|
|
|
endif
|
|
|
FULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
|
|
|
FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
|
|
|
+ifeq ($(CPU_TARGET),armeb)
|
|
|
+ARCH=arm
|
|
|
+override FPCOPT+=-Cb
|
|
|
+else
|
|
|
+ifeq ($(CPU_TARGET),armel)
|
|
|
+ARCH=arm
|
|
|
+override FPCOPT+=-CaEABI
|
|
|
+else
|
|
|
+ARCH=$(CPU_TARGET)
|
|
|
+endif
|
|
|
+endif
|
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
@@ -188,7 +199,7 @@ endif
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
linuxHier=1
|
|
|
endif
|
|
|
-export OS_TARGET OS_SOURCE CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE
|
|
|
+export OS_TARGET OS_SOURCE ARCH CPU_TARGET CPU_SOURCE FULL_TARGET FULL_SOURCE TARGETSUFFIX SOURCESUFFIX CROSSCOMPILE
|
|
|
ifdef FPCDIR
|
|
|
override FPCDIR:=$(subst \,/,$(FPCDIR))
|
|
|
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
|
|
@@ -375,6 +386,9 @@ endif
|
|
|
ifeq ($(FULL_TARGET),arm-palmos)
|
|
|
override TARGET_DIRS+=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res palmunits
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),arm-darwin)
|
|
|
+override TARGET_DIRS+=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res fv fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 bfd aspell svgalib imlib utmp fpgtk xforms fftw pcap ggi openssl gnome1 httpd22 numlib
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
override TARGET_DIRS+=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res fcl-web tcl fftw unzip zlib sqlite mysql ibase postgres oracle odbc sdl openssl oggvorbis numlib
|
|
|
endif
|
|
@@ -402,6 +416,12 @@ endif
|
|
|
ifeq ($(FULL_TARGET),avr-embedded)
|
|
|
override TARGET_DIRS+=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),armeb-linux)
|
|
|
+override TARGET_DIRS+=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res fv fcl-web fcl-async ibase mysql ncurses unzip zlib oracle dbus odbc postgres sqlite pthreads imagemagick gdbint libpng x11 uuid ldap modplug dts mad gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 a52 bfd aspell svgalib newt cdrom users imlib utmp fpgtk openal lua oggvorbis xforms fftw pcap ggi sdl openssl gnome1 httpd22 pxlib numlib
|
|
|
+endif
|
|
|
+ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
+override TARGET_DIRS+=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res
|
|
|
+endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
override INSTALL_FPCSUBDIR=packages
|
|
|
ifdef REQUIRE_UNITSDIR
|
|
@@ -1152,13 +1172,13 @@ TAROPT=vz
|
|
|
TAREXT=.tar.gz
|
|
|
endif
|
|
|
ifndef NOCPUDEF
|
|
|
-override FPCOPTDEF=$(CPU_TARGET)
|
|
|
+override FPCOPTDEF=$(ARCH)
|
|
|
endif
|
|
|
ifneq ($(OS_TARGET),$(OS_SOURCE))
|
|
|
override FPCOPT+=-T$(OS_TARGET)
|
|
|
endif
|
|
|
ifneq ($(CPU_TARGET),$(CPU_SOURCE))
|
|
|
-override FPCOPT+=-P$(CPU_TARGET)
|
|
|
+override FPCOPT+=-P$(ARCH)
|
|
|
endif
|
|
|
ifeq ($(OS_SOURCE),openbsd)
|
|
|
override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
|
|
@@ -3409,6 +3429,63 @@ TARGET_DIRS_CHM=1
|
|
|
TARGET_DIRS_FCL-RES=1
|
|
|
TARGET_DIRS_PALMUNITS=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),arm-darwin)
|
|
|
+TARGET_DIRS_HASH=1
|
|
|
+TARGET_DIRS_PASJPEG=1
|
|
|
+TARGET_DIRS_PASZLIB=1
|
|
|
+TARGET_DIRS_FPMKUNIT=1
|
|
|
+TARGET_DIRS_FCL-BASE=1
|
|
|
+TARGET_DIRS_FCL-DB=1
|
|
|
+TARGET_DIRS_FCL-IMAGE=1
|
|
|
+TARGET_DIRS_FCL-NET=1
|
|
|
+TARGET_DIRS_FCL-PASSRC=1
|
|
|
+TARGET_DIRS_FCL-REGISTRY=1
|
|
|
+TARGET_DIRS_FCL-XML=1
|
|
|
+TARGET_DIRS_FCL-FPCUNIT=1
|
|
|
+TARGET_DIRS_FCL-JSON=1
|
|
|
+TARGET_DIRS_FCL-PROCESS=1
|
|
|
+TARGET_DIRS_UNZIP=1
|
|
|
+TARGET_DIRS_REGEXPR=1
|
|
|
+TARGET_DIRS_CHM=1
|
|
|
+TARGET_DIRS_FCL-RES=1
|
|
|
+TARGET_DIRS_FV=1
|
|
|
+TARGET_DIRS_FCL-WEB=1
|
|
|
+TARGET_DIRS_FCL-ASYNC=1
|
|
|
+TARGET_DIRS_IBASE=1
|
|
|
+TARGET_DIRS_MYSQL=1
|
|
|
+TARGET_DIRS_NCURSES=1
|
|
|
+TARGET_DIRS_ZLIB=1
|
|
|
+TARGET_DIRS_ORACLE=1
|
|
|
+TARGET_DIRS_ODBC=1
|
|
|
+TARGET_DIRS_POSTGRES=1
|
|
|
+TARGET_DIRS_SQLITE=1
|
|
|
+TARGET_DIRS_PTHREADS=1
|
|
|
+TARGET_DIRS_IMAGEMAGICK=1
|
|
|
+TARGET_DIRS_LIBPNG=1
|
|
|
+TARGET_DIRS_X11=1
|
|
|
+TARGET_DIRS_GDBM=1
|
|
|
+TARGET_DIRS_TCL=1
|
|
|
+TARGET_DIRS_SYSLOG=1
|
|
|
+TARGET_DIRS_LIBCURL=1
|
|
|
+TARGET_DIRS_OPENGL=1
|
|
|
+TARGET_DIRS_CAIRO=1
|
|
|
+TARGET_DIRS_GTK1=1
|
|
|
+TARGET_DIRS_GTK2=1
|
|
|
+TARGET_DIRS_BFD=1
|
|
|
+TARGET_DIRS_ASPELL=1
|
|
|
+TARGET_DIRS_SVGALIB=1
|
|
|
+TARGET_DIRS_IMLIB=1
|
|
|
+TARGET_DIRS_UTMP=1
|
|
|
+TARGET_DIRS_FPGTK=1
|
|
|
+TARGET_DIRS_XFORMS=1
|
|
|
+TARGET_DIRS_FFTW=1
|
|
|
+TARGET_DIRS_PCAP=1
|
|
|
+TARGET_DIRS_GGI=1
|
|
|
+TARGET_DIRS_OPENSSL=1
|
|
|
+TARGET_DIRS_GNOME1=1
|
|
|
+TARGET_DIRS_HTTPD22=1
|
|
|
+TARGET_DIRS_NUMLIB=1
|
|
|
+endif
|
|
|
ifeq ($(FULL_TARGET),arm-wince)
|
|
|
TARGET_DIRS_HASH=1
|
|
|
TARGET_DIRS_PASJPEG=1
|
|
@@ -3696,6 +3773,100 @@ TARGET_DIRS_REGEXPR=1
|
|
|
TARGET_DIRS_CHM=1
|
|
|
TARGET_DIRS_FCL-RES=1
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),armeb-linux)
|
|
|
+TARGET_DIRS_HASH=1
|
|
|
+TARGET_DIRS_PASJPEG=1
|
|
|
+TARGET_DIRS_PASZLIB=1
|
|
|
+TARGET_DIRS_FPMKUNIT=1
|
|
|
+TARGET_DIRS_FCL-BASE=1
|
|
|
+TARGET_DIRS_FCL-DB=1
|
|
|
+TARGET_DIRS_FCL-IMAGE=1
|
|
|
+TARGET_DIRS_FCL-NET=1
|
|
|
+TARGET_DIRS_FCL-PASSRC=1
|
|
|
+TARGET_DIRS_FCL-REGISTRY=1
|
|
|
+TARGET_DIRS_FCL-XML=1
|
|
|
+TARGET_DIRS_FCL-FPCUNIT=1
|
|
|
+TARGET_DIRS_FCL-JSON=1
|
|
|
+TARGET_DIRS_FCL-PROCESS=1
|
|
|
+TARGET_DIRS_UNZIP=1
|
|
|
+TARGET_DIRS_REGEXPR=1
|
|
|
+TARGET_DIRS_CHM=1
|
|
|
+TARGET_DIRS_FCL-RES=1
|
|
|
+TARGET_DIRS_FV=1
|
|
|
+TARGET_DIRS_FCL-WEB=1
|
|
|
+TARGET_DIRS_FCL-ASYNC=1
|
|
|
+TARGET_DIRS_IBASE=1
|
|
|
+TARGET_DIRS_MYSQL=1
|
|
|
+TARGET_DIRS_NCURSES=1
|
|
|
+TARGET_DIRS_UNZIP=1
|
|
|
+TARGET_DIRS_ZLIB=1
|
|
|
+TARGET_DIRS_ORACLE=1
|
|
|
+TARGET_DIRS_DBUS=1
|
|
|
+TARGET_DIRS_ODBC=1
|
|
|
+TARGET_DIRS_POSTGRES=1
|
|
|
+TARGET_DIRS_SQLITE=1
|
|
|
+TARGET_DIRS_PTHREADS=1
|
|
|
+TARGET_DIRS_IMAGEMAGICK=1
|
|
|
+TARGET_DIRS_GDBINT=1
|
|
|
+TARGET_DIRS_LIBPNG=1
|
|
|
+TARGET_DIRS_X11=1
|
|
|
+TARGET_DIRS_UUID=1
|
|
|
+TARGET_DIRS_LDAP=1
|
|
|
+TARGET_DIRS_MODPLUG=1
|
|
|
+TARGET_DIRS_DTS=1
|
|
|
+TARGET_DIRS_MAD=1
|
|
|
+TARGET_DIRS_GDBM=1
|
|
|
+TARGET_DIRS_TCL=1
|
|
|
+TARGET_DIRS_SYSLOG=1
|
|
|
+TARGET_DIRS_LIBCURL=1
|
|
|
+TARGET_DIRS_OPENGL=1
|
|
|
+TARGET_DIRS_CAIRO=1
|
|
|
+TARGET_DIRS_GTK1=1
|
|
|
+TARGET_DIRS_GTK2=1
|
|
|
+TARGET_DIRS_A52=1
|
|
|
+TARGET_DIRS_BFD=1
|
|
|
+TARGET_DIRS_ASPELL=1
|
|
|
+TARGET_DIRS_SVGALIB=1
|
|
|
+TARGET_DIRS_NEWT=1
|
|
|
+TARGET_DIRS_CDROM=1
|
|
|
+TARGET_DIRS_USERS=1
|
|
|
+TARGET_DIRS_IMLIB=1
|
|
|
+TARGET_DIRS_UTMP=1
|
|
|
+TARGET_DIRS_FPGTK=1
|
|
|
+TARGET_DIRS_OPENAL=1
|
|
|
+TARGET_DIRS_LUA=1
|
|
|
+TARGET_DIRS_OGGVORBIS=1
|
|
|
+TARGET_DIRS_XFORMS=1
|
|
|
+TARGET_DIRS_FFTW=1
|
|
|
+TARGET_DIRS_PCAP=1
|
|
|
+TARGET_DIRS_GGI=1
|
|
|
+TARGET_DIRS_SDL=1
|
|
|
+TARGET_DIRS_OPENSSL=1
|
|
|
+TARGET_DIRS_GNOME1=1
|
|
|
+TARGET_DIRS_HTTPD22=1
|
|
|
+TARGET_DIRS_PXLIB=1
|
|
|
+TARGET_DIRS_NUMLIB=1
|
|
|
+endif
|
|
|
+ifeq ($(FULL_TARGET),armeb-embedded)
|
|
|
+TARGET_DIRS_HASH=1
|
|
|
+TARGET_DIRS_PASJPEG=1
|
|
|
+TARGET_DIRS_PASZLIB=1
|
|
|
+TARGET_DIRS_FPMKUNIT=1
|
|
|
+TARGET_DIRS_FCL-BASE=1
|
|
|
+TARGET_DIRS_FCL-DB=1
|
|
|
+TARGET_DIRS_FCL-IMAGE=1
|
|
|
+TARGET_DIRS_FCL-NET=1
|
|
|
+TARGET_DIRS_FCL-PASSRC=1
|
|
|
+TARGET_DIRS_FCL-REGISTRY=1
|
|
|
+TARGET_DIRS_FCL-XML=1
|
|
|
+TARGET_DIRS_FCL-FPCUNIT=1
|
|
|
+TARGET_DIRS_FCL-JSON=1
|
|
|
+TARGET_DIRS_FCL-PROCESS=1
|
|
|
+TARGET_DIRS_UNZIP=1
|
|
|
+TARGET_DIRS_REGEXPR=1
|
|
|
+TARGET_DIRS_CHM=1
|
|
|
+TARGET_DIRS_FCL-RES=1
|
|
|
+endif
|
|
|
ifdef TARGET_DIRS_HASH
|
|
|
hash_all:
|
|
|
$(MAKE) -C hash all
|
|
@@ -7432,7 +7603,7 @@ fcl-db_smart: fcl-base_smart mysql_smart ibase_smart oracle_smart odbc_smart pos
|
|
|
fcl-db_release: fcl-base_release mysql_release ibase_release oracle_release odbc_release postgres_release sqlite_release pxlib_release
|
|
|
fcl-db_shared: fcl-base_shared mysql_shared ibase_shared oracle_shared odbc_shared postgres_shared postgres_release pxlib_shared
|
|
|
else
|
|
|
-ifneq ($(findstring $(OS_TARGET),win64 solaris darwin),)
|
|
|
+ifneq ($(findstring $(OS_TARGET),win64 wince solaris darwin),)
|
|
|
fcl-db_all: fcl-base_all mysql_all ibase_all oracle_all odbc_all postgres_all sqlite_all
|
|
|
fcl-db_debug: fcl-base_debug mysql_debug ibase_debug oracle_debug odbc_debug postgres_debug sqlite_debug
|
|
|
fcl-db_smart: fcl-base_smart mysql_smart ibase_smart oracle_smart odbc_smart postgres_smart sqlite_smart
|