diff --git a/packages/Makefile b/packages/Makefile index 1b71e85a91..652574a445 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -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 diff --git a/packages/Makefile.fpc b/packages/Makefile.fpc index 6c60867cd4..a9a60a6cb2 100644 --- a/packages/Makefile.fpc +++ b/packages/Makefile.fpc @@ -135,7 +135,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 diff --git a/packages/fcl-db/src/datadict/Makefile b/packages/fcl-db/src/datadict/Makefile index 2b1d2fa0e2..97ed2edd44 100644 --- a/packages/fcl-db/src/datadict/Makefile +++ b/packages/fcl-db/src/datadict/Makefile @@ -1,8 +1,8 @@ # -# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/24] +# 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 armeb-linux armeb-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 @@ -388,6 +388,9 @@ endif ifeq ($(FULL_TARGET),arm-palmos) override TARGET_UNITS+=fpdatadict fpdddbf fpddsqldb endif +ifeq ($(FULL_TARGET),arm-darwin) +override TARGET_UNITS+=fpdatadict fpdddbf fpddsqldb fpddfb fpddmysql40 fpddmysql41 fpddmysql50 fpddodbc fpddpq fpddoracle fpddsqlite3 fpddregstd +endif ifeq ($(FULL_TARGET),arm-wince) override TARGET_UNITS+=fpdatadict fpdddbf fpddsqldb fpddsqlite3 endif @@ -556,6 +559,9 @@ endif ifeq ($(FULL_TARGET),arm-palmos) override TARGET_RSTS+=fpdatadict fpddfb fpddsqldb endif +ifeq ($(FULL_TARGET),arm-darwin) +override TARGET_RSTS+=fpdatadict fpddfb fpddsqldb fpddfb fpddmysql40 fpddmysql41 fpddmysql50 fpddodbc fpddpq fpddoracle fpddsqlite3 fpddregstd +endif ifeq ($(FULL_TARGET),arm-wince) override TARGET_RSTS+=fpdatadict fpddfb fpddsqldb fpddfb fpddpq fpddsqlite3 endif @@ -725,6 +731,9 @@ endif ifeq ($(FULL_TARGET),arm-palmos) override COMPILER_OPTIONS+=-S2h endif +ifeq ($(FULL_TARGET),arm-darwin) +override COMPILER_OPTIONS+=-S2h +endif ifeq ($(FULL_TARGET),arm-wince) override COMPILER_OPTIONS+=-S2h endif @@ -1642,7 +1651,12 @@ endif ifeq ($(FULL_TARGET),i386-wince) REQUIRE_PACKAGES_RTL=1 REQUIRE_PACKAGES_FCL-BASE=1 +REQUIRE_PACKAGES_IBASE=1 +REQUIRE_PACKAGES_MYSQL=1 +REQUIRE_PACKAGES_ORACLE=1 REQUIRE_PACKAGES_SQLITE=1 +REQUIRE_PACKAGES_ODBC=1 +REQUIRE_PACKAGES_POSTGRES=1 endif ifeq ($(FULL_TARGET),i386-embedded) REQUIRE_PACKAGES_RTL=1 @@ -1838,10 +1852,25 @@ ifeq ($(FULL_TARGET),arm-palmos) REQUIRE_PACKAGES_RTL=1 REQUIRE_PACKAGES_FCL-BASE=1 endif +ifeq ($(FULL_TARGET),arm-darwin) +REQUIRE_PACKAGES_RTL=1 +REQUIRE_PACKAGES_FCL-BASE=1 +REQUIRE_PACKAGES_IBASE=1 +REQUIRE_PACKAGES_MYSQL=1 +REQUIRE_PACKAGES_ORACLE=1 +REQUIRE_PACKAGES_SQLITE=1 +REQUIRE_PACKAGES_ODBC=1 +REQUIRE_PACKAGES_POSTGRES=1 +endif ifeq ($(FULL_TARGET),arm-wince) REQUIRE_PACKAGES_RTL=1 REQUIRE_PACKAGES_FCL-BASE=1 +REQUIRE_PACKAGES_IBASE=1 +REQUIRE_PACKAGES_MYSQL=1 +REQUIRE_PACKAGES_ORACLE=1 REQUIRE_PACKAGES_SQLITE=1 +REQUIRE_PACKAGES_ODBC=1 +REQUIRE_PACKAGES_POSTGRES=1 endif ifeq ($(FULL_TARGET),arm-gba) REQUIRE_PACKAGES_RTL=1 diff --git a/packages/fcl-db/src/datadict/Makefile.fpc b/packages/fcl-db/src/datadict/Makefile.fpc index af9ce64b8c..c2747da7de 100644 --- a/packages/fcl-db/src/datadict/Makefile.fpc +++ b/packages/fcl-db/src/datadict/Makefile.fpc @@ -13,7 +13,7 @@ packages_darwin=ibase mysql oracle sqlite odbc postgres packages_netbsd=ibase mysql oracle sqlite odbc postgres packages_openbsd=ibase mysql oracle sqlite odbc postgres packages_win32=ibase mysql oracle sqlite odbc postgres -packages_wince=sqlite +packages_wince=ibase mysql oracle sqlite odbc postgres packages_win64=sqlite odbc [target] diff --git a/packages/fcl-db/src/sqldb/Makefile b/packages/fcl-db/src/sqldb/Makefile index 400296ec87..dade03b259 100644 --- a/packages/fcl-db/src/sqldb/Makefile +++ b/packages/fcl-db/src/sqldb/Makefile @@ -1,8 +1,8 @@ # -# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/24] +# 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 armeb-linux armeb-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 @@ -275,7 +275,7 @@ ifeq ($(FULL_TARGET),i386-darwin) override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite endif ifeq ($(FULL_TARGET),i386-wince) -override TARGET_DIRS+=interbase postgres sqlite +override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite endif ifeq ($(FULL_TARGET),m68k-linux) override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite @@ -319,8 +319,11 @@ endif ifeq ($(FULL_TARGET),arm-linux) override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite endif +ifeq ($(FULL_TARGET),arm-darwin) +override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite +endif ifeq ($(FULL_TARGET),arm-wince) -override TARGET_DIRS+=interbase postgres sqlite +override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite endif ifeq ($(FULL_TARGET),powerpc64-linux) override TARGET_DIRS+=interbase postgres mysql odbc oracle sqlite @@ -466,6 +469,9 @@ endif ifeq ($(FULL_TARGET),arm-palmos) override TARGET_UNITS+=sqldb endif +ifeq ($(FULL_TARGET),arm-darwin) +override TARGET_UNITS+=sqldb +endif ifeq ($(FULL_TARGET),arm-wince) override TARGET_UNITS+=sqldb endif @@ -634,6 +640,9 @@ endif ifeq ($(FULL_TARGET),arm-palmos) override TARGET_RSTS+=sqldb endif +ifeq ($(FULL_TARGET),arm-darwin) +override TARGET_RSTS+=sqldb +endif ifeq ($(FULL_TARGET),arm-wince) override TARGET_RSTS+=sqldb endif @@ -803,6 +812,9 @@ endif ifeq ($(FULL_TARGET),arm-palmos) override COMPILER_OPTIONS+=-S2 endif +ifeq ($(FULL_TARGET),arm-darwin) +override COMPILER_OPTIONS+=-S2 +endif ifeq ($(FULL_TARGET),arm-wince) override COMPILER_OPTIONS+=-S2 endif @@ -1709,6 +1721,9 @@ ifeq ($(FULL_TARGET),i386-wince) REQUIRE_PACKAGES_RTL=1 REQUIRE_PACKAGES_IBASE=1 REQUIRE_PACKAGES_POSTGRES=1 +REQUIRE_PACKAGES_MYSQL=1 +REQUIRE_PACKAGES_ODBC=1 +REQUIRE_PACKAGES_ORACLE=1 REQUIRE_PACKAGES_SQLITE=1 endif ifeq ($(FULL_TARGET),i386-embedded) @@ -1877,10 +1892,22 @@ endif ifeq ($(FULL_TARGET),arm-palmos) REQUIRE_PACKAGES_RTL=1 endif +ifeq ($(FULL_TARGET),arm-darwin) +REQUIRE_PACKAGES_RTL=1 +REQUIRE_PACKAGES_IBASE=1 +REQUIRE_PACKAGES_POSTGRES=1 +REQUIRE_PACKAGES_MYSQL=1 +REQUIRE_PACKAGES_ODBC=1 +REQUIRE_PACKAGES_ORACLE=1 +REQUIRE_PACKAGES_SQLITE=1 +endif ifeq ($(FULL_TARGET),arm-wince) REQUIRE_PACKAGES_RTL=1 REQUIRE_PACKAGES_IBASE=1 REQUIRE_PACKAGES_POSTGRES=1 +REQUIRE_PACKAGES_MYSQL=1 +REQUIRE_PACKAGES_ODBC=1 +REQUIRE_PACKAGES_ORACLE=1 REQUIRE_PACKAGES_SQLITE=1 endif ifeq ($(FULL_TARGET),arm-gba) @@ -2661,6 +2688,9 @@ endif ifeq ($(FULL_TARGET),i386-wince) TARGET_DIRS_INTERBASE=1 TARGET_DIRS_POSTGRES=1 +TARGET_DIRS_MYSQL=1 +TARGET_DIRS_ODBC=1 +TARGET_DIRS_ORACLE=1 TARGET_DIRS_SQLITE=1 endif ifeq ($(FULL_TARGET),m68k-linux) @@ -2773,9 +2803,20 @@ TARGET_DIRS_ODBC=1 TARGET_DIRS_ORACLE=1 TARGET_DIRS_SQLITE=1 endif +ifeq ($(FULL_TARGET),arm-darwin) +TARGET_DIRS_INTERBASE=1 +TARGET_DIRS_POSTGRES=1 +TARGET_DIRS_MYSQL=1 +TARGET_DIRS_ODBC=1 +TARGET_DIRS_ORACLE=1 +TARGET_DIRS_SQLITE=1 +endif ifeq ($(FULL_TARGET),arm-wince) TARGET_DIRS_INTERBASE=1 TARGET_DIRS_POSTGRES=1 +TARGET_DIRS_MYSQL=1 +TARGET_DIRS_ODBC=1 +TARGET_DIRS_ORACLE=1 TARGET_DIRS_SQLITE=1 endif ifeq ($(FULL_TARGET),powerpc64-linux) diff --git a/packages/fcl-db/src/sqldb/Makefile.fpc b/packages/fcl-db/src/sqldb/Makefile.fpc index 1c9dff8688..7d172eb192 100644 --- a/packages/fcl-db/src/sqldb/Makefile.fpc +++ b/packages/fcl-db/src/sqldb/Makefile.fpc @@ -14,7 +14,7 @@ dirs_netbsd=interbase postgres mysql odbc oracle sqlite dirs_openbsd=interbase postgres mysql odbc oracle sqlite dirs_win32=interbase postgres mysql odbc oracle sqlite dirs_win64=interbase odbc mysql sqlite -dirs_wince=interbase postgres sqlite +dirs_wince=interbase postgres mysql odbc oracle sqlite units=sqldb rsts=sqldb