poco-1.3.6p1-all/ 0000755 0000765 0000120 00000000000 11313735450 014250 5 ustar guenter admin 0000000 0000000 poco-1.3.6p1-all/build/ 0000755 0000765 0000120 00000000000 11313735443 015351 5 ustar guenter admin 0000000 0000000 poco-1.3.6p1-all/build/config/ 0000755 0000765 0000120 00000000000 11313735443 016616 5 ustar guenter admin 0000000 0000000 poco-1.3.6p1-all/build/config/AIX 0000644 0000765 0000120 00000003043 11313735443 017162 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/AIX#1 $
#
# AIX
#
# Make settings for AIX 5.x/xlC 8.0
#
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CC = xlc_r
CXX = xlC_r
LINK = $(CXX)
LIB = ar -cr -X32_64
RANLIB = ranlib
SHLIB = $(CXX) -qmkshrobj -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip -X32_64
DEP = $(POCO_BASE)/build/script/makedepend.xlC
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -qobjmodel=compat -qfuncsect
CFLAGS32 = -q32
CFLAGS64 = -q64
CXXFLAGS = -qrtti=all -qobjmodel=compat -qnamemangling=v5 -qfuncsect
CXXFLAGS32 = -q32
CXXFLAGS64 = -q64
SHLIBFLAGS = -qtwolink -bh:5 -bnoipath -blibpath:/usr/lib:/lib -blibsuff:so -bautoexp -bnoentry -bM:SRE
SHLIBFLAGS32 = -q32
SHLIBFLAGS64 = -q64
LINKFLAGS = -qtwolink -bh:5 -bnoipath -blibpath:/usr/lib:/lib -blibsuff:so -brtl
LINKFLAGS32 = -q32
LINKFLAGS64 = -q64
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC = -qpic
SHAREDOPT_CXX = -qpic
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG -qfullpath
DEBUGOPT_CXX = -g -D_DEBUG -qfullpath -qnoinline
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG -qmaxmem=16384
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lC_r -lc_r
poco-1.3.6p1-all/build/config/Angstrom 0000644 0000765 0000120 00000002636 11313735443 020342 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/Angstrom#1 $
#
# Angstrom
#
# Make settings for Open Embedded/Angstrom
#
#
# General Settings
#
LINKMODE = SHARED
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = armv5te
TOOL = arm-angstrom-linux-gnueabi
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O3 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/ARM-Linux 0000644 0000765 0000120 00000003310 11313735443 020252 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/ARM-Linux#3 $
#
# ARM-Linux
#
# Make settings for ARM Linux/gcc 2.95.3 (cross-compile, using STLport 4.6.2)
#
#
# General Settings
#
LINKMODE = SHARED
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = ARM
STLPORT_INCLUDE = /usr/local/include/stlport
STLPORT_LIB = /usr/local/lib
OPENSSL_INCLUDE = /usr/local/arm/2.95.3/include
OPENSSL_LIB = /usr/local/arm/2.95.3/lib
TOOL = arm-linux
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = $(TOOL)-strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -I$(STLPORT_INCLUDE) -I$(OPENSSL_INCLUDE) -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -L$(STLPORT_LIB) -L$(OPENSSL_LIB) -lstlport_arm-linux-gcc -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/CEGCCARM 0000644 0000765 0000120 00000003244 11313735443 017710 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/CEGCCARM#1 $
#
# CYGWIN
#
# Make settings for Cygwin on WinXP/gcc 3.4
# for cross compiling to WinCE ARM with CEGCC
#
#
#
# General Settings
#
LINKMODE = SHARED
POCO_TARGET_OSNAME = WinCE
POCO_TARGET_OSARCH = ARM
TOOLPATH = /opt/cegcc
TOOL = /opt/cegcc/bin/arm-wince-cegcc-
#
# Define Tools
#
CC = $(TOOL)gcc
CXX = $(TOOL)g++
LINK = $(CXX)
LIB = $(TOOL)ar -cr
RANLIB = $(TOOL)ranlib
SHLIB = $(CXX) -shared -o $@ -Wl,--out-implib=$(dir $@)$(subst ce,lib,$(notdir $@)).a -Wl,--export-all-symbols -Wl,--enable-auto-import
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = $(TOOL)strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
LIBPREFIX = ce
SHAREDLIBEXT = .$(target_version).dll
SHAREDLIBLINKEXT = .dll
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC =
SHAREDOPT_CXX =
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -DPOCO_NO_FPENVIRONMENT -DPOCO_OS_FAMILY_WINDOWS -DNOMINMAX -D_WIN32 -D_WIN32_WCE=0x0420 -D_WIN32_IE=0x0420 -DNO_GZCOMPRESS -DPOCO_WIN32_UTF8 -DUNICODE -DPOCO_DLL -DFoundation_EXPORTS
#
# System Specific Libraries
#
SYSLIBS = -L$(TOOLPATH)/lib -L$(TOOLPATH)/arm-wince-cegcc/lib
poco-1.3.6p1-all/build/config/CygLinux 0000644 0000765 0000120 00000002713 11313735443 020306 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/CygLinux#1 $
#
# Linux
#
# Make settings for Linux 2.6/gcc 3.3
#
#
#
# General Settings
#
LINKMODE = SHARED
TOOL = /opt/crosstool/gcc-4.0.2-glibc-2.3.2/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = i686
#
# Define Tools
#
CC = $(TOOL)gcc
CXX = $(TOOL)g++
LINK = $(CXX)
LIB = $(TOOL)ar -cr
RANLIB = $(TOOL)ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = $(TOOL)strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -Wall -Wno-sign-compare
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl
poco-1.3.6p1-all/build/config/CYGWIN 0000644 0000765 0000120 00000002477 11313735443 017553 0 ustar guenter admin 0000000 0000000 #
# $Id$
#
# CYGWIN
#
# Make settings for Cygwin on WinXP/gcc 3.4
#
#
#
# General Settings, note that strip doesn't do anything on Cygwin, thus empty
#
LINKMODE = SHARED
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(notdir $@)).a -Wl,--export-all-symbols -Wl,--enable-auto-import
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
LIBPREFIX = cyg
SHAREDLIBEXT = .$(target_version).dll
SHAREDLIBLINKEXT = .dll
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING -DPOCO_NO_SHAREDMEMORY
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC =
SHAREDOPT_CXX =
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -DNDEBUG
RELEASEOPT_CXX = -DNDEBUG
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500
#
# System Specific Libraries
#
SYSLIBS =
poco-1.3.6p1-all/build/config/Darwin 0000644 0000765 0000120 00000002706 11313735443 017772 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/Darwin#8 $
#
# Darwin
#
# Build settings for Mac OS X 10.5/10.6 (GCC 4.0.1)
# The build settings defined in this file are compatible
# with XCode 3.1 C++ projects.
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = gcc-4.0
CXX = g++-4.0
LINK = $(CXX) -bind_at_load
LIB = libtool -static -o
RANLIB = ranlib
SHLIB = $(CXX) -dynamiclib -o $@
DYLIB = $(CXX) -dynamic -bundle -read_only_relocs suppress -Wl,-bind_at_load -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .$(target_version).dylib
SHAREDLIBLINKEXT = .dylib
#
# Compiler and Linker Flags
#
CFLAGS =
CXXFLAGS = -Wall -Wno-sign-compare
LINKFLAGS =
SHLIBFLAGS =
DYLIBFLAGS =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK =
DEBUGOPT_CC = -O0 -g -gdwarf-2 -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -O0 -g -gdwarf-2 -D_DEBUG=$(DEBUGLEVEL) -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -mfix-and-continue -fvisibility-inlines-hidden
DEBUGOPT_LINK =
RELEASEOPT_CC = -DNDEBUG -Os
RELEASEOPT_CXX = -DNDEBUG -O2 -fvisibility-inlines-hidden
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -DPOCO_HAVE_IPv6
#
# System Specific Libraries
#
SYSLIBS = -ldl
poco-1.3.6p1-all/build/config/Darwin7 0000644 0000765 0000120 00000002701 11313735443 020054 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/Darwin7#1 $
#
# Darwin
#
# Build settings for Mac OS X 10.3
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = gcc
CXX = c++
LINK = $(CXX) -bind_at_load
LIB = libtool -static -o
RANLIB = ranlib
SHLIB = libtool -dynamic -flat_namespace -undefined suppress -noprebind -install_name $@ -o $@
DYLIB = ld -dynamic -bundle -read_only_relocs suppress -flat_namespace -undefined warning -noprebind -bind_at_load -o $@ /usr/lib/bundle1.o
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .$(target_version).dylib
SHAREDLIBLINKEXT = .dylib
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -Wno-long-double -fmessage-length=0 -fcoalesce-templates
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC =
SHAREDOPT_CXX =
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK =
RELEASEOPT_CC = -DNDEBUG -O2
RELEASEOPT_CXX = -DNDEBUG -O
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE
#
# System Specific Libraries
#
SYSLIBS = -lstdc++ -framework System -ldl -lcc_dynamic
poco-1.3.6p1-all/build/config/Darwin_x86_64 0000644 0000765 0000120 00000003026 11313735443 021004 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/Darwin_x86_64#2 $
#
# Darwin_x86_64
#
# Build settings for Mac OS X 10.5/10.6 (GCC 4.0.1)
# The build settings defined in this file are compatible
# with XCode 3.1 C++ projects.
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = gcc-4.0
CXX = g++-4.0
LINK = $(CXX) -bind_at_load
LIB = libtool -static -o
RANLIB = ranlib
SHLIB = $(CXX) -dynamiclib -o $@
DYLIB = $(CXX) -dynamic -bundle -read_only_relocs suppress -Wl,-bind_at_load -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .$(target_version).dylib
SHAREDLIBLINKEXT = .dylib
#
# Compiler and Linker Flags
#
CFLAGS = -arch x86_64
CXXFLAGS = -arch x86_64 -Wall -Wno-sign-compare
LINKFLAGS = -arch x86_64
SHLIBFLAGS = -arch x86_64
DYLIBFLAGS = -arch x86_64
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK =
DEBUGOPT_CC = -O0 -g -gdwarf-2 -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -O0 -g -gdwarf-2 -D_DEBUG=$(DEBUGLEVEL) -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -mfix-and-continue -fvisibility-inlines-hidden
DEBUGOPT_LINK =
RELEASEOPT_CC = -DNDEBUG -Os
RELEASEOPT_CXX = -DNDEBUG -O2 -fvisibility-inlines-hidden
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -DPOCO_HAVE_IPv6
#
# System Specific Libraries
#
SYSLIBS = -ldl
poco-1.3.6p1-all/build/config/DigiEL 0000644 0000765 0000120 00000002710 11313735443 017636 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/DigiEL#4 $
#
# DigiEL
#
# Make settings for Digi Embedded Linux 4 (gcc 4.0.3, uclibc 0.9.28)
#
#
# General Settings
#
LINKMODE = STATIC
TOOL = arm-linux
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = armv5tejl
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = $(TOOL)-strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING -DPOCO_NO_SHAREDMEMORY
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/FreeBSD 0000644 0000765 0000120 00000002273 11313735443 017757 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/FreeBSD#2 $
#
# FreeBSD
#
# Make settings for FreeBSD 6.0/gcc 3.4
#
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
STRIP = strip
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE
#
# System Specific Libraries
#
SYSLIBS = -lpthread
poco-1.3.6p1-all/build/config/GCCEMBEDLINUX 0000644 0000765 0000120 00000003071 11313735443 020513 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/GCCEMBEDLINUX#2 $
#
# ARM-Linux
#
# Make settings for Cross compiling in to unknown, ARM-based embedded Linux
#
#
# General Settings
#
LINKMODE = STATIC
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = ARM
TOOL = /opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
STRIPDBG = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -I$(STLPORT_INCLUDE) -I$(OPENSSL_INCLUDE) -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl
poco-1.3.6p1-all/build/config/HP-UX 0000644 0000765 0000120 00000002703 11313735443 017404 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/HP-UX#1 $
#
# HP-UX
#
# Make settings for HP-UX 11.11/aCC 03.30 (and later)
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CC = cc
CXX = aCC
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -b -Wl,+h$(notdir $@) -o $@ -Wl,+s
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.aCC
STRIP =
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .$(target_version)
SHAREDLIBLINKEXT = .sl
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 = +DD32
CFLAGS64 = +DD64
CXXFLAGS = -AA +W361 +W307 +W749 +W849
CXXFLAGS32 = +DD32
CXXFLAGS64 = +DD64
LINKFLAGS = -AA
LINKFLAGS32 = +DD32
LINKFLAGS64 = +DD64
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -Wl,-aarchive_shared
SHAREDOPT_CC = +Z
SHAREDOPT_CXX = +Z
SHAREDOPT_LINK = -Wl,+b$(LIBPATH) -Wl,+s -Wl,-ashared_archive
DEBUGOPT_CC = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g0 +d -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK = -g0
RELEASEOPT_CC = +O2 -DNDEBUG
RELEASEOPT_CXX = +O2 +Onolimit -DNDEBUG
RELEASEOPT_LINK = +O2 +Onolimit
#
# System Specific Flags
#
SYSFLAGS = -Dhpux -D_REENTRANT -D_THREAD_SAFE -D_RWSTD_MULTI_THREAD -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_POSIX_C_SOURCE=199506L
#
# System Specific Libraries
#
SYSLIBS = -lpthread -lxnet
poco-1.3.6p1-all/build/config/iPhone 0000644 0000765 0000120 00000003523 11313735443 017766 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/iPhone#1 $
#
# iPhone
#
# Build settings for iPhone OS, using Apple's iPhone SDK
#
#
# General Settings
#
LINKMODE = STATIC
IPHONE_SDK_VERSION = 2.2.1
IPHONE_SDK = iPhoneOS
POCO_TARGET_OSNAME = iPhone
POCO_TARGET_OSARCH = armv6
TOOL_PREFIX = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-
OSFLAGS = -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/$(IPHONE_SDK)$(IPHONE_SDK_VERSION).sdk -mthumb -miphoneos-version-min=$(IPHONE_SDK_VERSION)
#
# Tools
#
CC = $(TOOL_PREFIX)gcc-4.0.1
CXX = $(TOOL_PREFIX)g++-4.0.1
LINK = $(CXX) -bind_at_load
LIB = libtool -static -o
RANLIB = ranlib
SHLIB = $(CXX) $(OSFLAGS) -dynamiclib -Wl,-install_name,$@ -o $@
DYLIB = $(CXX) $(OSFLAGS) -dynamic -bundle -read_only_relocs suppress -Wl,-bind_at_load -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .$(target_version).dylib
SHAREDLIBLINKEXT = .dylib
#
# Compiler and Linker Flags
#
CFLAGS = $(OSFLAGS)
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = $(OSFLAGS) -Wall -Wno-sign-compare
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS = $(OSFLAGS)
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK =
RELEASEOPT_CC = -DNDEBUG -O2
RELEASEOPT_CXX = -DNDEBUG -O
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -DPOCO_HAVE_IPv6 -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_STAT64
#
# System Specific Libraries
#
SYSLIBS = -ldl
poco-1.3.6p1-all/build/config/Linux 0000644 0000765 0000120 00000002426 11313735443 017644 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/Linux#3 $
#
# Linux
#
# Make settings for Linux 2.6/gcc 3.3
#
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -Wall -Wno-sign-compare
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/Linux-stlport 0000644 0000765 0000120 00000002644 11313735443 021353 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/Linux-stlport#1 $
#
# Linux
#
# Make settings for Linux 2.6/gcc 3.3
#
#
#
# General Settings
#
LINKMODE = SHARED
STLPORT_INCLUDE = /usr/local/include/stlport
STLPORT_LIB = /usr/local/lib
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -Wall -Wno-sign-compare
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -I$(STLPORT_INCLUDE) -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
#
# System Specific Libraries
#
SYSLIBS = -L$(STLPORT_LIB) -lstlport -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/MinGW 0000644 0000765 0000120 00000003003 11313735443 017516 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/MinGW#2 $
#
# MinGW32
#
# Make settings for MinGW on WinXP
#
#
# General Settings
#
LINKMODE = STATIC
POCO_TARGET_OSNAME = MinGW
POCO_TARGET_OSARCH = ia32
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -mno-cygwin -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(basename $(notdir $@))).a
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .dll
SHAREDLIBLINKEXT = .dll
BINEXT = .exe
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS = -Wl,--allow-multiple-definition
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC =
SHAREDOPT_CXX =
SHAREDOPT_LINK = -shared
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -mno-cygwin -D_WIN32 -DMINGW32 -DWINVER=0x500 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE -DFoundation_Config_INCLUDED -I/usr/local/include -I/usr/include
#
# System Specific Libraries
#
SYSLIBS = -L/usr/local/lib -L/usr/lib -liphlpapi -lws2_32 -lssl -lcrypto -lws2_32 -lgdi32
poco-1.3.6p1-all/build/config/OSF1 0000644 0000765 0000120 00000002660 11313735443 017255 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/OSF1#2 $
#
# OSF1
#
# Make settings for HP Tru64 5.1/Compaq C++ 6.5
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CC = cc
CXX = cxx
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -shared -o $@ -soname $(notdir $@)
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.cxx
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -pthread
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -model ansi -pthread -ansi_alias -std ansi -D__USE_STD_IOSTREAM -nousing_std -nopure_cname -ieee
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS = -pthread -model ansi -std ansi
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC = -non_shared
STATICOPT_CXX = -non_shared
STATICOPT_LINK = -non_shared
SHAREDOPT_CC = -shared
SHAREDOPT_CXX = -shared
SHAREDOPT_LINK = -call_shared
DEBUGOPT_CC = -g2 -D_DEBUG
DEBUGOPT_CXX = -gall -D_DEBUG
DEBUGOPT_LINK = -gall
RELEASEOPT_CC = +O2 -DNDEBUG
RELEASEOPT_CXX = +O2 -DNDEBUG
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_RWSTD_MULTI_THREAD -D_XOPEN_SOURCE=500 -D_OSF_SOURCE -D_SOCKADDR_LEN
#
# System Specific Libraries
#
SYSLIBS = -lm -lrt
poco-1.3.6p1-all/build/config/PPC-Linux 0000644 0000765 0000120 00000002654 11313735443 020267 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/PPC-Linux#1 $
#
# PPC-Linux
#
# Make settings for Cross compiling in to unknown, PPC-based embedded Linux
#
#
# General Settings
#
LINKMODE = STATIC
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = PPC
TOOL = ppc-linux
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/QNX 0000644 0000765 0000120 00000002347 11313735443 017215 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/QNX#3 $
#
# QNX
#
# Make settings for QNX Neutrino 6.3 with GCC 3.3.5
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CCVER = 3.3.5,gcc_ntox86
CC = qcc -V$(CCVER)
CXX = QCC -V$(CCVER)
LINK = $(CXX) -V$(CCVER)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.qcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fpic
SHAREDOPT_CXX = -fpic
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_QNX_SOURCE
#
# System Specific Libraries
#
SYSLIBS = -lm -lsocket
poco-1.3.6p1-all/build/config/SH-Linux 0000644 0000765 0000120 00000002603 11313735443 020151 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SH-Linux#1 $
#
# SH-Linux
#
# Make settings for Renesas SH-Linux
#
#
# General Settings
#
LINKMODE = SHARED
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = sh4
TOOL = sh4-linux
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O3 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/SSV-LINUX 0000644 0000765 0000120 00000003017 11313735443 020112 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SSV-LINUX#3 $
#
# ARM-Linux
#
# Make settings for ARM Linux/gcc 2.95.3 (cross-compile, using STLport 4.6.2)
#
#
# General Settings
#
LINKMODE = STATIC
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = ARM
TOOL = /usr/local/arm-ssv1-linux/bin/arm-ssv1-linux
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
STRIPDBG = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -I$(STLPORT_INCLUDE) -I$(OPENSSL_INCLUDE) -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl
poco-1.3.6p1-all/build/config/SunOS 0000644 0000765 0000120 00000000226 11313735443 017550 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SunOS#4 $
#
# SunOS
#
# Build settings for SunOS/Sun Studio C++
#
include $(POCO_BASE)/build/config/SunOS-SunStudio
poco-1.3.6p1-all/build/config/SunOS-GCC 0000644 0000765 0000120 00000002426 11313735443 020146 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SunOS-GCC#1 $
#
# SunOS-GCC
#
# Make settings for SunOS/gcc
#
#
#
# General Settings
#
LINKMODE = SHARED
#
# Define Tools
#
CC = gcc
CXX = g++
LINK = $(CXX)
LIB = ar -cr
RANLIB = ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS =
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -Wall -Wno-sign-compare
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
poco-1.3.6p1-all/build/config/SunOS-stdcxx-x86_64 0000644 0000765 0000120 00000003443 11313735443 022023 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SunOS-stdcxx-x86_64#1 $
#
# SunOS
#
# Build settings for SunOS 5.10/Sun Studio 12 C++ 5.9/Apache stdcxx/AMD Opteron 64 bit
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = cc -xtarget=opteron -m64
CXX = CC -xtarget=opteron -m64 -library=no%Cstd
LINK = $(CXX)
LIB = $(CXX) -xar -o $@
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.SunCC
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -mt -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -mt -features=tmplife
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS = -mt -L$(STDCXX_BASE)/lib -R$(STDCXX_BASE)/lib
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -Bstatic
SHAREDOPT_CC = -KPIC
SHAREDOPT_CXX = -KPIC
SHAREDOPT_LINK = -Bdynamic
DEBUGOPT_CC = -g -xdebugformat=stabs -xs -D_DEBUG=$(DEBUGLEVEL) -I$(STDCXX_BASE)/include
DEBUGOPT_CXX = -g -xdebugformat=stabs -xs -D_DEBUG=$(DEBUGLEVEL) -I$(STDCXX_BASE)/include
DEBUGOPT_LINK = -g -xdebugformat=stabs -xs
RELEASEOPT_CC = -xO3 -g0 -xregs=no%frameptr -xdebugformat=stabs -xs -DNDEBUG -library=no%Cstd -I$(STDCXX_BASE)/include
RELEASEOPT_CXX = -xO3 -g0 -xregs=no%frameptr -xdebugformat=stabs -xs -DNDEBUG -library=no%Cstd -I$(STDCXX_BASE)/include
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -D_RWSTDDEBUG -D_RWSTD_NO_DEBUG_ITER
#
# System Specific Libraries
#
SYSLIBS = -lstd15D -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl
poco-1.3.6p1-all/build/config/SunOS-SunForte 0000644 0000765 0000120 00000002572 11313735443 021321 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SunOS-SunForte#1 $
#
# SunOS
#
# Build settings for SunOS 5.9/Forte C++ 5.4
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = cc
CXX = CC
LINK = $(CXX)
LIB = $(CXX) -xar -o $@
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.SunCC
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -mt -Isrc
CFLAGS32 =
CFLAGS64 = -xarch=v9
CXXFLAGS = -mt -library=stlport4 -erroff=hidevf
CXXFLAGS32 =
CXXFLAGS64 = -xarch=v9
LINKFLAGS = -mt -library=stlport4
LINKFLAGS32 =
LINKFLAGS64 = -xarch=v9
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -Bstatic
SHAREDOPT_CC = -KPIC
SHAREDOPT_CXX = -KPIC
SHAREDOPT_LINK = -Bdynamic
DEBUGOPT_CC = -g -xs -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g -xs -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK = -g -xs
RELEASEOPT_CC = -O -DNDEBUG
RELEASEOPT_CXX = -O -DNDEBUG
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
#
# System Specific Libraries
#
SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl
poco-1.3.6p1-all/build/config/SunOS-SunStudio 0000644 0000765 0000120 00000002630 11313735443 021504 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/config/SunOS-SunStudio#3 $
#
# SunStudio
#
# Build settings for SunOS/Sun Studio C++
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = cc
CXX = CC
LINK = $(CXX)
LIB = $(CXX) -xar -o $@
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.SunCC
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -mt -Isrc
CFLAGS32 =
CFLAGS64 = -m64
CXXFLAGS = -mt -library=stlport4 -erroff=hidevf
CXXFLAGS32 =
CXXFLAGS64 = -m64
LINKFLAGS = -mt -library=stlport4
LINKFLAGS32 =
LINKFLAGS64 = -m64
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -Bstatic
SHAREDOPT_CC = -KPIC
SHAREDOPT_CXX = -KPIC
SHAREDOPT_LINK = -Bdynamic
DEBUGOPT_CC = -g -xs -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g -xs -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK = -g -xs
RELEASEOPT_CC = -O -DNDEBUG
RELEASEOPT_CXX = -O -DNDEBUG
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__
#
# System Specific Libraries
#
SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl
poco-1.3.6p1-all/build/config/SunOS-SunStudio11 0000644 0000765 0000120 00000002612 11313735443 021646 0 ustar guenter admin 0000000 0000000 #
# Solaris 8
# SunStudio 11 - Sun C/C++ 5.8
#
# Build settings for SunOS/Sun Studio C++
#
#
# General Settings
#
LINKMODE = BOTH
OSARCH_64BITS=1
#
# Tools
#
CC = cc
CXX = CC
LINK = libtool --mode=link $(CXX)
LIB = ar cru
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP =
DEP = $(POCO_BASE)/build/script/makedepend.SunCC
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -mt
CFLAGS32 = -xarch=v8plus
CFLAGS64 = -xarch=v9
CXXFLAGS = -mt -library=stlport4 -erroff=hidevf
CXXFLAGS32 = -xarch=v8plus
CXXFLAGS64 = -xarch=v9
LINKFLAGS = -mt -library=stlport4
LINKFLAGS32 = -xarch=v8plus
LINKFLAGS64 = -xarch=v9
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC = -KPIC
SHAREDOPT_CXX = -KPIC
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -xO5 -DNDEBUG
RELEASEOPT_CXX = -xO5 -DNDEBUG
RELEASEOPT_LINK = -xO5
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
#
# System Specific Libraries
#
SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl
poco-1.3.6p1-all/build/rules/ 0000755 0000765 0000120 00000000000 11313735443 016503 5 ustar guenter admin 0000000 0000000 poco-1.3.6p1-all/build/rules/compile 0000644 0000765 0000120 00000005514 11313735443 020063 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/rules/compile#3 $
#
# compile
#
# Compile rule definitions for makefiles
#
#
# Targets
#
.PHONY: all all_static all_shared all_debug all_release \
clean static_debug static_release shared_debug shared_release
all: $(DEFAULT_TARGET)
all_static: static_debug static_release
all_shared: shared_debug shared_release
all_debug: static_debug shared_debug
all_release: static_release shared_release
#
# Create directories if necessary
#
.PHONY: objdirs libdirs bindirs
objdirs: $(OBJPATH_RELEASE_STATIC) $(OBJPATH_DEBUG_STATIC) $(OBJPATH_RELEASE_SHARED) $(OBJPATH_DEBUG_SHARED)
libdirs: objdirs $(LIBPATH)
bindirs: objdirs $(BINPATH)
$(OBJPATH_RELEASE_STATIC) $(OBJPATH_DEBUG_STATIC) $(OBJPATH_RELEASE_SHARED) $(OBJPATH_DEBUG_SHARED) $(LIBPATH) $(BINPATH):
$(MKDIR) $@
#
# Rules for compiling
#
$(OBJPATH_DEBUG_STATIC)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d
@echo "** Compiling" $< "(debug)"
$(CXX) $(INCLUDE) $(CXXFLAGS) $(DEBUGOPT_CXX) $(STATICOPT_CXX) -c $< -o $@
$(OBJPATH_RELEASE_STATIC)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d
@echo "** Compiling" $< "(release)"
$(CXX) $(INCLUDE) $(CXXFLAGS) $(RELEASEOPT_CXX) $(STATICOPT_CXX) -c $< -o $@
$(OBJPATH_DEBUG_STATIC)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d
@echo "** Compiling" $< "(debug)"
$(CC) $(INCLUDE) $(CFLAGS) $(DEBUGOPT_CC) $(STATICOPT_CC) -c $< -o $@
$(OBJPATH_RELEASE_STATIC)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d
@echo "** Compiling" $< "(release)"
$(CC) $(INCLUDE) $(CFLAGS) $(RELEASEOPT_CC) $(STATICOPT_CC) -c $< -o $@
$(OBJPATH_DEBUG_SHARED)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d
@echo "** Compiling" $< "(debug, shared)"
$(CXX) $(INCLUDE) $(CXXFLAGS) $(DEBUGOPT_CXX) $(SHAREDOPT_CXX) -c $< -o $@
$(OBJPATH_RELEASE_SHARED)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d
@echo "** Compiling" $< "(release, shared)"
$(CXX) $(INCLUDE) $(CXXFLAGS) $(RELEASEOPT_CXX) $(SHAREDOPT_CXX) -c $< -o $@
$(OBJPATH_DEBUG_SHARED)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d
@echo "** Compiling" $< "(debug, shared)"
$(CC) $(INCLUDE) $(CFLAGS) $(DEBUGOPT_CC) $(SHAREDOPT_CC) -c $< -o $@
$(OBJPATH_RELEASE_SHARED)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d
@echo "** Compiling" $< "(release, shared)"
$(CC) $(INCLUDE) $(CFLAGS) $(RELEASEOPT_CC) $(SHAREDOPT_CC) -c $< -o $@
#
# Rules for creating dependency information
#
$(DEPPATH)/%.d: $(SRCDIR)/%.cpp
@echo "** Creating dependency info for" $^
$(MKDIR) $(DEPPATH)
$(DEP) $(SRCDIR)/$(patsubst %.d,%.cpp,$(notdir $@)) $@ $(OBJPATH_DEBUG_STATIC) $(OBJPATH_RELEASE_STATIC) $(OBJPATH_DEBUG_SHARED) $(OBJPATH_RELEASE_SHARED) $(INCLUDE) $(CXXFLAGS)
$(DEPPATH)/%.d: $(SRCDIR)/%.c
@echo "** Creating dependency info for" $^
$(MKDIR) $(DEPPATH)
$(DEP) $(SRCDIR)/$(patsubst %.d,%.c,$(notdir $@)) $@ $(OBJPATH_DEBUG_STATIC) $(OBJPATH_RELEASE_STATIC) $(OBJPATH_DEBUG_SHARED) $(OBJPATH_RELEASE_SHARED) $(INCLUDE) $(CFLAGS)
depend: $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects)))
poco-1.3.6p1-all/build/rules/dylib 0000644 0000765 0000120 00000004674 11313735443 017544 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/rules/dylib#4 $
#
# dylib
#
# Rule definitions for building dynamically loadable shared libraries
#
#
# Target names
#
SHL_EXT = $(SHAREDLIBLINKEXT)
# Some systems (e.g. Mac OS X) make a difference between
# shared libraries (as used by the linker/loader) and
# dynamic libraries, as used for dynamically loadable modules.
# If no specific instructions for making dynamic libraries
# are given, use the instructions for making shared libraries.
ifndef DYLIB
DYLIB = $(SHLIB)
DYLIBFLAGS = $(SHLIBFLAGS)
endif
DYLIB_DEBUG = $(BINPATH)/$(target)d$(OSARCH_POSTFIX)$(SHL_EXT)
DYLIB_RELEASE = $(BINPATH)/$(target)$(OSARCH_POSTFIX)$(SHL_EXT)
DYLIB_S_DEBUG = $(BINPATH)/$(target)d$(OSARCH_POSTFIX)_s$(SHL_EXT)
DYLIB_S_RELEASE = $(BINPATH)/$(target)$(OSARCH_POSTFIX)_s$(SHL_EXT)
TARGET_LIBS_DEBUG = $(foreach l,$(target_libs),-l$(l)d$(OSARCH_POSTFIX))
TARGET_LIBS_RELEASE = $(foreach l,$(target_libs),-l$(l)$(OSARCH_POSTFIX))
#
# Include the compile rules
#
include $(POCO_BASE)/build/rules/compile
#
# Rules for creating a dynamically loadable shared library
#
clean:
$(RM) $(OBJPATH)
$(RM) $(DYLIB_DEBUG) $(DYLIB_RELEASE) $(DYLIB_S_DEBUG) $(DYLIB_S_RELEASE)
distclean: clean
$(RM) obj
$(RM) .dep
ifeq ($(LINKMODE),BOTH)
static_debug: bindirs $(DYLIB_S_DEBUG)
static_release: bindirs $(DYLIB_S_RELEASE)
else
static_debug: bindirs $(DYLIB_DEBUG)
static_release: bindirs $(DYLIB_RELEASE)
endif
shared_debug: bindirs $(DYLIB_DEBUG)
shared_release: bindirs $(DYLIB_RELEASE)
$(DYLIB_DEBUG): $(foreach o,$(objects),$(OBJPATH_DEBUG_SHARED)/$(o).o)
@echo "** Building dynamic library (debug)" $@
$(DYLIB) $(DYLIBFLAGS) $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SYSLIBS)
$(postbuild)
$(DYLIB_RELEASE): $(foreach o,$(objects),$(OBJPATH_RELEASE_SHARED)/$(o).o)
@echo "** Building dynamic library (release)" $@
$(DYLIB) $(DYLIBFLAGS) $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS)
$(postbuild)
$(DYLIB_S_DEBUG): $(foreach o,$(objects),$(OBJPATH_DEBUG_SHARED)/$(o).o)
@echo "** Building dynamic library (debug)" $@
$(DYLIB) $(DYLIBFLAGS) $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SYSLIBS)
$(postbuild)
$(DYLIB_S_RELEASE): $(foreach o,$(objects),$(OBJPATH_RELEASE_SHARED)/$(o).o)
@echo "** Building dynamic library (release)" $@
$(DYLIB) $(DYLIBFLAGS) $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS)
$(postbuild)
#
# Include the automatically generated dependency files
#
sinclude $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects)))
poco-1.3.6p1-all/build/rules/exec 0000644 0000765 0000120 00000004172 11313735443 017356 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/rules/exec#4 $
#
# exec
#
# Rule definitions for building executables
#
#
# Target names
#
EXEC_RELEASE_STATIC = $(BINPATH)/$(target)$(OSARCH_POSTFIX)_s
EXEC_DEBUG_STATIC = $(BINPATH)/$(target)d$(OSARCH_POSTFIX)_s
EXEC_RELEASE_SHARED = $(BINPATH)/$(target)$(OSARCH_POSTFIX)
EXEC_DEBUG_SHARED = $(BINPATH)/$(target)d$(OSARCH_POSTFIX)
TARGET_LIBS_DEBUG = $(foreach l,$(target_libs),-l$(l)d$(OSARCH_POSTFIX))
TARGET_LIBS_RELEASE = $(foreach l,$(target_libs),-l$(l)$(OSARCH_POSTFIX))
#
# Include the compile rules
#
include $(POCO_BASE)/build/rules/compile
#
# Rules for creating an executable
#
clean:
$(RM) $(OBJPATH)
$(RM) $(EXEC_RELEASE_STATIC) $(EXEC_DEBUG_STATIC) $(EXEC_RELEASE_SHARED) $(EXEC_DEBUG_SHARED)
distclean: clean
$(RM) bin
$(RM) obj
$(RM) .dep
static_debug: bindirs $(EXEC_DEBUG_STATIC)
static_release: bindirs $(EXEC_RELEASE_STATIC)
shared_debug: bindirs $(EXEC_DEBUG_SHARED)
shared_release: bindirs $(EXEC_RELEASE_SHARED)
$(EXEC_DEBUG_STATIC): $(foreach o,$(objects),$(OBJPATH_DEBUG_STATIC)/$(o).o)
@echo "** Building executable (debug)" $@
$(LINK) $(LINKFLAGS) $(DEBUGOPT_LINK) $(STATICOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SYSLIBS)
$(CPYDBG)
$(STRIPDBGCMD)
$(postbuild)
$(EXEC_RELEASE_STATIC): $(foreach o,$(objects),$(OBJPATH_RELEASE_STATIC)/$(o).o)
@echo "** Building executable (release)" $@
$(LINK) $(LINKFLAGS) $(RELEASEOPT_LINK) $(STATICOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS)
$(STRIPCMD)
$(postbuild)
$(EXEC_DEBUG_SHARED): $(foreach o,$(objects),$(OBJPATH_DEBUG_SHARED)/$(o).o)
@echo "** Building shared executable (debug)" $@
$(LINK) $(LINKFLAGS) $(DEBUGOPT_LINK) $(SHAREDOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SYSLIBS)
$(postbuild)
$(EXEC_RELEASE_SHARED): $(foreach o,$(objects),$(OBJPATH_RELEASE_SHARED)/$(o).o)
@echo "** Building shared executable (release)" $@
$(LINK) $(LINKFLAGS) $(RELEASEOPT_LINK) $(SHAREDOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS)
$(STRIPCMD)
$(postbuild)
#
# Include the automatically generated dependency files
#
sinclude $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects)))
poco-1.3.6p1-all/build/rules/global 0000644 0000765 0000120 00000013005 11313735443 017665 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/rules/global#10 $
#
# global
#
# Global build configuration
#
# Environment variables:
# POCO_BASE: Path to POCO source tree. Must be defined.
# POCO_BUILD: Path to directory where build files are put.
# Defaults to $(POCO_BASE)
# POCO_CONFIG: Build configuration to use.
# Defaults to `uname`.
# POCO_TARGET_OSNAME: Target system operating system name (for cross builds)
# POCO_TARGET_OSARCH: Target system architecture (forr cross builds)
#
#
# Check for POCO_BASE
#
ifndef POCO_BASE
$(error POCO_BASE is not defined.)
endif
#
# Include some optional make configuration
#
sinclude $(POCO_BASE)/config.build
#
# Check for PROJECT_BASE
#
ifndef PROJECT_BASE
PROJECT_BASE = $(POCO_BASE)
endif
export PROJECT_BASE
#
# Check for POCO_BUILD
#
ifndef POCO_BUILD
POCO_BUILD = $(PROJECT_BASE)
endif
export POCO_BUILD
#
# POCO_BASE/POCO_BUILD/cwd sanity checks
#
# Ensure that the current working directory is either
# under $POCO_BASE or under $PROJECT_BASE
# Also, if we're building under $POCO_BASE, disarm
# $PROJECT_BASE
#
cwd = $(shell pwd)
inpoco = $(shell echo | awk '{print index("$(cwd)","$(POCO_BASE)")}')
inproj = $(shell echo | awk '{print index("$(cwd)","$(PROJECT_BASE)")}')
ifeq ($(inpoco),1)
PROJECT_BASE = $(POCO_BASE)
else
ifeq ($(inproj),1)
else
$(error Current working directory not under $$PROJECT_BASE)
endif
endif
#
# Determine OS
#
POCO_HOST_OSNAME = $(shell uname)
ifeq ($(findstring CYGWIN,$(POCO_HOST_OSNAME)),CYGWIN)
POCO_HOST_OSNAME = CYGWIN
endif
ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW)
POCO_HOST_OSNAME = MinGW
endif
POCO_HOST_OSARCH = $(subst /,-,$(shell uname -m | tr ' ' _))
#
# Begin Sun platforms
#
# Pure Solaris or GNU (Nexenta), Sun Forte and Sun Studio compilers supported
# (on Nexenta, the default compiler is g++)
#
ifeq ($(findstring SunOS,$(POCO_HOST_OSNAME)),SunOS)
# detect if this is Nexenta platform
POCO_HOST_ALL_OSNAME := $(shell uname -a)
ifeq ($(findstring Nexenta,$(POCO_HOST_ALL_OSNAME)),Nexenta)
POCO_HOST_OSNAME := Nexenta
else # Up to version 5.5 SunOS-SunForte config is used, 5.6 and above use SunOS-SunStudio
POCO_COMPILER_NAME := $(shell CC -V 2>&1)
POCO_COMPILER_VERSION := $(subst .,,$(filter 5.%,$(POCO_COMPILER_NAME)))
ifeq (0, $(shell test $(POCO_COMPILER_VERSION) -gt 55; echo $$?))
POCO_CONFIG := SunOS-SunStudio
else
POCO_CONFIG := SunOS-SunForte
endif
endif
endif
#
# End Sun Platforms
#
#
# If POCO_CONFIG is not set, use the OS name as configuration name
#
ifndef POCO_CONFIG
POCO_CONFIG = $(POCO_HOST_OSNAME)
endif
#
# Check if a 64bit build is requested
#
ifndef OSARCH_64BITS
OSARCH_64BITS = 0
endif
ifeq ($(OSARCH_64BITS),1)
OSARCH_POSTFIX = 64
else
OSARCH_POSTFIX =
endif
#
# Include System Specific Settings
#
include $(POCO_BASE)/build/config/$(POCO_CONFIG)
#
# Determine operating system
#
ifndef POCO_TARGET_OSNAME
OSNAME := $(POCO_HOST_OSNAME)
else
OSNAME := $(POCO_TARGET_OSNAME)
endif
ifndef POCO_TARGET_OSARCH
OSARCH := $(subst /,-,$(shell uname -m | tr ' ' _))
else
OSARCH := $(POCO_TARGET_OSARCH)
endif
HOSTNAME := $(shell hostname)
#
# Find out current component
#
COMPONENT := $(shell $(POCO_BASE)/build/script/projname "$(PROJECT_BASE)")
#
# Define standard directories
#
SRCDIR = src
INCDIR = include
LIBDIR = lib/$(OSNAME)/$(OSARCH)
BINDIR = bin/$(OSNAME)/$(OSARCH)
OBJDIR = obj/$(OSNAME)/$(OSARCH)
DEPDIR = .dep/$(OSNAME)/$(OSARCH)
LIBPATH = $(POCO_BUILD)/$(LIBDIR)
BINPATH = $(POCO_BUILD)/$(COMPONENT)/$(BINDIR)
OBJPATH = $(POCO_BUILD)/$(COMPONENT)/$(OBJDIR)
DEPPATH = $(POCO_BUILD)/$(COMPONENT)/$(DEPDIR)
ifeq ($(POCO_BASE),$(PROJECT_BASE))
POCO_LIBRARY =
else
POCO_LIBRARY = -L$(POCO_BASE)/$(LIBDIR)
endif
ifndef LIBPREFIX
LIBPREFIX = lib
endif
#
# Build component list
#
COMPONENTS := $(shell cat $(POCO_BASE)/components)
#
# Read global library version number
#
LIBVERSION := $(shell cat $(POCO_BASE)/libversion)
#
# Determine link mode
#
ifndef LINKMODE
LINKMODE = BOTH
endif
ifeq ($(LINKMODE),SHARED)
DEFAULT_TARGET = all_shared
endif
ifeq ($(LINKMODE),STATIC)
DEFAULT_TARGET = all_static
endif
ifeq ($(LINKMODE),BOTH)
DEFAULT_TARGET = all_static all_shared
endif
#
# Compose compiler flags
#
COMMONFLAGS = -DPOCO_BUILD_HOST=$(HOSTNAME) $(POCO_FLAGS)
CFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
CXXFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
LINKFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
ifeq ($(OSARCH_64BITS),1)
CFLAGS += $(CFLAGS64)
CXXFLAGS += $(CXXFLAGS64)
SHLIBFLAGS += $(SHLIBFLAGS64)
DYLIBFLAGS += $(DYLIBFLAGS64)
LINKFLAGS += $(LINKFLAGS64)
else
CFLAGS += $(CFLAGS32)
CXXFLAGS += $(CXXFLAGS32)
SHLIBFLAGS += $(SHLIBFLAGS32)
DYLIBFLAGS += $(DYLIBFLAGS32)
LINKFLAGS += $(LINKFLAGS32)
endif
#
# Compose object file path
#
OBJPATH_RELEASE_STATIC = $(OBJPATH)/release_static$(OSARCH_POSTFIX)
OBJPATH_DEBUG_STATIC = $(OBJPATH)/debug_static$(OSARCH_POSTFIX)
OBJPATH_RELEASE_SHARED = $(OBJPATH)/release_shared$(OSARCH_POSTFIX)
OBJPATH_DEBUG_SHARED = $(OBJPATH)/debug_shared$(OSARCH_POSTFIX)
#
# Build Include directory List
#
INCLUDE = $(foreach p,$(POCO_ADD_INCLUDE),-I$(p)) -Iinclude $(foreach p,$(COMPONENTS),-I$(POCO_BASE)/$(p)/$(INCDIR))
#
# Build Library Directory List
#
LIBRARY = $(foreach p,$(POCO_ADD_LIBRARY),-L$(p)) -L$(LIBPATH) $(POCO_LIBRARY)
#
# Strip Command definition
#
ifeq ($(strip $(STRIP)),)
STRIPCMD =
else
STRIPCMD = $(STRIP) $@$(BINEXT)
endif
#
# Remote debugging support
#
ifeq ($(strip $(STRIPDBG)),)
CPYDBG =
STRIPDBGCMD =
else
CPYDBG = cp $@ $@x
STRIPDBGCMD = $(STRIP) $@x
endif
#
# Make CC and CXX environment vars
#
export CC
export CXX
poco-1.3.6p1-all/build/rules/lib 0000644 0000765 0000120 00000004524 11313735443 017201 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/rules/lib#4 $
#
# lib
#
# Rule definitions for building libraries
#
#
# Target names
#
ifeq ($(OSNAME),CYGWIN)
SHL_EXT = $(SHAREDLIBLINKEXT)
else
ifdef target_version
SHL_EXT = $(SHAREDLIBEXT)
else
SHL_EXT = $(SHAREDLIBLINKEXT)
endif
endif
LIB_RELEASE_STATIC = $(LIBPATH)/$(LIBPREFIX)$(target)$(OSARCH_POSTFIX).a
LIB_DEBUG_STATIC = $(LIBPATH)/$(LIBPREFIX)$(target)d$(OSARCH_POSTFIX).a
LIB_RELEASE_SHARED = $(LIBPATH)/$(LIBPREFIX)$(target)$(OSARCH_POSTFIX)$(SHL_EXT)
LIB_DEBUG_SHARED = $(LIBPATH)/$(LIBPREFIX)$(target)d$(OSARCH_POSTFIX)$(SHL_EXT)
LIB_RELEASE_SHARED_LINK = $(LIBPATH)/$(LIBPREFIX)$(target)$(OSARCH_POSTFIX)$(SHAREDLIBLINKEXT)
LIB_DEBUG_SHARED_LINK = $(LIBPATH)/$(LIBPREFIX)$(target)d$(OSARCH_POSTFIX)$(SHAREDLIBLINKEXT)
TARGET_LIBS_DEBUG = $(foreach l,$(target_libs),-l$(l)d$(OSARCH_POSTFIX))
TARGET_LIBS_RELEASE = $(foreach l,$(target_libs),-l$(l)$(OSARCH_POSTFIX))
#
# Include the compile rules
#
include $(POCO_BASE)/build/rules/compile
#
# Rules for creating a library
#
clean:
$(RM) $(OBJPATH)
$(RM) $(LIB_RELEASE_STATIC) $(LIB_DEBUG_STATIC) $(LIB_RELEASE_SHARED) $(LIB_DEBUG_SHARED)
distclean: clean
$(RM) obj
$(RM) .dep
static_debug: libdirs $(LIB_DEBUG_STATIC)
static_release: libdirs $(LIB_RELEASE_STATIC)
shared_debug: libdirs $(LIB_DEBUG_SHARED)
shared_release: libdirs $(LIB_RELEASE_SHARED)
$(LIB_DEBUG_STATIC): $(foreach o,$(objects),$(OBJPATH_DEBUG_STATIC)/$(o).o)
@echo "** Building library (debug)" $@
$(LIB) $@ $^
$(RANLIB) $@
$(postbuild)
$(LIB_RELEASE_STATIC): $(foreach o,$(objects),$(OBJPATH_RELEASE_STATIC)/$(o).o)
@echo "** Building library (release)" $@
$(LIB) $@ $^
$(RANLIB) $@
$(postbuild)
$(LIB_DEBUG_SHARED): $(foreach o,$(objects),$(OBJPATH_DEBUG_SHARED)/$(o).o)
@echo "** Building shared library (debug)" $@
$(SHLIB) $(SHLIBFLAGS) $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SYSLIBS)
$(SHLIBLN) $(LIB_DEBUG_SHARED) $(LIB_DEBUG_SHARED_LINK)
$(postbuild)
$(LIB_RELEASE_SHARED): $(foreach o,$(objects),$(OBJPATH_RELEASE_SHARED)/$(o).o)
@echo "** Building shared library (release)" $@
$(SHLIB) $(SHLIBFLAGS) $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS)
$(SHLIBLN) $(LIB_RELEASE_SHARED) $(LIB_RELEASE_SHARED_LINK)
$(STRIPCMD)
$(postbuild)
#
# Include the automatically generated dependency files
#
sinclude $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects)))
poco-1.3.6p1-all/build/rules/sample 0000644 0000765 0000120 00000003400 11313735443 017704 0 ustar guenter admin 0000000 0000000 #
# $Id: //poco/1.3/build/rules/sample#3 $
#
# sample
#
# Global build configuration for samples
#
# Environment variables:
# POCO_BASE: Path to POCO source tree.
# POCO_CONFIG: Build configuration to use.
# Defaults to `uname`.
#
#
# Check for POCO_BASE
#
ifndef POCO_BASE
$(error POCO_BASE is not defined.)
endif
#
# Determine OS
#
POCO_HOST_OSNAME = $(shell uname)
#
# If POCO_CONFIG is not set, use the OS name as configuration name
#
ifndef POCO_CONFIG
POCO_CONFIG = $(POCO_HOST_OSNAME)
endif
#
# Include System Specific Settings
#
include $(POCO_BASE)/build/config/$(POCO_CONFIG)
#
# Define standard directories
#
SRCDIR = src
INCDIR = include
LIBDIR = lib
BINDIR = bin
OBJDIR = obj
DEPDIR = .dep
INCPATH = $(POCO_BASE)/$(INCDIR)
LIBPATH = $(POCO_BASE)/$(LIBDIR)
BINPATH = $(BINDIR)
OBJPATH = $(OBJDIR)
DEPPATH = $(DEPDIR)
#
# Determine link mode
#
ifndef LINKMODE
LINKMODE = BOTH
endif
ifeq ($(LINKMODE),SHARED)
DEFAULT_TARGET = all_shared
endif
ifeq ($(LINKMODE),STATIC)
DEFAULT_TARGET = all_static
endif
ifeq ($(LINKMODE),BOTH)
DEFAULT_TARGET = all_static all_shared
endif
#
# Compose compiler flags
#
COMMONFLAGS = $(POCO_FLAGS)
CFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
CXXFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
LINKFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
#
# Compose object file path
#
OBJPATH_RELEASE_STATIC = $(OBJPATH)/release_static$(OSARCH_POSTFIX)
OBJPATH_DEBUG_STATIC = $(OBJPATH)/debug_static$(OSARCH_POSTFIX)
OBJPATH_RELEASE_SHARED = $(OBJPATH)/release_shared$(OSARCH_POSTFIX)
OBJPATH_DEBUG_SHARED = $(OBJPATH)/debug_shared$(OSARCH_POSTFIX)
#
# Build Include directory List
#
INCLUDE = -Iinclude -I$(INCPATH)
#
# Build Library Directory List
#
LIBRARY = -L$(LIBPATH)
#
# Make CC and CXX environment vars
#
export CC
export CXX
poco-1.3.6p1-all/build/script/ 0000755 0000765 0000120 00000000000 11313735443 016655 5 ustar guenter admin 0000000 0000000 poco-1.3.6p1-all/build/script/makedepend.aCC 0000755 0000765 0000120 00000000667 11313735443 021336 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/makedepend.aCC#1 $
#
# makedepend.aCC
#
# Create dependency file, HP ANSI C++ version
# Usage: makedepend.gcc source target dir1 dir2 dir3 dir4 flags...
#
source=$1
shift
target=$1
shift
dir1=$1
shift
dir2=$1
shift
dir3=$1
shift
dir4=$1
shift
tmpfile=`basename $target`
aCC -E +maked $@ $source >/dev/null
sed "s#\(.*\.o\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" <$tmpfile >$target
rm $tmpfile
poco-1.3.6p1-all/build/script/makedepend.cxx 0000755 0000765 0000120 00000000564 11313735443 021506 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/makedepend.cxx#1 $
#
# makedepend.cxx
#
# Create dependency file, Compaq C++ version
# Usage: makedepend.gcc source target dir1 dir2 dir3 dir4 flags...
#
source=$1
shift
target=$1
shift
dir1=$1
shift
dir2=$1
shift
dir3=$1
shift
dir4=$1
shift
cxx -M $@ $source | sed "s#\(.*\.o\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target
poco-1.3.6p1-all/build/script/makedepend.gcc 0000755 0000765 0000120 00000000556 11313735443 021441 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/makedepend.gcc#1 $
#
# makedepend.gcc
#
# Create dependency file, GCC version
# Usage: makedepend.gcc source target dir1 dir2 dir3 dir4 flags...
#
source=$1
shift
target=$1
shift
dir1=$1
shift
dir2=$1
shift
dir3=$1
shift
dir4=$1
shift
$CC -MM $@ $source | sed "s#\(.*\.o\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target
poco-1.3.6p1-all/build/script/makedepend.qcc 0000755 0000765 0000120 00000000601 11313735443 021442 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/makedepend.qcc#1 $
#
# makedepend.gcc
#
# Create dependency file, QNX Neutrino QCC version
# Usage: makedepend.qcc source target dir1 dir2 dir3 dir4 flags...
#
source=$1
shift
target=$1
shift
dir1=$1
shift
dir2=$1
shift
dir3=$1
shift
dir4=$1
shift
$CC -E -Wp,-MM $@ $source | sed "s#\(.*\.o\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target
poco-1.3.6p1-all/build/script/makedepend.SunCC 0000755 0000765 0000120 00000000576 11313735443 021662 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/makedepend.SunCC#1 $
#
# makedepend.SunCC
#
# Create dependency file, Sun Forte C++ version
# Usage: makedepend.SunCC source target dir1 dir2 dir3 dir4 flags...
#
source=$1
shift
target=$1
shift
dir1=$1
shift
dir2=$1
shift
dir3=$1
shift
dir4=$1
shift
CC -xM1 $@ $source | sed "s#\(.*\.o\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target
poco-1.3.6p1-all/build/script/makedepend.xlC 0000755 0000765 0000120 00000001006 11313735443 021422 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
#
# makedepend.xlC
#
# Create dependency file, xlC version
# Usage: makedepend.xlC source target dir1 dir2 dir3 dir4 flags...
#
source=$1
shift
target=$1
shift
dir1=$1
shift
dir2=$1
shift
dir3=$1
shift
dir4=$1
shift
cwd=`pwd`
cd `dirname $target`
$CXX -qmakedep -E -w $@ $cwd/$source >/dev/null
ufile=`basename $source`
ufile=`echo $ufile | sed "s#\.cpp#\.u#"`
cat $ufile | sort | uniq | grep -v '/usr/include' | grep -v '/usr/vacpp' | sed "s#\(.*\.o\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target
poco-1.3.6p1-all/build/script/makeldpath 0000755 0000765 0000120 00000000702 11313735443 020714 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# makeldpath
#
# $Id: //poco/1.3/build/script/makeldpath#1 $
#
# Create a LD_LIBRARY_PATH for all project libraries.
#
if [ "$POCO_BASE" == "" ] ; then
echo $0": POCO_BASE is not set."
exit 1
fi
projectList=`cat ${POCO_BASE}/components`
OSNAME=`uname`
OSARCH=`uname -m | tr " /" "_-"`
for proj in $projectList ;
do
path=${POCO_BASE}/${proj}/lib/${OSNAME}/${OSARCH}
echo $path
if [ -d $path ] ; then
echo -n ":"$path
fi
done
poco-1.3.6p1-all/build/script/projname 0000755 0000765 0000120 00000000621 11313735443 020415 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/projname#2 $
#
# projname
#
# Usage: projname PROJECT_BASE
#
# Extract the project name from the current path
# NOTE: the cd $PROJECT_BASE is necessary to resolve symbolic links,
# ditto is the kinda strange sh -c pwd
#
PROJECT_BASE=$1
cdir=`sh -c pwd`
cd $PROJECT_BASE
projbase=`sh -c pwd`
cd "$cdir"
sh -c pwd | sed "s:^$projbase::" | sed "s:^/::"
poco-1.3.6p1-all/build/script/shlibln 0000755 0000765 0000120 00000000622 11313735443 020236 0 ustar guenter admin 0000000 0000000 #! /bin/sh
#
# $Id: //poco/1.3/build/script/shlibln#1 $
#
# shlibln
#
# Create a symbolic link for a shared library
#
if [ $# -ne 2 ] ; then
echo "usage: $0:t file link"
exit 1
fi
source="$1"
target="$2"
sourcedir=`dirname "$source"`
targetdir=`dirname "$target"`
if [ "$sourcedir" = "$targetdir" ] ; then
source=`basename $source`
fi
if [ "$1" != "$2" ] ; then
ln -sf "$source" "$target"
fi
poco-1.3.6p1-all/build/vms/ 0000755 0000765 0000120 00000000000 11313735443 016156 5 ustar guenter admin 0000000 0000000 poco-1.3.6p1-all/build/vms/build.com 0000755 0000765 0000120 00000010655 11313735443 017767 0 ustar guenter admin 0000000 0000000 $ !
$ ! BUILD.COM
$ !
$ ! $Id: //poco/1.3/build/vms/build.com#1 $
$ !
$ ! OpenVMS build procedure
$ !
$ ! Requires the logical POCO_BASE to be set accordingly.
$ !
$ ! Usage: build [-32|-64] [-DEBUG|-RELEASE] [-CLEAN] [-VERBOSE]
$ !
$
$ clean == 0
$ verbose == 0
$ buildMode == "DEBUG"
$ pointerSize == 32
$ buildfile == F$SEARCH("*.VMSBUILD")
$ projectDefines == ""
$ lib = ""
$ exe = ""
$ shr = ""
$
$ DEFINE/PROC/NOLOG CppUnit POCO_BASE:[CPPUNIT.INCLUDE.CPPUNIT]
$ DEFINE/PROC/NOLOG Foundation POCO_BASE:[FOUNDATION.INCLUDE.FOUNDATION]
$ DEFINE/PROC/NOLOG XML POCO_BASE:[XML.INCLUDE.XML]
$ DEFINE/PROC/NOLOG SAX POCO_BASE:[XML.INCLUDE.SAX]
$ DEFINE/PROC/NOLOG DOM POCO_BASE:[XML.INCLUDE.DOM]
$
$ CALL handleArgs "''P1'"
$ CALL handleArgs "''P2'"
$ CALL handleArgs "''P3'"
$ CALL handleArgs "''P4'"
$ CALL handleArgs "''P5'"
$
$ IF buildfile .EQS. ""
$ THEN
$ WRITE SYS$OUTPUT "Cannot find build file."
$ EXIT 1
$ ENDIF
$
$ IF pointerSize .EQ. 32
$ THEN
$ objdir = "OBJ32"
$ ELSE
$ objdir = "OBJ64"
$ ENDIF
$
$ IF buildMode .EQS. "DEBUG"
$ THEN
$ objdir = objdir + "D"
$ ELSE
$ objdir = objdir + "R"
$ ENDIF
$
$ objpath = "[.''objdir']"
$ exists = F$SEARCH("''objdir'.DIR")
$ IF exists .EQS. ""
$ THEN
$ CREATE/DIR/NOLOG 'objpath'
$ SET FILE/PROT=(O:RWED) 'objdir'.DIR;*
$ ENDIF
$
$ IF clean .EQ. 1
$ THEN
$ DELETE/NOLOG 'objpath'*.*;*
$ ENDIF
$
$ PCXX :== @POCO_BASE:[BUILD.VMS]POCOCXX.COM
$ PCC :== @POCO_BASE:[BUILD.VMS]POCOCC.COM
$ PLIB :== @POCO_BASE:[BUILD.VMS]POCOLIB.COM
$ PLNK :== @POCO_BASE:[BUILD.VMS]POCOLNK.COM
$
$ OPEN fileList 'buildfile'
$ ON ERROR THEN GOTO EOF
$ ON CONTROL_Y THEN GOTO EOF
$ ReadLoop:
$ READ/END_OF_FILE=EOF fileList file
$ file = F$EDIT(file, "TRIM")
$ IF F$EXTRACT(0, 4, file) .EQS. "DEF="
$ THEN
$ projectDefines = F$EXTRACT(4, 64, file)
$ projectDefines = "," + F$EDIT(projectDefines, "TRIM")
$ GOTO ReadLoop
$ ENDIF
$ IF F$EXTRACT(0, 4, file) .EQS. "LIB="
$ THEN
$ lib = F$EXTRACT(4, 64, file)
$ lib = F$EDIT(lib, "TRIM")
$ GOTO ReadLoop
$ ENDIF
$ IF F$EXTRACT(0, 4, file) .EQS. "EXE="
$ THEN
$ exe = F$EXTRACT(4, 64, file)
$ exe = F$EDIT(exe, "TRIM")
$ GOTO ReadLoop
$ ENDIF
$ IF F$EXTRACT(0, 4, file) .EQS. "SHR="
$ THEN
$ shr = F$EXTRACT(4, 64, file)
$ shr = F$EDIT(shr, "TRIM")
$ GOTO ReadLoop
$ ENDIF
$ IF F$EXTRACT(0, 1, file) .NES. "#"
$ THEN
$ cfile = F$SEARCH(F$PARSE(file, "[.SRC]", ".C"))
$ cppfile = F$SEARCH(F$PARSE(file, "[.SRC]", ".CPP"))
$ IF cppfile .NES. ""
$ THEN
$ srcfile = "[.SRC]''file'.CPP"
$ ELSE
$ srcfile = "[.SRC]''file'.C"
$ ENDIF
$ srctime = F$CVTIME(F$FILE_ATTRIBUTES(srcfile, "RDT"), "COMPARISON")
$ objfile = F$SEARCH(F$PARSE(file, objpath, ".OBJ"))
$ IF objfile .NES. ""
$ THEN
$ objtime = F$CVTIME(F$FILE_ATTRIBUTES(objfile, "RDT"), "COMPARISON")
$ ELSE
$ objtime = F$CVTIME("01-JAN-1970 00:00:00.00", "COMPARISON")
$ ENDIF
$ IF srctime .GTS. objtime
$ THEN
$ WRITE SYS$OUTPUT "** Compiling ",file
$ IF cppfile .NES. ""
$ THEN
$ PCXX 'srcfile'
$ ELSE
$ PCC 'srcfile'
$ ENDIF
$ ELSE
$ WRITE SYS$OUTPUT "** Skipping ",file," (up-to-date)"
$ ENDIF
$ ENDIF
$ GOTO ReadLoop
$ EOF:
$ CLOSE fileList
$
$ IF lib .NES. ""
$ THEN
$ WRITE SYS$OUTPUT "** Creating Library ",lib
$ PLIB 'lib'
$ ELSE
$ IF exe .NES. ""
$ THEN
$ WRITE SYS$OUTPUT "** Creating Executable ",exe
$ PLNK 'exe'
$ ELSE
$ IF shr .NES. ""
$ THEN
$ WRITE SYS$OUTPUT "** Creating Shareable ",shr
$ PLNK 'shr' "SHAREABLE"
$ ENDIF
$ ENDIF
$ ENDIF
$
$ handleArgs: SUBROUTINE
$ arg = F$EDIT("''P1'", "UPCASE")
$ IF arg .NES. ""
$ THEN
$ IF arg .EQS. "-CLEAN" THEN clean == 1
$ IF arg .EQS. "-32" THEN pointerSize == 32
$ IF arg .EQS. "-64" THEN pointerSize == 64
$ IF arg .EQS. "-DEBUG" THEN buildMode == "DEBUG"
$ IF arg .EQS. "-RELEASE" THEN buildMode == "RELEASE"
$ IF arg .EQS. "-VERBOSE" THEN verbose == 1
$ IF F$EXTRACT(0, 1, arg) .NES. "-" THEN buildfile == F$SEARCH("''arg'.VMSBUILD")
$ ENDIF
$ ENDSUBROUTINE
poco-1.3.6p1-all/build/vms/pococc.com 0000755 0000765 0000120 00000001654 11313735443 020135 0 ustar guenter admin 0000000 0000000 $ !
$ ! POCOCC.COM
$ !
$ ! $Id: //poco/1.3/build/vms/pococc.com#1 $
$ !
$ ! C compile procedure for Poco libraries
$ !
$ ! The logical POCO_BASE must be set and point to the
$ ! Poco base directory (e.g. USER1:[PROJECTS.POCO.])
$ !
$
$ IF "''pointerSize'" .EQS. "32"
$ THEN
$ ptropt = "/POINTER=32"
$ objdir = "OBJ32"
$ ELSE
$ ptropt = "/POINTER=64"
$ objdir = "OBJ64"
$ ENDIF
$
$ IF "''buildMode'" .EQS. "RELEASE"
$ THEN
$ modeopt = "/NODEBUG"
$ modedef = "NDEBUG"
$ objdir = objdir + "R"
$ ELSE
$ modeopt = "/DEBUG=ALL/NOOPTIMIZE"
$ modedef = "_DEBUG"
$ objdir = objdir + "D"
$ ENDIF
$
$ baseopt = "/STANDARD=RELAXED/ANSI_ALIAS/FLOAT=IEEE_FLOAT/OBJECT=[.''objdir'].OBJ"
$ defines = "/DEFINE=(''modedef' ''projectDefines')"
$
$ IF "''verbose'" .EQS. "1"
$ THEN
$ WRITE SYS$OUTPUT "CC ''baseopt' ''ptropt' ''modeopt' ''defines' ''P1'"
$ ENDIF
$
$ CC 'baseopt' 'ptropt' 'modeopt' 'defines' 'p1'
poco-1.3.6p1-all/build/vms/pococxx.com 0000755 0000765 0000120 00000002104 11313735443 020341 0 ustar guenter admin 0000000 0000000 $ !
$ ! POCOCXX.COM
$ !
$ ! $Id: //poco/1.3/build/vms/pococxx.com#1 $
$ !
$ ! C++ compile procedure for Poco libraries
$ !
$ ! The logical POCO_BASE must be set and point to the
$ ! Poco base directory (e.g. USER1:[PROJECTS.POCO.])
$ !
$
$ IF "''pointerSize'" .EQS. "32"
$ THEN
$ ptropt = "/POINTER=32"
$ objdir = "OBJ32"
$ ELSE
$ ptropt = "/MODEL=ANSI"
$ objdir = "OBJ64"
$ ENDIF
$
$ IF "''buildMode'" .EQS. "RELEASE"
$ THEN
$ modeopt = "/NODEBUG"
$ modedef = "NDEBUG"
$ objdir = objdir + "R"
$ ELSE
$ modeopt = "/DEBUG=ALL/NOOPT"
$ modedef = "_DEBUG"
$ objdir = objdir + "D"
$ ENDIF
$
$ node = F$GETSYI("NODENAME")
$ baseopt = "/STANDARD=ANSI/ANSI/NOUSING/FLOAT=IEEE/IEEE=UNDER/REENT=MULTI/OBJ=[.''objdir'].OBJ"
$ repopt = "/REP=[.''objdir']"
$ defines = "/DEF=(__USE_STD_IOSTREAM,__NEW_STARLET,POCO_BUILD_HOST=''node',''modedef' ''projectDefines')"
$
$ IF "''verbose'" .EQS. "1"
$ THEN
$ WRITE SYS$OUTPUT "CXX ''baseopt' ''ptropt' ''modeopt' ''defines' ''repopt' ''P1'"
$ ENDIF
$
$ CXX 'baseopt' 'ptropt' 'modeopt' 'defines' 'repopt' 'p1'
poco-1.3.6p1-all/build/vms/pocolib.com 0000755 0000765 0000120 00000001340 11313735443 020306 0 ustar guenter admin 0000000 0000000 $ !
$ ! POCOLIB.COM
$ !
$ ! $Id: //poco/1.3/build/vms/pocolib.com#1 $
$ !
$ ! C++ library creation procedure for Poco libraries
$ !
$ ! The logical POCO_BASE must be set and point to the
$ ! Poco base directory (e.g. USER1:[PROJECTS.POCO.])
$ !
$
$ libdir = "POCO_BASE:[LIB]"
$ lib = libdir + p1
$
$ IF "''pointerSize'" .EQS. "32"
$ THEN
$ objdir = "OBJ32"
$ ELSE
$ objdir = "OBJ64"
$ lib = lib + "64"
$ ENDIF
$
$ IF "''buildMode'" .EQS. "RELEASE"
$ THEN
$ objdir = objdir + "R"
$ ELSE
$ objdir = objdir + "D"
$ lib = lib + "D"
$ ENDIF
$
$
$ IF "''verbose'" .EQS. "1"
$ THEN
$ WRITE SYS$OUTPUT "LIBRARY/OBJECT/CREATE ''lib' [.''objdir']*.OBJ"
$ ENDIF
$
$ LIBRARY/OBJECT/CREATE 'lib' [.'objdir']*.OBJ
poco-1.3.6p1-all/build/vms/pocolnk.com 0000755 0000765 0000120 00000004076 11313735443 020335 0 ustar guenter admin 0000000 0000000 $ !
$ ! POCOLNK.COM
$ !
$ ! $Id: //poco/1.3/build/vms/pocolnk.com#1 $
$ !
$ ! C++ link procedure for Poco
$ !
$ ! The logical POCO_BASE must be set and point to the
$ ! Poco base directory (e.g. USER1:[PROJECTS.POCO.])
$ !
$
$ target = P1
$ libdir = "POCO_BASE:[LIB]"
$ bindir = "[.BIN]"
$ baseopt = "/THREADS"
$
$ IF "''P2'" .EQS. "SHAREABLE"
$ THEN
$ outopt="/SHAREABLE"
$ ELSE
$ outopt="/EXECUTABLE"
$ ENDIF
$
$ IF "''pointerSize'" .EQS. "32"
$ THEN
$ libsuffix = ""
$ binsuffix = ""
$ ptropt = "/MODEL=ARM"
$ objdir = "OBJ32"
$ ELSE
$ libsuffix = "64"
$ binsuffix = "64"
$ ptropt = "/MODEL=ANSI"
$ objdir = "OBJ64"
$ ENDIF
$
$ IF "''buildMode'" .EQS. "RELEASE"
$ THEN
$ dbgopt = "/NOTRACEBACK"
$ objdir = objdir + "R"
$ ELSE
$ libsuffix = "''libsuffix'D"
$ binsuffix = "''binsuffix'D"
$ dbgopt = "/TRACEBACK/debug"
$ objdir = objdir + "D"
$ ENDIF
$
$ IF F$SEARCH("''target'.OPT") .NES. ""
$ THEN
$ COPY 'target'.OPT 'target'.TMPOPT
$ OPEN/APPEND optfile 'target'.TMPOPT
$ ELSE
$ OPEN/WRITE optfile 'target'.TMPOPT
$ ENDIF
$ ObjWriteLoop:
$ obj = F$SEARCH("[.''objdir']*.OBJ", 1)
$ IF obj .EQS. "" THEN GOTO LibWriteLoop1
$ WRITE optfile "''obj'"
$ GOTO ObjWriteLoop
$ LibWriteLoop1:
$ lib = F$SEARCH("''libdir'*''libsuffix'.OLB", 2)
$ IF lib .EQS. "" THEN GOTO LibWriteLoop2
$ WRITE optfile "''lib'/LIBRARY"
$ GOTO LibWriteLoop1
$ LibWriteLoop2:
$ lib = F$SEARCH("''libdir'*''libsuffix'.OLB", 3)
$ IF lib .EQS. "" THEN GOTO EndWriteLoop
$ WRITE optfile "''lib'/LIBRARY"
$ GOTO LibWriteLoop2
$ EndWriteLoop:
$ CLOSE optfile
$
$ bin = bindir + target + binsuffix + ".EXE"
$ baseopt = baseopt + "/REPOSITORY=[.''objdir']"
$
$ IF "''verbose'" .EQS. "1"
$ THEN
$ WRITE SYS$OUTPUT "CXXLINK''outopt'=''bin' ''baseopt' ''ptropt' ''dbgopt' ''target'.TMPOPT/OPTIONS"
$ ENDIF
$
$ IF F$SEARCH("BIN.DIR") .EQS. ""
$ THEN
$ CREATE/DIR/NOLOG 'bindir'
$ ENDIF
$
$ CXXLINK 'outopt'='bin' 'baseopt' 'ptropt' 'dbgopt' 'target'.TMPOPT/OPTIONS
$ PURGE 'target'.TMPOPT
poco-1.3.6p1-all/build_vcexpress.cmd 0000644 0000765 0000120 00000000066 11313735450 020140 0 ustar guenter admin 0000000 0000000 @echo off
buildwin 90 build shared both yes vcexpress
poco-1.3.6p1-all/build_vs71.cmd 0000644 0000765 0000120 00000000054 11313735450 016713 0 ustar guenter admin 0000000 0000000 @echo off
buildwin 71 build shared both yes
poco-1.3.6p1-all/build_vs80.cmd 0000644 0000765 0000120 00000000054 11313735450 016713 0 ustar guenter admin 0000000 0000000 @echo off
buildwin 80 build shared both yes
poco-1.3.6p1-all/build_vs90.cmd 0000644 0000765 0000120 00000000054 11313735450 016714 0 ustar guenter admin 0000000 0000000 @echo off
buildwin 90 build shared both yes
poco-1.3.6p1-all/buildvms.com 0000644 0000765 0000120 00000001050 11313735443 016573 0 ustar guenter admin 0000000 0000000 $ !
$ ! BUILDVMS.COM
$ !
$ ! $Id: //poco/1.3/buildvms.com#1 $
$ !
$ ! OpenVMS build procedure
$ !
$
$ options == "''p1' ''p2' ''p3' ''p4' ''p5'"
$
$ base = F$ENVIRONMENT("DEFAULT")
$ base = base - "]" + ".]"
$ define/nolog POCO_BASE 'base'
$ build :== @POCO_BASE:[build.vms]build.com
$
$ set def [.CppUnit]
$ build 'options'
$
$ set def [-.Foundation]
$ build 'options'
$
$ set def [.testsuite]
$ build testlibrary 'options'
$ build testsuite 'options'
$
$ set def [--.XML]
$ build 'options'
$
$ set def [.testsuite]
$ build 'options'
$
$ set def [--]
poco-1.3.6p1-all/buildwin.cmd 0000755 0000765 0000120 00000014446 11313735443 016570 0 ustar guenter admin 0000000 0000000 @echo off
setlocal
rem
rem buildwin.cmd
rem
rem command-line build script for MS Visual Studio
rem
rem Usage:
rem ------
rem buildwin VS_VERSION [ACTION] [LINKMODE] [CONFIGURATION] [SAMPLES] [DEVENV]
rem VS_VERSION: 71|80|90
rem ACTION: build|rebuild|clean
rem LINKMODE: static|shared|both
rem CONFIG: release|debug|both
rem SAMPLES: yes|no (shared only)
rem DEVENV: devenv|vcexpress
rem
rem VS_VERSION is required argument. Default is build all.
rem Change OPENSSL_DIR to match your setup
set OPENSSL_DIR=c:\OpenSSL
set OPENSSL_INCLUDE=%OPENSSL_DIR%\include
set OPENSSL_LIB=%OPENSSL_DIR%\lib\VC
set INCLUDE=%INCLUDE%;%OPENSSL_INCLUDE%
set LIB=%LIB%;%OPENSSL_LIB%
set POCO_BASE=%CD%
set PATH=%POCO_BASE%\bin;%PATH%
rem VS version {71|80|90}
if "%1"=="" goto usage
set VS_VERSION=vs%1
if "%6"=="" goto USE_DEVENV
set BUILD_TOOL="%6"
goto USE_CUSTOM
:USE_DEVENV
set BUILD_TOOL=devenv
:USE_CUSTOM
rem Action [build|rebuild|clean]
set ACTION=%2
if not "%ACTION%"=="build" (
if not "%ACTION%"=="rebuild" (
if not "%ACTION%"=="" (
if not "%ACTION%"=="clean" goto usage)))
if "%ACTION%"=="" (set ACTION="build")
rem Link mode [static|shared|both]
set LINK_MODE=%3
if not "%LINK_MODE%"=="static" (
if not "%LINK_MODE%"=="shared" (
if not "%LINK_MODE%"=="" (
if not "%LINK_MODE%"=="both" goto usage)))
rem Configuration [release|debug|both]
set CONFIGURATION=%4
if not "%CONFIGURATION%"=="release" (
if not "%CONFIGURATION%"=="debug" (
if not "%CONFIGURATION%"=="" (
if not "%CONFIGURATION%"=="both" goto usage)))
rem Samples [yes|no]
set SAMPLES=%5
if "%SAMPLES%"=="" (set SAMPLES=yes)
set RELEASE_SHARED=0
set DEBUG_SHARED=0
set DEBUG_STATIC=0
set RELEASE_STATIC=0
if "%LINK_MODE%"=="shared" (
if "%CONFIGURATION%"=="release" (set RELEASE_SHARED=1) else (
if "%CONFIGURATION%"=="both" (set RELEASE_SHARED=1) else (
if "%CONFIGURATION%"=="" (set RELEASE_SHARED=1))))
if "%LINK_MODE%"=="shared" (
if "%CONFIGURATION%"=="debug" (set DEBUG_SHARED=1) else (
if "%CONFIGURATION%"=="both" (set DEBUG_SHARED=1) else (
if "%CONFIGURATION%"=="" (set DEBUG_SHARED=1))))
if "%LINK_MODE%"=="static" (
if "%CONFIGURATION%"=="release" (set RELEASE_STATIC=1) else (
if "%CONFIGURATION%"=="both" (set RELEASE_STATIC=1) else (
if "%CONFIGURATION%"=="" (set RELEASE_STATIC=1))))
if "%LINK_MODE%"=="static" (
if "%CONFIGURATION%"=="debug" (set DEBUG_STATIC=1) else (
if "%CONFIGURATION%"=="both" (set DEBUG_STATIC=1) else (
if "%CONFIGURATION%"=="" (set DEBUG_STATIC=1))))
if "%LINK_MODE%"=="both" (
if "%CONFIGURATION%"=="debug" (
set DEBUG_STATIC=1
set DEBUG_SHARED=1) else (
if "%CONFIGURATION%"=="release" (
set RELEASE_STATIC=1
set RELEASE_SHARED=1) else (
if "%CONFIGURATION%"=="both" (
set DEBUG_STATIC=1
set DEBUG_SHARED=1
set RELEASE_STATIC=1
set RELEASE_SHARED=1) else (
if "%CONFIGURATION%"=="" (
set DEBUG_STATIC=1
set DEBUG_SHARED=1
set RELEASE_STATIC=1
set RELEASE_SHARED=1)))))
if "%LINK_MODE%"=="" (
if "%CONFIGURATION%"=="debug" (
set DEBUG_STATIC=1
set DEBUG_SHARED=1) else (
if "%CONFIGURATION%"=="release" (
set RELEASE_STATIC=1
set RELEASE_SHARED=1) else (
if "%CONFIGURATION%"=="both" (
set DEBUG_STATIC=1
set DEBUG_SHARED=1
set RELEASE_STATIC=1
set RELEASE_SHARED=1) else (
if "%CONFIGURATION%"=="" (
set DEBUG_STATIC=1
set DEBUG_SHARED=1
set RELEASE_STATIC=1
set RELEASE_SHARED=1)))))
echo Building:
if %DEBUG_SHARED%==1 (echo debug_shared)
if %RELEASE_SHARED%==1 (echo release_shared)
if %DEBUG_STATIC%==1 (echo debug_static)
if %RELEASE_STATIC%==1 (echo release_static)
rem build for up to 4 levels deep
for /f %%G in ('findstr /R "." components') do (
if exist %%G (
cd %%G
for /f "tokens=1,2,3,4 delims=/" %%Q in ("%%G") do (
if exist %%Q_%VS_VERSION%.sln (
echo.
echo ========== Building %%G ==========
if %DEBUG_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_shared %%Q_%VS_VERSION%.sln)
if %RELEASE_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% release_shared %%Q_%VS_VERSION%.sln)
if %DEBUG_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_static %%Q_%VS_VERSION%.sln)
if %RELEASE_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% release_static %%Q_%VS_VERSION%.sln)
)
if exist %%R_%VS_VERSION%.sln (
echo.
echo ========== Building %%G ==========
if %DEBUG_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_shared %%R_%VS_VERSION%.sln)
if %RELEASE_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% release_shared %%R_%VS_VERSION%.sln)
if %DEBUG_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_static %%R_%VS_VERSION%.sln)
if %RELEASE_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% release_static %%R_%VS_VERSION%.sln)
)
if exist %%S_%VS_VERSION%.sln (
echo.
echo ========== Building %%G ==========
if %DEBUG_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_shared %%S_%VS_VERSION%.sln)
if %RELEASE_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% release_shared %%S_%VS_VERSION%.sln)
if %DEBUG_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_static %%S_%VS_VERSION%.sln)
if %RELEASE_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% release_static %%S_%VS_VERSION%.sln)
)
if exist %%T_%VS_VERSION%.sln (
echo.
echo ========== Building %%G ==========
if %DEBUG_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_shared %%T_%VS_VERSION%.sln)
if %RELEASE_SHARED%==1 (%BUILD_TOOL% /useenv /%ACTION% release_shared %%T_%VS_VERSION%.sln)
if %DEBUG_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% debug_static %%T_%VS_VERSION%.sln)
if %RELEASE_STATIC%==1 (%BUILD_TOOL% /useenv /%ACTION% release_static %%T_%VS_VERSION%.sln)
)
)
cd %POCO_BASE%
)
)
if "%SAMPLES%"=="no" goto :EOF
rem root level component samples
for /f %%G in ('findstr /R "." components') do (
if exist %%G\samples\samples_%VS_VERSION%.sln (
cd %%G\samples
echo.
echo ========== Building %%G/samples ==========
if %DEBUG_SHARED%==1 %BUILD_TOOL% /useenv /%ACTION% debug_shared samples_%VS_VERSION%.sln
if %RELEASE_SHARED%==1 %BUILD_TOOL% /useenv /%ACTION% release_shared samples_%VS_VERSION%.sln
cd %POCO_BASE%
)
)
goto :EOF
:usage
echo Usage:
echo ------
echo buildwin VS_VERSION [ACTION] [LINKMODE] [CONFIGURATION] [SAMPLES] [DEVENV]
echo VS_VERSION: "71|80|90"
echo ACTION: "build|rebuild|clean"
echo LINKMODE: "static|shared|both"
echo CONFIG: "release|debug|both"
echo SAMPLES: "yes|no" (shared only)
echo DEVENV: "devenv|vcexpress"
echo.
echo Default is build all.
endlocal
poco-1.3.6p1-all/CHANGELOG 0000644 0000765 0000120 00000170351 11313735443 015473 0 ustar guenter admin 0000000 0000000 This is the changelog file for the POCO C++ Libraries.
Release 1.3.6p1 (2009-12-21)
============================
- added support for using external zlib, pcre, expat and sqlite3 instead of
bundled ones (-DPOCO_UNBUNDLED, configure --unbundled)
- fixed SF# 2911407: Add sh4 support
- fixed SF# 2912746: RSAKey::EXP_LARGE doesn't work
- fixed SF# 2904119: abstractstrategy uses std::set but do not includes it
- fixed SF# 2909946: localtime NULL pointer
- fixed SF# 2914986: potential expat DoS security issues (CVE-2009-3560 and CVE-2009-3720)
- fixed SF# 2916305: SSL Manager crashes
- fixed SF# 2903676: Tuple TypeHander does not handle composites.
Release 1.3.6 (2009-11-24)
==========================
- added Environment::processorCount()
- added POCO_VERSION macro to Poco/Foundation.h
- fixed SF# 2807527: Poco::Timer bug for long startInterval/periodic interval
- fixed a bug similar to SF# 2807527 in Poco::Util::Timer.
- fixed SF# 2795395: Constructor doesn't treat the params "key" and "iv"
- fixed SF# 2804457: DateTime::checkLimit looks wrong
- fixed SF# 2804546: DateTimeParser requires explicit RFC1123 format
- added ReleaseArrayPolicy to Poco::SharedPtr
- upgraded to SQLite 3.6.20
- fixed SF# 2782709: Missing semicolons in "Logger.h" convenience
- fixed SF# 2526407: DefaultStrategy.h ++it instead of it++ in a loop
- fixed SF# 2502235: Poco STLPort patch
- fixed SF# 2186643: Data::Statement::reset() not implemented in 1.3.3
- fixed SF# 2164227: Allow File opened read only by FileInputSteam to be writable
- fixed SF# 2791934: use of char_traits::copy in BufferedStreamBuf::underflow
- fixed SF# 2807750: Support additional SQL types in SQLite
- fixed documentation bugs in Timed/PriorityNotificationQueue
- fixed SF# 2828401: Deadlock in SocketReactor/NotificationCenter (also fixes patch# 1956490)
NotificationCenter now uses a std::vector internally instead of a std::list, and the mutex is
no longer held while notifications are sent to observers.
- fixed SF# 2835206: File_WIN32 not checking aganist INVALID_HANDLE_VALUE
- fixed SF# 2841812: Posix ThreadImpl::sleepImpl throws exceptions on EINTR
- fixed SF# 2839579: simple DoS for SSL TCPServer, HTTPS server
No SSL handshake is performed during accept() - the handshake is delayed until
sendBytes(), receiveBytes() or completeHandshake() is called for the first time.
This also allows for better handshake and certificate validation when using
nonblocking connections.
- fixed SF# 2836049: Possible handle leak in FileStream
If sync() fails, close() now simply set's the stream's bad bit.
In any case, close() closes the file handle/descriptor.
- fixed SF# 2814451: NetSSL: receiveBytes crashes if socket is closed
- added a workaround for Vista service network initialization issue
(an Windows service using the Net library running under Vista will
crash in the call to WSAStartup() done in NetworkInitializer).
Workaround is to call WSAStartup() in the application's main().
Automatic call to WSAStartup() in the Net library can now be disabled
by compiling Net with -DPOCO_NET_NO_AUTOMATIC_WSASTARTUP. Also
the new Poco::Net::initializeNetwork() and Poco::Net::uninitializeNetwork()
functions can be used to call WSAStartup() and WSACleanup(), respectively,
in a platform-independent way (on platforms other than Windows, these
functions will simply do nothing).
- added VCexpress build script support (contributed by Jolyon Wright)
- fixed SF# 2851052: Poco::DirectoryIterator copy constructor is broken
- fixed SF# 2851197: IPAddress ctor throw keyword missing
- added Poco::ProtocolException
- PageCompiler improvements: new tags, support for buffered output, etc.
- better error reporting in Data MySQL connector (patch #2881270 by Jan "HanzZ" Kaluza)
- fixed SF# 1892462: FTPClient:Choose explicitely between EPSV and PASV
- fixed SF# 2806365: Option for PageCompiler to write output to different dir
- fixed a documentation bug (wrong sample code) in Process::launch() documentation
- added --header-output-dir option to PageCompiler
- fixed SF# 2849144: Zip::Decompress notifications error
- SAXParser has a new feature: "http://www.appinf.com/features/enable-partial-reads".
See ParserEngine::setEnablePartialReads() for a description of what this does.
- fixed SF# 2876179: MySQL Signed/Unsigned value bug
- fixed SF# 2877970: possible bug in timer task
- fixed SF# 2874104: wrong parsing empty http headers
- fixed SF# 2860694: Incorrect return code from SecureStreamSocketImpl::sendBytes
- fixed SF# 2849750: Possible bug with XMLWriter?
- added MailMessage::encodeWord() to support RFC 2047 word encoded
mail header fields when sending out mail containing non-ASCII
characters.
- fixed SF# 2890975: SMTPClientSession bug with 7BIT encoding
- fixed an issue with retrieving the value of socket options on Windows 7.
Before obtaining the value of a socket, we now initialize the variable receiving the
socket option value to zero.
- fixed SF# 2836141: Documentation errors
- fixed SF# 2864232: Socket::select() does not detect closed sockets on windows
- fixed SF# 2812143: Socket::select() should check socket descriptors...
- fixed SF# 2801750: NetworkInterface Here is a short cookbook to help you get started. You want to know whether your code is working. How do you do it? There are many ways. Stepping through a debugger or littering your code with stream output calls are two of the simpler ways, but they both have drawbacks. Stepping through your code is a good idea, but it is not automatic. You have to do it every time you make changes. Streaming out text is also fine, but it makes code ugly and it generates far more information than you need most of the time. Tests in CppUnit can be run automatically. They are easy to set up and once you have written them, they are always there to help you keep confidence in the quality of your code. To make a simple test, here is what you do: Subclass the TestCase class. Override the method "runTest ()". When you want to check a value, call "assert (bool)" and pass in an expression that is true if the test succeeds. For example, to test the equality comparison for a Complex number class, write: That was a very simple test. Ordinarily, you'll have many little test cases that you'll want to run on the same set of objects. To do this, use a fixture. A fixture is a known set of objects that serves as a base for a set of test cases. Fixtures come in very handy when you are testing as you develop. Let's try out this style of development and learn about fixtures along the away. Suppose that we are really developing a complex number class. Let's start by defining a empty class named Complex. Now create an instance of ComplexNumberTest above, compile the code and see what happens. The first thing we notice is a few compiler errors. The test uses operator==, but it is not defined. Let's fix that. Now compile the test, and run it. This time it compiles but the test fails. We need a bit more to get an operator== working correctly, so we revisit the code. If we compile now and run our test it will pass. Now we are ready to add new operations and new tests. At this point a fixture would be handy. We would probably be better off when doing our tests if we decided to instantiate three or four complex numbers and reuse them across our tests. Here is how we do it: Once we have this fixture, we can add the complex addition test case any any others that we need over the course of our development. How do you write and invoke individual tests using a fixture? There are two steps to this process: Here is our test case class with a few extra case methods: Create and run instances for each test case like this: The second argument to the test caller constructor is the address of a method on ComplexNumberTest. When the test caller is run, that specific method will be run. Once you have several tests, organize them into a suite. How do you set up your tests so that you can run them all at once? To create a suite of two or more tests, you do the following: TestSuites don't only have to contain callers for TestCases. They can contain any object that implements the Test interface. For example, you can create a TestSuite in your code and I can create one in mine, and we can run them together by creating a TestSuite that contains both: How do you run your tests and collect their results? Once you have a test suite, you'll want to run it. CppUnit provides tools to define the suite to be run and to display its results. You make your suite accessible to a TestRunner program with a static method suite that returns a test suite. CppUnit provides both a textual version of a TestRunner tool, and a Micosoft Visual C++ 5.0 graphical version. If you are running on another platform, take a look at the graphical version. It is easy to port. To use the text version, include the header file for the test in TestRunner.cpp: And add a call to "addTest (string, Test *) in the "main ()" function: The TestRunner will run the tests. If all the tests pass, you'll get an informative message. If any fail, you'll get the following information: CppUnit distinguishes between failures and errors. A failure is anticipated and checked for with assertions. Errors are unanticipated problems like division by zero and other exceptions thrown by the C++ runtime or your code. If you are running MS Developer's Studio, you can build the GUI version rather easily. There are three projects: culib, TestRunner, and HostApp. They make a static library for the framework, a dialog based TestRunner in a DLL and an example Hosting application, respectively. To incorporate a TestRunner in an application you are developing, link with the static library and the TestRunner DLL. Note that the TestRunner DLL must be in the home directory of your application, the system directory or the path. In your application, create an instance of TestRunnerDlg whenever you want to run tests. Pass tests you want to run to the dialog object and then execute. Here is a screen shot of the TestRunner in use: More notes about the implementation of CppUnit can be found in README.HTML. Permission to reproduce and create derivative works from the Software ("Software Derivative Works") is hereby granted to you under the copyright of Michael Feathers. Michael Feathers also grants you the right to distribute the Software and Software Derivative Works. Michael Feathers licenses the Software to you on an "AS IS" basis, without warranty of any kind. Michael Feathers HEREBY EXPRESSLY DISCLAIMS ALL WARRANTIES OR CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, NON INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using the Software and assume all risks associated with the use and distribution of this Software, including but not limited to the risks of program errors, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. MICHAEL FEATHERS WILL NOT BE LIABLE FOR ANY DIRECT DAMAGES OR FOR ANY SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF MICHAEL FEATHERS HAD BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Michael Feathers will not be liable for the loss of, or damage to, your records or data, or any damages claimed by you based on a third party claim. You agree to distribute the Software and any Software Derivatives under a license agreement that: 1) is sufficient to notify all licensees of the Software and Software Derivatives that Michael Feathers assumes no liability for any claim that may arise regarding the Software or Software Derivatives, and 2) that disclaims all warranties, both express and implied, from Michael Feathers regarding the Software and Software Derivatives. (If you include this Agreement with any distribution of the Software and Software Derivatives you will have meet this requirement). You agree that you will not delete any copyright notices in the Software. This Agreement is the exclusive statement of your rights in the Software as provided by Michael Feathers. Except for the licenses granted to you in the second paragraph above, no other licenses are granted hereunder, by estoppel, implication or otherwise. Last Revision: 12/15/99 - Michael Feathers (mfeathers@acm.org) - written in standard C++, tested under Microsoft Visual C++ 6.0CppUnit Cookbook
Simple Test Case
class ComplexNumberTest : public TestCase {
public:
ComplexNumberTest (string name) : TestCase (name) {}
void runTest () {
assert (Complex (10, 1) == Complex (10, 1));
assert (!(Complex (1, 1) == Complex (2, 2)));
}
};
Fixture
class Complex {};
bool operator== (const Complex& a, const Complex& b) { return true; }
class Complex {
friend bool operator== (const Complex& a, const Complex& b);
double real, imaginary;
public:
Complex () {
real = imaginary = 0.0;
}
};
bool operator== (const Complex& a, const Complex& b)
{ return eq(a.real,b.real) && eq(a.imaginary,b.imaginary); }
class ComplexNumberTest : public TestCase {
private:
Complex *m_10_1, *m_1_1; *m_11_2;
protected:
void setUp () {
m_10_1 = new Complex (10, 1);
m_1_1 = new Complex (1, 1);
m_11_2 = new Complex (11, 2);
}
void tearDown () {
delete m_10_1, delete m_1_1, delete m_11_2;
}
};
Test Case
class ComplexNumberTest : public TestCase {
private:
Complex *m_10_1, *m_1_1; *m_11_2;
protected:
void setUp () {
m_10_1 = new Complex (10, 1);
m_1_1 = new Complex (1, 1);
m_11_2 = new Complex (11, 2);
}
void tearDown () {
delete m_10_1, delete m_1_1, delete m_11_2;
}
void testEquality () {
assert (*m_10_1 == *m_10_1);
assert (!(*m_10_1 == *m_11_2));
}
void testAddition () {
assert (*m_10_1 + *m_1_1 == *m_11_2);
}
};
test = new TestCaller<ComplexNumberTest>("testEquality", ComplexNumberTest::testEquality);
test->run ();
Suite
CppUnit provides a TestSuite class that runs any number of TestCases together. For example, to run a single test case, you execute: TestResult result;
TestCaller<ComplexNumberTest> test ("testAddition", ComplexNumberTest::testAddition);
Test.run (&result);
TestSuite suite;
TestResult result;
suite.addTest (new TestCaller<ComplexNumberTest>("testEquality", ComplexNumberTest::testEquality));
suite.addTest (new TestCaller<ComplexNumberTest>("testAddition", ComplexNumberTest::testAddition));
suite.run (&result);
TestSuite suite;
suite.addTest (ComplexNumberTest.suite ());
suite.addTest (SurrealNumberTest.suite ());
suite.run (&result);
TestRunner
For example, to make a ComplexNumberTest suite available to a TestRunner, add the following code to ComplexNumberTest: public: static Test *suite () {
TestSuite *suiteOfTests = new TestSuite;
suiteOfTests->addTest (new TestCaller<ComplexNumberTest>("testEquality", testEquality));
suiteOfTests->addTest (new TestCaller<ComplexNumberTest>("testAddition", testAddition));
return suiteOfTests;
}
#include "ExampleTestCase.h"
#include "ComplexNumberTest.h"
int main (int ac, char **av) {
TestRunner runner;
runner.addTest (ExampleTestCase::suite ());
runner.addTest (ComplexNumberTest::suite ());
runner.run ();
return 0;
}
CppUnit 1.5
CppUnit is a simple unit test framework for C++. It is a port from JUnit, a testing framework for Java, developed by Kent Beck and Erich Gamma.
README.html this file test the source code framework the testing framework extensions some framework extension classes textui a command line interface to run tests ms code for a Microsoft specific TestRunner samples some example test cases and extensions to the framework multicaster a sample illustrating a publish/subscribe multicaster under test doc documentation
To use the test framework, create a makefile or load all files in test\framework into your IDE. In this incarnation of CppUnit, all includes assume the current directory first. A makefile or project can be used to resolve the dependencies.
The directory test\textui contains a simple command line example that uses the framework.
CppUnit comes with the following documentation:
You can find several sample test cases in the samples directory:
Also, the wiki page http://c2.com/cgi/wiki?ClassHierarchyTestingInCppUnit shows how to automatically apply tests of classes to the classes' subclasses.
You can find several classes that illustrate framework extensions in the extensions directory:
Porting this framework has been fun. I've tried to maintain the spirit and utility of JUnit in a C++ environment. Naturally, the move from Java to standard C++ forces out several nice JUnit features:
In addition, the lack of garbage collection in C++ requires some careful use of the framework classes. In particular, TestSuites are composites that manage the lifetime of any tests added to them. Holding onto a TestResult past the lifetime of the tests which filled it is a bad idea. This is because TestResults hold TestFailures and TestFailures hold pointers to the Tests that generated them.
On the plus side, we can use the C++ macro preprocessor to get the exact line at which a failure occurs, along with the actual text inside the assert () call that detected the failure. The features of C++ that enable this are the __LINE__ and __FILE__ preprocessor definitions, along with the stringizing operator. If you find that generating this much literal text bulks up your test executables, you can use the CPP_UNIT_SOURCEANNOT define to disable that portion of the reporting.
Note: If you use the C++ macro "assert ()" in your code, or include assert.h, you may have a name clash with CppUnit's assert macro. This can be remedied by changing the name of the macro to "cu_assert ()" in TestCase.h.
I'd like to thank Kent Beck and Erich Gamma for the inspiration, design, and a wonderful cookbook that was easily/shamelessly mutated to describe CppUnit. Double thanks to Erich for thinking up a way to implement TestCaller. Additional thanks to Kent, Ward Cunningham, Ron Jeffries, Martin Fowler, and several other netizens of the WikiWikiWeb. I don't think any other bunch of people could have convinced me that rapid development with unit tests can be both effective and easy.
Thanks also to Fred Huls for mentioning the idea of template-based testing. The orthodox template class demonstrates only a small part of what can be done with templated test cases.
1.2 -- Added the TestCaller template class. There is now no need to use the CPP_UNIT_TESTCASEDISPATCH macro unless you are using a C++ compiler which does not support templates well. CPP_UNIT_TESTCASEDISPATCH remains in TestCase.h for backward compatibility. I've also kept the use of the macro in the Multicaster sample to leave in an example.
1.3 -- Retired the CPP_UNIT_TESTCASEDISPATCH macro and cleaned up the include structure. Fixed bug in the textui version.
1.4 -- Removed using directives for std in CppUnit headers. Merged the old AssertionFailedError into CppUnitException. Fixed a memory leak in the TestRunner class of the MS GUI TestRunner. Removed CppUnit.h file. Now headers for each class must be included directly.
1.5 -- Upgraded projects from VC++ 5.0 to 6.0.