+ Added inicol

git-svn-id: trunk@4724 -
This commit is contained in:
michael 2006-09-25 20:26:03 +00:00
parent 7c86c5abec
commit 04fde34653
4 changed files with 277 additions and 45 deletions

1
.gitattributes vendored
View File

@ -871,6 +871,7 @@ fcl/inc/fpmake.inc svneol=native#text/plain
fcl/inc/fpmake.pp svneol=native#text/plain
fcl/inc/gettext.pp svneol=native#text/plain
fcl/inc/idea.pp svneol=native#text/plain
fcl/inc/inicol.pp svneol=native#text/plain
fcl/inc/inifiles.pp svneol=native#text/plain
fcl/inc/iostream.pp svneol=native#text/plain
fcl/inc/pipes.pp svneol=native#text/plain

View File

@ -1,8 +1,8 @@
#
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/08/13]
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/08/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-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-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 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
BSDs = freebsd netbsd openbsd darwin
UNIXs = linux $(BSDs) solaris qnx
LIMIT83fs = go32v2 os2 emx watcom
@ -310,6 +310,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override TARGET_DIRS+=xml image db shedit passrc net fpcunit
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override TARGET_DIRS+=xml image db shedit passrc net fpcunit
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override TARGET_DIRS+=xml image db shedit passrc net fpcunit
endif
@ -353,124 +356,127 @@ ifeq ($(FULL_TARGET),powerpc64-linux)
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 xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-go32v2)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),i386-win32)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-os2)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper resolve ssockets
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol resolve ssockets
endif
ifeq ($(FULL_TARGET),i386-freebsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-beos)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),i386-netbsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-solaris)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-qnx)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),i386-netware)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper resolve ssockets
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol resolve ssockets
endif
ifeq ($(FULL_TARGET),i386-openbsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-wdosx)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),i386-darwin)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-emx)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper resolve ssockets
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol resolve ssockets
endif
ifeq ($(FULL_TARGET),i386-watcom)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),i386-netwlibc)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper resolve ssockets syncobjs
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol resolve ssockets syncobjs
endif
ifeq ($(FULL_TARGET),i386-wince)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),m68k-linux)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),m68k-freebsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),m68k-netbsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),m68k-amiga)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),m68k-atari)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),m68k-openbsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),m68k-palmos)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),powerpc-linux)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),powerpc-darwin)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),powerpc-morphos)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),sparc-linux)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),sparc-netbsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),sparc-solaris)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),x86_64-linux)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),arm-linux)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),arm-palmos)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),arm-wince)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process fileinfo resolve ssockets syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),arm-gba)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
endif
ifeq ($(FULL_TARGET),powerpc64-linux)
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
override TARGET_UNITS+=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol process resolve ssockets fpasync syncobjs simpleipc dbugmsg dbugintf
endif
ifeq ($(FULL_TARGET),i386-linux)
override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
@ -550,6 +556,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override TARGET_RSTS+=ssockets cachecls resolve custapp cgiapp eventlog registry simpleipc
endif
@ -670,6 +679,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override TARGET_EXAMPLEDIRS+=tests
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override TARGET_EXAMPLEDIRS+=tests
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override TARGET_EXAMPLEDIRS+=tests
endif
@ -790,6 +802,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads streamio blowfish
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads streamio blowfish
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads streamio blowfish
endif
@ -911,6 +926,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override COMPILER_OPTIONS+=-S2
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override COMPILER_OPTIONS+=-S2
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override COMPILER_OPTIONS+=-S2
endif
@ -1031,6 +1049,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc unix
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override COMPILER_INCLUDEDIR+=$(OS_TARGET) inc
endif
@ -1151,6 +1172,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override COMPILER_SOURCEDIR+=$(OS_TARGET) inc
endif
@ -1618,7 +1642,7 @@ endif
ifeq ($(OS_TARGET),amiga)
EXEEXT=
PPUEXT=.ppu
ASMEXT=.asm
ASMEXT=.s
OEXT=.o
SMARTEXT=.sl
STATICLIBEXT=.a
@ -2244,6 +2268,13 @@ REQUIRE_PACKAGES_ODBC=1
REQUIRE_PACKAGES_ORACLE=1
REQUIRE_PACKAGES_SQLITE=1
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
REQUIRE_PACKAGES_RTL=1
REQUIRE_PACKAGES_HASH=1
REQUIRE_PACKAGES_PASZLIB=1
REQUIRE_PACKAGES_PASJPEG=1
REQUIRE_PACKAGES_NETDB=1
endif
ifeq ($(FULL_TARGET),powerpc-macos)
REQUIRE_PACKAGES_RTL=1
REQUIRE_PACKAGES_HASH=1
@ -2791,7 +2822,7 @@ ifeq ($(CPU_TARGET),powerpc)
FPCCPUOPT:=-O1r
endif
else
FPCCPUOPT:=-O2
FPCCPUOPT:=-O1r
endif
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
override FPCOPTDEF+=RELEASE
@ -3551,6 +3582,15 @@ TARGET_DIRS_PASSRC=1
TARGET_DIRS_NET=1
TARGET_DIRS_FPCUNIT=1
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
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-macos)
TARGET_DIRS_XML=1
TARGET_DIRS_IMAGE=1
@ -4070,6 +4110,9 @@ endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
TARGET_EXAMPLEDIRS_TESTS=1
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
TARGET_EXAMPLEDIRS_TESTS=1
endif
ifeq ($(FULL_TARGET),powerpc-macos)
TARGET_EXAMPLEDIRS_TESTS=1
endif

