Browse Source

* fixed a bunch of missing dependencies

git-svn-id: trunk@6411 -
Jonas Maebe 18 years ago
parent
commit
8e4ca28a9e
2 changed files with 488 additions and 5 deletions
  1. 464 4
      fcl/Makefile
  2. 24 1
      fcl/Makefile.fpc

+ 464 - 4
fcl/Makefile

@@ -1,8 +1,8 @@
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/08/21]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/01/25]
 #
 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 m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-amiga 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 arm-gba 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-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-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-embedded
 BSDs = freebsd netbsd openbsd darwin
 UNIXs = linux $(BSDs) solaris qnx
 LIMIT83fs = go32v2 os2 emx watcom
@@ -283,6 +283,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
@@ -304,6 +310,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
@@ -322,6 +331,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
@@ -331,6 +343,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
@@ -340,6 +355,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit  web
 endif
@@ -352,9 +370,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override TARGET_DIRS+=xml image db shedit passrc net fpcunit
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+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  web
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override TARGET_DIRS+=xml image db shedit passrc net fpcunit
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
@@ -406,6 +436,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
@@ -427,6 +463,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
@@ -445,6 +484,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
@@ -454,6 +496,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
@@ -463,6 +508,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf daemonapp ServiceManager
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
@@ -475,9 +523,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry  process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf daemonapp
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree htmldefs testutils fpcunit eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol pooledmm libtar streamcoll xmlreg registry
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
@@ -529,6 +589,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
@@ -550,6 +616,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
@@ -568,6 +637,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
@@ -577,6 +649,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
@@ -586,6 +661,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
@@ -598,9 +676,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc streamcoll inicol
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
@@ -652,6 +742,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
@@ -673,6 +769,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
@@ -691,6 +790,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
@@ -700,6 +802,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
@@ -709,6 +814,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
@@ -721,9 +829,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override TARGET_EXAMPLEDIRS+=tests
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override TARGET_EXAMPLEDIRS+=tests
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override TARGET_EXAMPLEDIRS+=tests
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
@@ -775,6 +895,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
@@ -796,6 +922,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
@@ -814,6 +943,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
@@ -823,6 +955,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
@@ -832,6 +967,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
@@ -844,9 +982,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutilminigzip paszlib trees zbase zcompres zdeflate zinflatezuncompr zutil pthreads streamio blowfish testutils fpcunit
+endif
 override INSTALL_FPCPACKAGE=y
 ifeq ($(FULL_TARGET),i386-linux)
 override COMPILER_OPTIONS+=-S2
@@ -899,6 +1049,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override COMPILER_OPTIONS+=-S2
 endif
@@ -920,6 +1076,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override COMPILER_OPTIONS+=-S2
 endif
@@ -938,6 +1097,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override COMPILER_OPTIONS+=-S2
 endif
@@ -947,6 +1109,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override COMPILER_OPTIONS+=-S2
 endif
@@ -956,6 +1121,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override COMPILER_OPTIONS+=-S2
 endif
@@ -968,9 +1136,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override COMPILER_OPTIONS+=-S2
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override COMPILER_OPTIONS+=-S2
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override COMPILER_OPTIONS+=-S2
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
@@ -1022,6 +1202,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  win
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
@@ -1043,6 +1229,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
@@ -1061,6 +1250,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
@@ -1070,6 +1262,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
@@ -1079,6 +1274,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  win
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
@@ -1091,9 +1289,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc  unix
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
@@ -1145,6 +1355,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
@@ -1166,6 +1382,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
@@ -1184,6 +1403,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
@@ -1193,6 +1415,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
@@ -1202,6 +1427,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
@@ -1214,9 +1442,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
+endif
 ifdef REQUIRE_UNITSDIR
 override UNITSDIR+=$(REQUIRE_UNITSDIR)
 endif
@@ -1574,6 +1814,10 @@ EXEEXT=.gba
 SHAREDLIBEXT=.so
 SHORTSUFFIX=gba
 endif
+ifeq ($(OS_TARGET),symbian)
+SHAREDLIBEXT=.dll
+SHORTSUFFIX=symbian
+endif
 else
 ifeq ($(OS_TARGET),go32v1)
 PPUEXT=.pp1
