Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 64758 invoked from network); 10 Jan 2008 19:44:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 19:44:58 -0000 Received: (qmail 10340 invoked by uid 500); 10 Jan 2008 19:44:48 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 10328 invoked by uid 500); 10 Jan 2008 19:44:48 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 10317 invoked by uid 99); 10 Jan 2008 19:44:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 11:44:48 -0800 X-ASF-Spam-Status: No, hits=-97.5 required=10.0 tests=ALL_TRUSTED,URI_NOVOWEL X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 19:44:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B2D641A9832; Thu, 10 Jan 2008 11:44:27 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r610897 [1/2] - in /incubator/stdcxx/branches/autotools: ./ etc/config/aux/ etc/config/macros/ examples/ examples/manual/ examples/tutorial/ include/ src/ tests/ tests/algorithms/ tests/containers/ tests/diagnostics/ tests/intro/ tests/iost... Date: Thu, 10 Jan 2008 19:44:14 -0000 To: stdcxx-commits@incubator.apache.org From: elemings@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080110194427.B2D641A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elemings Date: Thu Jan 10 11:44:11 2008 New Revision: 610897 URL: http://svn.apache.org/viewvc?rev=610897&view=rev Log: Files required for GNU "Autotools" support (except for config macros). Read the TODO file for help getting started with this branch. Added: incubator/stdcxx/branches/autotools/AUTHORS incubator/stdcxx/branches/autotools/Makefile.am incubator/stdcxx/branches/autotools/NEWS incubator/stdcxx/branches/autotools/TODO incubator/stdcxx/branches/autotools/configure.ac incubator/stdcxx/branches/autotools/etc/config/aux/ incubator/stdcxx/branches/autotools/etc/config/macros/ incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_debug.m4 incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_threads.m4 incubator/stdcxx/branches/autotools/etc/config/macros/ac_header_nostd.m4 incubator/stdcxx/branches/autotools/etc/config/macros/nls.m4 incubator/stdcxx/branches/autotools/etc/config/macros/rw_sys_atomic_ops.m4 incubator/stdcxx/branches/autotools/examples/Makefile.am incubator/stdcxx/branches/autotools/examples/manual/Makefile.am incubator/stdcxx/branches/autotools/examples/tutorial/Makefile.am incubator/stdcxx/branches/autotools/include/Makefile.am incubator/stdcxx/branches/autotools/src/Makefile.am incubator/stdcxx/branches/autotools/tests/Makefile.am incubator/stdcxx/branches/autotools/tests/algorithms/Makefile.am incubator/stdcxx/branches/autotools/tests/containers/Makefile.am incubator/stdcxx/branches/autotools/tests/diagnostics/Makefile.am incubator/stdcxx/branches/autotools/tests/intro/Makefile.am incubator/stdcxx/branches/autotools/tests/iostream/Makefile.am incubator/stdcxx/branches/autotools/tests/localization/Makefile.am incubator/stdcxx/branches/autotools/tests/numerics/Makefile.am incubator/stdcxx/branches/autotools/tests/regress/Makefile.am incubator/stdcxx/branches/autotools/tests/self/Makefile.am incubator/stdcxx/branches/autotools/tests/src/Makefile.am incubator/stdcxx/branches/autotools/tests/strings/Makefile.am incubator/stdcxx/branches/autotools/tests/support/Makefile.am incubator/stdcxx/branches/autotools/tests/tr1.c99/Makefile.am incubator/stdcxx/branches/autotools/tests/tr1.util/Makefile.am incubator/stdcxx/branches/autotools/tests/utilities/Makefile.am incubator/stdcxx/branches/autotools/util/Makefile.am Added: incubator/stdcxx/branches/autotools/AUTHORS URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/AUTHORS?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/AUTHORS (added) +++ incubator/stdcxx/branches/autotools/AUTHORS Thu Jan 10 11:44:11 2008 @@ -0,0 +1,20 @@ + +Apache C++ Standard Library - stdcxx + +Principal Committers +-------------------- + +Andrew Black +Mark Brown +Heidi Buelow +Lance Diduck +John Hollis +Amit Jindal +Eric (Brad) Lemings +Liviu Nicoara +Ravi Palepu +Anton Pevtsov +Martin Sebor +Tim Triemstra +Farid Zaripov + Added: incubator/stdcxx/branches/autotools/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,82 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +SUBDIRS = \ + examples \ + include \ + src \ + tests \ + util + +# Can't include etc/config/macros here because discheck target will fail. +EXTRA_DIST = \ + GNUmakefile \ + LICENSE.txt \ + NOTICE.txt \ + configure.bat \ + doc \ + etc/config/GNUmakefile.bin \ + etc/config/GNUmakefile.cfg \ + etc/config/GNUmakefile.exm \ + etc/config/GNUmakefile.lib \ + etc/config/GNUmakefile.ph \ + etc/config/GNUmakefile.rwt \ + etc/config/GNUmakefile.tst \ + etc/config/acc.config \ + etc/config/como.config \ + etc/config/configure.sh \ + etc/config/eccp.config \ + etc/config/fixtree.sh \ + etc/config/gcc.config \ + etc/config/icc.config \ + etc/config/makefile.common \ + etc/config/makefile.rules \ + etc/config/mipspro.config \ + etc/config/osf_cxx.config \ + etc/config/reliant_cds.config \ + etc/config/run_locale_utils.sh \ + etc/config/runall.sh \ + etc/config/src \ + etc/config/sunpro.config \ + etc/config/vacpp.config \ + etc/config/windows \ + etc/config/xlC_version.sh \ + etc/nls \ + generate.bat + +# So that the Makefiles will properly invoke the aclocal utility when +# updating/regenerating maintenance files. +ACLOCAL_AMFLAGS = -I @CONFIG_MACRODIR@ + +config_auxdir = @CONFIG_AUXDIR@ + +MAINTAINERCLEANFILES = \ + COPYING \ + INSTALL \ + Makefile.in \ + aclocal.m4 \ + configure \ + $(config_auxdir)/config.guess \ + $(config_auxdir)/config.sub \ + $(config_auxdir)/depcomp \ + $(config_auxdir)/install-sh \ + $(config_auxdir)/ltmain.sh \ + $(config_auxdir)/missing + Added: incubator/stdcxx/branches/autotools/NEWS URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/NEWS?rev=610897&view=auto ============================================================================== (empty) Added: incubator/stdcxx/branches/autotools/TODO URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/TODO?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/TODO (added) +++ incubator/stdcxx/branches/autotools/TODO Thu Jan 10 11:44:11 2008 @@ -0,0 +1,219 @@ + +Apache C++ Standard Library - stdcxx + +Introduction +============ + +This experimental branch of the 4.2.0 release adds support for the GNU +"Autotools" suite consisting primarily of GNU Autoconf, Automake, and +Libtool. It preserves the layout and structure of the 4.2.0 release. +This new infrastructure is intended to be distributed as an alternative +to the existing Makefile-based infrastructure in the 4.3.0 release. + +First, a word of warning. The current version is incomplete and quite +likely broken. Hack at your own risk. + +To utilize files in this branch, unpack the 4.2.0 distribution into a +source directory and overlay it with files from this branch. (The +LICENSE.txt file from 4.2.0 distribution and the AUTHORS file from this +branch should map to the same directory.) There should be no file or +directory name conflicts. + +To "bootstrap" the resulting distribution, run the following commands +in the top-level source directory: + + $ aclocal -I etc/config/macros + $ libtoolize -c + $ autoheader + $ automake -ac + $ autoconf + +To hack on files in this branch, generate a config.h header file using +the old (existing) configuration method. Rename the header (such as +config.old.h using the name specified in configure.ac) then generate +another config.h header file using the new configure script. Include +the old, renamed config header in the new config.h header (also done +already in configure.ac). Migrate the old config tests (found in +etc/config/src) to Autoconf (m4) macros (found in etc/config/macros). +After completing each new Autoconf macro, remove the correspoding +define(s) from the old config header. Rinse and repeat as necessary. + +You can test maintenance/distribution changes really easy by running +'make distcheck'. If the last lines of output look like the following, +then you can safely check in your changes. + + ============================================== + stdcxx-4.3.0 archives ready for distribution: + stdcxx-4.3.0.tar.gz + stdcxx-4.3.0.tar.bz2 + stdcxx-4.3.0.zip + ============================================== + +Lastly, there are plenty of specific changes needed in individual files +as indicated by a "TODO:" prefix. + + +ChangeLog (4.3 Release Plans) +============================= + +The following list describes the differences between the files and +directories found in the 4.2.0 distribution and this branch. + +Existing Distribution Files +--------------------------- + +* ChangeLog, +README: + +No changes required in new infrastructure. Automatically packaged and +distributed. + +* NOTICE.txt, +configure.bat, +generate.bat: + +No changes required to these files but they are not automatically +distributed. Add them to the EXTRA_DIST variable found in Makefile.am +so that they get packaged in the distribution. + +* GNUmakefile: + +The file name of this makefile (or its current location in the top-level +source directory) may need to change (e.g. GNUmakefile.top) because GNU +Make looks for this filename before files named "Makefile". This might +not be a problem for the 4.3 release since the existing infrastructure +is the default but it will likely cause confusion for users who use the +new configure script then type "make" and get a totally unexpected. +output. + +* LICENSE.txt: + +No changes required to this file but it is not automatically distributed. +Add it to the EXTRA_DIST variable found in Makefile.am so that it gets +packaged in the distribution. + +* bin/xbuildgen: + +Not really a distribution file, only used for internal testing. Ignore +it and the subdirectory containing it. + +* etc, +doc: + +No changes required to files in these subdirectories but they are not +automatically distributed. Add the subdirectories to the EXTRA_DIST +variable found in Makefile.am so that they get packaged in the +distribution. (The makefiles generated by Autotools are smart enough +to recursively package the subdirectories and all files within them.) + +All other distribution files require no further changes and are +automatically packaged in the distribution by implicit reference in the +associated Automake files. + +New Distribution Files +---------------------- + +The remaining file and directories listed hereafter are specific to the +new infrastructure. + +* AUTHORS: + +This is a file conventionally found in GNU and other open source +distributions and is automatically packaged in the distribution. It +should contain at least a list of the STDCXX committers and probably +special thanks to any other major contributors to the project. + +(Unless the NOTICE.txt file is mandated by Apache distribution policies, +it can be integrated into the AUTHORS file and then removed from +Subversion.) + +* NEWS, +TODO (this file): + +Other text files conventionally found in GNU and other open source +distributions that get packaged automatically in the distribution. +Once this experimental branch becomes reasonably stable enough to merge +into the main development baseline, the NEWS file is replaced with +release notes prior to actual distribution. The TODO file contains a +summary of features and enhancements planned for future releases. + +* COPYING: + +The conventional filename for including a copy of the GPL. It is +automatically packaged as part of the distribution by Automake's +makefiles. + +Since this branch utilizes quite a bit of code (and includes some GNU +config macros) that was developed with the GPL, it is quite likely that +BOTH license files will need to be included in the distribution. + +* configure.ac: + +The GNU Autoconf input file. This is the primary input file used by GNU +Autoconf to generate the configure script. + +* Makefile.am: + +Input file used by GNU Automake to generate Makefile.in templates. The +top-level Makefile.am file NEED TO FINISH THIS + +This file also contains rules for updating the `maintainer-clean` target. +In addition to files cleaned by the `distclean' target, this target will +clean all files generated by maintenance tools. + +* etc/config/aux: + +This subdirectory, as specified by the AC_CONFIG_AUX_DIR macro in the +configure.ac file, contains support files required in the new +infrastructure. + +* etc/config/macros: + +This subdirectory, specified by the AC_CONFIG_MACRO_DIR in configure.ac, +contains the M4 configuration macros used primarily by the GNU Autoconf +tools. + +All other files found in the new infrastructure are either copied from +Autotools or generated by some other means and automatically packaged, +if necessary, in the distribution. + + +ChangeLog (Proposed 5.0 Release Plans) +====================================== + +Some of the subdirectories in the 4.2 release use abbreviated names +(e.g. doc, etc, src, util) while others don't (e.g. examples, tests). +For installation directories, the conventional Unix names make sense but +they aren't required for a source distribution. So for the 5.0 release, +a more consistent naming convention is used for the subdirectories. + +* GNUmakefile: + +Moved to "config/GNUmakefile" so that GNU Make with find the Makefile +generated by GNU Automake by default. If users still want to use the +old infrastructure, they'll need to specify the "-f config/GNUmakefile" +option for GNU Make. + +* etc/config: + +Moved to the top-level "config" subdirectory. + +* etc/nls: + +Moved to top-level "locale" or "nls" subdirectory. The "etc" +subdirectory is no longer needed. + +* src: + +Renamed to "source". + +* util: + +Renamed to "tools". + +* examples, +include, +tests: + +No change. + Added: incubator/stdcxx/branches/autotools/configure.ac URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/configure.ac?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/configure.ac (added) +++ incubator/stdcxx/branches/autotools/configure.ac Thu Jan 10 11:44:11 2008 @@ -0,0 +1,90 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# information on the package +AC_PREREQ([2.59]) +AC_COPYRIGHT([Copyright (c) 2005-2007 Apache Software Foundation. +Copyright (c) 1999-2007 Rogue Wave Software, Inc.]) +AC_REVISION([$Id$]) + +AC_INIT([stdcxx], [4.3.0], [http://incubator.apache.org/stdcxx/bugs.html]) + +AC_CONFIG_AUX_DIR([etc/config/aux]) +AC_SUBST([CONFIG_AUXDIR], [\$\{top_srcdir\}/etc/config/aux]) +AC_CONFIG_MACRO_DIR([etc/config/macros]) +AC_SUBST([CONFIG_MACRODIR], [\$\{top_srcdir\}/etc/config/macros]) + +AH_TOP([#include ]) +AC_CONFIG_HEADERS([include/config.h]) + +AM_INIT_AUTOMAKE([dist-bzip2 dist-zip]) + +AM_NLS +AC_ENABLE_DEBUG +AC_ENABLE_THREADS + +# checks for programs +AC_PROG_LIBTOOL +AC_PROG_CXX +AM_PROG_AS + +# checks for system-specific features +RW_SYS_ATOMIC_OPS + +# checks for native C language data types +AC_CHECK_TYPE([long long], [], [AC_DEFINE([_RWSTD_NO_LONG_LONG], [1], +[Define if compiler does not support native `long long' type.])]) +AC_CHECK_TYPE([long double], [], [AC_DEFINE([_RWSTD_NO_LONG_DOUBLE], [1], +[Define if compiler does not support native `long double' type.])]) + +# checks for common C library type definitions +AC_CHECK_TYPE([size_t], [], [AC_DEFINE([_RWSTD_NO_SIZE_T], [1], +[Define if standard headers do not define `size_t' type.])]) + +# checks for C++ compiler-specific features +AC_LANG(C++) +AC_HEADER_NO_STD + +# generate output files +AC_CONFIG_FILES([Makefile \ + include/Makefile \ + src/Makefile \ + examples/Makefile \ + examples/manual/Makefile \ + examples/tutorial/Makefile \ + tests/Makefile \ + tests/algorithms/Makefile \ + tests/containers/Makefile \ + tests/diagnostics/Makefile \ + tests/intro/Makefile \ + tests/iostream/Makefile \ + tests/localization/Makefile \ + tests/numerics/Makefile \ + tests/regress/Makefile \ + tests/self/Makefile \ + tests/src/Makefile \ + tests/strings/Makefile \ + tests/support/Makefile \ + tests/tr1.c99/Makefile \ + tests/tr1.util/Makefile \ + tests/utilities/Makefile \ + util/Makefile]) +AC_OUTPUT + Added: incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_debug.m4 URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_debug.m4?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_debug.m4 (added) +++ incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_debug.m4 Thu Jan 10 11:44:11 2008 @@ -0,0 +1,61 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# AC_ENABLE_DEBUG([DEFAULT]) +# -------------------------- +# Enable debug support with the --enable-debug option, or disable debug +# support with the --disable-debug option. If debug support is enabled, +# all options related to debugging are included in commands (e.g. -g +# option for most compilers). If debug is disabled, all such options +# are omitted from commands. +# +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +# +AC_DEFUN([AC_ENABLE_DEBUG], [dnl + AC_MSG_CHECKING([whether to build debug targets]) + + define([AC_ENABLE_DEBUG_DEFAULT], ifelse($1, no, no, yes))dnl + AC_ARG_ENABLE([debug], + [AC_HELP_STRING([--enable-debug], +[build debug targets @<:@default=]AC_ENABLE_DEBUG_DEFAULT[@:>@])], + [case $enableval in + yes) enable_debug=yes ;; + no) enable_debug=no ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; + esac], + [enable_debug=]AC_ENABLE_DEBUG_DEFAULT) + + # Allow Makefiles access to DEBUG_ENABLED conditional. + AM_CONDITIONAL([DEBUG_ENABLED], [test "x$enable_debug" = "xyes"]) + + case $enable_debug in + yes) + # TODO: Add debug compile options if not already present. + ;; + no) + # TODO: Remove debug compile options if present. + ;; + *) + ;; + esac + + AC_MSG_RESULT([$enable_debug]) +])# AC_ENABLE_DEBUG + Added: incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_threads.m4 URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_threads.m4?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_threads.m4 (added) +++ incubator/stdcxx/branches/autotools/etc/config/macros/ac_enable_threads.m4 Thu Jan 10 11:44:11 2008 @@ -0,0 +1,79 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# AC_ENABLE_THREADS([DEFAULT]) +# -------------------------- +# Enable thread support with the --enable-threads option, or disable +# thread support with the --disable-threads option. If thread support +# is enabled, all options related to thread-safety are included in +# commands (e.g. -thread or -pthread in some compilers). If thread +# support is disabled, all such options are omitted from commands. +# +# Some platforms support more than one multithread package (e.g. Solaris +# supports both Pthreads and Solaris Threads). DEFAULT is either `yes', +# `no', `native' (same as `yes'), `posix', `solaris', or `windows'. If +# omitted, it defaults to `native'. +# +AC_DEFUN([AC_ENABLE_THREADS], [dnl + AC_MSG_CHECKING([whether to build thread targets]) + + define([AC_ENABLE_THREADS_DEFAULT], ifelse($1, no, no, native))dnl + AC_ARG_ENABLE([THREADS], + [AC_HELP_STRING([--enable-threads@<:@=API@:>@], +[build thread targets @<:@default=]AC_ENABLE_THREADS_DEFAULT[@:>@])], +[case $enableval in + yes) enable_threads=native ;; + no) enable_threads=no ;; + native) enable_threads=native ;; + posix) enable_threads=posix ;; + solaris) enable_threads=solaris ;; + windows) enable_threads=windows ;; + carbon) enable_threads=carbon ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-threads]) ;; +esac], + [enable_threads=]AC_ENABLE_THREADS_DEFAULT) + + # TODO: Adjust compiler flags, link flags, etc. as necessary for the + # following thread packages. + # + case $enable_threads in + yes|native) + ;; + posix) + ;; + solaris) + ;; + windows) + ;; + carbon) + ;; + no) + ;; + *) + ;; + esac + + if test "$enable_threads" = "no" ; then + AC_MSG_RESULT([no]) + else + AC_MSG_RESULT([yes ($enable_threads)]) + fi +])# AC_ENABLE_THREADS + Added: incubator/stdcxx/branches/autotools/etc/config/macros/ac_header_nostd.m4 URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/etc/config/macros/ac_header_nostd.m4?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/etc/config/macros/ac_header_nostd.m4 (added) +++ incubator/stdcxx/branches/autotools/etc/config/macros/ac_header_nostd.m4 Thu Jan 10 11:44:11 2008 @@ -0,0 +1,69 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# AC_HEADER_NO_STD +# ---------------- +# Modifies the appropriate preprocessor and/or compiler flags (depending +# on the current language) so that standard header file locations are +# NOT searched by default. For example, this macro will add the +# -nostdinc option to CPPFLAGS and CFLAGS if current language is C and +# the compiler is the GNU C compiler. +AC_DEFUN([AC_HEADER_NO_STD], [dnl + AC_REQUIRE_CPP + _AC_LANG_DISPATCH([$0], _AC_LANG, $@) +])# AC_HEADER_NO_STD + +# TODO: AC_HEADER_NO_STD(C) + +# AC_HEADER_NO_STD(C++) +# --------------------- +# Modifies CPPFLAGS and CXXFLAGS as described in AC_HEADER_NO_STD below. +m4_define([AC_HEADER_NO_STD(C++)], [dnl + save_CPPFLAGS="$CPPFLAGS" + save_CXXFLAGS="$CXXFLAGS" + + case $CXX in + g++) + nostdinc_flag="-nostdinc++" + ;; + + # TODO: Add options for other compilers here. + + *) + nostdinc_flag="no" + ;; + esac + + if test "$nostdinc_flag" != "no" ; then + CPPFLAGS="$CPPFLAGS $nostdinc_flag" + AC_PREPROC_IFELSE([#include ], [nostdinc_flag=no], []) + + if test "$nostdinc_flag" != "no" ; then + CXXFLAGS="$CXXFLAGS $nostdinc_flag" + AC_COMPILE_IFELSE([#include ], [nostdinc_flag=no], []) + fi + fi + + if test "$nostdinc_flag" = "no" ; then + CPPFLAGS="$save_CPPFLAGS" + CXXFLAGS="$save_CXXFLAGS" + fi +])# AC_HEADER_NO_STD(C++) + Added: incubator/stdcxx/branches/autotools/etc/config/macros/nls.m4 URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/etc/config/macros/nls.m4?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/etc/config/macros/nls.m4 (added) +++ incubator/stdcxx/branches/autotools/etc/config/macros/nls.m4 Thu Jan 10 11:44:11 2008 @@ -0,0 +1,32 @@ +# nls.m4 serial 3 (gettext-0.15) +dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +AC_PREREQ(2.50) + +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) +]) + Added: incubator/stdcxx/branches/autotools/etc/config/macros/rw_sys_atomic_ops.m4 URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/etc/config/macros/rw_sys_atomic_ops.m4?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/etc/config/macros/rw_sys_atomic_ops.m4 (added) +++ incubator/stdcxx/branches/autotools/etc/config/macros/rw_sys_atomic_ops.m4 Thu Jan 10 11:44:11 2008 @@ -0,0 +1,54 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# RW_SYS_ATOMIC_OPS +# ----------------- +# Defines _RWSTD_NO_ATOMIC_OPS if the target platform does not support +# atomic operations. Also defines _RWSTD_INTERLOCKED_T as the type used +# to define the interlocked_t type (only applies to Windows platforms). +# Finally, substitutes ATOMIC_ARCH in Makefiles to assemble the +# appropriate file for the target platform. +# +AC_DEFUN([RW_SYS_ATOMIC_OPS], [dnl + AC_MSG_CHECKING([for atomic operations]) + + dnl All supported platforms have atomic operations and this macro + dnl is therefore always undefined. + AH_TEMPLATE([_RWSTD_NO_ATOMIC_OPS], +[Define if target architecture does not have atomic operations.]) + + dnl Check interlocked_t type on Windows platforms. + dnl AC_REQUIRE([AC_TYPE_INTERLOCKED]) + dnl TODO: Implement this macro. + + dnl Assemble apporopriate atomic operations for target platform. + dnl TODO: Use appropriate 32-bit/64-bit version if needed. + case $build_cpu in + ia64) ;; + sparc) ;; + x86|i686) ;; + x86_64) ;; + *) AC_MSG_ERROR([unsupported build architecture $build_cpu]) + exit ;; + esac + + AC_MSG_RESULT([yes ($build_cpu)]) +])# RW_SYS_ATOMIC_OPS + Added: incubator/stdcxx/branches/autotools/examples/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/examples/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/examples/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/examples/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +EXTRA_DIST = \ + include + +SUBDIRS = \ + manual \ + tutorial + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/examples/manual/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/examples/manual/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/examples/manual/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/examples/manual/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,295 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +noinst_PROGRAMS = \ + accumulate \ + adj_diff \ + advance \ + auto_ptr \ + binary_search \ + binders \ + bitset \ + codecvt \ + codecvt1 \ + collate \ + complex \ + copyex \ + count \ + ctype \ + deque \ + distance \ + equal \ + equal_range \ + failure \ + filebuf \ + fill \ + find \ + find_end \ + find_first_of \ + fmtflags_manip \ + for_each \ + fstream \ + funct_ob \ + generate \ + gslice \ + gslice_array \ + has_facet \ + heap_ops \ + ifstream \ + includes \ + indirect_array \ + inner_product \ + insert_iterator \ + insert_wchar \ + isalnum \ + istream1 \ + istreambuf_iterator \ + istringstream \ + istrstream \ + lex_compare \ + limits \ + list \ + locale \ + map \ + mask_array \ + max \ + max_elem \ + mbsrtowcs \ + memfunc \ + memfunref \ + merge \ + messages \ + mismatch \ + money_get \ + money_manip \ + moneypunct \ + moneyput \ + multimap \ + multiset \ + mutex \ + negator \ + nthelem \ + num_get \ + num_put \ + numpunct \ + ostream \ + ostreambuf_iterator \ + moneyput \ + multimap \ + multiset \ + mutex \ + negator \ + nthelem \ + num_get \ + num_put \ + numpunct \ + ostream \ + ostreambuf_iterator \ + partial_sort \ + partial_sum \ + partition \ + permutation \ + pnt2fnct \ + priority_queue \ + queue \ + random_shuffle \ + remove \ + replace \ + reverse \ + reverse_iterator \ + rotate \ + rwexcept \ + search \ + set_diff \ + set_intr \ + set_sym_diff \ + set_union \ + setex \ + slice \ + slice_array \ + sort \ + stack \ + stream_iterator \ + string \ + stringbuf \ + strstream \ + strstreambuf \ + swap \ + time_get \ + time_manip \ + time_put \ + toupper \ + transform \ + ul_bound \ + unique \ + use_facet \ + valarray \ + vector \ + wostream \ + wstringstream + +accumulate_SOURCES = accumulate.cpp +adj_diff_SOURCES = adj_diff.cpp +advance_SOURCES = advance.cpp +auto_ptr_SOURCES = auto_ptr.cpp +binary_search_SOURCES = binary_search.cpp +binders_SOURCES = binders.cpp +bitset_SOURCES = bitset.cpp +codecvt_SOURCES = codecvt.cpp +codecvt1_SOURCES = codecvt1.cpp +collate_SOURCES = collate.cpp +complex_SOURCES = complex.cpp +copyex_SOURCES = copyex.cpp +count_SOURCES = count.cpp +ctype_SOURCES = ctype.cpp +deque_SOURCES = deque.cpp +distance_SOURCES = distance.cpp +equal_range_SOURCES = equal_range.cpp +equal_SOURCES = equal.cpp +failure_SOURCES = failure.cpp +filebuf_SOURCES = filebuf.cpp +fill_SOURCES = fill.cpp +find_SOURCES = find.cpp +find_end_SOURCES = find_end.cpp +find_first_of_SOURCES = find_first_of.cpp +fmtflags_manip_SOURCES = fmtflags_manip.cpp +for_each_SOURCES = for_each.cpp +fstream_SOURCES = fstream.cpp +funct_ob_SOURCES = funct_ob.cpp +generate_SOURCES = generate.cpp +gslice_SOURCES = gslice.cpp +gslice_array_SOURCES = gslice_array.cpp +has_facet_SOURCES = has_facet.cpp +heap_ops_SOURCES = heap_ops.cpp +ifstream_SOURCES = ifstream.cpp +includes_SOURCES = includes.cpp +indirect_array_SOURCES = indirect_array.cpp +inner_product_SOURCES = inner_product.cpp +insert_iterator_SOURCES = insert_iterator.cpp +insert_wchar_SOURCES = insert_wchar.cpp +isalnum_SOURCES = isalnum.cpp +istream1_SOURCES = istream1.cpp +istreambuf_iterator_SOURCES = istreambuf_iterator.cpp +istringstream_SOURCES = istringstream.cpp +istrstream_SOURCES = istrstream.cpp +lex_compare_SOURCES = lex_compare.cpp +limits_SOURCES = limits.cpp +list_SOURCES = list.cpp +locale_SOURCES = locale.cpp +map_SOURCES = map.cpp +mask_array_SOURCES = mask_array.cpp +max_SOURCES = max.cpp +max_elem_SOURCES = max_elem.cpp +mbsrtowcs_SOURCES = mbsrtowcs.cpp +memfunc_SOURCES = memfunc.cpp +memfunref_SOURCES = memfunref.cpp +merge_SOURCES = merge.cpp +messages_SOURCES = messages.cpp +mismatch_SOURCES = mismatch.cpp +money_get_SOURCES = money_get.cpp +money_manip_SOURCES = money_manip.cpp +moneypunct_SOURCES = moneypunct.cpp +moneyput_SOURCES = moneyput.cpp +multimap_SOURCES = multimap.cpp +multiset_SOURCES = multiset.cpp +mutex_SOURCES = mutex.cpp +negator_SOURCES = negator.cpp +nthelem_SOURCES = nthelem.cpp +num_put_SOURCES = num_put.cpp +num_get_SOURCES = num_get.cpp +numpunct_SOURCES = numpunct.cpp +ostream_SOURCES = ostream.cpp +ostreambuf_iterator_SOURCES = ostreambuf_iterator.cpp +priority_queue_SOURCES = priority_queue.cpp +partial_sort_SOURCES = partial_sort.cpp +partial_sum_SOURCES = partial_sum.cpp +permutation_SOURCES = permutation.cpp +pnt2fnct_SOURCES = pnt2fnct.cpp +partition_SOURCES = partition.cpp +queue_SOURCES = queue.cpp +random_shuffle_SOURCES = random_shuffle.cpp +remove_SOURCES = remove.cpp +replace_SOURCES = replace.cpp +reverse_iterator_SOURCES = reverse_iterator.cpp +reverse_SOURCES = reverse.cpp +rotate_SOURCES = rotate.cpp +rwexcept_SOURCES = rwexcept.cpp +# TODO: Figure out how this one gets built and add it to nodist_PROGRAMS +# above and remove from EXTRA_DIST below. +#rwstdmessages_SOURCES = rwstdmessages.cpp +search_SOURCES = search.cpp +set_diff_SOURCES = set_diff.cpp +set_intr_SOURCES = set_intr.cpp +set_sym_diff_SOURCES = set_sym_diff.cpp +set_union_SOURCES = set_union.cpp +setex_SOURCES = setex.cpp +slice_SOURCES = slice.cpp +slice_array_SOURCES = slice_array.cpp +sort_SOURCES = sort.cpp +stack_SOURCES = stack.cpp +stream_iterator_SOURCES = stream_iterator.cpp +string_SOURCES = string.cpp +stringbuf_SOURCES = stringbuf.cpp +strstream_SOURCES = strstream.cpp +strstreambuf_SOURCES = strstreambuf.cpp +swap_SOURCES = swap.cpp +time_get_SOURCES = time_get.cpp +time_manip_SOURCES = time_manip.cpp +time_put_SOURCES = time_put.cpp +toupper_SOURCES = toupper.cpp +transform_SOURCES = transform.cpp +ul_bound_SOURCES = ul_bound.cpp +unique_SOURCES = unique.cpp +use_facet_SOURCES = use_facet.cpp +valarray_SOURCES = valarray.cpp +vector_SOURCES = vector.cpp +wostream_SOURCES = wostream.cpp +wstringstream_SOURCES = wstringstream.cpp + +EXTRA_DIST = \ + in \ + out \ + rwstdmessages.cpp \ + rwstdmessages.dll \ + rwstdmessages.msg \ + rwstdmessages.rc + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +## Don't search this directory for header files since some executable +## filenames conflict with standard C++ header filenames. +DEFAULT_INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_builddir}/include +INCLUDES = \ + -I${top_srcdir}/examples/include +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/examples/tutorial/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/examples/tutorial/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/examples/tutorial/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/examples/tutorial/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,92 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +noinst_PROGRAMS = \ + alg1 \ + alg2 \ + alg3 \ + alg4 \ + alg5 \ + alg6 \ + alg7 \ + calc \ + complx \ + concord \ + dynatype \ + graph \ + icecream \ + radix \ + sieve \ + spell \ + stdexcept \ + stocks \ + tele \ + teller \ + widwork + +alg1_SOURCES = alg1.cpp +alg2_SOURCES = alg2.cpp +alg3_SOURCES = alg3.cpp +alg4_SOURCES = alg4.cpp +alg5_SOURCES = alg5.cpp +alg6_SOURCES = alg6.cpp +alg7_SOURCES = alg7.cpp +calc_SOURCES = calc.cpp +complx_SOURCES = complx.cpp +concord_SOURCES = concord.cpp +dynatype_SOURCES = dynatype.cpp +graph_SOURCES = graph.cpp +icecream_SOURCES = icecream.cpp +radix_SOURCES = radix.cpp +sieve_SOURCES = sieve.cpp +spell_SOURCES = spell.cpp +stdexcept_SOURCES = stdexcept.cpp +stocks_SOURCES = stocks.cpp +tele_SOURCES = tele.cpp +teller_SOURCES = teller.cpp +widwork_SOURCES = widwork.cpp + +EXTRA_DIST = \ + in \ + out + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +## Don't search this directory for header files since some executable +## filenames conflict with standard C++ header filenames. +DEFAULT_INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_builddir}/include +INCLUDES = \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/examples/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/include/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/include/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/include/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/include/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,98 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# TODO: Remove config.old.h once all Autoconf macros are working. +# +nobase_include_HEADERS = \ + algorithm \ + algorithm.c \ + algorithm.cc \ + ansi \ + bitset \ + bitset.c \ + bitset.cc \ + complex \ + complex.c \ + complex.cc \ + config.h \ +config.old.h \ + deque \ + deque.c \ + deque.cc \ + deque_spec.h \ + exception \ + fstream \ + fstream.c \ + fstream.cc \ + functional \ + iomanip \ + ios \ + iosfwd \ + iostream \ + istream \ + istream.c \ + istream.cc \ + iterator \ + limits \ + limits.c \ + limits.cc \ + list \ + list.c \ + list.cc \ + list_spec.h \ + loc \ + locale \ + map \ + memory \ + new \ + numeric \ + ostream \ + ostream.c \ + ostream.cc \ + queue \ + rw \ + set \ + sstream \ + sstream.c \ + sstream.cc \ + stack \ + stdexcept \ + streambuf \ + streambuf.c \ + streambuf.cc \ + string \ + string.c \ + string.cc \ + strstream \ + tr1 \ + typeinfo \ + utility \ + valarray \ + valarray.c \ + valarray.cc \ + vector \ + vector.c \ + vector.cc \ + vector_spec.h + +MAINTAINERCLEANFILES = \ + Makefile.in \ + config.h.in + Added: incubator/stdcxx/branches/autotools/src/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/src/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/src/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/src/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,176 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# private header files +noinst_HEADERS = \ + access.h \ + catalog.h \ + iosdata.h \ + iso2022.h \ + locale_body.h \ + mman.h \ + once.h \ + podarray.h \ + setlocale.h \ + strtol.h \ + use_facet.h + +lib_LTLIBRARIES = libstdcxx.la + +libstdcxx_la_SOURCES = \ + assert.cpp \ + atomic.s \ + bitset.cpp \ + catalog.cpp \ + codecvt.cpp \ + collate.cpp \ + ctype.cpp \ + ctype_bits.cpp \ + domain_error.cpp \ + exception.cpp \ + export.cpp \ + facet.cpp \ + file.cpp \ + instance.cpp \ + invalid_argument.cpp \ + ios.cpp \ + ios_bits.cpp \ + iostore.cpp \ + iostream.cpp \ + iso2022.cpp \ + length_error.cpp \ + limits.cpp \ + limits_bits.cpp \ + locale_bits.cpp \ + locale_body.cpp \ + locale_classic.cpp \ + locale_combine.cpp \ + locale_core.cpp \ + locale_eq.cpp \ + locale_global.cpp \ + locale_name.cpp \ + logic_error.cpp \ + memattr.cpp \ + memory.cpp \ + messages.cpp \ + mman.cpp \ + num_get.cpp \ + num_put.cpp \ + once.cpp \ + out_of_range.cpp \ + overflow_error.cpp \ + punct.cpp \ + random.cpp \ + range_error.cpp \ + runtime_error.cpp \ + rwstderr.cpp \ + setlocale.cpp \ + string.cpp \ + strstream.cpp \ + strtol.cpp \ + ti_collate.cpp \ + ti_filebuf.cpp \ + ti_insert_dbl.cpp \ + ti_insert_int.cpp \ + ti_insert_ptr.cpp \ + ti_ios.cpp \ + ti_istream.cpp \ + ti_messages.cpp \ + ti_money_get.cpp \ + ti_money_put.cpp \ + ti_moneypunct.cpp \ + ti_num_get.cpp \ + ti_num_put.cpp \ + ti_numpunct.cpp \ + ti_ostream.cpp \ + ti_podarray.cpp \ + ti_streambuf.cpp \ + ti_string.cpp \ + ti_stringbuf.cpp \ + ti_time_get.cpp \ + ti_time_put.cpp \ + ti_wcollate.cpp \ + ti_wfilebuf.cpp \ + ti_winsert_dbl.cpp \ + ti_winsert_int.cpp \ + ti_winsert_ptr.cpp \ + ti_wios.cpp \ + ti_wistream.cpp \ + ti_wmessages.cpp \ + ti_wmoney_get.cpp \ + ti_wmoney_put.cpp \ + ti_wmoneypunct.cpp \ + ti_wnum_get.cpp \ + ti_wnum_put.cpp \ + ti_wnumpunct.cpp \ + ti_wostream.cpp \ + ti_wstreambuf.cpp \ + ti_wstring.cpp \ + ti_wstringbuf.cpp \ + ti_wtime_get.cpp \ + ti_wtime_put.cpp \ + time_get.cpp \ + time_put.cpp \ + tmpbuf.cpp \ + typeinfo.cpp \ + underflow_error.cpp \ + valarray.cpp \ + vecbool.cpp \ + version.cpp \ + wcodecvt.cpp \ + wctype.cpp + +# search paths for header files +INCLUDES = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/include/ansi \ + -I$(top_builddir)/include + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +libstdcxx_la_LDFLAGS = -release @PACKAGE_VERSION@ +# Read http://www.gnu.org/software/libtool/manual.html#Versioning before +# using this flag. +#libstdcxx_la_LDFLAGS = -version-info 0:0:0 + +# TODO: Atomic files seem to be conditional sources. Need to figure out +# how they are intended to be built. +EXTRA_DIST = \ + atomic-cxx.S \ + atomic.asm \ + i86 \ + i86_64 \ + ia64 \ + parisc \ + sparc \ + mapfile.gcc \ + mapfile.gcc-2 \ + podarray.c \ + podarray.cc \ + rwstderr.cpp \ + rwstderr.msg \ + rwstderr.rc + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,49 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# TODO: Each Automake file in these subdirectories (i.e. Makefile.am) +# currently specifies each test program explictly whereas the previous +# hand-written Makefiles use command substitution and/or filters to +# obtain the list of build targets. Not sure if this requires GNU +# Make or not however. + +SUBDIRS = \ + algorithms \ + containers \ + diagnostics \ + intro \ + iostream \ + localization \ + numerics \ + regress \ + self \ + src \ + strings \ + support \ + tr1.c99 \ + tr1.util \ + utilities + +EXTRA_DIST = \ + include + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/algorithms/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/algorithms/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/algorithms/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/algorithms/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,168 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# Test programs to build for the 'check' target. +# TODO: Fix 25.search then move it from check_PROGRAMS to TESTS. +check_PROGRAMS = \ + $(TESTS) \ + 25.search + +# Test programs to execute for the 'check' target. +TESTS = \ + 25.adjacent.find \ + 25.binary.search \ + 25.copy \ + 25.equal \ + 25.equal.range \ + 25.fill \ + 25.find \ + 25.find.end \ + 25.find.first \ + 25.for.each \ + 25.generate \ + 25.heap \ + 25.includes \ + 25.lex.comparison \ + 25.libc \ + 25.lower.bound \ + 25.merge \ + 25.min.max \ + 25.mismatch \ + 25.nth.element \ + 25.partial.sort \ + 25.partitions \ + 25.permutation \ + 25.random.shuffle \ + 25.remove \ + 25.replace \ + 25.reverse \ + 25.rotate \ + 25.set.difference \ + 25.set.intersection \ + 25.set.sym.difference \ + 25.set.union \ + 25.sort \ + 25.swap \ + 25.transform \ + 25.unique \ + 25.upper.bound + +25_adjacent_find_SOURCES = \ + 25.adjacent.find.cpp +25_binary_search_SOURCES = \ + 25.binary.search.cpp +25_copy_SOURCES = \ + 25.copy.cpp +25_equal_SOURCES = \ + 25.equal.cpp +25_equal_range_SOURCES = \ + 25.equal.range.cpp +25_fill_SOURCES = \ + 25.fill.cpp +25_find_SOURCES = \ + 25.find.cpp +25_find_end_SOURCES = \ + 25.find.end.cpp +25_find_first_SOURCES = \ + 25.find.first.cpp +25_for_each_SOURCES = \ + 25.for.each.cpp +25_generate_SOURCES = \ + 25.generate.cpp +25_heap_SOURCES = \ + 25.heap.cpp +25_includes_SOURCES = \ + 25.includes.cpp +25_lex_comparison_SOURCES = \ + 25.lex.comparison.cpp +25_libc_SOURCES = \ + 25.libc.cpp +25_lower_bound_SOURCES = \ + 25.lower.bound.cpp +25_merge_SOURCES = \ + 25.merge.cpp +25_min_max_SOURCES = \ + 25.min.max.cpp +25_mismatch_SOURCES = \ + 25.mismatch.cpp +25_nth_element_SOURCES = \ + 25.nth.element.cpp +25_partial_sort_SOURCES = \ + 25.partial.sort.cpp +25_partitions_SOURCES = \ + 25.partitions.cpp +25_permutation_SOURCES = \ + 25.permutation.cpp +25_random_shuffle_SOURCES = \ + 25.random.shuffle.cpp +25_remove_SOURCES = \ + 25.remove.cpp +25_replace_SOURCES = \ + 25.replace.cpp +25_reverse_SOURCES = \ + 25.reverse.cpp +25_rotate_SOURCES = \ + 25.rotate.cpp +25_search_SOURCES = \ + 25.search.cpp +25_set_difference_SOURCES = \ + 25.set.difference.cpp +25_set_intersection_SOURCES = \ + 25.set.intersection.cpp +25_set_sym_difference_SOURCES = \ + 25.set.sym.difference.cpp +25_set_union_SOURCES = \ + 25.set.union.cpp +25_sort_SOURCES = \ + 25.sort.cpp +25_swap_SOURCES = \ + 25.swap.cpp +25_transform_SOURCES = \ + 25.transform.cpp +25_unique_SOURCES = \ + 25.unique.cpp +25_upper_bound_SOURCES = \ + 25.upper.bound.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/containers/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/containers/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/containers/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/containers/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,98 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +TESTS = $(check_PROGRAMS) + +check_PROGRAMS = \ + 23.bitset.cons \ + 23.bitset \ + 23.deque.iterators \ + 23.deque.modifiers \ + 23.deque.special \ + 23.list.assign \ + 23.list.capacity \ + 23.list.cons \ + 23.list.erase \ + 23.list.insert \ + 23.list.iterators \ + 23.list.special \ + 23.vector.allocator \ + 23.vector.capacity \ + 23.vector.cons \ + 23.vector.modifiers + +23_bitset_cons_SOURCES = \ + 23.bitset.cons.cpp +23_bitset_SOURCES = \ + 23.bitset.cpp +23_deque_iterators_SOURCES = \ + 23.deque.iterators.cpp +23_deque_modifiers_SOURCES = \ + 23.deque.modifiers.cpp +23_deque_special_SOURCES = \ + 23.deque.special.cpp +23_list_assign_SOURCES = \ + 23.list.assign.cpp +23_list_capacity_SOURCES = \ + 23.list.capacity.cpp +23_list_cons_SOURCES = \ + 23.list.cons.cpp +23_list_erase_SOURCES = \ + 23.list.erase.cpp +23_list_insert_SOURCES = \ + 23.list.insert.cpp +23_list_iterators_SOURCES = \ + 23.list.iterators.cpp +23_list_special_SOURCES = \ + 23.list.special.cpp +23_vector_allocator_SOURCES = \ + 23.vector.allocator.cpp +23_vector_capacity_SOURCES = \ + 23.vector.capacity.cpp +23_vector_cons_SOURCES = \ + 23.vector.cons.cpp +23_vector_modifiers_SOURCES = \ + 23.vector.modifiers.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/diagnostics/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/diagnostics/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/diagnostics/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/diagnostics/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +TESTS = $(check_PROGRAMS) + +check_PROGRAMS = \ + 19.cerrno \ + 19.exceptions.mt + +19_cerrno_SOURCES = \ + 19.cerrno.cpp +19_exceptions_mt_SOURCES = \ + 19.exceptions.mt.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/intro/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/intro/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/intro/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/intro/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,53 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +TESTS = $(check_PROGRAMS) + +check_PROGRAMS = \ + 17.names + +17_names_SOURCES = \ + 17.names.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/iostream/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/iostream/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/iostream/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/iostream/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,84 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# Test programs to build for the 'check' target. +# TODO: Fix these two test programs then move to TESTS. +check_PROGRAMS = \ + $(TESTS) \ + 27.objects \ + 27.ostream + +# Test programs to execute for the 'check' target. +TESTS = \ + 27.filebuf.codecvt \ + 27.forward \ + 27.istream.fmat.arith \ + 27.istream.manip \ + 27.istream.readsome \ + 27.istream.sentry \ + 27.istream.unformatted.get \ + 27.stringbuf.virtuals + +27_filebuf_codecvt_SOURCES = \ + 27.filebuf.codecvt.cpp +27_forward_SOURCES = \ + 27.forward.cpp +27_istream_fmat_arith_SOURCES = \ + 27.istream.fmat.arith.cpp +27_istream_manip_SOURCES = \ + 27.istream.manip.cpp +27_istream_readsome_SOURCES = \ + 27.istream.readsome.cpp +27_istream_sentry_SOURCES = \ + 27.istream.sentry.cpp +27_istream_unformatted_get_SOURCES = \ + 27.istream.unformatted.get.cpp +27_objects_SOURCES = \ + 27.objects.cpp +27_ostream_SOURCES = \ + 27.ostream.cpp +27_stringbuf_virtuals_SOURCES = \ + 27.stringbuf.virtuals.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/localization/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/localization/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/localization/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/localization/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,146 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# TODO: Build/run these targets only if USE_NLS is yes. + +# Test programs to build for 'check' target. +# TODO: Fix these test programs and move to TESTS. +check_PROGRAMS = \ + $(TESTS) \ + 22.locale.ctype \ + 22.locale.ctype.is \ + 22.locale.ctype.mt \ + 22.locale.ctype.tolower \ + 22.locale.globals.mt \ + 22.locale.messages \ + 22.locale.money.get.mt \ + 22.locale.money.put.mt \ + 22.locale.moneypunct \ + 22.locale.moneypunct.mt \ + 22.locale.num.get.mt \ + 22.locale.num.put.mt \ + 22.locale.numpunct.mt + +# Test programs to execute for the 'check' target. +TESTS = \ + 22.locale.codecvt.length \ + 22.locale.codecvt.mt \ + 22.locale.codecvt.out \ + 22.locale.cons.mt \ + 22.locale.ctype.narrow \ + 22.locale.ctype.scan \ + 22.locale.ctype.toupper \ + 22.locale.messages.mt \ + 22.locale.money.get \ + 22.locale.money.put \ + 22.locale.num.get \ + 22.locale.num.put \ + 22.locale.statics.mt \ + 22.locale.time.get \ + 22.locale.time.get.mt \ + 22.locale.time.put \ + 22.locale.time.put.mt + +22_locale_codecvt_length_SOURCES = \ + 22.locale.codecvt.length.cpp +22_locale_codecvt_mt_SOURCES = \ + 22.locale.codecvt.mt.cpp +22_locale_codecvt_out_SOURCES = \ + 22.locale.codecvt.out.cpp +22_locale_cons_mt_SOURCES = \ + 22.locale.cons.mt.cpp +22_locale_ctype_SOURCES = \ + 22.locale.ctype.cpp +22_locale_ctype_is_SOURCES = \ + 22.locale.ctype.is.cpp +22_locale_ctype_mt_SOURCES = \ + 22.locale.ctype.mt.cpp +22_locale_ctype_narrow_SOURCES = \ + 22.locale.ctype.narrow.cpp +22_locale_ctype_scan_SOURCES = \ + 22.locale.ctype.scan.cpp +22_locale_ctype_tolower_SOURCES = \ + 22.locale.ctype.tolower.cpp +22_locale_ctype_toupper_SOURCES = \ + 22.locale.ctype.toupper.cpp +22_locale_globals_mt_SOURCES = \ + 22.locale.globals.mt.cpp +22_locale_messages_SOURCES = \ + 22.locale.messages.cpp +22_locale_messages_mt_SOURCES = \ + 22.locale.messages.mt.cpp +22_locale_money_get_SOURCES = \ + 22.locale.money.get.cpp +22_locale_money_get_mt_SOURCES = \ + 22.locale.money.get.mt.cpp +22_locale_money_put_SOURCES = \ + 22.locale.money.put.cpp +22_locale_money_put_mt_SOURCES = \ + 22.locale.money.put.mt.cpp +22_locale_moneypunct_SOURCES = \ + 22.locale.moneypunct.cpp +22_locale_moneypunct_mt_SOURCES = \ + 22.locale.moneypunct.mt.cpp +22_locale_num_get_SOURCES = \ + 22.locale.num.get.cpp +22_locale_num_get_mt_SOURCES = \ + 22.locale.num.get.mt.cpp +22_locale_num_put_SOURCES = \ + 22.locale.num.put.cpp +22_locale_num_put_mt_SOURCES = \ + 22.locale.num.put.mt.cpp +22_locale_numpunct_mt_SOURCES = \ + 22.locale.numpunct.mt.cpp +22_locale_statics_mt_SOURCES = \ + 22.locale.statics.mt.cpp +22_locale_time_get_SOURCES = \ + 22.locale.time.get.cpp +22_locale_time_get_mt_SOURCES = \ + 22.locale.time.get.mt.cpp +22_locale_time_put_SOURCES = \ + 22.locale.time.put.cpp +22_locale_time_put_mt_SOURCES = \ + 22.locale.time.put.mt.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/numerics/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/numerics/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/numerics/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/numerics/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,80 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +TESTS = $(check_PROGRAMS) + +check_PROGRAMS = \ + 26.accumulate \ + 26.adjacent.diff \ + 26.c.math \ + 26.class.gslice \ + 26.indirect.array \ + 26.inner.product \ + 26.mask.array \ + 26.partial.sum \ + 26.valarray.cassign \ + 26.valarray.cons + +26_accumulate_SOURCES = \ + 26.accumulate.cpp +26_adjacent_diff_SOURCES = \ + 26.adjacent.diff.cpp +26_c_math_SOURCES = \ + 26.c.math.cpp +26_class_gslice_SOURCES = \ + 26.class.gslice.cpp +26_indirect_array_SOURCES = \ + 26.indirect.array.cpp +26_inner_product_SOURCES = \ + 26.inner.product.cpp +26_mask_array_SOURCES = \ + 26.mask.array.cpp +26_partial_sum_SOURCES = \ + 26.partial.sum.cpp +26_valarray_cassign_SOURCES = \ + 26.valarray.cassign.cpp +26_valarray_cons_SOURCES = \ + 26.valarray.cons.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/regress/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/regress/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/regress/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/regress/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,129 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# Test programs to build for the 'check' target. +# TODO: Fix these two test programs then move them to TESTS. +check_PROGRAMS = \ + $(TESTS) \ + 20.specialized.stdcxx-390 \ + 23_vector_bool_stdcxx_235 + +# Test programs to execute for the 'check' target. +TESTS = \ + 18.limits.stdcxx-436 \ + 21.string.replace.stdcxx-175 \ + 21.string.stdcxx-162 \ + 21.string.stdcxx-466 \ + 22.locale.cons.stdcxx-485 \ + 22.locale.messages.stdcxx-542 \ + 22.locale.stdcxx-554 \ + 23.associative.stdcxx-16 \ + 23.bitset.cons.stdcxx-297 \ + 23.deque.special.stdcxx-127 \ + 23.list.cons.stdcxx-268 \ + 23.list.insert.stdcxx-331 \ + 23.list.special.stdcxx-334 \ + 24.operations.stdcxx-234 \ + 26.valarray.binary.stdcxx-237 \ + 26.valarray.sub.stdcxx-309 \ + 26.valarray.sub.stdcxx-448 \ + 26.valarray.transcend.stdcxx-315 \ + 27.filebuf.virtuals.stdcxx-522 \ + 27.stringbuf.members.stdcxx-427 \ + 27.stringbuf.str.stdcxx-514 \ + 27.stringbuf.xsputn.stdcxx-515 + +18_limits_stdcxx_436_SOURCES = \ + 18.limits.stdcxx-436.cpp +20_specialized_stdcxx_390_SOURCES = \ + 20.specialized.stdcxx-390.cpp +21_string_replace_stdcxx_175_SOURCES = \ + 21.string.replace.stdcxx-175.cpp +21_string_stdcxx_162_SOURCES = \ + 21.string.stdcxx-162.cpp +21_string_stdcxx_466_SOURCES = \ + 21.string.stdcxx-466.cpp +22_locale_cons_stdcxx_485_SOURCES = \ + 22.locale.cons.stdcxx-485.cpp +22_locale_messages_stdcxx_542_SOURCES = \ + 22.locale.messages.stdcxx-542.cpp +22_locale_stdcxx_554_SOURCES = \ + 22.locale.stdcxx-554.cpp +23_associative_stdcxx_16_SOURCES = \ + 23.associative.stdcxx-16.cpp +23_bitset_cons_stdcxx_297_SOURCES = \ + 23.bitset.cons.stdcxx-297.cpp +23_deque_special_stdcxx_127_SOURCES = \ + 23.deque.special.stdcxx-127.cpp +23_list_cons_stdcxx_268_SOURCES = \ + 23.list.cons.stdcxx-268.cpp +23_list_insert_stdcxx_331_SOURCES = \ + 23.list.insert.stdcxx-331.cpp +23_list_special_stdcxx_334_SOURCES = \ + 23.list.special.stdcxx-334.cpp +23_vector_bool_stdcxx_235_SOURCES = \ + 23.vector.bool.stdcxx-235.cpp +24_operations_stdcxx_234_SOURCES = \ + 24.operations.stdcxx-234.cpp +26_valarray_binary_stdcxx_237_SOURCES = \ + 26.valarray.binary.stdcxx-237.cpp +26_valarray_sub_stdcxx_309_SOURCES = \ + 26.valarray.sub.stdcxx-309.cpp +26_valarray_sub_stdcxx_448_SOURCES = \ + 26.valarray.sub.stdcxx-448.cpp +26_valarray_transcend_stdcxx_315_SOURCES = \ + 26.valarray.transcend.stdcxx-315.cpp +27_filebuf_virtuals_stdcxx_522_SOURCES = \ + 27.filebuf.virtuals.stdcxx-522.cpp +27_stringbuf_members_stdcxx_427_SOURCES = \ + 27.stringbuf.members.stdcxx-427.cpp +27_stringbuf_str_stdcxx_514_SOURCES = \ + 27.stringbuf.str.stdcxx-514.cpp +27_stringbuf_xsputn_stdcxx_515_SOURCES = \ + 27.stringbuf.xsputn.stdcxx-515.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +CLEANFILES = \ + file + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/self/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/self/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/self/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/self/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,90 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +# Test programs to build for the 'check' target. +# TODO: Fix this test program then move to TESTS. +check_PROGRAMS = \ + $(TESTS) \ + 0.printf + +# Test programs to execute for the 'check' target. +TESTS = \ + 0.alloc \ + 0.char \ + 0.cmdopts \ + 0.ctype \ + 0.inputiter \ + 0.new \ + 0.outputiter \ + 0.process \ + 0.strncmp \ + 0.valcmp + +0_alloc_SOURCES = \ + 0.alloc.cpp +0_char_SOURCES = \ + 0.char.cpp +0_cmdopts_SOURCES = \ + 0.cmdopts.cpp +0_ctype_SOURCES = \ + 0.ctype.cpp +0_inputiter_SOURCES = \ + 0.inputiter.cpp +0_new_SOURCES = \ + 0.new.cpp +0_outputiter_SOURCES = \ + 0.outputiter.cpp +0_printf_SOURCES = \ + 0.printf.cpp +0_process_SOURCES = \ + 0.process.cpp +0_strncmp_SOURCES = \ + 0.strncmp.cpp +0_valcmp_SOURCES = \ + 0.valcmp.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +CLEANFILES = \ + 0.out + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/src/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/src/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/src/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/src/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,78 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +check_LTLIBRARIES = librwtest.la + +librwtest_la_SOURCES = \ + 21.strings.cpp \ + 23.containers.cpp \ + alarm.cpp \ + alg_test.cpp \ + alloc.cpp \ + allocator.cpp \ + any.cpp \ + char.cpp \ + cmdopt.cpp \ + ctype.cpp \ + driver.cpp \ + environ.cpp \ + exception.cpp \ + file.cpp \ + fmt_bits.cpp \ + locale.cpp \ + new.cpp \ + opt_diags.cpp \ + opt_lines.cpp \ + opt_trace.cpp \ + opt_types.cpp \ + printf.cpp \ + process.cpp \ + rand.cpp \ + thread.cpp \ + valcmp.cpp \ + value.cpp + +# search paths for header files +DEFAULT_INCLUDES = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/include/ansi \ + -I$(top_srcdir)/tests/include + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +# private header files +noinst_HEADERS = \ + fmt_defs.h \ + opt_diags.h \ + opt_lines.h \ + opt_trace.h \ + opt_types.h + +librwtest_la_LDFLAGS = +#librwtest_la_LDFLAGS = -version-info 0:0:0 +# Read http://www.gnu.org/software/libtool/manual.html#Versioning before +# using this flag. + +MAINTAINERCLEANFILES = \ + Makefile.in + Added: incubator/stdcxx/branches/autotools/tests/strings/Makefile.am URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/autotools/tests/strings/Makefile.am?rev=610897&view=auto ============================================================================== --- incubator/stdcxx/branches/autotools/tests/strings/Makefile.am (added) +++ incubator/stdcxx/branches/autotools/tests/strings/Makefile.am Thu Jan 10 11:44:11 2008 @@ -0,0 +1,134 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the License); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 1999-2007 Rogue Wave Software, Inc. +# + +TESTS = $(check_PROGRAMS) + +check_PROGRAMS = \ + 21.cctype \ + 21.cwchar \ + 21.cwctype \ + 21.string.access \ + 21.string.append \ + 21.string.assign \ + 21.string.capacity \ + 21.string.compare \ + 21.string.cons \ + 21.string.cons.mt \ + 21.string.copy \ + 21.string.erase \ + 21.string.find \ + 21.string.find.first.not.of \ + 21.string.find.first.of \ + 21.string.find.last.not.of \ + 21.string.find.last.of \ + 21.string.insert \ + 21.string.io \ + 21.string.iterators \ + 21.string.op.plus \ + 21.string.op.plus.equal \ + 21.string.operators \ + 21.string.push_back.mt \ + 21.string.replace \ + 21.string.rfind \ + 21.string.substr \ + 21.string.swap + +21_cctype_SOURCES = \ + 21.cctype.cpp +21_cwchar_SOURCES = \ + 21.cwchar.cpp +21_cwctype_SOURCES = \ + 21.cwctype.cpp +21_string_access_SOURCES = \ + 21.string.access.cpp +21_string_append_SOURCES = \ + 21.string.append.cpp +21_string_assign_SOURCES = \ + 21.string.assign.cpp +21_string_capacity_SOURCES = \ + 21.string.capacity.cpp +21_string_compare_SOURCES = \ + 21.string.compare.cpp +21_string_cons_SOURCES = \ + 21.string.cons.cpp +21_string_cons_mt_SOURCES = \ + 21.string.cons.mt.cpp +21_string_copy_SOURCES = \ + 21.string.copy.cpp +21_string_erase_SOURCES = \ + 21.string.erase.cpp +21_string_find_SOURCES = \ + 21.string.find.cpp +21_string_find_first_not_of_SOURCES = \ + 21.string.find.first.not.of.cpp +21_string_find_first_of_SOURCES = \ + 21.string.find.first.of.cpp +21_string_find_last_not_of_SOURCES = \ + 21.string.find.last.not.of.cpp +21_string_find_last_of_SOURCES = \ + 21.string.find.last.of.cpp +21_string_insert_SOURCES = \ + 21.string.insert.cpp +21_string_io_SOURCES = \ + 21.string.io.cpp +21_string_iterators_SOURCES = \ + 21.string.iterators.cpp +21_string_op_plus_SOURCES = \ + 21.string.op.plus.cpp +21_string_op_plus_equal_SOURCES = \ + 21.string.op.plus.equal.cpp +21_string_operators_SOURCES = \ + 21.string.operators.cpp +21_string_push_back_mt_SOURCES = \ + 21.string.push_back.mt.cpp +21_string_replace_SOURCES = \ + 21.string.replace.cpp +21_string_rfind_SOURCES = \ + 21.string.rfind.cpp +21_string_substr_SOURCES = \ + 21.string.substr.cpp +21_string_swap_SOURCES = \ + 21.string.swap.cpp + +# Conditional defined by M4 AC_ENABLE_DEBUG macro. +if DEBUG_ENABLED + DEFS += -D_RWSTDDEBUG +endif + +INCLUDES = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/ansi \ + -I${top_srcdir}/tests/include + +LDADD = \ + ${top_builddir}/src/lib@PACKAGE_NAME@.la \ + ${top_builddir}/tests/src/librwtest.la + +DEPENDENCIES = $(LDADD) + +${top_builddir}/src/lib@PACKAGE_NAME@.la: + cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) lib@PACKAGE_NAME@.la + +${top_builddir}/tests/src/librwtest.la: + cd $(top_builddir)/tests/src && $(MAKE) $(AM_MAKEFLAGS) librwtest.la + +MAINTAINERCLEANFILES = \ + Makefile.in +