View File

@ -28,7 +28,7 @@ units=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszl
dirs=xml image db shedit passrc net fpcunit
units=contnrs inifiles ezcgi pipes rtfpars idea base64 gettext \
iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp \
wformat whtml wtex rttiutils bufstream streamex blowfish zipper
wformat whtml wtex rttiutils bufstream streamex blowfish zipper streamio inicol
units_freebsd=process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
units_darwin=process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf
units_solaris=process ssockets resolve fpasync syncobjs simpleipc dbugmsg dbugintf

188
fcl/inc/inicol.pp Normal file
View File

@ -0,0 +1,188 @@
{$mode objfpc}
{$h+}
unit inicol;
interface
Uses SysUtils,Classes,Inifiles;
Type
TIniCollectionItem = Class(TCollectionItem)
protected
function GetSectionName: String; virtual; abstract;
procedure SetSectionName(const Value: String); virtual; abstract;
Public
Procedure SaveToIni(Ini: TCustomInifile; Section : String); Virtual; Abstract;
Procedure LoadFromIni(Ini: TCustomInifile; Section : String); Virtual; Abstract;
Procedure SaveToFile(FileName : String; Section : String);
Procedure LoadFromFile(FileName : String; Section : String);
Property SectionName : String Read GetSectionName Write SetSectionName;
end;
TIniCollection = Class(TCollection)
private
FFileName: String;
FGlobalSection: String;
protected
FPrefix: String; // Descendent must set this.
FSectionPrefix : String; // Descendent must set this too.
Public
Procedure Load;
Procedure Save;
Procedure SaveToIni(Ini: TCustomInifile; Section : String); virtual;
Procedure SaveToFile(AFileName : String; Section : String);
Procedure LoadFromIni(Ini: TCustomInifile; Section : String); virtual;
Procedure LoadFromFile(AFileName : String; Section : String);
Property Prefix : String Read FPrefix;
Property SectionPrefix : String Read FSectionPrefix;
Property FileName : String Read FFileName Write FFileName;
Property GlobalSection : String Read FGlobalSection Write FGlobalSection;
end;
EIniCol = Class(Exception);
Const
KeyCount = 'Count';
SGlobal = 'Global';
implementation
{ TIniCollectionItem }
resourcestring
SErrNoFileName = '%s: Geen bestandsnaam gespecifieerd.';
SErrNoSection = '%s: Geen [global] sectie gespecifieerd.';
procedure TIniCollectionItem.LoadFromFile(FileName, Section: String);
Var
Ini : TMemInifile;
begin
Ini:=TMemInifile.Create(FileName);
Try
LoadFromIni(Ini,Section);
Finally
Ini.Free;
end;
end;
procedure TIniCollectionItem.SaveToFile(FileName, Section: String);
Var
Ini : TMemInifile;
begin
Ini:=TMemInifile.Create(FileName);
Try
SaveToIni(Ini,Section);
Ini.UpdateFile;
Finally
Ini.Free;
end;
end;
{ TIniCollection }
procedure TIniCollection.Load;
begin
If (FFileName='') then
Raise EIniCol.CreateFmt(SErrNoFileName,[ClassName]);
If (GlobalSection='') then
Raise EIniCol.CreateFmt(SErrNoSection,[ClassName]);
LoadFromFile(FFileName,GlobalSection)
end;
procedure TIniCollection.LoadFromFile(AFileName, Section: String);
Var
Ini : TMemIniFile;
begin
Ini:=TMemInifile.Create(AFileName);
Try
LoadFromIni(Ini,Section);
FFileName:=AFileName;
FGlobalSection:=Section;
Finally
ini.Free;
end;
end;
procedure TIniCollection.LoadFromIni(Ini: TCustomInifile; Section: String);
Var
ACount,I : Integer;
N,SP : String;
begin
Clear;
SP:=FSectionPrefix;
If (SP<>'') then
SP:=SP+'_';
ACount:=Ini.ReadInteger(Section,KeyCount,0);
For I:=1 to ACount do
begin
N:=Ini.ReadString(Section,Prefix+IntToStr(I),'');
If (N<>'') then
With Add as TIniCollectionItem do
begin
SectionName:=N;
LoadFromIni(Ini,SP+N);
end;
end;
end;
procedure TIniCollection.Save;
begin
If (FFileName='') then
Raise EIniCol.CreateFmt(SErrNoFileName,[ClassName]);
If (GlobalSection='') then
Raise EIniCol.CreateFmt(SErrNoSection,[ClassName]);
SaveToFile(FFileName,GlobalSection)
end;
procedure TIniCollection.SaveToFile(AFileName, Section: String);
Var
Ini : TMemIniFile;
begin
Ini:=TMemInifile.Create(AFileName);
Try
Ini.CacheUpdates:=True;
SaveToIni(Ini,Section);
Ini.UpdateFile;
finally
Ini.Free;
end;
end;
procedure TIniCollection.SaveToIni(Ini: TCustomInifile; Section: String);
Var
S,V,SP : String;
I : Integer;
CI : TIniCollectionItem;
begin
SP:=FSectionPrefix;
if (SP<>'') then
SP:=SP+'_';
Ini.WriteInteger(Section,KeyCount,Count);
For I:=0 to Count-1 do
begin
CI:=(Items[i]) as TIniCollectionItem;
With CI do
begin
V:=SectionName;
S:=Prefix+IntToStr(I+1);
Ini.WriteString(Section,S,V);
CI.SaveToIni(Ini,SP+V);
end;
end;
end;
end.