@@ -2161,6 +2405,20 @@ REQUIRE_PACKAGES_IBASE=1
 REQUIRE_PACKAGES_POSTGRES=1
 REQUIRE_PACKAGES_SQLITE=1
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_HASH=1
@@ -2240,6 +2498,13 @@ REQUIRE_PACKAGES_PASZLIB=1
 REQUIRE_PACKAGES_NETDB=1
 REQUIRE_PACKAGES_PASJPEG=1
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_HASH=1
@@ -2305,6 +2570,13 @@ REQUIRE_PACKAGES_PASZLIB=1
 REQUIRE_PACKAGES_NETDB=1
 REQUIRE_PACKAGES_PASJPEG=1
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_HASH=1
@@ -2343,6 +2615,13 @@ REQUIRE_PACKAGES_LIBASYNC=1
 REQUIRE_PACKAGES_PTHREADS=1
 REQUIRE_PACKAGES_PASJPEG=1
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_HASH=1
@@ -2381,6 +2660,13 @@ REQUIRE_PACKAGES_NETDB=1
 REQUIRE_PACKAGES_WINUNITS=1
 REQUIRE_PACKAGES_PASJPEG=1
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_HASH=1
@@ -2420,6 +2706,27 @@ REQUIRE_PACKAGES_PASZLIB=1
 REQUIRE_PACKAGES_NETDB=1
 REQUIRE_PACKAGES_PASJPEG=1
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_HASH=1
@@ -2435,6 +2742,13 @@ REQUIRE_PACKAGES_ODBC=1
 REQUIRE_PACKAGES_ORACLE=1
 REQUIRE_PACKAGES_SQLITE=1
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_HASH=1
+REQUIRE_PACKAGES_PASZLIB=1
+REQUIRE_PACKAGES_NETDB=1
+REQUIRE_PACKAGES_PASJPEG=1
+endif
 ifdef REQUIRE_PACKAGES_RTL
 PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
 ifneq ($(PACKAGEDIR_RTL),)
@@ -2850,7 +3164,7 @@ ifeq ($(CPU_TARGET),powerpc)
 FPCCPUOPT:=-O1r
 endif
 else
-FPCCPUOPT:=-O1r
+FPCCPUOPT:=-O2
 endif
 override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
 override FPCOPTDEF+=RELEASE
@@ -2909,6 +3223,13 @@ ifeq ($(CPU_TARGET),i386)
 override FPCOPT+=-Aas
 endif
 endif
+ifeq ($(findstring 2.0.,$(FPC_VERSION)),)
+ifeq ($(OS_TARGET),linux)
+ifeq ($(CPU_TARGET),x86_64)
+override FPCOPT+=-Cg
+endif
+endif
+endif
 ifdef LINKSHARED
 endif
 ifdef GCCLIBDIR
@@ -3537,6 +3858,24 @@ TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 TARGET_DIRS_WEB=1
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+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),i386-symbian)
+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),m68k-linux)
 TARGET_DIRS_XML=1
 TARGET_DIRS_IMAGE=1
@@ -3604,6 +3943,15 @@ TARGET_DIRS_PASSRC=1
 TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+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),powerpc-linux)
 TARGET_DIRS_XML=1
 TARGET_DIRS_IMAGE=1
@@ -3661,6 +4009,15 @@ TARGET_DIRS_PASSRC=1
 TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+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),sparc-linux)
 TARGET_DIRS_XML=1
 TARGET_DIRS_IMAGE=1
@@ -3691,6 +4048,15 @@ TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 TARGET_DIRS_WEB=1
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+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),x86_64-linux)
 TARGET_DIRS_XML=1
 TARGET_DIRS_IMAGE=1
@@ -3721,6 +4087,15 @@ TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 TARGET_DIRS_WEB=1
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+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-linux)
 TARGET_DIRS_XML=1
 TARGET_DIRS_IMAGE=1
@@ -3759,6 +4134,33 @@ TARGET_DIRS_PASSRC=1
 TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+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-embedded)
+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-symbian)
+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),powerpc64-linux)
 TARGET_DIRS_XML=1
 TARGET_DIRS_IMAGE=1
@@ -3769,6 +4171,15 @@ TARGET_DIRS_NET=1
 TARGET_DIRS_FPCUNIT=1
 TARGET_DIRS_WEB=1
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+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
@@ -4180,6 +4591,12 @@ endif
 ifeq ($(FULL_TARGET),i386-wince)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),i386-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
