diff options
Diffstat (limited to 'cppe')
37 files changed, 8259 insertions, 0 deletions
diff --git a/cppe/ICE_LICENSE b/cppe/ICE_LICENSE new file mode 100644 index 00000000000..84a16e8ff33 --- /dev/null +++ b/cppe/ICE_LICENSE @@ -0,0 +1,24 @@ +Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. + +This copy of Ice is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License version 2 as +published by the Free Software Foundation. + +Ice is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +The GNU General Public License is often shipped with GNU software, and is +generally kept in a file called COPYING or LICENSE. If you do not have a +copy of the license, write to the Free Software Foundation, 59 Temple +Place, Suite 330, Boston, MA 02111 USA. + +In addition, as a special exception, ZeroC, Inc. gives permission to link +Ice with the OpenSSL library (or with modified versions of OpenSSL +that use the same license as OpenSSL), and distribute linked +combinations including the two. You must obey the GNU General Public +License version 2 in all respects for all of the code used other than +OpenSSL. If you modify this copy of Ice, you may extend this exception +to your version of Ice, but you are not obligated to do so. If you do +not wish to do so, delete this exception statement from your version. diff --git a/cppe/INSTALL.AIX b/cppe/INSTALL.AIX new file mode 100644 index 00000000000..3fb5271081c --- /dev/null +++ b/cppe/INSTALL.AIX @@ -0,0 +1,187 @@ +====================================================================== +Requirements +====================================================================== + + +Operating System +---------------- + +AIX 5.2 on Power or PowerPC + + +C++ compiler +------------ + +VisualAge C++ 6.0 with the April 2004 PTF + + +C compiler +---------- + +IBM xlc + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- Berkeley DB 4.2.52 or 4.3.27 with C++ support enabled, and built + with a C++ compiler compatible with the one you are using. + + You can download the Berkeley DB source distribution from + http://www.sleepycat.com/download + + We recommend that you configure and build Berkeley DB like this: + + $ ../dist/configure --enable-cxx --enable-posixmutexes + (plus --prefix=<dir> and/or --enable-java if you like) + $ gmake + + For 64 bit builds, use this configuration: + + $ export OBJECT_MODE=64 + $ ../dist/configure --enable-cxx --enable-posixmutexes + (plus --prefix=<dir> and/or --enable-java if you like) + $ gmake + + Note that Ice for Java is not compatible with version 4.3, therefore + if you intend to use Ice for Java with Berkeley DB, you must use + version 4.2.52 and obtain a Berkeley DB patch (see INSTALL in your + IceJ distribution). + +- OpenSSL + + For 32 bit builds, we recommend openssl-0.9.6m-2 from the "AIX + Toolbox for Linux Applications" (cryptographic section): + http://www.ibm.com/servers/aix/products/aixos/linux/ezinstall.html + Do not use openssl-0.9.6m-1, as it was not built properly. + + For 64 bit builds, we recommend using OpenSSL 0.9.7d (or later). + You can download the source distribution from + http://www.openssl.org. + +- expat 1.9x, which can be downloaded from + http://sourceforge.net/projects/expat + + You can also use the binary distribution for AIX 5.1 available in + the "AIX Toolbox for Linux Applications": + + http://www.ibm.com/servers/aix/products/aixos/linux/ezinstall.html + +- bzip2 1.0 + + The source distribution can be downloaded from + http://sources.redhat.com/bzip2 + + For 32 bit builds, you can also use the binary distribution from the + "AIX Toolbox for Linux Applications". + + +GNU Make 3.80 +------------- + +GNU Make 3.80 is required to build Ice on AIX. You can download GNU +Make from the "AIX Toolbox for Linux Applications". + + +Python +------ + +To run the automated test suite, you will need Python 2.2 or a newer +version. If you have no interest in running the test scripts, Python +is not required. + +You can download Python from the "AIX Toolbox for Linux Applications". + + +====================================================================== +Compilation and Testing +====================================================================== + +Extract the Ice archive in any directory you like (for example, in +your home directory): + +$ gunzip -c Ice-<version>.tar.gz | tar xvf - + +Change the working directory to Ice-<version>: + +$ cd Ice-<version> + +Edit config/Make.rules to establish your build configuration. The +comments in the file provide more information. Pay particular +attention to the variables that define the locations of the third- +party libraries. + +Now you're ready to build Ice: + +$ gmake + +This will build the Ice core libraries, services, tests and examples. +After a successful build, you can run the test suite, provided that +you have installed Python: + +$ gmake test + +This is equivalent to: + +$ python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, and your LIBPATH +environment variable to add the "lib" directory: + +$ export PATH=`pwd`/bin:$PATH +$ export LIBPATH=`pwd`/lib:$LIBPATH + + +====================================================================== +Library versioning +====================================================================== + +Ice uses the same library versioning convention as the packages +distributed in the "AIX Toolbox for Linux Applications". See the link +below for more information: + +http://sourceforge.net/mailarchive/message.php?msg_id=10892444 + + +====================================================================== +64 bit builds +====================================================================== + +To build Ice in 64-bit mode, you need to do the following: + +- Obtain or build all the third-party dependencies in 64-bit mode. A + number of packages from the "AIX Toolbox for Linux Applications" + provide both 32 and 64 bit shared objects in the same archive + libraries. + + For example: + + $ ar -t -X32_64 /opt/freeware/lib/libexpat.a + libexpat.so.0 + libexpat.so.0 + +- Set the environment variable OBJECT_MODE to 64, as shown below: + + $ export OBJECT_MODE=64 + +- Build and test as described above. + + +====================================================================== +Installation +====================================================================== + +Simply run "gmake install". This will install Ice in the directory +specified by the "prefix" variable in config/Make.rules. + +After installation, make sure that the <prefix>/bin directory is in +your PATH, and the <prefix>/lib directory is in your LIBPATH. When +compiling Ice programs, you must also make sure to pass the location +of the <prefix>/include directory to the compiler with the -I option, +and the location of the <prefix>/lib directory with the -L option. diff --git a/cppe/INSTALL.FREEBSD b/cppe/INSTALL.FREEBSD new file mode 100644 index 00000000000..72e0aedcb7d --- /dev/null +++ b/cppe/INSTALL.FREEBSD @@ -0,0 +1,113 @@ +====================================================================== +Requirements +====================================================================== + + +Operating System +---------------- + +FreeBSD 5.1 for Intel x86. + + +C++ compiler +------------ + +GCC 3.3 + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- Berkeley DB 4.2.52 or 4.3.27 configured with --enable-cxx. + + Note that Ice for Java is not compatible with version 4.3, therefore + if you intend to use Ice for Java with Berkeley DB, you must use + version 4.2.52 and the option --enable-java. + +- OpenSSL 0.96 or 0.97 + +- expat 1.9x + +- bzip2 1.0 + +- readline and ncurses (optional, but used unless you set USE_READLINE + to no in config/Make.rules) + +Berkeley DB, expat, OpenSSL, bzip2, readline and ncurses are usually +available with your FreeBSD distribution, or you can download them +from the following locations: + +Berkeley DB http://www.sleepycat.com/download +expat http://sourceforge.net/projects/expat/ +OpenSSL http://www.openssl.org +bzip2 http://sources.redhat.com/bzip2 +readline http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html +ncurses http://www.gnu.org/software/ncurses/ncurses.html + + +Python +------ + +To run the automated test suite, you will need Python 2.2 or a newer +version. If you have no interest in running the test scripts, Python +is not required. + + +====================================================================== +Compilation and Testing +====================================================================== + +Extract the Ice archive in any directory you like (for example, in +your home directory): + +$ tar xvfz Ice-<version>.tar.gz + +Change the working directory to Ice-<version>: + +$ cd Ice-<version> + +Edit config/Make.rules to establish your build configuration. The +comments in the file provide more information. Pay particular +attention to the variables that define the locations of the third- +party libraries. + +Now you're ready to build Ice: + +$ make + +This will build the Ice core libraries, services, tests and examples. +After a successful build, you can run the test suite, provided that +you have installed Python: + +$ make test + +This is equivalent to: + +$ python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, and your +LD_LIBRARY_PATH environment variable to add the "lib" directory: + +$ export PATH=`pwd`/bin:$PATH +$ export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH + + +====================================================================== +Installation +====================================================================== + +Simply run "make install". This will install Ice in the directory +specified by the "prefix" variable in config/Make.rules. + +After installation, make sure that the <prefix>/bin directory is in +your PATH, and the <prefix>/lib directory is in your +LD_LIBRARY_PATH. When compiling Ice programs, you must also make sure +to pass the location of the <prefix>/include directory to the compiler +with the -I option, and the location of the <prefix>/lib directory +with the -L option. diff --git a/cppe/INSTALL.HP-UX b/cppe/INSTALL.HP-UX new file mode 100644 index 00000000000..21f36a972b5 --- /dev/null +++ b/cppe/INSTALL.HP-UX @@ -0,0 +1,184 @@ +====================================================================== +Requirements +====================================================================== + + +Operating System +---------------- + +HP-UX 11i (11.11) on PA-RISC. + +You also need the "HP-UX Strong Random Number Generator", available +for free from http://software.hp.com. + + +C++ compiler +------------ + +HP aC++ A.03.37 + +More recent versions of aC++ are likely to work as well. + + +C compiler +---------- + +HP C/ANSI C compiler (cc). + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- Berkeley DB 4.2.52 or 4.3.27 with C++ support enabled, and built + with a C++ compiler compatible with the one you are using. + + You can download the Berkeley DB source distribution from + http://www.sleepycat.com/download + + We recommend that you configure and build Berkeley DB with: + + $ export CXXOPTS="-AA -mt" + $ export CCOPTS="-mt" + $ ../dist/configure --enable-cxx + (plus --prefix=<dir> and/or --enable-java if you like) + $ gmake + + For 64 bit builds, use: + + $ export CXXOPTS="-AA +DD64 -mt" + $ export CCOPTS="+DD64 -mt" + $ ../dist/configure --enable-cxx + (plus --prefix=<dir> and/or --enable-java if you like) + $ gmake + + Note that Ice for Java is not compatible with version 4.3, therefore + if you intend to use Ice for Java with Berkeley DB, you must use + version 4.2.52 and the option --enable-java. + +- OpenSSL 0.9.7, which can be downloaded from http://www.openssl.org + + We do not recommend to use the binary distribution available from + the "Software Porting And Archive Centre for HP-UX" as it depends on + the GCC runtime. + + A recommended configuration is: + + ./Configure hpux-parisc2-cc shared + (and --prefix=<dir> if you like) + + For 64 bit builds, a recommended configuration is: + + ./Configure hpux64-parisc2-cc shared + (and --prefix=<dir> if you like) + +- expat 1.9x, which can be downloaded from + http://sourceforge.net/projects/expat + + For 32 bit builds, you can also use the binary distribution from the + "Software Porting And Archive Centre for HP-UX" located at + http://hpux.cs.utah.edu. + +- bzip2 1.0, which can be downloaded from the "Software Porting And + Archive Centre for HP-UX", http://hpux.cs.utah.edu. For 32 bit + builds, you can also use the binary distribution from the "Software + Porting And Archive Centre for HP-UX". + + +GNU Make 3.80 +------------- + +GNU Make 3.80 is required to build Ice on HP-UX. You can download GNU +Make from the "Software Porting And Archive Centre for HP-UX", +http://hpux.cs.utah.edu. + + +Python +------ + +To run the automated test suite, you will need Python 2.2 or a newer +version. If you have no interest in running the test scripts, Python +is not required. + +You can download Python from http://hpux.cs.utah.edu. + + +====================================================================== +Compilation and Testing +====================================================================== + +Extract the Ice archive in any directory you like (for example, in +your home directory): + +$ gunzip -c Ice-<version>.tar.gz | tar xvf - + +Change the working directory to Ice-<version>: + +$ cd Ice-<version> + +Edit config/Make.rules to establish your build configuration. The +comments in the file provide more information. Pay particular +attention to the variables that define the locations of the third- +party libraries. + +Now you're ready to build Ice: + +$ gmake + +This will build the Ice core libraries, services, tests and examples. +After a successful build, you can run the test suite, provided that +you installed Python: + +$ gmake test + +This is equivalent to: + +$ python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, and your SHLIB_PATH +environment variable to add the "lib" directory. For 64 bit builds, +add "lib" to LD_LIBRARY_PATH: + +$ export PATH=`pwd`/bin:$PATH +$ export SHLIB_PATH=`pwd`/lib:$SHLIB_PATH +$ export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH + + +====================================================================== +64 bit builds +====================================================================== + +To build Ice in 64 bit mode, you need to: + +- Obtain or build all the third-party dependencies, and put the 64 bit + libraries in the "lib/pa20_64" directories. For example, put + Berkeley DB 64 bit libraries in $DB_HOME/lib/pa20_64. + +- Set the environment variable LP64 to yes, as shown below: + + $ export LP64=yes + +- Build and test as described above. + + +====================================================================== +Installation +====================================================================== + +Simply run "gmake install". This will install Ice in the directory +specified by the "prefix" variable in config/Make.rules. + +After installation, make sure that the <prefix>/bin directory is in +your PATH, and the <prefix>/lib directory is in your SHLIB_PATH. When +compiling Ice programs, you must also make sure to pass the location +of the <prefix>/include directory to the compiler with the -I option, +and the location of the <prefix>/lib directory with the -L option. + +If you built in 64 bit mode, the libraries are installed in +<prefix>/lib/pa20_64 and the programs are installed in +<prefix>/bin/pa20_64. No other changes are necessary. diff --git a/cppe/INSTALL.LINUX b/cppe/INSTALL.LINUX new file mode 100644 index 00000000000..4f16686e00f --- /dev/null +++ b/cppe/INSTALL.LINUX @@ -0,0 +1,148 @@ +====================================================================== +Requirements +====================================================================== + + +Operating System +---------------- + +A recent Linux distribution for x86 or x86-64. + + +C++ compiler +------------ + +- GCC 3.2, 3.3 or 3.4; or + +- Intel C++ 8.1 + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- Berkeley DB 4.2.52 or 4.3.27 configured with --enable-cxx. + + You can download the Berkeley DB source distribution from + http://www.sleepycat.com/download + + Note that Ice for Java is not compatible with version 4.3, therefore + if you intend to use Ice for Java with Berkeley DB, you must use + version 4.2.52 and the option --enable-java. + + If you are using RedHat 9 and do not want to use NPTL (New Posix + Thread Library), set LD_ASSUME_KERNEL=2.4.1 before running + configure. + +- expat 1.9x + +- OpenSSL 0.96 or 0.97 + +- bzip2 1.0 + +- readline and ncurses (optional, but used unless you set USE_READLINE + to no in config/Make.rules) + +expat, OpenSSL, bzip2, readline and ncurses are usually included with +your Linux distribution, or you can download them from the following +locations: + +expat http://sourceforge.net/projects/expat/ +OpenSSL http://www.openssl.org +bzip2 http://sources.redhat.com/bzip2 +readline http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html +ncurses http://www.gnu.org/software/ncurses/ncurses.html + + +Python +------ + +To run the automated test suite, you will need Python 2.2 or a newer +version. If you have no interest in running the test scripts, Python +is not required. + + +====================================================================== +Compilation and Testing +====================================================================== + +Extract the Ice archive in any directory you like (for example, in +your home directory): + +$ tar xvfz Ice-<version>.tar.gz + +Change the working directory to Ice-<version>: + +$ cd Ice-<version> + +Edit config/Make.rules to establish your build configuration. The +comments in the file provide more information. Pay particular +attention to the variables that define the locations of the third- +party libraries. + +If you want to build Ice with the Intel C++ compiler, first set the +following environment variables: + +$ export CC=icc +$ export CXX=icpc + +Now you're ready to build Ice: + +$ make + +This will build the Ice core libraries, services, tests and examples. +After a successful build, you can run the test suite, provided that +you have installed Python: + +$ make test + +This is equivalent to: + +$ python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, and your +LD_LIBRARY_PATH environment variable to add the "lib" directory: + +$ export PATH=`pwd`/bin:$PATH +$ export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH + + +====================================================================== +64 bit builds on x86-64 +====================================================================== + +To build Ice in 64 bit mode, you need to do the following: + +- Obtain or build all the third-party dependencies, and put the 64 bit + libraries in the "lib64" directories. For example, put Berkeley DB + 64 bit libraries in $DB_HOME/lib64. + +- Set the environment variable LP64 to yes, as shown below: + + $ export LP64=yes + +- Build and test as described above (with gcc). + + +====================================================================== +Installation +====================================================================== + +Simply run "make install". This will install Ice in the directory +specified by the "prefix" variable in config/Make.rules. + +After installation, make sure that the <prefix>/bin directory is in +your PATH, and the <prefix>/lib directory is in your +LD_LIBRARY_PATH. When compiling Ice programs, you must also make sure +to pass the location of the <prefix>/include directory to the compiler +with the -I option, and the location of the <prefix>/lib directory +with the -L option. + +If LP64 is set to yes, the libraries are installed in <prefix>/lib64 +and the programs are installed in <prefix>/bin64. No other changes are +necessary. diff --git a/cppe/INSTALL.MACOSX b/cppe/INSTALL.MACOSX new file mode 100644 index 00000000000..55542571f11 --- /dev/null +++ b/cppe/INSTALL.MACOSX @@ -0,0 +1,91 @@ +====================================================================== +Requirements +====================================================================== + + +Operating System +---------------- + +MacOS X 10.3.x + + +C++ compiler +------------ + +GCC 3.3 + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- Berkeley DB 4.2.52 or 4.3.27 configured with --enable-cxx. + + You can download the Berkeley DB source distribution from + http://www.sleepycat.com/download + + Note that Ice for Java is not compatible with version 4.3, therefore + if you intend to use Ice for Java with Berkeley DB, you must use + version 4.2.52 and the option --enable-java. + +- expat 1.9x. You can download expat from + http://sourceforge.net/projects/expat/ + + +====================================================================== +Compilation and Testing +====================================================================== + +Extract the Ice archive in any directory you like (for example, in +your home directory): + +$ tar xvfz Ice-<version>.tar.gz + +Change the working directory to Ice-<version>: + +$ cd Ice-<version> + +Edit config/Make.rules to establish your build configuration. The +comments in the file provide more information. Pay particular +attention to the variables that define the locations of the third- +party libraries. + +Now you're ready to build Ice: + +$ make + +This will build the Ice core libraries, services, tests and examples. +After a successful build, you can run the test suite, provided that +you have installed Python: + +$ make test + +This is equivalent to: + +$ python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, and your +DYLD_LIBRARY_PATH environment variable to add the "lib" directory: + +$ export PATH=`pwd`/bin:$PATH +$ export DYLD_LIBRARY_PATH=`pwd`/lib:$DYLD_LIBRARY_PATH + + +====================================================================== +Installation +====================================================================== + +Simply run "make install". This will install Ice in the directory +specified by the "prefix" variable in config/Make.rules. + +After installation, make sure that the <prefix>/bin directory is in +your PATH, and the <prefix>/lib directory is in your +DYLD_LIBRARY_PATH. When compiling Ice programs, you must also make +sure to pass the location of the <prefix>/include directory to the +compiler with the -I option, and the location of the <prefix>/lib +directory with the -L option. diff --git a/cppe/INSTALL.SOLARIS b/cppe/INSTALL.SOLARIS new file mode 100644 index 00000000000..cdafe81c5bd --- /dev/null +++ b/cppe/INSTALL.SOLARIS @@ -0,0 +1,182 @@ +====================================================================== +Requirements +====================================================================== + + +Operating System +---------------- + +Solaris 8 or Solaris 9 on SPARC. + +You also need to have /dev/urandom installed. This is the default with +Solaris 9; on Solaris 8, you need to install patch 112438-01. + + +C++ compiler +------------ + +The following Sun compilers are supported: + +- Sun C++ 5.4 (part of Sun ONE Studio 7.0 aka Forte Developer 7). + +- Sun C++ 5.5 (part of Sun ONE Studio 8.0). Ice takes advantage of the + new linker scoping feature to reduce the number of symbols exported + by Ice shared libraries. + +Builds with the following compilers are expected to succeed, but these +compilers are not supported at this time: + +- Sun C++ 5.6 and 5.7 (Sun Studio 9 and Sun Studio 10) + +- GCC 3.4.2 + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- Berkeley DB 4.2.52 or 4.3.27 configured with --enable-cxx, and built + with a C++ compiler compatible with the one you are using. + + Note that Ice for Java is not compatible with version 4.3, therefore + if you intend to use Ice for Java with Berkeley DB, you must use + version 4.2.52 and the option --enable-java. + +- expat 1.9x + +- OpenSSL 0.97 + +- bzip2 1.0 + +You can download these packages at the following locations: + +Berkeley DB http://www.sleepycat.com/download +expat http://sourceforge.net/projects/expat/ +OpenSSL http://www.openssl.org +bzip2 http://sources.redhat.com/bzip2 + +bzip2 comes with Solaris, in Sun package SUNWbzip (32 bit) and +SUNWbzipx (64 bit). You may want to apply patch 114586-01 to get the +latest bzip2 version, 1.0.2. + +Some packages are also available at http://www.sunfreeware.com. + + +GNU Make 3.80 +------------- + +GNU Make 3.80 is required to build Ice on SPARC/Solaris. You can +download GNU Make from http://www.sunfreeware.com. + + +Python +------ + +To run the automated test suite, you will need Python 2.2 or a newer +version. If you have no interest in running the test scripts, Python +is not required. + +You can download Python from http://www.sunfreeware.com. + + +====================================================================== +Compilation and Testing +====================================================================== + +Extract the Ice archive in any directory you like (for example, in +your home directory): + +$ tar xvfz Ice-<version>.tar.gz + +Change the working directory to Ice-<version>: + +$ cd Ice-<version> + +Edit config/Make.rules to establish your build configuration. The +comments in the file provide more information. Pay particular +attention to the variables that define the locations of the third- +party libraries. + +If you want to build with g++ instead of Sun CC, edit the file +config/Make.rules.SunOS and change or comment out the CXX = <compiler> +line (at the top of the file). The default value for CXX with GNU make +is g++. + +Now you're ready to build Ice: + +$ gmake + +This will build the Ice core libraries, services, tests and examples. +After a successful build, you can run the test suite, provided that +you have installed Python: + +$ gmake test + +This is equivalent to: + +$ python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, and your +LD_LIBRARY_PATH environment variable to add the "lib" directory. For +64 bit builds, add "lib" to LD_LIBRARY_PATH_64: + +$ export PATH=`pwd`/bin:$PATH +$ export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH +$ export LD_LIBRARY_PATH_64=`pwd`/lib:$LD_LIBRARY_PATH_64 + + +CC 5.4 note +----------- + +The Sun CC 5.4 build produces a large number of warnings about hidden +functions in the fstream and sstream standard headers. This is a known +Sun bug (#4852754). You can suppress them by removing the +corresponding '+w' option in config/Make.rules.SunOS, or by filtering +your build log file with a sed script such as: + +# Workaround for bug 4852754 +/SUNWspro/d +/While specializing "std::/d +/Where: Specialized in non-template code./d +/Warning(s) detected./d + + +====================================================================== +64 bit builds +====================================================================== + +To build Ice in 64 bit mode, you need to do the following: + +- Obtain or build all the third-party dependencies, and put the 64 bit + libraries in the "lib/sparcv9" directories. For example, put + Berkeley DB 64 bit libraries in $DB_HOME/lib/sparcv9. + +- Set the environment variable LP64 to yes, as shown below: + + $ export LP64=yes + +- Build and test as described above. + + +====================================================================== +Installation +====================================================================== + +Simply run "gmake install". This will install Ice in the directory +specified by the "prefix" variable in config/Make.rules. + +After installation, make sure that the <prefix>/bin directory is in +your PATH, and the <prefix>/lib directory is in your +LD_LIBRARY_PATH. When compiling Ice programs, you must also make sure +to pass the location of the <prefix>/include directory to the compiler +with the -I option, and the location of the <prefix>/lib directory +with the -L option. + +If you built in 64 bit mode, the libraries are installed in +<prefix>/lib/sparcv9 and the programs are installed in +<prefix>/bin/sparcv9. No other changes are necessary. diff --git a/cppe/INSTALL.WINDOWS b/cppe/INSTALL.WINDOWS new file mode 100644 index 00000000000..23946a77391 --- /dev/null +++ b/cppe/INSTALL.WINDOWS @@ -0,0 +1,227 @@ +====================================================================== +Requirements +====================================================================== + + +Windows version +--------------- + +Ice has been extensively tested with Windows XP, Windows 2000 and +Windows 98 SE. Ice is also expected to work on Windows 98, Windows ME, +Windows NT 3.51, Windows NT 4.0 and Windows Server 2003. + +Ice binary distributions for Visual Studio 6.0 and .NET 2003 are +available from http://www.zeroc.com/download.html. These binary +distributions include everything necessary to build Ice applications +and require Windows NT 4.0, Windows 2000, Windows XP or Windows Server +2003. + + +C++ compiler +------------ + +The following Microsoft Visual C++ compilers are supported: + +- Visual C++ 6.0 SP5 with STLport 4.5 (or later) + +- Visual C++ .NET 2003 (aka VC 7.1) + +The STL (Standard Template Library) that is included with Visual C++ +6.0 is not supported. You must use STLport 4.5 (or later) with Visual +C++ 6.0. + +For Visual C++ .NET 2003, you can use the included STL library. + + +Third-party libraries +--------------------- + +Ice has dependencies on a number of third-party libraries: + +- STLport 4.5 or later (required for Visual C++ 6.0) +- Berkeley DB 4.2.52 +- expat 1.9x +- OpenSSL 0.96 or 0.97 +- bzip2 1.0 + +If you have downloaded an Ice binary installer, you already have all +of the required third-party libraries and do not need to download any +additional packages, nor do you need to compile the Ice source code. + +If you wish to compile the Ice source code, you can download an +installer containing binaries for all of the required third-party +libraries from the ZeroC web site at + +http://www.zeroc.com/download.html + +Finally, if you prefer to download and install the third-party +dependencies yourself, you can find them at the following locations: + +STLport http://www.stlport.org/download.html +Berkeley DB http://www.sleepycat.com/download +expat http://sourceforge.net/projects/expat/ +OpenSSL http://www.openssl.org +bzip2 http://sources.redhat.com/bzip2 + +For STLport installation instructions, please refer to +http://www.stlport.org/doc/install.html + +Note: For a regular build of bzip2, both the debug and the release +library are named "libbz2.lib". In order to be able to have both a +debug and a release version on your system, please rename the debug +library to "libbz2d.lib". This is also what the Ice project files +expect if you build a debug version of Ice. + +If you compile the third-party libraries from source code, we +recommend that you use the same Visual C++ version to build all of +the third-party libraries. + +Users of Visual C++ 6.0 must configure Visual Studio to use STLPort +before building Berkeley DB: + +- In the Visual C++ 6.0 IDE, choose Tools->Options->Directories + +- Select "Include files" + +- Add the include directory for STLport first in the list. (Note that + you must add the "include\stlport" directory, not just "include".) + +- Select "Library files" + +- Add the lib directory for STLport. + + +Python +------ + +To run the automated test suite, you will need Python 2.2 or a newer +version. If you have no interest in running the test scripts, Python +is not required. + +You can download a Python distribution for Windows from +http://www.python.org/download + +Important note for Windows 98, Windows 98 SE and Windows ME users: + +The Windows 9x shell is too limited to run the Ice test suite. For +these versions of Windows, you need Cygwin and the python interpreter +that comes with Cygwin in order to run the test suite. Cygwin can be +downloaded from: + +http://www.cygwin.com + + +====================================================================== +Compilation and Testing +====================================================================== + +Using your favorite Zip tool, unzip the Ice archive anywhere you like, +then start the Microsoft Visual C++ IDE. + +First, you must make sure that your compiler finds all of the required +third-party packages (include files, libraries, and DLLs): + +- In Visual Studio, choose: + + * Visual C++ 6.0: Tools->Options->Directories + + * Visual C++ .NET: Tools->Options->Projects->VC++ Directories + +- Select "Include files". + +- Add the include directories for Berkeley DB, expat, OpenSSL, and + bzip2. + + If you used the binary installer for expat, then the proper include + directory is C:\Expat-1.95.8\Source\lib. + + For Visual C++ 6.0, also add the include directory for STLport. Note + that you must add the "include\stlport" directory, not just + "include", and that this directory must precede any of the Visual + C++ include directories. + +- Select "Library files". + +- Add the library directories for Berkeley DB, expat, OpenSSL, and + bzip2 (and STLport, if required). + + If you used the binary installer for expat, then the proper library + directory is C:\Expat-1.95.8\Libs. + +- Select "Executable files". + +- Add the directories that contain DLLs for Berkeley DB, expat, + OpenSSL and bzip2 (and STLport, if required). + +Now you are ready to compile Ice, so open the "all.dsw" workspace. If +you are using Visual C++ .NET, then the project files must first be +converted from Visual C++ 6.0 to .NET format. + +Set your active project to either "all" or "minimal". "all" will +compile everything including the tests and demos. "minimal" will not +compile the tests or demos. To set your active project with Visual C++ +6.0, use Project->Set Active Project. For Visual C++ .NET, click on +"all" or "minimal" in the class view, then use Project->Set as StartUp +Project. + +To start the compilation, use Build->Build for Visual C++ 6.0, or +Build->Build all/minimal for Visual C++ .NET, respectively. + +If you built the tests you can run the test suite, provided that you +have installed Python. Open a command prompt and change to the top- +level Ice directory. At the command prompt, execute: + +python allTests.py + +If everything worked out, you should see lots of "ok" messages. In +case of a failure, the tests abort with "failed". + +If you want to try out any of the demos, make sure to update your PATH +environment variable to add the "bin" directory, which contains the +Ice DLLs and executables. + + +====================================================================== +Windows 98, Windows 98 SE, Windows ME, Windows NT 3.51 +====================================================================== + +By default, IceUtil::Mutex and related classes are implemented using +Windows' CriticalSection, and in particular they use the function +TryEnterCriticalSection. This function is either not present or +implemented as a "no-op" call on Windows 98, Windows 98 SE, Windows ME +and Windows NT 3.51, so default Ice builds cannot be used on these +versions of Windows. + +IceUtil::Mutex and related classes can also use "heavier" mutex +objects that allow Ice to work on all Windows versions (>= 98). If you +wish to build Ice in this configuration, you must first edit the file +include\IceUtil\Config.h and remove the following lines: + +# ifndef _WIN32_WINNT + // + // Necessary for TryEnterCriticalSection. + // +# define _WIN32_WINNT 0x0400 +# endif + +On Windows 98, Windows 98 SE and Windows ME, we also recommend that +you increase the number of connections supported by TCP/IP (to 500 for +example). See MaxConnections at +http://support.microsoft.com/default.aspx?scid=kb;EN-US;158474 + + +====================================================================== +Installation +====================================================================== + +No automatic installation support is provided: you need to copy the +contents of the bin, include, and lib directories to your preferred +location. The include directory contains all Ice include files, the +lib directory contains all Ice libraries, and the bin directory +contains all Ice executables and DLLs. + +After installation, make sure to add the include directory to the +Visual C++ "Include files", the lib directory to the "Library files", +and the bin directory to the "Executable files". In Visual C++ 6.0, +choose Tools->Options->Directories. In Visual C++ .NET, choose +Tools->Options->Projects->VC++ Directories. diff --git a/cppe/LICENSE b/cppe/LICENSE new file mode 100644 index 00000000000..5b6e7c66c27 --- /dev/null +++ b/cppe/LICENSE @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/cppe/Makefile b/cppe/Makefile new file mode 100644 index 00000000000..aa921e3c527 --- /dev/null +++ b/cppe/Makefile @@ -0,0 +1,78 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = . + +include $(top_srcdir)/config/Make.rules + +SUBDIRS = src include test demo + +install:: + @if test ! -d $(prefix) ; \ + then \ + echo "Creating $(prefix)..." ; \ + mkdir $(prefix) ; \ + chmod a+rx $(prefix) ; \ + fi + + @if test ! -d $(install_bindir) ; \ + then \ + echo "Creating $(install_bindir)..." ; \ + mkdir -p $(install_bindir) ; \ + chmod a+rx $(install_bindir) ; \ + fi + + @if test ! -d $(install_libdir) ; \ + then \ + echo "Creating $(install_libdir)..." ; \ + mkdir -p $(install_libdir) ; \ + chmod a+rx $(install_libdir) ; \ + fi + + @if test ! -d $(install_includedir) ; \ + then \ + echo "Creating $(install_includedir)..." ; \ + mkdir $(install_includedir) ; \ + chmod a+rx $(install_includedir) ; \ + fi + + @if test ! -d $(install_slicedir) ; \ + then \ + echo "Creating $(install_slicedir)..." ; \ + mkdir $(install_slicedir) ; \ + chmod a+rx $(install_slicedir) ; \ + fi + + @if test ! -d $(install_docdir) ; \ + then \ + echo "Creating $(install_docdir)..." ; \ + mkdir $(install_docdir) ; \ + chmod a+rx $(install_docdir) ; \ + fi + +$(EVERYTHING):: + @for subdir in $(SUBDIRS); \ + do \ + echo "making $@ in $$subdir"; \ + ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ + done + +doc:: + @( cd doc && $(MAKE) ) || exit 1 + +install:: + @( cd doc && $(MAKE) install ) || exit 1 + $(INSTALL) ICE_LICENSE $(prefix) + $(INSTALL) LICENSE $(prefix) + +clean:: + @( cd doc && $(MAKE) clean ) || exit 1 + +test:: + @python $(top_srcdir)/allTests.py diff --git a/cppe/README b/cppe/README new file mode 100644 index 00000000000..33d653706fb --- /dev/null +++ b/cppe/README @@ -0,0 +1,2 @@ +For installation instructions, please refer to the INSTALL.* file for +your plaftorm. diff --git a/cppe/all.dsp b/cppe/all.dsp new file mode 100644 index 00000000000..e3602734fe0 --- /dev/null +++ b/cppe/all.dsp @@ -0,0 +1,63 @@ +# Microsoft Developer Studio Project File - Name="all" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Generic Project" 0x010a
+
+CFG=all - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "all.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "all.mak" CFG="all - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "all - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE "all - Win32 Debug" (based on "Win32 (x86) Generic Project")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+MTL=midl.exe
+
+!IF "$(CFG)" == "all - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ELSEIF "$(CFG)" == "all - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ENDIF
+
+# Begin Target
+
+# Name "all - Win32 Release"
+# Name "all - Win32 Debug"
+# End Target
+# End Project
diff --git a/cppe/all.dsw b/cppe/all.dsw new file mode 100644 index 00000000000..a871fbace05 --- /dev/null +++ b/cppe/all.dsw @@ -0,0 +1,3428 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "adapterdeactivationC"=.\test\ice\adapterDeactivation\adapterDeactivationC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icecpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "adapterdeactivationCOL"=.\test\ice\adapterDeactivation\adapterDeactivationCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "adapterdeactivationS"=.\test\ice\adapterDeactivation\adapterDeactivationS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "all"=.\all.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name interfaceC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name interfaceS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name valueC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name valueS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name latencyC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name latencyS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name interfaceCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name html
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name operationsC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name operationsCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name operationsS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name inheritanceC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name inheritanceCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name inheritanceS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name exceptionsC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name exceptionsCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name exceptionsS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2docbook
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name faulttoleranceC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name faulttoleranceS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name locationForwardC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name locationForwardS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name asyncFHTC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name asyncFHTS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name phonebookC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name phonebookS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2freezej
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name phonebookCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name nestedC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name nestedS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name facetsC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name facetsCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name facetsS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name objectsC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name objectsCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name objectsS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name clockC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name clockS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStormC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStormS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name dbmap
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name singleS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name singleC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name complex
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name federationC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name federationS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2java
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name thread
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name callbackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name callbackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name unicode
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name loadPEM
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name certificateandkeyparsing
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name certificateverifier
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name certificateverificationC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name certificateverificationS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name configuration
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name bench
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libraryC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libraryCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libraryS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name locationC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name locationS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name inputUtil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloiceboxC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloiceboxS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceboxC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceboxS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name evictorC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name evictorS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icecpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name adapterDeactivationC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name adapterDeactivationCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name adapterDeactivationS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name exceptionsAMDS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name operationsAMDS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name sliceexC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name sliceexS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name sliceobC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name sliceobS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name uuid
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name workqueue
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ctrlchandler
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name throughputC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name throughputS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name gcC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mfchelloC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mfchelloS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloicepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloicepackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloicepacksvc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepacknode
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepackRegistry
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name deployerC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name deployerS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name deployersvc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name freezescriptdbmap
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name freezescriptevictor
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name TransformDB
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name dumpdb
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cs
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name sliceexAMDS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name sliceobAMDS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name checksumC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name checksumS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleicepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleicepackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleicepacksvc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2callbackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2callbackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2router
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2py
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2vb
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name routerC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name routerS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name printerC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name printerS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simplefsC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simplefsS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name streamC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name invokeC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name invokeS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2callbackSS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2C
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2calc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2S
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name bidirC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name bidirS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name chatC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name chatS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mfcpatchC
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "bench"=.\demo\freeze\bench\bench.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "bidirC"=.\demo\Ice\bidir\bidirC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "bidirS"=.\demo\Ice\bidir\bidirS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "callbackC"=.\demo\ice\callback\callbackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "callbackS"=.\demo\ice\callback\callbackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "certificateandkeyparsing"=.\test\icessl\certificateandkeyparsing\certificateandkeyparsing.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "certificateverificationC"=.\test\icessl\certificateverification\certificateverificationC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "certificateverificationS"=.\test\icessl\certificateverification\certificateverificationS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "certificateverifier"=.\test\icessl\certificateverifier\certificateverifier.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "chatC"=.\demo\Glacier2\chat\chatC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "chatS"=.\demo\Glacier2\chat\chatS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "checksumC"=.\test\ice\checksum\client\checksumC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "checksumS"=.\test\ice\checksum\server\checksumS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "clockC"=.\demo\iceStorm\clock\clockC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "clockS"=.\demo\iceStorm\clock\clockS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "complex"=.\test\freeze\complex\complex.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "configuration"=.\TEST\ICESSL\configuration\configuration.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "ctrlchandler"=.\test\iceutil\ctrlchandler\ctrlchandler.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "dbmap"=.\test\freeze\dbmap\dbmap.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "deployerC"=.\test\icepack\deployer\deployerC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "deployerS"=.\test\icepack\deployer\deployerS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "deployersvc"=.\test\icepack\deployer\deployersvc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceboxS
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "dumpdb"=.\src\freezescript\dumpdb.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "evictorC"=.\test\freeze\evictor\evictorC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "evictorS"=.\test\freeze\evictor\evictorS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "exceptionsAMDS"=.\test\ice\exceptions\exceptionsAMDS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "exceptionsC"=.\test\ice\exceptions\exceptionsC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "exceptionsCOL"=.\test\ice\exceptions\exceptionsCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "exceptionsS"=.\test\ice\exceptions\exceptionsS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "facetsC"=.\test\ice\facets\facetsC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "facetsCOL"=.\test\ice\facets\facetsCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "facetsS"=.\test\ice\facets\facetsS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "faulttoleranceC"=.\test\ice\faulttolerance\faulttoleranceC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "faulttoleranceS"=.\test\ice\faulttolerance\faulttoleranceS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "federationC"=.\test\iceStorm\federation\federationC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "federationS"=.\test\iceStorm\federation\federationS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "freeze"=.\src\freeze\freeze.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2freeze
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "freezescriptdbmap"=.\test\freezescript\dbmap\freezescriptdbmap.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "freezescriptevictor"=.\test\freezescript\evictor\freezescriptevictor.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "gcC"=.\test\ice\gc\gcC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "glacier2"=.\src\Glacier2\Glacier2.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "glacier2callbackC"=.\demo\glacier2\callback\glacier2callbackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "glacier2callbackS"=.\demo\glacier2\callback\glacier2callbackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "glacier2callbackSS"=.\demo\glacier2\callback\glacier2callbackSS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "glacier2router"=.\src\glacier2\glacier2router.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloC"=.\demo\ice\hello\helloC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloS"=.\demo\ice\hello\helloS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloiceboxC"=.\demo\icebox\hello\helloiceboxC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloiceboxS"=.\demo\icebox\hello\helloiceboxS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceboxS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloicepackC"=.\demo\icepack\hello\helloicepackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloicepackS"=.\demo\icepack\hello\helloicepackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepacknode
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "helloicepacksvc"=.\demo\icepack\hello\helloicepacksvc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepacknode
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "ice"=.\src\ice\ice.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icebox"=.\src\icebox\icebox.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "iceboxC"=.\src\icebox\iceboxC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "iceboxS"=.\src\icebox\iceboxS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icecpp"=.\src\icecpp\icecpp.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "icepack"=.\src\icepack\icepack.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepackC"=.\src\icepack\icepackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepacknode"=.\src\icepack\icepacknode.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepackregistry"=.\src\icepack\icepackRegistry.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepacknode
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepatch2"=.\src\icepatch2\icepatch2.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepatch2C"=.\src\icepatch2\icepatch2C.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepatch2S"=.\src\icepatch2\icepatch2S.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icepatch2calc"=.\src\icepatch2\icepatch2calc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icessl"=.\src\icessl\icessl.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icestorm"=.\src\iceStorm\iceStorm.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icestormC"=.\src\iceStorm\iceStormC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icestorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "icestormS"=.\src\iceStorm\iceStormS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icecpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icestorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "iceutil"=.\src\iceutil\iceutil.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "icexml"=.\src\icexml\icexml.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "inheritanceC"=.\test\ice\inheritance\inheritanceC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "inheritanceCOL"=.\test\ice\inheritance\inheritanceCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "inheritanceS"=.\test\ice\inheritance\inheritanceS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "inpututil"=.\test\iceutil\inpututil\inpututil.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "invokeC"=.\demo\ice\invoke\invokeC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "invokeS"=.\demo\ice\invoke\invokeS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "latencyC"=.\demo\ice\latency\latencyC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "latencyS"=.\demo\ice\latency\latencyS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "libraryC"=.\demo\freeze\library\libraryC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "libraryCOL"=.\demo\freeze\library\libraryCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "libraryS"=.\demo\freeze\library\libraryS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "loadpem"=.\test\icessl\loadPEM\loadPEM.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "locationC"=.\test\ice\location\locationC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "locationS"=.\test\ice\location\locationS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "mfchelloC"=.\demo\ice\MFC\client\mfchelloC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "mfchelloS"=.\demo\ice\MFC\server\mfchelloS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "mfcpatchC"=.\demo\IcePatch2\MFC\mfcpatchC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "minimal"=.\minimal.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icecpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name dumpdb
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2router
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceboxC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceboxS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepacknode
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepackregistry
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2C
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2calc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepatch2S
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icestorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icestormC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icestormS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cs
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2docbook
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2freezej
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2java
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2py
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2vb
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name transformdb
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "nestedC"=.\demo\ice\nested\nestedC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "nestedS"=.\demo\ice\nested\nestedS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "objectsC"=.\test\ice\objects\objectsC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "objectsCOL"=.\test\ice\objects\objectsCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "objectsS"=.\test\ice\objects\objectsS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "operationsAMDS"=.\test\ice\operations\operationsAMDS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "operationsC"=.\test\ice\operations\operationsC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "operationsCOL"=.\test\ice\operations\operationsCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "operationsS"=.\test\ice\operations\operationsS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "phonebookC"=.\demo\freeze\phonebook\phonebookC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "phonebookCOL"=.\demo\freeze\phonebook\phonebookCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "phonebookS"=.\demo\freeze\phonebook\phonebookS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "printerC"=.\demo\book\printer\printerC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "printerS"=.\demo\book\printer\printerS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "routerC"=.\test\glacier2\router\routerC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name glacier2
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "routerS"=.\test\glacier2\router\routerS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simpleC"=.\test\icepack\simple\simpleC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simpleS"=.\test\icepack\simple\simpleS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simplefsC"=.\demo\book\simple_filesystem\simplefsC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simplefsS"=.\demo\book\simple_filesystem\simplefsS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simpleicepackC"=.\demo\icepack\simple\simpleicepackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simpleicepackS"=.\demo\icepack\simple\simpleicepackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "simpleicepacksvc"=.\demo\icepack\simple\simpleicepacksvc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icebox
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icepack
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "singleC"=.\test\iceStorm\single\singleC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "singleS"=.\test\iceStorm\single\singleS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceStorm
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice"=.\src\slice\slice.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icecpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2cpp"=.\src\slice2cpp\slice2cpp.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2cs"=.\src\slice2cs\slice2cs.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2docbook"=.\src\slice2docbook\slice2docbook.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2freeze"=.\src\slice2freeze\slice2freeze.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2freezej"=.\src\slice2freezej\slice2freezej.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2java"=.\src\slice2java\slice2java.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2py"=.\src\slice2py\slice2py.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "slice2vb"=.\src\slice2vb\slice2vb.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "sliceexAMDS"=.\test\ice\slicing\exceptions\sliceexAMDS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "sliceexC"=.\test\ice\slicing\exceptions\sliceexC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "sliceexS"=.\test\ice\slicing\exceptions\sliceexS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "sliceobAMDS"=.\test\ice\slicing\objects\sliceobAMDS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "sliceobC"=.\test\ice\slicing\objects\sliceobC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "sliceobS"=.\test\ice\slicing\objects\sliceobS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "streamC"=.\test\ice\stream\streamC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "thread"=.\test\iceutil\thread\thread.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "throughputC"=.\demo\ice\throughput\throughputC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "throughputS"=.\demo\ice\throughput\throughputS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "transformdb"=.\src\freezescript\TransformDB.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name freeze
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icecpp
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icexml
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name slice2cpp
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "unicode"=.\test\iceutil\unicode\unicode.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "uuid"=.\test\iceutil\uuid\uuid.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "valueC"=.\demo\ice\value\valueC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "valueS"=.\demo\ice\value\valueS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name icessl
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name ice
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "workqueue"=.\demo\iceutil\workqueue\workqueue.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name iceutil
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/cppe/allTests.py b/cppe/allTests.py new file mode 100755 index 00000000000..e47d483745d --- /dev/null +++ b/cppe/allTests.py @@ -0,0 +1,105 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +import os, sys +import getopt + +for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + toplevel = os.path.normpath(toplevel) + if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): + break +else: + raise "can't find toplevel directory!" + +sys.path.append(os.path.join(toplevel, "config")) +import TestUtil + +def runTests(tests, num = 0): + + # + # Run each of the tests. + # + for i in tests: + + i = os.path.normpath(i) + dir = os.path.join(toplevel, "test", i) + + print + if(num > 0): + print "[" + str(num) + "]", + print "*** running tests in " + dir, + print + + if TestUtil.isWin9x(): + status = os.system("python " + os.path.join(dir, "run.py")) + else: + status = os.system(os.path.join(dir, "run.py")) + + if status: + if(num > 0): + print "[" + str(num) + "]", + print "test in " + dir + " failed with exit status", status, + sys.exit(status) + +# +# List of all basic tests. +# +tests = [ \ + "IceUtil/thread", \ + "IceUtil/unicode", \ + "IceUtil/inputUtil", \ + "IceUtil/uuid", \ + "Ice/operations", \ + "Ice/exceptions", \ + "Ice/inheritance", \ + "Ice/facets", \ + "Ice/objects", \ + "Ice/faultTolerance", \ + "Ice/location", \ + "Ice/adapterDeactivation", \ + "Ice/slicing/exceptions", \ + "Ice/slicing/objects", \ + "Ice/gc", \ + "Ice/checksum", \ + "Ice/stream", \ + ] + +# +# These tests are currently disabled on cygwin +# +if TestUtil.isCygwin() == 0: + tests += [ \ + + ] + +def usage(): + print "usage: " + sys.argv[0] + " [-l]" + sys.exit(2) + +try: + opts, args = getopt.getopt(sys.argv[1:], "l") +except getopt.GetoptError: + usage() + +if(args): + usage() + +loop = 0 +for o, a in opts: + if o == "-l": + loop = 1 + +if loop: + num = 1 + while 1: + runTests(tests, num) + num += 1 +else: + runTests(tests) diff --git a/cppe/bin/.dummy b/cppe/bin/.dummy new file mode 100644 index 00000000000..029d4b7cff2 --- /dev/null +++ b/cppe/bin/.dummy @@ -0,0 +1 @@ +Dummy file, so that `cvs export' creates this otherwise empty directory. diff --git a/cppe/config/Make.rules b/cppe/config/Make.rules new file mode 100644 index 00000000000..d3c0326d96d --- /dev/null +++ b/cppe/config/Make.rules @@ -0,0 +1,372 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# Select an installation base directory. The directory will be created +# if it does not exist. +# + +prefix = /opt/IceE-$(VERSION) + +# +# Define OPTIMIZE as yes if you want to build with +# optimization. Otherwise Ice is build with debug information. +# + +#OPTIMIZE = yes + +# +# Define LP64 as yes if you want to build in 64 bit mode on a platform +# that supports both 32 and 64 bit. +# +#LP64 := yes + + +# +# Define GPL_BUILD as yes if you want to build a copy of Ice licensed +# to you under the GNU Public License v2. +# This adds a "no-warranty" notice and accompanying show commands +# to interactive programs. +# +GPL_BUILD := yes + +# +# Define USE_READLINE as yes if you want to build parts of Ice using +# readline on platforms where readline is available +# (see PLATFORM_HAS_READLINE in Make.rules.$(UNAME)) +# +# readline is used by a number of Ice admin programs to provide +# command history, an optional feature. +# +# readline is licensed by the Free Software Foundation under the +# GNU Public License v2, and cannot be combined with GPL-incompatible +# software in any program. In particular the OpenSSL license +# is GPL-incompatible. +# On Linux and other free operating systems, readline and OpenSSL +# are usually distributed with the operating system, which may be +# a solution to this incompatibility. +# +# If you combine Ice with more GPL-incompatible software, or have +# licensed Ice under a commercial (non-GPL) license, you should +# ponder the licensing implications of using readline. +# +ifeq ($(GPL_BUILD),yes) + USE_READLINE := yes +endif + +# +# The values below can be overridden by defining them as environment +# variables. For example, if you are using a bourne shell or +# compatible, you can override the location of STLport like this: +# +# export STLPORT_HOME=/usr/local/STLport-4.5 +# + +# +# If you want to use STLport, set STLPORT_HOME to the STLport +# installation directory. If STLPORT_HOME is undefined or empty, +# STLport is not used. +# + +#STLPORT_HOME ?= /opt/STLport + + +# +# If libbzip2 is not installed in a standard location where the compiler +# can find it, set BZIP2_HOME to the bzip2 installation directory. +# + +#BZIP2_HOME ?= /opt/bzip2 + + +# +# If Berkeley DB is not installed in a standard location where the +# compiler can find it, set DB_HOME to the Berkeley DB installation +# directory. +# + +#DB_HOME ?= /opt/db + +# +# If OpenSSL is not installed in a standard location where the +# compiler can find it, set OPENSSL_HOME to the OpenSSL installation +# directory. +# + +#OPENSSL_HOME ?= /opt/openssl + +# +# Define if your OpenSSL requires Kerberos, and if Kerberos is not +# installed in a standard location. +# + +KERBEROS_HOME ?= /usr/kerberos + +# +# If expat is not installed in a standard location where the +# compiler can find it, set EXPAT_HOME to the expat +# installation directory. +# + +#EXPAT_HOME ?= /opt/expat + + +# +# If readline is not installed in a standard location where the +# compiler can find it, AND you want to use readline, +# set READLINE_HOME to the readline installation directory. +# +# + +#READLINE_HOME ?= /opt/readline + + +# ---------------------------------------------------------------------- +# Don't change anything below this line! +# ---------------------------------------------------------------------- + +SHELL = /bin/sh +VERSION = 1.0.0 +SOVERSION = 10 +bindir = $(top_srcdir)/bin +libdir = $(top_srcdir)/lib +includedir = $(top_srcdir)/include +slicedir = $(ICE_HOME)/slice + +ifeq ($(LP64),yes) + install_bindir = $(prefix)/bin$(lp64suffix) + install_libdir = $(prefix)/lib$(lp64suffix) +else + install_bindir = $(prefix)/bin + install_libdir = $(prefix)/lib +endif + +install_includedir = $(prefix)/include +install_slicedir = $(prefix)/slice +install_schemadir = $(prefix)/schema +install_docdir = $(prefix)/doc + +INSTALL = cp -fp +INSTALL_PROGRAM = ${INSTALL} +INSTALL_LIBRARY = ${INSTALL} +INSTALL_DATA = ${INSTALL} + +UNAME := $(shell uname) + +# +# Platform specific definitions +# +include $(top_srcdir)/config/Make.rules.$(UNAME) + +ifeq ($(LP64),yes) + libsubdir := lib$(lp64suffix) +else + libsubdir := lib +endif + +ifneq ($(STLPORT_HOME),) + STLPORT_FLAGS = -I$(STLPORT_HOME)/include/stlport + ifeq ($(OPTIMIZE),yes) + STLPORT_LIBS = -L$(STLPORT_HOME)/$(libsubdir) -lstlport_gcc + else + STLPORT_LIBS = -L$(STLPORT_HOME)/$(libsubdir) -lstlport_gcc_stldebug + endif +else + STLPORT_FLAGS = + STLPORT_LIBS = +endif + +ifneq ($(OPENSSL_HOME),) + OPENSSL_FLAGS = -I$(OPENSSL_HOME)/include + OPENSSL_LIBS = -L$(OPENSSL_HOME)/$(libsubdir) -lssl -lcrypto +else + OPENSSL_FLAGS = + OPENSSL_LIBS = -lssl -lcrypto +endif + +ifneq ($(KERBEROS_HOME),) + OPENSSL_FLAGS += -I$(KERBEROS_HOME)/include +endif + +ifneq ($(BZIP2_HOME),) + BZIP2_FLAGS = -I$(BZIP2_HOME)/include + BZIP2_LIBS = -L$(BZIP2_HOME)/$(libsubdir) -lbz2 +else + BZIP2_FLAGS = + BZIP2_LIBS = -lbz2 +endif + +ifneq ($(DB_HOME),) + DB_FLAGS = -I$(DB_HOME)/include + DB_LIBS = -L$(DB_HOME)/$(libsubdir) -ldb_cxx +else + DB_FLAGS = + DB_LIBS = -ldb_cxx +endif + +ifneq ($(EXPAT_HOME),) + EXPAT_FLAGS = -I$(EXPAT_HOME)/include + EXPAT_LIBS = -L$(EXPAT_HOME)/$(libsubdir) -lexpat +else + EXPAT_FLAGS = + EXPAT_LIBS = -lexpat +endif + + +# +# The GPL_BUILD flag is used only where readline may be +# used. +# + +ifeq ($(GPL_BUILD),yes) + READLINE_FLAGS = -DGPL_BUILD +endif + +ifeq ($(PLATFORM_HAS_READLINE),yes) + ifeq ($(USE_READLINE),yes) + ifneq ($(READLINE_HOME),) + READLINE_FLAGS += -DHAVE_READLINE -I$(READLINE_HOME)/include + READLINE_LIBS = -L$(READLINE_HOME)/$(libsubdir) -lreadline -lncurses + else + READLINE_FLAGS += -DHAVE_READLINE + READLINE_LIBS = -lreadline -lncurses + endif + endif +endif + + +CPPFLAGS = -I$(includedir) $(STLPORT_FLAGS) +ICECPPFLAGS = -I$(slicedir) +SLICE2CPPEFLAGS = $(ICECPPFLAGS) + +LDFLAGS = $(LDPLATFORMFLAGS) $(CXXFLAGS) -L$(libdir) + +ifeq ($(FLEX_NOLINE),yes) + FLEXFLAGS := -L +else + FLEXFLAGS := +endif + +ifeq ($(BISON_NOLINE),yes) + BISONFLAGS := -dvtl +else + BISONFLAGS := -dvt +endif + +# +# Default functions for shared library names +# + +ifeq ($(mklibfilename),) + mklibfilename = $(if $(2),lib$(1).so.$(2),lib$(1).so) +endif + +ifeq ($(mksoname),) + mksoname = $(if $(2),lib$(1).so.$(2),lib$(1).so) +endif + +ifeq ($(mklibname),) + mklibname = lib$(1).so +endif + +ifndef mklibtargets + mklibtargets = $(1) $(2) $(3) +endif + +ifeq ($(mkshlib),) + $(error You need to define mkshlib in Make.rules.$(UNAME)) +endif + +ifeq ($(installlib),) + installlib = $(INSTALL) $(2)/$(3) $(1); \ + rm -f $(1)/$(4); ln -s $(3) $(1)/$(4); \ + rm -f $(1)/$(5); ln -s $(4) $(1)/$(5) +endif + +SLICEPARSERLIB = $(ICE_HOME)/lib/$(call mklibfilename,Slice) +SLICE2CPPE = $(ICE_HOME)/bin/slice2cppe +SLICE2XSD = $(bindir)/slice2xsd +SLICE2FREEZE = $(bindir)/slice2freeze +SLICE2DOCBOOK = $(bindir)/slice2docbook + +EVERYTHING = all depend clean install + +.SUFFIXES: +.SUFFIXES: .cpp .c .o + +.cpp.o: + $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< + +.c.o: + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + + +$(HDIR)/%F.h: $(SDIR)/%F.ice $(SLICE2CPPE) $(SLICEPARSERLIB) + rm -f $(HDIR)/$(*F)F.h $(*F)F.cpp + $(SLICE2CPPE) $(SLICE2CPPEFLAGS) $< + mv $(*F)F.h $(HDIR) + rm -f $(*F)F.cpp + +$(HDIR)/%.h %.cpp: $(SDIR)/%.ice $(SLICE2CPPE) $(SLICEPARSERLIB) + rm -f $(HDIR)/$(*F).h $(*F).cpp + $(SLICE2CPPE) $(SLICE2CPPEFLAGS) $< + mv $(*F).h $(HDIR) + +%.h %.cpp: %.ice $(SLICE2CPPE) $(SLICEPARSERLIB) + rm -f $(*F).h $(*F).cpp + $(SLICE2CPPE) $(SLICE2CPPEFLAGS) $(*F).ice + +%.h %.cpp: %.y + rm -f $(*F).h $(*F).cpp + bison $(BISONFLAGS) $< + mv $(*F).tab.c $(*F).cpp + mv $(*F).tab.h $(*F).h + rm -f $(*F).output + +%.cpp: %.l + flex $(FLEXFLAGS) $< + rm -f $@ + echo '#include <IceUtil/Config.h>' > $@ + cat lex.yy.c >> $@ + rm -f lex.yy.c + +all:: $(SRCS) $(TARGETS) + +depend:: $(SRCS) $(SLICE_SRCS) + -rm -f .depend + if test -n "$(SRCS)" ; then \ + $(CXX) -DMAKEDEPEND -M $(CXXFLAGS) $(CPPFLAGS) $(SRCS) | \ + $(top_srcdir)/config/makedepend.py >> .depend; \ + fi + if test -n "$(SLICE_SRCS)" ; then \ + $(SLICE2CPPE) --depend $(SLICE2CPPEFLAGS) $(SLICE_SRCS) | \ + $(top_srcdir)/config/makedepend.py >> .depend; \ + fi + +clean:: + -rm -f $(TARGETS) + -rm -f core *.o *.bak + +ifneq ($(SLICE_SRCS),) +clean:: + rm -f $(addsuffix .cpp, $(basename $(notdir $(SLICE_SRCS)))) + rm -f $(addsuffix .h, $(basename $(notdir $(SLICE_SRCS)))) +endif +ifneq ($(HDIR),) +clean:: + rm -f $(addprefix $(HDIR), $(addsuffix .h, $(basename $(subst $(SDIR),, \ + $(filter $(SDIR)/%.ice, $(SLICE_SRCS)))))) +endif + +ifneq ($(TEMPLATE_REPOSITORY),) +clean:: + rm -fr $(TEMPLATE_REPOSITORY) +endif + +install:: diff --git a/cppe/config/Make.rules.AIX b/cppe/config/Make.rules.AIX new file mode 100644 index 00000000000..75624b80284 --- /dev/null +++ b/cppe/config/Make.rules.AIX @@ -0,0 +1,63 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# This file is included by Make.rules when uname is AIX. +# + +CXX := xlC_r +CC := xlc_r -qcpluscmt + +# +# -qstaticinline: make inline functions that were not inlined (typically +# in debug mode or when the function is too big) static instead of +# extern (the default). This eliminates lots of "Duplicate symbol" +# warnings at link time, and surprisingly reduces the size of the +# libraries. +# +# -D_LARGE_FILES: By default, Berkeley DB is built with -D_LARGE_FILES, +# which moves a number of symbols from namespace std to namespace +# std::_LSF_ON. It would be nice to find a better solution, and get +# rid of this define. +# +# -qalign=natural: You should add this option if you plan to use or +# build Ice with libraries built with GCC. The default alignment for GCC +# is "natural", while the default for xlC is "power". +# + +ifneq ($(OBJECT_MODE),64) + CXXARCHFLAGS := -D_LARGE_FILES +endif + +CXXFLAGS = -brtl -qrtti=all -qstaticinline $(CXXARCHFLAGS) + +ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O2 -DNDEBUG $(CXXFLAGS) -qinline +else + CXXFLAGS := -g $(CXXFLAGS) +endif + + +LDPLATFORMFLAGS = -Wl,-blibpath:$(prefix)/lib:/usr/lpp/xlopt:/usr/lib/threads:/usr/vacpp/lib:/usr/lib:/lib + +mklibfilename = lib$(1).a +mklibname = lib$(1).notused +mklibtargets = $(1) + +mkshlib = $(CXX) -qmkshrobj $(LDFLAGS) -o $(2) $(3) $(4) ; ar -rc $(1) $(2) ; rm $(2) + +installlib = $(INSTALL) $(2)/$(3) $(1) + +BASELIBS = -lIceEUtil +LIBS = -lIceE $(BASELIBS) + +ICEUTIL_OS_LIBS := +ICE_OS_LIBS := + +export LIBPATH := $(libdir):$(LIBPATH) diff --git a/cppe/config/Make.rules.Darwin b/cppe/config/Make.rules.Darwin new file mode 100644 index 00000000000..6e37cf9c19f --- /dev/null +++ b/cppe/config/Make.rules.Darwin @@ -0,0 +1,48 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# This file is included by Make.rules when uname is Darwin. +# + +CXX = c++ + +CXXFLAGS = -ftemplate-depth-128 -Wall -D_REENTRANT + +ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O2 -DNDEBUG $(CXXFLAGS) +else + CXXFLAGS := -g $(CXXFLAGS) +endif + +# +# C++ run-time libraries, necessary for linking some shared libraries. +# +CXXLIBS = + +LDPLATFORMFLAGS = -Wl,-executable_path,$(bindir) + +shlibldflags = $(CXXFLAGS) -L$(libdir) + +mklibfilename = $(if $(2),lib$(1).$(2).dylib,lib$(1).dylib) +mksoname = $(if $(2),lib$(1).$(2).dylib,lib$(1).dylib) + +mklibname = lib$(1).dylib + +mkshlib = $(CXX) -single_module -dynamiclib $(shlibldflags) -o $(1) -install_name @executable_path/../lib/$(2) $(3) $(4) + +BASELIBS = -lIceEUtil -lpthread +LIBS = -lIceE $(BASELIBS) + +ICEUTIL_OS_LIBS = -lpthread +ICE_OS_LIBS = -ldl + +PLATFORM_HAS_READLINE := no + +export DYLD_LIBRARY_PATH := $(libdir):$(DYLD_LIBRARY_PATH) diff --git a/cppe/config/Make.rules.FreeBSD b/cppe/config/Make.rules.FreeBSD new file mode 100644 index 00000000000..af94c840308 --- /dev/null +++ b/cppe/config/Make.rules.FreeBSD @@ -0,0 +1,39 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# This file is included by Make.rules when uname is FreeBSD +# + +CXX := c++ + +CXXFLAGS = -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT -D_THREAD_SAFE + +ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O2 -DNDEBUG $(CXXFLAGS) +else + CXXFLAGS := -g $(CXXFLAGS) +endif + +# +# C++ run-time libraries, necessary for linking some shared libraries. +# +CXXLIBS = + +mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lc_r + +BASELIBS = -lIceEUtil -lc_r +LIBS = -lIceE $(BASELIBS) + +ICEUTIL_OS_LIBS = +ICE_OS_LIBS = + +PLATFORM_HAS_READLINE := yes + +export LD_LIBRARY_PATH := $(libdir):$(LD_LIBRARY_PATH) diff --git a/cppe/config/Make.rules.HP-UX b/cppe/config/Make.rules.HP-UX new file mode 100644 index 00000000000..5aa82461fdf --- /dev/null +++ b/cppe/config/Make.rules.HP-UX @@ -0,0 +1,90 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# This file is included by Make.rules when uname is HP-UX.. +# + +CXX := aCC + +ifeq ($(LP64),yes) + CXXARCHFLAGS := +DD64 +else + CXXARCHFLAGS := +DA2.0N +endif + +# +# TODO: add -Bhidden_def (for declspec), when it works +# + +# +# Disable the following warnings: +# 307: Function defines return type, but contains no return at end of function. +# 361: Value-returning function might end without executing a return statement. +# 829: Implicit conversion of string literal to 'char *' is deprecated. +# 849: External symbol too long, truncated from xxx to 4000 +# 740: Unsafe cast between pointers/references to incomplete classes (required for db_cxx.h only) +# 749: The cast from 'const DbTxnImp *' to 'const __db_txn *' is performed as a 'reinterpret_cast' (db_cxx.h only). +DISABLEDWARNINGS = +W307 +W361 +W829 +W849 +W740 +W749 + +CXXFLAGS = -AA +Z -mt $(DISABLEDWARNINGS) $(CXXARCHFLAGS) + +ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O -DNDEBUG $(CXXFLAGS) +else + CXXFLAGS := -g0 $(CXXFLAGS) +endif + +# +# C++ run-time libraries, necessary for linking some shared libraries. +# +CXXLIBS = -lCsup_v2 -lstd_v2 + +# +# On HP-UX, we need -L for all dependent libraries +# + +LIBPATH = + +ifneq ($(OPENSSL_HOME),) + LIBPATH += -L$(OPENSSL_HOME)/$(libsubdir) +endif + +ifneq ($(BZIP2_HOME),) + LIBPATH += -L$(BZIP2_HOME)/$(libsubdir) +endif + +ifneq ($(DB_HOME),) + LIBPATH += -L$(DB_HOME)/$(libsubdir) +endif + +ifneq ($(EXPAT_HOME),) + LIBPATH += -L$(EXPAT_HOME)/$(libsubdir) +endif + +LDPLATFORMFLAGS = -Wl,+s -Wl,+b$(prefix)/$(libsubdir) $(LIBPATH) + +mklibfilename = $(if $(2),lib$(1).$(2),lib$(1).sl) +mksoname = $(if $(2),lib$(1).$(2),lib$(1).sl) +mklibname = lib$(1).sl +mkshlib = $(CXX) -b -Wl,-Bsymbolic $(LDFLAGS) -o $(1) -Wl,+h$(2) $(3) $(4) + +BASELIBS = -lIceEUtil -lxnet -lpthread +LIBS = -lIceE $(BASELIBS) + +ICEUTIL_OS_LIBS := -lpthread -lrt +ICE_OS_LIBS := + +lp64suffix := /pa20_64 + +ifeq ($(LP64),yes) + export LD_LIBRARY_PATH := $(libdir):$(LD_LIBRARY_PATH) +else + export SHLIB_PATH := $(libdir):$(SHLIB_PATH) +endif diff --git a/cppe/config/Make.rules.Linux b/cppe/config/Make.rules.Linux new file mode 100644 index 00000000000..ed8139d2d8a --- /dev/null +++ b/cppe/config/Make.rules.Linux @@ -0,0 +1,108 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# This file is included by Make.rules when uname is Linux. +# + +USE_SPARC_ASM = irrelevant +MACHINE = $(shell uname -m) + +# +# Default compiler is c++ (aka g++). +# +ifeq ($(CXX),) + CXX := c++ +endif + +ifeq ($(CXX),g++) + CXX := c++ +endif + +ifeq ($(CXX),c++) + + ifeq ($(MACHINE),sparc64) + # + # We are an ultra, at least, and so have the atomic instructions + # + USE_SPARC_ASM = yes + CXXARCHFLAGS := -mcpu=ultrasparc -pipe -Wno-deprecated -DUSE_SPARC_ASM + endif + + ifeq ($(MACHINE),sparc) + # + # We are a sun4m or sun4c + # On sun4m, there is a bug in some CPU/kernel/gcc configurations which + # prevent us from using '-mcpu=v8' + # + USE_SPARC_ASM = no + CXXARCHFLAGS := -mtune=v8 -pipe -Wno-deprecated -DICE_USE_MUTEX_SHARED + endif + + ifeq ($(MACHINE),x86_64) + ifeq ($(LP64),yes) + CXXARCHFLAGS := -m64 + else + CXXARCHFLAGS := -m32 + endif + lp64suffix := 64 + endif + + CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT + + ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O2 -DNDEBUG $(CXXFLAGS) + else + CXXFLAGS := -g $(CXXFLAGS) + endif + + ifeq ($(USE_SPARC_ASM),yes) + CFLAGS := -O3 -mcpu=ultrasparc -pipe -DNDEBUG -fPIC -DUSE_SPARC_ASM + endif + ifeq ($(USE_SPARC_ASM),no) + CFLAGS := -O3 -mcpu=v8 -pipe -DNDEBUG -fPIC -DICE_USE_MUTEX_SHARED + endif + + # + # C++ run-time libraries, necessary for linking some shared libraries. + # + CXXLIBS = + + mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lpthread + +endif + +ifeq ($(CXX),icpc) + + CXXFLAGS = -fPIC -D_REENTRANT + + ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O2 -DNDEBUG $(CXXFLAGS) + else + CXXFLAGS := -g $(CXXFLAGS) + endif + + # + # C++ run-time libraries, necessary for linking some shared libraries. + # + CXXLIBS = + + mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lpthread + +endif + +BASELIBS = -lIceEUtil $(STLPORT_LIBS) -lpthread +LIBS = -lIceE $(BASELIBS) + +ICEUTIL_OS_LIBS = +ICE_OS_LIBS = -ldl + +PLATFORM_HAS_READLINE := yes + +export LD_LIBRARY_PATH := $(libdir):$(LD_LIBRARY_PATH) diff --git a/cppe/config/Make.rules.SunOS b/cppe/config/Make.rules.SunOS new file mode 100644 index 00000000000..a756d203c50 --- /dev/null +++ b/cppe/config/Make.rules.SunOS @@ -0,0 +1,114 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# This file is included by Make.rules when uname is SunOS. +# + +# +# The default compiler on Solaris is CC. +# If you want to build with another compiler, you can edit this line, or +# comment it out and define CXX=<desired-compiler> in your environment. +# If CXX is not defined anywhere, the default (from gmake) is g++. +# +CXX = CC + +ifeq ($(CXX),CC) +# +# Sun CC +# + + # + # Which version of CC are we using? + # + CCVERSION := $(filter 5.%, $(shell CC -V 2>&1)) + + ifeq ($(LP64),yes) + CXXARCHFLAGS := -xarch=v9 + endif + + ifeq ($(CCVERSION),5.3) + FLEX_NOLINE := yes + BISON_NOLINE := yes + TEMPLATE_REPOSITORY := SunWS_cache + else + ifeq ($(CCVERSION),5.4) + CXXWARNFLAGS := +w + TEMPLATE_REPOSITORY := SunWS_cache + else + # + # Assumes >= 5.5 + # + # -erroff=hidef is a (bad) work-around for + # for Sun CC 5.5 bug #4852754 + # + CXXWARNFLAGS := +w -erroff=hidef + CXXSCOPEFLAGS := -xldscope=hidden + endif + endif + + # + # -features=tmplife is needed to destroy temporary objects immediately + # (as specified by ISO C++) instead of at the end of the current block. + # This is very useful to avoid deadlocks when using Freeze Map + # iterators. + # + + CXXFLAGS = -KPIC -mt +p -features=tmplife $(CXXSCOPEFLAGS) $(CXXWARNFLAGS) $(CXXARCHFLAGS) + + + ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O -DNDEBUG $(CXXFLAGS) + else + CXXFLAGS := -g $(CXXFLAGS) + endif + + # + # C++ run-time libraries, necessary for linking some shared libraries. + # + CXXLIBS = -lCstd -lCrun + + + mkshlib = $(CXX) -G $(LDFLAGS) -o $(1) -h $(2) $(3) $(4) +endif + +ifeq ($(CXX),gcc) + CXX = g++ +endif + +ifeq ($(CXX),g++) + + ifeq ($(LP64),yes) + CXXARCHFLAGS := -m64 + endif + + CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT + + ifeq ($(OPTIMIZE),yes) + CXXFLAGS := -O2 -DNDEBUG $(CXXFLAGS) + else + CXXFLAGS := -g $(CXXFLAGS) + endif + + mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -h $(2) $(3) $(4) +endif + +BASELIBS = -lIceEUtil -lpthread +LIBS = -lIceE $(BASELIBS) + +ICEUTIL_OS_LIBS := -lpthread -lrt +ICE_OS_LIBS := -ldl -lsocket + +lp64suffix := /sparcv9 + +ifeq ($(LP64),yes) + export LD_LIBRARY_PATH_64 := $(libdir):$(LD_LIBRARY_PATH_64) +else + export LD_LIBRARY_PATH := $(libdir):$(LD_LIBRARY_PATH) +endif diff --git a/cppe/config/PropertyNames.def b/cppe/config/PropertyNames.def new file mode 100644 index 00000000000..559fa48c205 --- /dev/null +++ b/cppe/config/PropertyNames.def @@ -0,0 +1,157 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# This file defines the valid properties that are used by the various +# parts of Ice. It is used generate source code using the makeprops.py +# utility, so we do not need to redundantly maintain the same property +# definitions in several languages (and risk having them go out of +# sync). +# +# Syntax: +# +# Empty lines (lines containing only whitespace) are ignored. +# +# The # character introduces a comment that extends to the end of +# line. Property names cannot contain a # character. +# +# The file is organized into labelled sections. The label for a +# section must be an identifier followed by a colon, such as +# "ice:". Section labels must appear on a line by themselves (possibly +# followed by a comment). Leading and trailing whitespace is +# ignored. Each section must occur only once in a file. "validProps" +# is reserved and cannot be used as a section name. +# +# Each section contains a number of property names, one to a line. A +# property name cannot contain the # character. Otherwise, a property +# name is taken to be any consecutive sequence of non-whitespace +# characters. Leading and trailing whitespace is ignored, as is a +# trailing comment. +# + +# The token "<any>" is a wildcard and matches any non-empty sequence +# of non-whitespace characters, excluding '.'. +# +# Examples: +# +# "Ice.Foo.<any>" allows all properties with that prefix, such as +# "Ice.Foo.Bar". +# +# "Ice.Foo<any>" allows properties such as "Ice.Foo.Bar" and "Ice.FooBar". +# +# Property definitions are translated into each language by +# makeprops.py. For example, consider the following definitions: +# +# Ice: +# ChangeUser +# Package.<any> +# +# IceBox: +# LoadOrder +# +# If the source file is called Properties.defs, makeprops.py generates +# the following C++ header and source code for this: +# +# // Properties.h +# +# namespace IceInternal +# { +# +# class Properties +# { +# public: +# +# static const char* const IceProps[]; +# static const char* const IceBoxProps[]; +# +# static const char* const* validProps[]; +# }; +# +# } +# +# // Properties.cpp +# +# const char* const IceInternal::Properties::IceProps[] = +# { +# "Ice.ChangeUser", +# "Ice.Package.*", +# 0 +# }; +# +# const char* const IceInternal::Properties::IceBoxProps[] = +# { +# "IceBox.LoadOrder", +# 0 +# }; +# +# const char* const* IceInternal::Properties::validProps[] = +# { +# IceProps, +# IceBoxProps, +# 0 +# }; +# +# Note that the class name ("Properties" in this example) is generated +# from the file name, and the first component of the property name is +# generated from the section label. +# + +Ice: + ChangeUser + Config + ConnectionIdleTime + Default.Host + Default.Locator + Default.Package + Default.Protocol + Default.Router + GC.Interval + Logger.Timestamp + MessageSizeMax + MonitorConnections + Nohup + NullHandleAbort + Override.Compress + Override.ConnectTimeout + Override.Timeout + Package.<any> + Plugin.<any> + PrintAdapterReady + PrintProcessId + ProgramName + RetryIntervals + ServerId + ServerIdleTime + StdErr + StdOut + ThreadPerConnection + ThreadPerConnection.StackSize + ThreadPool.Client.Size + ThreadPool.Client.SizeMax + ThreadPool.Client.SizeWarn + ThreadPool.Client.StackSize + ThreadPool.Server.Size + ThreadPool.Server.SizeMax + ThreadPool.Server.SizeWarn + ThreadPool.Server.StackSize + Trace.GC + Trace.Location + Trace.Network + Trace.Protocol + Trace.Retry + Trace.Slicing + UDP.RcvSize + UDP.SndSize + UseEventLog + UseSyslog + Warn.AMICallback + Warn.Connections + Warn.Datagrams + Warn.Dispatch + Warn.Leaks diff --git a/cppe/config/TestUtil.py b/cppe/config/TestUtil.py new file mode 100644 index 00000000000..e310ec1c21b --- /dev/null +++ b/cppe/config/TestUtil.py @@ -0,0 +1,345 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +# +# Set protocol to "ssl" in case you want to run the tests with the SSL +# protocol. Otherwise TCP is used. +# + +protocol = "" +#protocol = "ssl" + +# +# Set compressed to 1 in case you want to run the tests with +# protocol compression. +# + +#compress = 0 +compress = 1 + +# +# Set threadPerConnection to 1 in case you want to run the tests in +# thread per connection mode. +# + +threadPerConnection = 0 +#threadPerConnection = 1 + +# +# If you don't set "host" below, then the Ice library will try to find +# out the IP address of this host. For the Ice test suite, it's best +# to set the IP address explicitly to 127.0.0.1. This avoid problems +# with incorrect DNS or hostname setups. +# + +host = "127.0.0.1" + +# +# Don't change anything below this line! +# + +import sys, os, re + +def getIceVersion(): + + config = open(os.path.join(toplevel, "include", "IceUtil", "Config.h"), "r") + return re.search("ICE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) + +def getIceSoVersion(): + + config = open(os.path.join(toplevel, "include", "IceUtil", "Config.h"), "r") + intVersion = int(re.search("ICE_INT_VERSION ([0-9]*)", config.read()).group(1)) + majorVersion = intVersion / 10000 + minorVersion = intVersion / 100 - 100 * majorVersion + return '%d' % (majorVersion * 10 + minorVersion) + +def isCygwin(): + + # The substring on sys.platform is required because some cygwin + # versions return variations like "cygwin_nt-4.01". + if sys.platform[:6] == "cygwin": + return 1 + else: + return 0 + +def isWin32(): + + if sys.platform == "win32" or isCygwin(): + return 1 + else: + return 0 + +def isWin9x(): + + if isWin32(): + if os.environ.has_key("OS") and os.environ["OS"] == "Windows_NT": + return 0 + return 1 + else: + return 0 + +def isSolaris(): + + if sys.platform == "sunos5": + return 1 + else: + return 0 + +def isHpUx(): + + if sys.platform == "hp-ux11": + return 1 + else: + return 0 + +def isAIX(): + if sys.platform in ['aix4', 'aix5']: + return 1 + else: + return 0 + +def isDarwin(): + + if sys.platform == "darwin": + return 1 + else: + return 0 + +serverPids = [] +def killServers(): + + global serverPids + + if isCygwin(): + print "killServers(): not implemented for cygwin python." + return + + for pid in serverPids: + + if isWin32(): + try: + import win32api + handle = win32api.OpenProcess(1, 0, pid) + win32api.TerminateProcess(handle, 0) + except: + pass # Ignore errors, such as non-existing processes. + else: + try: + os.kill(pid, 9) + except: + pass # Ignore errors, such as non-existing processes. + + serverPids = [] + +def getServerPid(serverPipe): + + output = serverPipe.readline().strip() + + if not output: + print "failed!" + killServers() + sys.exit(1) + + serverPids.append(int(output)) + +def getAdapterReady(serverPipe): + + output = serverPipe.readline().strip() + + if not output: + print "failed!" + killServers() + sys.exit(1) + +def waitServiceReady(pipe, token): + + while 1: + + output = pipe.readline().strip() + + if not output: + print "failed!" + sys.exit(1) + + if output == token + " ready": + break + +def printOutputFromPipe(pipe): + + while 1: + + c = pipe.read(1) + + if c == "": + break + + os.write(1, c) + +for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + toplevel = os.path.normpath(toplevel) + if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): + break +else: + raise "can't find toplevel directory!" + +if isWin32(): + if isCygwin(): + os.environ["PATH"] = os.path.join(toplevel, "bin") + ":" + os.getenv("PATH", "") + else: + os.environ["PATH"] = os.path.join(toplevel, "bin") + ";" + os.getenv("PATH", "") +elif isHpUx(): + os.environ["SHLIB_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("SHLIB_PATH", "") +elif isDarwin(): + os.environ["DYLD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("DYLD_LIBRRARY_PATH", "") +elif isAIX(): + os.environ["LIBPATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LIBPATH", "") +else: + os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH", "") + os.environ["LD_LIBRARY_PATH_64"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH_64", "") + +if protocol == "ssl": + plugin = " --Ice.Plugin.IceSSL=IceSSL:create" + clientProtocol = plugin + " --Ice.Default.Protocol=ssl" + \ + " --IceSSL.Client.CertPath=" + os.path.join(toplevel, "certs") + \ + " --IceSSL.Client.Config=client_sslconfig.xml" + serverProtocol = plugin + " --Ice.Default.Protocol=ssl" + \ + " --IceSSL.Server.CertPath=" + os.path.join(toplevel, "certs") + \ + " --IceSSL.Server.Config=server_sslconfig.xml" + clientServerProtocol = plugin + " --Ice.Default.Protocol=ssl" + \ + " --IceSSL.Client.CertPath=" + os.path.join(toplevel, "certs") + \ + " --IceSSL.Client.Config=sslconfig.xml" + \ + " --IceSSL.Server.CertPath=" + os.path.join(toplevel, "certs") + \ + " --IceSSL.Server.Config=sslconfig.xml" +else: + clientProtocol = "" + serverProtocol = "" + clientServerProtocol = "" + +if compress: + clientProtocol += " --Ice.Override.Compress" + serverProtocol += " --Ice.Override.Compress" + clientServerProtocol += " --Ice.Override.Compress" + +if threadPerConnection: + clientProtocol += " --Ice.ThreadPerConnection" + serverProtocol += " --Ice.ThreadPerConnection" + clientServerProtocol += " --Ice.ThreadPerConnection" + +if host != "": + defaultHost = " --Ice.Default.Host=" + host +else: + defaultHost = "" + +commonClientOptions = " --Ice.NullHandleAbort --Ice.Warn.Connections" + +commonServerOptions = " --Ice.PrintProcessId --Ice.PrintAdapterReady --Ice.NullHandleAbort" + \ + " --Ice.Warn.Connections --Ice.ServerIdleTime=30" + \ + " --Ice.ThreadPool.Server.Size=1 --Ice.ThreadPool.Server.SizeMax=3" + \ + " --Ice.ThreadPool.Server.SizeWarn=0" + +clientOptions = clientProtocol + defaultHost + commonClientOptions +serverOptions = serverProtocol + defaultHost + commonServerOptions +clientServerOptions = clientServerProtocol + defaultHost + commonServerOptions +collocatedOptions = clientServerProtocol + defaultHost + +def clientServerTestWithOptionsAndNames(name, additionalServerOptions, additionalClientOptions, \ + serverName, clientName): + + testdir = os.path.join(toplevel, "test", name) + server = os.path.join(testdir, serverName) + client = os.path.join(testdir, clientName) + + print "starting " + serverName + "...", + serverPipe = os.popen(server + serverOptions + additionalServerOptions + " 2>&1") + getServerPid(serverPipe) + getAdapterReady(serverPipe) + print "ok" + + print "starting " + clientName + "...", + clientPipe = os.popen(client + clientOptions + additionalClientOptions + " 2>&1") + print "ok" + + printOutputFromPipe(clientPipe) + + clientStatus = clientPipe.close() + serverStatus = serverPipe.close() + + if clientStatus or serverStatus: + killServers() + sys.exit(1) + +def clientServerTestWithOptions(name, additionalServerOptions, additionalClientOptions): + + clientServerTestWithOptionsAndNames(name, additionalServerOptions, additionalClientOptions, "server", "client") + +def clientServerTest(name): + + clientServerTestWithOptions(name, "", "") + +def mixedClientServerTestWithOptions(name, additionalServerOptions, additionalClientOptions): + + testdir = os.path.join(toplevel, "test", name) + server = os.path.join(testdir, "server") + client = os.path.join(testdir, "client") + + print "starting server...", + serverPipe = os.popen(server + clientServerOptions + additionalServerOptions + " 2>&1") + getServerPid(serverPipe) + getAdapterReady(serverPipe) + print "ok" + + print "starting client...", + clientPipe = os.popen(client + clientServerOptions + additionalClientOptions + " 2>&1") + getServerPid(clientPipe) + getAdapterReady(clientPipe) + print "ok" + + printOutputFromPipe(clientPipe) + + clientStatus = clientPipe.close() + serverStatus = serverPipe.close() + + if clientStatus or serverStatus: + killServers() + sys.exit(1) + +def mixedClientServerTest(name): + + mixedClientServerTestWithOptions(name, "", "") + +def collocatedTestWithOptions(name, additionalOptions): + + testdir = os.path.join(toplevel, "test", name) + collocated = os.path.join(testdir, "collocated") + + print "starting collocated...", + collocatedPipe = os.popen(collocated + collocatedOptions + additionalOptions + " 2>&1") + print "ok" + + printOutputFromPipe(collocatedPipe) + + collocatedStatus = collocatedPipe.close() + + if collocatedStatus: + killServers() + sys.exit(1) + +def collocatedTest(name): + + collocatedTestWithOptions(name, "") + +def cleanDbDir(path): + + files = os.listdir(path) + + for filename in files: + if filename != "CVS" and filename != ".dummy": + fullpath = os.path.join(path, filename); + os.remove(fullpath) diff --git a/cppe/config/makedepend.py b/cppe/config/makedepend.py new file mode 100755 index 00000000000..f5f58436c69 --- /dev/null +++ b/cppe/config/makedepend.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +import fileinput, re + +previous = "" + +for line in fileinput.input(): + line = line.strip() + + if re.compile("^#").search(line, 0): + continue; + + if(previous): + line = previous + " " + line + + if(line[-1] == "\\"): + previous = line[:-2] + continue + else: + previous = "" + + for s in line.split(): + if(s[0] != "/"): + print s, + + print + diff --git a/cppe/config/makeprops.py b/cppe/config/makeprops.py new file mode 100644 index 00000000000..46fe82247ea --- /dev/null +++ b/cppe/config/makeprops.py @@ -0,0 +1,379 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +import os, sys, shutil, re, signal, time, string + +progname = os.path.basename(sys.argv[0]) +infile = "" +classname = "" +lineNum = 0 +errors = 0 +outputFiles = [] + +def usage(): + global progname + print >> sys.stderr, "Usage: " + progname + " [--{cpp|java|cs} file]" + +def fileError(msg): + global progname, infile, lineNum, errors + print >> sys.stderr, progname + ": " + infile + ':' + str(lineNum) + ": " + msg + errors += 1 + +def progError(msg): + global progname + print >> sys.stderr, progname + ": " + msg + +def removeOutputFiles(): + global outputFiles + for entry in outputFiles: + try: + if os.path.exists(entry[0]): + os.remove(entry[0]) + except EnvironmentError, ex: + progError("warning: could not unlink `" + entry[0] + "': " + ex.strerror + \ + " -- generated file contains errors"); + +def handler(signum, frame): + removeOutputFiles() + sys.exit(128 + signum) + +def openOutputFile(filename): + global outputFiles + try: + outfile = file(filename, 'w') + outputFiles.append([filename, outfile]) + except IOError, ex: + progError("cannot open `" + filename + "' for writing: " + ex.strerror) + removeOutputFiles() + sys.exit(1) + +def writePreamble(lang): + global progname + global infile + global outputFiles + global classname + + for entry in outputFiles: + file = entry[1] + file.write("// **********************************************************************\n") + file.write("//\n") + file.write("// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.\n") + file.write("//\n") + file.write("// This copy of Ice is licensed to you under the terms described in the\n") + file.write("// ICE_LICENSE file included in this distribution.\n") + file.write("//\n") + file.write("// **********************************************************************\n") + file.write("\n") + file.write("// Generated by " + progname + " from file `" + infile + "', " + time.ctime() + "\n") + file.write("\n") + file.write("// IMPORTANT: Do not edit this file -- any edits made here will be lost!\n"); + if lang == "cpp": + continue + if lang == "java": + file.write("\n"); + file.write("package IceInternal;\n") + file.write("\n") + file.write("public final class " + classname + '\n'); + file.write("{\n") + continue + if lang == "cs": + file.write("\n"); + file.write("namespace IceInternal\n") + file.write("{\n") + file.write(" public sealed class " + classname + '\n') + file.write(" {\n"); + continue + progError("Internal error: impossible language: `" + lang + "'") + sys.exit(1) + + if lang == "cpp": + header = outputFiles[1][1] + header.write("\n"); + header.write("#ifndef ICE_INTERNAL_" + classname + "_H\n"); + header.write("#define ICE_INTERNAL_" + classname + "_H\n"); + header.write("\n") + header.write("#include <Ice/Config.h>") + header.write("\n") + header.write("namespace IceInternal\n") + header.write("{\n") + header.write("\n") + header.write("class " + classname + '\n') + header.write("{\n") + header.write("public:\n") + header.write("\n") + file = outputFiles[0][1] + file.write("\n"); + file.write("#include <Ice/" + classname + ".h>\n") + +def writePostamble(lang, labels): + file = outputFiles[0][1] + if lang == "cpp": + header = outputFiles[1][1] + header.write("\n") + header.write(" ICE_API static const char* const* validProps[];\n") + header.write("};\n") + header.write("\n") + header.write("}\n") + header.write("\n") + header.write("#endif\n"); + file.write("\n"); + file.write("ICE_API const char* const* IceInternal::" + classname + "::validProps[] =\n") + file.write("{\n") + for label, line in labels.iteritems(): + file.write(" " + label + "Props,\n") + file.write(" 0\n"); + file.write("};\n") + return + if lang == "java": + file.write(" public static final String[] validProps[] =\n") + file.write(" {\n") + for label, line in labels.iteritems(): + file.write(" " + label + "Props,\n") + file.write(" null\n") + file.write(" };\n"); + file.write("}\n"); + return + if lang == "cs": + file.write(" public static string[][] validProps =\n") + file.write(" {\n") + for label, line in labels.iteritems(): + file.write(" " + label + "Props,\n") + file.write(" null\n") + file.write(" };\n"); + file.write(" }\n"); + file.write("}\n"); + return + +def startSection(lang, label): + if lang == "cpp": + header = outputFiles[1][1] + header.write(" static const char* " + label + "Props[];\n") + + file = outputFiles[0][1] + if lang == "cpp": + file.write("\n"); + file.write("const char* IceInternal::" + classname + "::" + label + "Props[] =\n") + file.write("{\n"); + return + if lang == "java": + file.write(" public static final String " + label + "Props[] =\n"); + file.write(" {\n") + return + if lang == "cs": + file.write(" public static string[] " + label + "Props =\n"); + file.write(" {\n") + return + +def endSection(lang): + file = outputFiles[0][1] + if lang == "cpp": + file.write(" 0\n"); + file.write("};\n"); + return + if lang == "java": + file.write(" null\n"); + file.write(" };\n"); + file.write("\n") + return + if lang == "cs": + file.write(" null\n"); + file.write(" };\n"); + file.write("\n") + return + +wildcard = re.compile(".*<any>.*") + +def writeEntry(lang, label, entry): + file = outputFiles[0][1] + if lang == "cpp": + file.write(" \"" + label + '.' + string.replace(entry, "<any>", "*") + "\",\n") + elif lang == "java": + pattern = string.replace(entry, ".", "\\\\.") + pattern = string.replace(pattern, "<any>", "[^\\\\s.]+") + file.write(" " + "\"^" + label + "\\\\." + pattern + "$\",\n") + elif lang == "cs": + pattern = string.replace(entry, ".", "\\.") + pattern = string.replace(pattern, "<any>", "[^\\s.]+") + file.write(" " + "@\"^" + label + "\\." + pattern + "$\",\n") + +def processFile(lang): + + # + # Open input file. + # + global infile + try: + f = file(infile, 'r') + except IOError, ex: + progError("cannot open `" + infile + "': " + ex.strerror) + sys.exit(1) + + # + # Set up regular expressions for empty and comment lines, section headings, and entry lines. + # + ignore = re.compile("^\s*(?:#.*)?$") # Empty line or comment line + section = re.compile("^\s*([a-zA-z_]\w*)\s*:\s*$") # Section heading + entry = re.compile("^\s*([^ \t\n\r\f\v#]+)(?:\s*#.*)?$") # Any non-whitespace character sequence, except for # + + # + # Install signal handler so we can remove the output files if we are interrupted. + # + signal.signal(signal.SIGINT, handler) + signal.signal(signal.SIGHUP, handler) + signal.signal(signal.SIGTERM, handler) + + # + # Open output files. + # + global classname + classname, ext = os.path.splitext(os.path.basename(infile)) + openOutputFile(classname + '.' + lang) + if(lang == "cpp"): + openOutputFile(classname + ".h") + + labels = {} # Records the line number on which each label is defined + atSectionStart = 0 # True for the line on which a label is defined + seenSection = 0 # Set to true (and the remains as true) once the first label is defined + numEntries = 0 # Number of entries within a section + errors = 0 # Number of syntax errors in the input file + + # + # Write preamble. + # + writePreamble(lang) + + # + # Loop over lines in input file. + # + global lineNum + lines = f.readlines() + for l in lines: + lineNum += 1 + + # + # Ignore empty lines and comments. + # + if ignore.match(l) != None: + continue + + # + # Start of section. + # + labelMatch = section.match(l) + if labelMatch != None: + if atSectionStart: + fileError("section `" + label + "' must have at least one entry") + label = labelMatch.group(1) + try: + badLine = labels[label] + fileError("duplicate section heading: `" + label + "': previously defined on line " + badLine) + except KeyError: + pass + if label == "validProps": + fileError("`validProps' is reserved and cannot be used as a section heading") + labels[label] = lineNum + if seenSection: + endSection(lang) + numEntries = 0 + startSection(lang, label) + seenSection = 1 + atSectionStart = 1 + continue + + entryMatch = entry.match(l) + if entryMatch != None: + writeEntry(lang, label, entryMatch.group(1)) + atSectionStart = 0 + numEntries += 1 + continue + + fileError("syntax error") + + if len(labels) == 0: + fileError("input must define at least one section"); + + # + # End the final section. + # + if numEntries == 0: + fileError("section `" + label + "' must have at least one entry") + endSection(lang) + + # + # End the source files. + # + writePostamble(lang, labels) + + global outputFiles + for entry in outputFiles: + entry[1].close() + + # + # Remove the output files if anything went wrong, so we don't leave partically written files behind. + # + if errors != 0: + removeOutputFiles() + sys.exit(1) + outputFiles = [] + +# +# Check arguments. +# +if len(sys.argv) != 1 and len(sys.argv) != 3: + usage() + sys.exit(1) + +lang = "" +if len(sys.argv) == 1: + # + # Find where the root of the tree is. + # + for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + toplevel = os.path.normpath(toplevel) + if os.path.exists(os.path.join(toplevel, "config", "makeprops.py")): + break + else: + progError("cannot find top-level directory") + sys.exit(1) + + infile = os.path.join(toplevel, "config", "PropertyNames.def") + lang = "all" + +else: + option = sys.argv[1] + if option == "--cpp": + lang = "cpp" + elif option == "--java": + lang = "java" + elif option == "--cs": + lang = "cs" + elif option == "-h" or option == "--help" or option == "-?": + usage() + sys.exit(0) + else: + usage() + sys.exit(1) + infile = sys.argv[2] + +if lang == "all": + processFile("cpp") + shutil.move("PropertyNames.cpp", os.path.join(toplevel, "src", "Ice")) + shutil.move("PropertyNames.h", os.path.join(toplevel, "src", "Ice")) + processFile("java") + if os.path.exists(os.path.join(toplevel, "..", "icej")): + shutil.move("PropertyNames.java", os.path.join(toplevel, "..", "icej", "src", "IceInternal")); + processFile("cs") + if os.path.exists(os.path.join(toplevel, "..", "icecs")): + shutil.move("PropertyNames.cs", os.path.join(toplevel, "..", "icecs", "src", "Ice")); +else: + processFile(lang) + + +sys.exit(0) diff --git a/cppe/demo/Makefile b/cppe/demo/Makefile new file mode 100644 index 00000000000..6e41f659626 --- /dev/null +++ b/cppe/demo/Makefile @@ -0,0 +1,22 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = .. + +include $(top_srcdir)/config/Make.rules + +SUBDIRS = IceUtil \ + Ice + +$(EVERYTHING):: + @for subdir in $(SUBDIRS); \ + do \ + echo "making $@ in $$subdir"; \ + ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ + done diff --git a/cppe/demo/README b/cppe/demo/README new file mode 100644 index 00000000000..21ea6906a27 --- /dev/null +++ b/cppe/demo/README @@ -0,0 +1,4 @@ +This directory contains demos for various Ice components. The demos +are provided to get you started on how to use a particular feature or +coding technique. See the README file in each subdirectory for details +on the demos. diff --git a/cppe/demo/demo.dsp b/cppe/demo/demo.dsp new file mode 100644 index 00000000000..cd32c13fea2 --- /dev/null +++ b/cppe/demo/demo.dsp @@ -0,0 +1,63 @@ +# Microsoft Developer Studio Project File - Name="all" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Generic Project" 0x010a
+
+CFG=all - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "all.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "all.mak" CFG="all - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "all - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE "all - Win32 Debug" (based on "Win32 (x86) Generic Project")
+!MESSAGE
+
+# Begin Project
+# PROP allowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+MTL=midl.exe
+
+!IF "$(CFG)" == "all - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ELSEIF "$(CFG)" == "all - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ENDIF
+
+# Begin Target
+
+# Name "all - Win32 Release"
+# Name "all - Win32 Debug"
+# End Target
+# End Project
diff --git a/cppe/demo/demo.dsw b/cppe/demo/demo.dsw new file mode 100755 index 00000000000..c9b4be46500 --- /dev/null +++ b/cppe/demo/demo.dsw @@ -0,0 +1,719 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "all"=.\demo.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name bench
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name callbackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name callbackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name clockC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name clockS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2callbackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2callbackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name glacier2callbackSS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloiceboxC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloiceboxS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloicepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloicepackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloicepacksvc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name helloS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name invokeC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name invokeS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name latencyC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name latencyS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libraryC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libraryCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libraryS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mfchelloC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mfchelloS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name nestedC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name nestedS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name phonebookC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name phonebookCOL
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name phonebookS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name printerC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name printerS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simplefsC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simplefsS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleicepackC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleicepackS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name simpleicepacksvc
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name throughputC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name throughputS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name valueC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name valueS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name workqueue
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name chatC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name chatS
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mfcpatchC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name bidirC
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name bidirS
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "bench"=.\freeze\bench\bench.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "bidirC"=.\Ice\bidir\bidirC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "bidirS"=.\Ice\bidir\bidirS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "callbackC"=.\ice\callback\callbackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "callbackS"=.\ice\callback\callbackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "chatC"=.\Glacier2\chat\chatC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "chatS"=.\Glacier2\chat\chatS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "clockC"=.\iceStorm\clock\clockC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "clockS"=.\iceStorm\clock\clockS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "glacier2callbackC"=.\glacier2\callback\glacier2callbackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "glacier2callbackS"=.\glacier2\callback\glacier2callbackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "glacier2callbackSS"=.\glacier2\callback\glacier2callbackSS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloC"=.\ice\hello\helloC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloS"=.\ice\hello\helloS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloiceboxC"=.\icebox\hello\helloiceboxC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloiceboxS"=.\icebox\hello\helloiceboxS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloicepackC"=.\icepack\hello\helloicepackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloicepackS"=.\icepack\hello\helloicepackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "helloicepacksvc"=.\icepack\hello\helloicepacksvc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "invokeC"=.\ice\invoke\invokeC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "invokeS"=.\ice\invoke\invokeS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "latencyC"=.\ice\latency\latencyC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "latencyS"=.\ice\latency\latencyS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "libraryC"=.\freeze\library\libraryC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "libraryCOL"=.\freeze\library\libraryCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "libraryS"=.\freeze\library\libraryS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "mfchelloC"=.\ice\MFC\client\mfchelloC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "mfchelloS"=.\ice\MFC\server\mfchelloS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "mfcpatchC"=.\IcePatch2\MFC\mfcpatchC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "nestedC"=.\ice\nested\nestedC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "nestedS"=.\ice\nested\nestedS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "phonebookC"=.\freeze\phonebook\phonebookC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "phonebookCOL"=.\freeze\phonebook\phonebookCOL.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "phonebookS"=.\freeze\phonebook\phonebookS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "printerC"=.\book\printer\printerC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "printerS"=.\book\printer\printerS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "simplefsC"=.\book\simple_filesystem\simplefsC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "simplefsS"=.\book\simple_filesystem\simplefsS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "simpleicepackC"=.\icepack\simple\simpleicepackC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "simpleicepackS"=.\icepack\simple\simpleicepackS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "simpleicepacksvc"=.\icepack\simple\simpleicepacksvc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "throughputC"=.\ice\throughput\throughputC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "throughputS"=.\ice\throughput\throughputS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "valueC"=.\ice\value\valueC.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "valueS"=.\ice\value\valueS.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "workqueue"=.\iceutil\workqueue\workqueue.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/cppe/include/Makefile b/cppe/include/Makefile new file mode 100644 index 00000000000..8f44676103b --- /dev/null +++ b/cppe/include/Makefile @@ -0,0 +1,22 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = .. + +include $(top_srcdir)/config/Make.rules + +SUBDIRS = Ice \ + IceUtil + +$(EVERYTHING):: + @for subdir in $(SUBDIRS); \ + do \ + echo "making $@ in $$subdir"; \ + ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ + done diff --git a/cppe/lib/.dummy b/cppe/lib/.dummy new file mode 100644 index 00000000000..029d4b7cff2 --- /dev/null +++ b/cppe/lib/.dummy @@ -0,0 +1 @@ +Dummy file, so that `cvs export' creates this otherwise empty directory. diff --git a/cppe/makedist.py b/cppe/makedist.py new file mode 100755 index 00000000000..5b486f3dc52 --- /dev/null +++ b/cppe/makedist.py @@ -0,0 +1,372 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +import os, sys, shutil, fnmatch, re, glob, RPMTools + +# +# Program usage. +# +def usage(): + print "Usage: " + sys.argv[0] + " [options] [tag]" + print + print "Options:" + print "-h Show this message." + print "-d Skip SGML documentation conversion." + print "-v Be verbose." + print + print "If no tag is specified, HEAD is used." + +# +# Find files matching a pattern. +# +def find(path, patt): + result = [ ] + files = os.listdir(path) + for x in files: + fullpath = os.path.join(path, x); + if os.path.isdir(fullpath) and not os.path.islink(fullpath): + result.extend(find(fullpath, patt)) + elif fnmatch.fnmatch(x, patt): + result.append(fullpath) + return result + +# +# Comment out rules in a Makefile. +# +def fixMakefile(file, target): + origfile = file + ".orig" + os.rename(file, origfile) + oldMakefile = open(origfile, "r") + newMakefile = open(file, "w") + origLines = oldMakefile.readlines() + + doComment = 0 + doCheck = 0 + newLines = [] + for x in origLines: + # + # If the rule contains the target string, then + # comment out this rule. + # + if not x.startswith("\t") and x.find(target) != -1 and x.find(target + ".o") == -1: + doComment = 1 + # + # If the line starts with "clean::", then check + # the following lines and comment out any that + # contain the target string. + # + elif x.startswith("clean::"): + doCheck = 1 + # + # Stop when we encounter an empty line. + # + elif len(x.strip()) == 0: + doComment = 0 + doCheck = 0 + + if doComment or (doCheck and x.find(target) != -1): + x = "#" + x + newLines.append(x) + + newMakefile.writelines(newLines) + newMakefile.close() + oldMakefile.close() + os.remove(origfile) + +# +# Remove lines containing a keyword from a file. +# +def editFile(file, target): + origfile = file + ".orig" + os.rename(file, origfile) + oldFile = open(origfile, "r") + newFile = open(file, "w") + origLines = oldFile.readlines() + + newLines = [] + for x in origLines: + if x.find(target) == -1: + newLines.append(x) + + newFile.writelines(newLines) + newFile.close() + oldFile.close() + os.remove(origfile) + +# +# Comment out rules in VC project. +# +def fixProject(file, target): + origfile = file + ".orig" + os.rename(file, origfile) + oldProject = open(origfile, "r") + newProject = open(file, "w") + origLines = oldProject.readlines() + + # + # Find a Source File declaration containing SOURCE=<target> + # and comment out the entire declaration. + # + expr = re.compile("SOURCE=.*" + target.replace(".", "\\.") + ".*") + inSource = 0 + doComment = 0 + newLines = [] + source = [] + for x in origLines: + if x.startswith("# Begin Source File"): + inSource = 1 + + if inSource: + if not doComment and expr.match(x) != None: + doComment = 1 + source.append(x) + else: + newLines.append(x) + + if x.startswith("# End Source File"): + inSource = 0 + for s in source: + if doComment: + newLines.append('#xxx#' + s) + else: + newLines.append(s) + doComment = 0 + source = [] + + newProject.writelines(newLines) + newProject.close() + oldProject.close() + os.remove(origfile) + +# +# Comment out implicit parser/scanner rules in config/Make.rules. +# +def fixMakeRules(file): + origfile = file + ".orig" + os.rename(file, origfile) + oldFile = open(origfile, "r") + newFile = open(file, "w") + origLines = oldFile.readlines() + + doComment = 0 + newLines = [] + for x in origLines: + if x.find("%.y") != -1 or x.find("%.l") != -1: + doComment = 1 + # + # Stop when we encounter an empty line. + # + elif len(x.strip()) == 0: + doComment = 0 + + if doComment: + x = "#" + x + newLines.append(x) + + newFile.writelines(newLines) + newFile.close() + oldFile.close() + os.remove(origfile) + +# +# Check arguments +# +tag = "-rHEAD" +skipDocs = 0 +verbose = 0 +for x in sys.argv[1:]: + if x == "-h": + usage() + sys.exit(0) + elif x == "-d": + skipDocs = 1 + elif x == "-v": + verbose = 1 + elif x.startswith("-"): + print sys.argv[0] + ": unknown option `" + x + "'" + print + usage() + sys.exit(1) + else: + tag = "-r" + x + +# +# Remove any existing "dist" directory and create a new one. +# +distdir = "dist" +if os.path.exists(distdir): + shutil.rmtree(distdir) +os.mkdir(distdir) +os.chdir(distdir) + +# +# Export sources from CVS. +# +print "Checking out CVS tag " + tag + "..." +if verbose: + quiet = "" +else: + quiet = "-Q" +os.system("cvs " + quiet + " -d cvs.zeroc.com:/home/cvsroot export " + tag + " ice") + +# +# Remove files. +# +print "Removing unnecessary files..." +filesToRemove = [ \ + os.path.join("ice", "makedist.py"), \ + os.path.join("ice", "makebindist.py"), \ + os.path.join("ice", "newmakebindist.py"), \ + os.path.join("ice", "RPMTools.py"), \ + os.path.join("ice", "fixCopyright.py"), \ + os.path.join("ice", "certs", "makecerts"), \ + ] +filesToRemove.extend(find("ice", ".dummy")) +for x in filesToRemove: + os.remove(x) +shutil.rmtree(os.path.join("ice", "certs", "openssl")) +shutil.rmtree(os.path.join("ice", "install")) + +# +# Generate bison files. +# +print "Generating bison files..." +cwd = os.getcwd() +grammars = find("ice", "*.y") +for x in grammars: + # + # Change to the directory containing the file. + # + (dir,file) = os.path.split(x) + os.chdir(dir) + (base,ext) = os.path.splitext(file) + # + # Run gmake to create the output files. + # + if verbose: + quiet = "" + else: + quiet = "-s" + if file == "cexp.y": + os.system("gmake " + quiet + " cexp.c") + else: + os.system("gmake " + quiet + " " + base + ".cpp") + # + # Edit the Makefile to comment out the grammar rules. + # + fixMakefile("Makefile", base) + # + # Edit the project file(s) to comment out the grammar rules. + # + for p in glob.glob("*.dsp"): + fixProject(p, file) + os.chdir(cwd) + +# +# Generate flex files. +# +print "Generating flex files..." +scanners = find("ice", "*.l") +for x in scanners: + # + # Change to the directory containing the file. + # + (dir,file) = os.path.split(x) + os.chdir(dir) + (base,ext) = os.path.splitext(file) + # + # Run gmake to create the output files. + # + if verbose: + quiet = "" + else: + quiet = "-s" + os.system("gmake " + quiet + " " + base + ".cpp") + # + # Edit the Makefile to comment out the flex rules. + # + fixMakefile("Makefile", base) + # + # Edit the project file(s) to comment out the flex rules. + # + for p in glob.glob("*.dsp"): + fixProject(p, file) + os.chdir(cwd) + +# +# Comment out the implicit parser and scanner rules in +# config/Make.rules. +# +print "Fixing makefiles..." +fixMakeRules(os.path.join("ice", "config", "Make.rules")) + +# +# Generate HTML documentation. We need to build icecpp +# and slice2docbook first. +# +if not skipDocs: + os.chdir(os.path.join("ice", "src", "icecpp")) + os.system("gmake") + os.chdir(cwd) + os.chdir(os.path.join("ice", "src", "IceUtil")) + os.system("gmake") + os.chdir(cwd) + os.chdir(os.path.join("ice", "src", "Slice")) + os.system("gmake") + os.chdir(cwd) + os.chdir(os.path.join("ice", "src", "slice2docbook")) + os.system("gmake") + os.chdir(cwd) + os.chdir(os.path.join("ice", "doc")) + os.system("gmake") + os.chdir(cwd) + + # + # Clean the source directory. + # + os.chdir(os.path.join("ice", "src")) + os.system("gmake clean") + os.chdir(cwd) + +# +# Get Ice version. +# +config = open(os.path.join("ice", "include", "IceUtil", "Config.h"), "r") +version = re.search("ICE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) + +# +# Create archives. +# +print "Creating distribution..." +icever = "Ice-" + version +os.rename("ice", icever) +if verbose: + quiet = "v" +else: + quiet = "" +os.system("tar c" + quiet + "f " + icever + ".tar " + icever) +os.system("gzip -9 " + icever + ".tar") +if verbose: + quiet = "" +else: + quiet = "q" +os.system("zip -9r" + quiet + " " + icever + ".zip " + icever) + +# +# Copy files (README, etc.). +# +shutil.copyfile(os.path.join(icever, "CHANGES"), "Ice-" + version + "-CHANGES") + +# +# Done. +# +print "Cleaning up..." +shutil.rmtree(icever) +print "Done." diff --git a/cppe/minimal.dsp b/cppe/minimal.dsp new file mode 100644 index 00000000000..443357151d8 --- /dev/null +++ b/cppe/minimal.dsp @@ -0,0 +1,63 @@ +# Microsoft Developer Studio Project File - Name="minimal" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Generic Project" 0x010a
+
+CFG=minimal - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "minimal.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "minimal.mak" CFG="minimal - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "minimal - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE "minimal - Win32 Debug" (based on "Win32 (x86) Generic Project")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+MTL=midl.exe
+
+!IF "$(CFG)" == "minimal - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ELSEIF "$(CFG)" == "minimal - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ENDIF
+
+# Begin Target
+
+# Name "minimal - Win32 Release"
+# Name "minimal - Win32 Debug"
+# End Target
+# End Project
diff --git a/cppe/src/Makefile b/cppe/src/Makefile new file mode 100644 index 00000000000..6e41f659626 --- /dev/null +++ b/cppe/src/Makefile @@ -0,0 +1,22 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = .. + +include $(top_srcdir)/config/Make.rules + +SUBDIRS = IceUtil \ + Ice + +$(EVERYTHING):: + @for subdir in $(SUBDIRS); \ + do \ + echo "making $@ in $$subdir"; \ + ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ + done diff --git a/cppe/test/Makefile b/cppe/test/Makefile new file mode 100644 index 00000000000..6e41f659626 --- /dev/null +++ b/cppe/test/Makefile @@ -0,0 +1,22 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = .. + +include $(top_srcdir)/config/Make.rules + +SUBDIRS = IceUtil \ + Ice + +$(EVERYTHING):: + @for subdir in $(SUBDIRS); \ + do \ + echo "making $@ in $$subdir"; \ + ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ + done diff --git a/cppe/test/include/TestCommon.h b/cppe/test/include/TestCommon.h new file mode 100644 index 00000000000..9786b1dc121 --- /dev/null +++ b/cppe/test/include/TestCommon.h @@ -0,0 +1,26 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef TEST_COMMON_H +#define TEST_COMMON_H + +#include <IceUtil/Config.h> +#include <cstdlib> + +void +inline testFailed(const char* expr, const char* file, unsigned int line) +{ + std::cout << "failed!" << std::endl; + std::cout << file << ':' << line << ": assertion `" << expr << "' failed" << std::endl; + abort(); +} + +#define test(ex) ((ex) ? ((void)0) : testFailed(#ex, __FILE__, __LINE__)) + +#endif |