+ifeq ($(FULL_TARGET),i386-symbian)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifeq ($(FULL_TARGET),m68k-linux)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
@@ -4201,6 +4618,9 @@ endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),m68k-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifeq ($(FULL_TARGET),powerpc-linux)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
@@ -4219,6 +4639,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc-morphos)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),powerpc-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifeq ($(FULL_TARGET),sparc-linux)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
@@ -4228,6 +4651,9 @@ endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),sparc-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifeq ($(FULL_TARGET),x86_64-linux)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
@@ -4237,6 +4663,9 @@ endif
 ifeq ($(FULL_TARGET),x86_64-win64)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),x86_64-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifeq ($(FULL_TARGET),arm-linux)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
@@ -4249,9 +4678,21 @@ endif
 ifeq ($(FULL_TARGET),arm-gba)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),arm-nds)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
+ifeq ($(FULL_TARGET),arm-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
+ifeq ($(FULL_TARGET),arm-symbian)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
 TARGET_EXAMPLEDIRS_TESTS=1
 endif
+ifeq ($(FULL_TARGET),powerpc64-embedded)
+TARGET_EXAMPLEDIRS_TESTS=1
+endif
 ifdef TARGET_EXAMPLEDIRS_TESTS
 tests_all:
 	$(MAKE) -C tests all
@@ -4330,9 +4771,28 @@ httpbase.pp: fpasync$(PPUEXT)
 httpclient.pp: httpbase$(PPUEXT) fpsock$(PPUEXT) fpasync$(PPUEXT) 
 httpsvlt.pp: fpasync$(PPUEXT) fpsock$(PPUEXT) httpbase$(PPUEXT) servlets$(PPUEXT)
 xmlrpc.pp: avl_tree$(PPUEXT) fpasync$(PPUEXT) dom$(PPUEXT) httpclient$(PPUEXT) httpsvlt$(PPUEXT) xml
+xml_all: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_debug: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_smart: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_release: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_shared: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+fpcunit_all: fpcunit$(PPUEXT) xml_all
+fpcunit_debug: fpcunit$(PPUEXT) xml_debug
+fpcunit_smart: fpcunit$(PPUEXT) xml_smart
+fpcunit_release: fpcunit$(PPUEXT) xml_release
+fpcunit_shared: fpcunit$(PPUEXT) xml_shared
 net_all: passrc_all xml_all
 net_debug: passrc_debug xml_debug
 net_smart: passrc_smart xml_smart
 net_release: passrc_release xml_release
 net_shared: passrc_shared xml_shared
-net_examples: hash_examples hash_examples
+web_all: db_all dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_all
+web_debug: db_debug dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_debug
+web_smart: db_smart dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_smart
+web_release: db_release dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_release
+web_shared: db_shared dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_shared
+db_all: whtml$(PPUEXT)
+db_debug: whtml$(PPUEXT)
+db_smart: whtml$(PPUEXT)
+db_release: whtml$(PPUEXT)
+db_shared: whtml$(PPUEXT)

+ 24 - 1
fcl/Makefile.fpc

@@ -102,10 +102,33 @@ httpsvlt.pp: fpasync$(PPUEXT) fpsock$(PPUEXT) httpbase$(PPUEXT) servlets$(PPUEXT
 
 xmlrpc.pp: avl_tree$(PPUEXT) fpasync$(PPUEXT) dom$(PPUEXT) httpclient$(PPUEXT) httpsvlt$(PPUEXT) xml
 
+xml_all: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_debug: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_smart: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_release: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+xml_shared: avl_tree$(PPUEXT) htmldefs$(PPUEXT)
+
+fpcunit_all: fpcunit$(PPUEXT) xml_all
+fpcunit_debug: fpcunit$(PPUEXT) xml_debug
+fpcunit_smart: fpcunit$(PPUEXT) xml_smart
+fpcunit_release: fpcunit$(PPUEXT) xml_release
+fpcunit_shared: fpcunit$(PPUEXT) xml_shared
+
 net_all: passrc_all xml_all
 net_debug: passrc_debug xml_debug
 net_smart: passrc_smart xml_smart
 net_release: passrc_release xml_release
 net_shared: passrc_shared xml_shared
-net_examples: hash_examples hash_examples
+
+web_all: db_all dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_all
+web_debug: db_debug dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_debug
+web_smart: db_smart dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_smart
+web_release: db_release dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_release
+web_shared: db_shared dbugintf$(PPUEXT) custapp$(PPUEXT) iostream$(PPUEXT) xml_shared
+
+db_all: whtml$(PPUEXT)
+db_debug: whtml$(PPUEXT)
+db_smart: whtml$(PPUEXT)
+db_release: whtml$(PPUEXT)
+db_shared: whtml$(PPUEXT)