Warn when using backward headers.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 6 Apr 2001 06:08:17 +0000 (06:08 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 6 Apr 2001 06:08:17 +0000 (06:08 +0000)
2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

Warn when using backward headers.
* include/backward/algo.h: Include warning file.
* include/backward/vector.h: Same.
* include/backward/tree.h: Same.
* include/backward/tempbuf.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/stack.h: Same.
* include/backward/slist.h: Same.
* include/backward/set.h: Same.
* include/backward/rope.h:
* include/backward/queue.h: Same.
* include/backward/pair.h: Same.
* include/backward/ostream.h: Same.
* include/backward/new.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h:
* include/backward/iomanip.h:
* include/backward/heap.h: Same.
* include/backward/hashtable.h:
* include/backward/hash_set.h:
* include/backward/hash_map.h:
* include/backward/function.h:
* include/backward/fstream.h:
* include/backward/deque.h:
* include/backward/defalloc.h: Same.
* include/backward/complex.h: Same.
* include/backward/bvector.h:
* include/backward/alloc.h:
* include/backward/algobase.h: Same.

* include/backward/backward_warning.h: New file.
* src/Makefile.am (backward_headers): Add backward_warning.h
* src/Makefile.in: Regenerate.

2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (myinstalldirs): Make sure backward directory is
created.
(myinstallheaders): Install backward headers in backward directory.
* src/Makefile.in: Regenerate.

From-SVN: r41139

44 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/Makefile.in
libstdc++-v3/include/backward/algo.h
libstdc++-v3/include/backward/algobase.h
libstdc++-v3/include/backward/alloc.h
libstdc++-v3/include/backward/backward_warning.h [new file with mode: 0644]
libstdc++-v3/include/backward/bvector.h
libstdc++-v3/include/backward/complex.h
libstdc++-v3/include/backward/defalloc.h
libstdc++-v3/include/backward/deque.h
libstdc++-v3/include/backward/fstream.h
libstdc++-v3/include/backward/function.h
libstdc++-v3/include/backward/hash_map.h
libstdc++-v3/include/backward/hash_set.h
libstdc++-v3/include/backward/hashtable.h
libstdc++-v3/include/backward/heap.h
libstdc++-v3/include/backward/iomanip.h
libstdc++-v3/include/backward/iostream.h
libstdc++-v3/include/backward/istream.h
libstdc++-v3/include/backward/iterator.h
libstdc++-v3/include/backward/list.h
libstdc++-v3/include/backward/map.h
libstdc++-v3/include/backward/multimap.h
libstdc++-v3/include/backward/multiset.h
libstdc++-v3/include/backward/new.h
libstdc++-v3/include/backward/ostream.h
libstdc++-v3/include/backward/pair.h
libstdc++-v3/include/backward/queue.h
libstdc++-v3/include/backward/rope.h
libstdc++-v3/include/backward/set.h
libstdc++-v3/include/backward/slist.h
libstdc++-v3/include/backward/stack.h
libstdc++-v3/include/backward/stream.h
libstdc++-v3/include/backward/streambuf.h
libstdc++-v3/include/backward/strstream
libstdc++-v3/include/backward/tempbuf.h
libstdc++-v3/include/backward/tree.h
libstdc++-v3/include/backward/vector.h
libstdc++-v3/libio/Makefile.in
libstdc++-v3/libmath/Makefile.in
libstdc++-v3/libsupc++/Makefile.in
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in
libstdc++-v3/testsuite/Makefile.in

index f0509c2e64ed0500567293e637470ae01fc60810..554fbeeeae44c491937760e91786f251a1dfce6b 100644 (file)
@@ -1,3 +1,53 @@
+2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       Warn when using backward headers.
+       * include/backward/algo.h: Include warning file.        
+       * include/backward/vector.h: Same.
+       * include/backward/tree.h: Same.
+       * include/backward/tempbuf.h: Same.
+       * include/backward/strstream: Same.
+       * include/backward/streambuf.h: Same.
+       * include/backward/stream.h: Same.
+       * include/backward/stack.h: Same.
+       * include/backward/slist.h: Same.
+       * include/backward/set.h: Same.
+       * include/backward/rope.h: 
+       * include/backward/queue.h: Same.
+       * include/backward/pair.h: Same.
+       * include/backward/ostream.h: Same.
+       * include/backward/new.h: Same.
+       * include/backward/multiset.h: Same.
+       * include/backward/multimap.h: Same.
+       * include/backward/map.h: Same.
+       * include/backward/list.h: Same.
+       * include/backward/iterator.h: Same.
+       * include/backward/istream.h: Same.
+       * include/backward/iostream.h: 
+       * include/backward/iomanip.h: 
+       * include/backward/heap.h: Same.
+       * include/backward/hashtable.h: 
+       * include/backward/hash_set.h: 
+       * include/backward/hash_map.h: 
+       * include/backward/function.h: 
+       * include/backward/fstream.h: 
+       * include/backward/deque.h: 
+       * include/backward/defalloc.h: Same.
+       * include/backward/complex.h: Same.
+       * include/backward/bvector.h: 
+       * include/backward/alloc.h: 
+       * include/backward/algobase.h: Same.
+
+       * include/backward/backward_warning.h: New file.
+       * src/Makefile.am (backward_headers): Add backward_warning.h
+       * src/Makefile.in: Regenerate.
+
+2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/Makefile.am (myinstalldirs): Make sure backward directory is
+       created.
+       (myinstallheaders): Install backward headers in backward directory.
+       * src/Makefile.in: Regenerate.
+       
 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
 
        Prepare for libstdc++-2.92.
index 301025bcf5d335e28a0cd94c1c9c886c8394c277..6fb1b8f22ccee649b2c6b771845acbab794ac3a7 100644 (file)
@@ -135,48 +135,7 @@ MULTICLEAN = true
 # Work around what appears to be a GNU make bug handling MAKEFLAGS
 # values defined in terms of make variables, as is the case for CC and
 # friends when we are called from the top level Makefile.
-AM_MAKEFLAGS = \
-       "AR_FLAGS=$(AR_FLAGS)" \
-       "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
-       "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
-       "CFLAGS=$(CFLAGS)" \
-       "CXXFLAGS=$(CXXFLAGS)" \
-       "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
-       "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
-       "INSTALL=$(INSTALL)" \
-       "INSTALL_DATA=$(INSTALL_DATA)" \
-       "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
-       "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
-       "LDFLAGS=$(LDFLAGS)" \
-       "LIBCFLAGS=$(LIBCFLAGS)" \
-       "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
-       "MAKE=$(MAKE)" \
-       "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
-       "PICFLAG=$(PICFLAG)" \
-       "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
-       "SHELL=$(SHELL)" \
-       "EXPECT=$(EXPECT)" \
-       "RUNTEST=$(RUNTEST)" \
-       "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
-       "exec_prefix=$(exec_prefix)" \
-       "infodir=$(infodir)" \
-       "libdir=$(libdir)" \
-       "includedir=$(includedir)" \
-       "prefix=$(prefix)" \
-       "tooldir=$(tooldir)" \
-       "AR=$(AR)" \
-       "AS=$(AS)" \
-       "CC=$(CC)" \
-       "CXX=$(CXX)" \
-       "LD=$(LD)" \
-       "LIBCFLAGS=$(LIBCFLAGS)" \
-       "PICFLAG=$(PICFLAG)" \
-       "RANLIB=$(RANLIB)" \
-       "NM=$(NM)" \
-       "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
-       "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
-       "DESTDIR=$(DESTDIR)" \
-       "WERROR=$(WERROR)" 
+AM_MAKEFLAGS =         "AR_FLAGS=$(AR_FLAGS)"  "CC_FOR_BUILD=$(CC_FOR_BUILD)"  "CC_FOR_TARGET=$(CC_FOR_TARGET)"        "CFLAGS=$(CFLAGS)"      "CXXFLAGS=$(CXXFLAGS)"  "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)"  "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)"        "INSTALL=$(INSTALL)"    "INSTALL_DATA=$(INSTALL_DATA)"  "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"    "INSTALL_SCRIPT=$(INSTALL_SCRIPT)"      "LDFLAGS=$(LDFLAGS)"    "LIBCFLAGS=$(LIBCFLAGS)"        "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)"  "MAKE=$(MAKE)"  "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"         "PICFLAG=$(PICFLAG)"    "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)"      "SHELL=$(SHELL)"        "EXPECT=$(EXPECT)"      "RUNTEST=$(RUNTEST)"    "RUNTESTFLAGS=$(RUNTESTFLAGS)"  "exec_prefix=$(exec_prefix)"    "infodir=$(infodir)"    "libdir=$(libdir)"      "includedir=$(includedir)"      "prefix=$(prefix)"      "tooldir=$(tooldir)"    "AR=$(AR)"      "AS=$(AS)"      "CC=$(CC)"      "CXX=$(CXX)"    "LD=$(LD)"      "LIBCFLAGS=$(LIBCFLAGS)"        "PICFLAG=$(PICFLAG)"    "RANLIB=$(RANLIB)"      "NM=$(NM)"      "NM_FOR_BUILD=$(NM_FOR_BUILD)"  "NM_FOR_TARGET=$(NM_FOR_TARGET)"        "DESTDIR=$(DESTDIR)"    "WERROR=$(WERROR)" 
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 CONFIG_HEADER = config.h
index f580dcf22dc680301e7036b52eda715a4cb5eb14..20a2dd2d38054f9b3e755c6298e071199dc1b278 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_ALGO_H
 #define _CPP_BACKWARD_ALGO_H 1
 
+#include "backward_warning.h"
 #include "algobase.h"
 #include "tempbuf.h"
 #include "iterator.h"
index b9189559e3b3091d2eb5ec54934aaea89e1a03c5..f9adcc036ae9ca5409920e5f147abbbc9a829de9 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef _CPP_BACKWARD_ALGOBASE_H
 #define _CPP_BACKWARD_ALGOBASE_H 1
 
+#include "backward_warning.h"
 #include "pair.h"
 #include "iterator.h"
 #include <bits/stl_algobase.h>
index 3997d14ab15301f28e0e69ad15bf38029ebe2250..54a6fb17a401b3560dea5352a72940b43537af8d 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef _CPP_BACKWARD_ALLOC_H
 #define _CPP_BACKWARD_ALLOC_H 1
 
+#include "backward_warning.h"
 #include <bits/c++config.h>
 #include <bits/stl_alloc.h>
 
diff --git a/libstdc++-v3/include/backward/backward_warning.h b/libstdc++-v3/include/backward/backward_warning.h
new file mode 100644 (file)
index 0000000..973dee0
--- /dev/null
@@ -0,0 +1,38 @@
+// Copyright (C) 2001 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library 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, or (at your option)
+// any later version.
+
+// This library 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 library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_BACKWARD_WARNING_H
+#define _CPP_BACKWARD_BACKWARD_WARNING_H 1
+
+#ifdef __DEPRECATED
+# warning "This file includes at least one deprecated or antiquated header."
+# warning "Please use the <X> file instead of <X.h> file for "C++" includes"
+# warning "and use the <cX> file instead of <X.h> file for "C" includes."
+# warning "To disable this warning use -Wno-deprecated."
+#endif
+
+#endif
index 48a713ff3962ccc9d1871669e16c253767555405..8a1ab0d393d4b5087b80015727b2e523b7483ffa 100644 (file)
@@ -28,6 +28,7 @@
 #define __SGI_STL_BVECTOR_H
 
 
+#include "backward_warning.h"
 #include <bits/std_vector.h>
 
 using std::bit_vector;
index 055eef9af11328563016170602fbb577a7447875..c7e1d1c1bec7cb89c890dc58ebaa2a1ea7966157 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_COMPLEX_H
 #define _CPP_BACKWARD_COMPLEX_H 1
 
+#include "backward_warning.h"
 #include <bits/std_complex.h>
 
 using std::complex;
index 8edee690bc6f98dad2ad0a9d81aac04fd1055cf7..5f4428f9e08389b2c1f9e724bad7ab39a376fa27 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef _CPP_BACKWARD_DEFALLOC_H
 #define _CPP_BACKWARD_DEFALLOC_H 1
 
+#include "backward_warning.h"
 #include "new.h"
 #include <stddef.h>
 #include <stdlib.h>
index 65d85bfef5c495dac1f99b1250b4c79926ca3f58..81284518e501352c9b1428787236fa067e9be570 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_DEQUE_H
 #define _CPP_BACKWARD_DEQUE_H 1
 
+#include "backward_warning.h"
 #include "algobase.h"
 #include "alloc.h"
 #include <bits/std_deque.h>
index 6252d5d096927cd2b663fe9494364c77528dde8f..4f03e4c6c845bac817ce5ea01cde4ea3f62a2e3a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2000 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_FSTREAM_H
 #define _CPP_BACKWARD_FSTREAM_H 1
 
+#include "backward_warning.h"
 #include <bits/std_fstream.h>
 
 using std::filebuf;
index 747135eac610d836b629cb3f11d47dedd1b1cfe4..a49c36ba1cd3207e7f4a3cadecf03d65e2092d68 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_FUNCTION_H
 #define _CPP_BACKWARD_FUNCTION_H 1
 
+#include "backward_warning.h"
 #include <bits/c++config.h>
 #include <stddef.h>
 #include <bits/stl_function.h>
index fd8d823cb0050a44a99732d89b5bf3668497618a..b5d0da2d53dd67d35e2b75a1aa3618684772b218 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_HASH_MAP_H
 #define _CPP_BACKWARD_HASH_MAP_H 1
 
+#include "backward_warning.h"
 #include "algobase.h"
 #include <ext/hash_map>
 
index 9458910a5f9da0b757ec7552cccd80fea9d87f89..b09ba41d066ee4e2ea45c8e92b3d55efb646d010 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_HASH_SET_H
 #define _CPP_BACKWARD_HASH_SET_H 1
 
+#include "backward_warning.h"
 #include "algobase.h"
 #include <ext/hash_set>
 
index e2c5160d673f7e0404c58b206538d1fa2402eccc..d5d138efa5ec786c374c4ad36f8a963c770a1e2f 100644 (file)
@@ -31,6 +31,7 @@
 #ifndef _CPP_BACKWARD_HASHTABLE_H
 #define _CPP_BACKWARD_HASHTABLE_H 1
 
+#include "backward_warning.h"
 #include <ext/stl_hashtable.h>
 #include "algo.h"
 #include "alloc.h"
index 8c73b3d1c260551d18784e03621c2b5e8caa0d76..eb0161b3ec0e5f055b2b90dc3ff974f63be320aa 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef _CPP_BACKWARD_HEAP_H
 #define _CPP_BACKWARD_HEAP_H 1
 
+#include "backward_warning.h"
 #include <bits/c++config.h>
 #include <bits/stl_heap.h>
 
index 10cd3ba9fe0ae8b77dfe4db4bd82e6dba0bf556b..dad183edde16f1b741f033ded538750de2adb0fe 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_IOMANIP_H
 #define _CPP_BACKWARD_IOMANIP_H 1
 
+#include "backward_warning.h"
 #include "iostream.h"
 #include <bits/std_iomanip.h>
 
index 81877d8b169b35f57f7b460af95e75cc574a3e68..0d258af1434b34abb217d8468cbb39f1c671cc75 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_IOSTREAM_H
 #define _CPP_BACKWARD_IOSTREAM_H 1
 
+#include "backward_warning.h"
 #include <bits/std_iostream.h>
 
 using std::iostream;
index 45344796d70fe934d9cfdc5893c24da0788a41ba..059e7742e2fa0dafc7a5053befe0196011b3df7a 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_ISTREAM_H
 #define _CPP_BACKWARD_ISTREAM_H 1
 
+#include "backward_warning.h"
 #include "iostream.h"
 
 #endif
index d285160ca46907a931a78fc908c1ed72f8ed370c..eea2c01c960c0e03b78f15a745ba88a6ba2f6659 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_ITERATOR_H
 #define _CPP_BACKWARD_ITERATOR_H 1
 
+#include "backward_warning.h"
 #include "function.h"
 #include <stddef.h>
 #include "iostream.h"
index 5870ee0ed7fbb9909ae5ae42ab6efb19538e1011..27d3cd3c0f5d3c91401f02c74a3be9a1fb1be6e8 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_LIST_H
 #define _CPP_BACKWARD_LIST_H 1
 
+#include "backward_warning.h"
 #include "algobase.h"
 #include "alloc.h"
 #include <bits/std_list.h>
index e9058c18220777486d971dbf0c12977896db4f30..911f59e51e4bb39d30dd182d97a6f02ded216073 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_MAP_H
 #define _CPP_BACKWARD_MAP_H 1
 
+#include "backward_warning.h"
 #include "tree.h"
 #include <bits/std_map.h>
 
index 04db0067497f31176c15da6af5544119d5d8b647..1ecbb8152c45941c295d417f3bf89a3fbe526601 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_MULTIMAP_H
 #define _CPP_BACKWARD_MULTIMAP_H 1
 
+#include "backward_warning.h"
 #include "tree.h"
 #include <bits/std_map.h>
 
index d78e6f8059be2524a7a2a964b1a4ac86796d9e99..19a2f4cb0a00ba0b337cb9cf413e209d8605a096 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_MULTISET_H
 #define _CPP_BACKWARD_MULTISET_H 1
 
+#include "backward_warning.h"
 #include "tree.h"
 #include <bits/std_set.h>
 
index e888126cf7775866b824843f0bcfca6bbaa25261..8e4c5c939975d351702dbfb7bf2f8eba142f2cb6 100644 (file)
@@ -30,6 +30,7 @@
 #ifndef _CPP_BACKWARD_NEW_H
 #define _CPP_BACKWARD_NEW_H 1
 
+#include "backward_warning.h"
 #include <new>
 
 using std::bad_alloc;
index 53a983c3d88edcac715276e222f7c4dc92278834..4c74756192ea64097d0a9ba85fbe0edc37509cb2 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_OSTREAM_H
 #define _CPP_BACKWARD_OSTREAM_H 1
 
+#include "backward_warning.h"
 #include "iostream.h"
 
 #endif 
index 0c6995873499490822a71060d3a8c8f0d68870c7..b0ce3cc5a3af0aad8ca238f52bc520d9a9c55f1d 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_PAIR_H
 #define _CPP_BACKWARD_PAIR_H 1
 
+#include "backward_warning.h"
 #include <bits/c++config.h>
 #include <bits/stl_pair.h>
 
index f6a4b1b509f3fa8b8c1c6819b94e7df681bf7b6c..6eaf246a18b3d5ff0b4d58d9c78f23453edc27a4 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_QUEUE_H
 #define _CPP_BACKWARD_QUEUE_H 1
 
+#include "backward_warning.h"
 #include <bits/std_queue.h>
 
 using std::queue;
index 6dafb1697a6b3173288b09cc4127487c57454bb6..abbef9efd6fe5b1fab7accf7916245a97142339b 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef _CPP_BACKWARD_ROPE_H
 #define _CPP_BACKWARD_ROPE_H 1
 
+#include "backward_warning.h"
 #include "hashtable.h"   
 #include <ext/rope>
 
index 7822bea10c2fbd873542296862fb9278d5dc6307..68d3c4cb935ad2f6d6dcd620932c3cd8c60496ae 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_SET_H
 #define _CPP_BACKWARD_SET_H 1
 
+#include "backward_warning.h"
 #include "tree.h"
 #include <bits/std_set.h>
 
index d979829328d2a3cb8381b2e18a506f9c4714b8fc..b643740ba7532fdd7b5bdf79c5afa576d662cf5c 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef _CPP_BACKWARD_SLIST_H
 #define _CPP_BACKWARD_SLIST_H 1
 
+#include "backward_warning.h"
 #include <ext/slist>
 
 using std::slist;
index a9a800aabe0a588e8ff7c6a1ff1c5bdcd0112b67..48342365b516591ad2eb9e8b939a6822accf627b 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_STACK_H
 #define _CPP_BACKWARD_STACK_H 1
 
+#include "backward_warning.h"
 #include "vector.h"
 #include "deque.h"
 #include "heap.h"
index b22d686fb9e58689a488d174e4f028971a21ed1b..21a851decd8a90cc66dabfdca95df54c86382102 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_STREAM_H
 #define _CPP_BACKWARD_STREAM_H 1
 
+#include "backward_warning.h"
 #include "iostream.h"
 
 #endif 
index a0df9f6440d7db4600924aaea20fd1f2491d2cf6..3965816dc451ac36e117e197963301528a5cfe61 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef _CPP_BACKWARD_STREAMBUF_H
 #define _CPP_BACKWARD_STREAMBUF_H 1
 
+#include "backward_warning.h"
 #include <bits/std_streambuf.h>
 
 using std::streambuf;
index 51db6b5c91fa3d104b8489bd260adb3650ca5809..ed9a6b84418350cfcac11506c970949c53f15aad 100644 (file)
 #ifndef __SGI_STL_STRSTREAM
 #define __SGI_STL_STRSTREAM
 
-#if defined(__sgi) && !defined(__GNUC__) && !defined(_STANDARD_C_PLUS_PLUS)
-#error This header file requires the -LANG:std option
-#endif
-
+#include "backward_warning.h"
 #include <bits/std_iosfwd.h>
 #include <bits/std_ios.h>
 #include <bits/std_istream.h>
index 425adf10cb661a5a7d4ca4f5153de2380daff151..afb81bf64d4e79c03a087b496287c24e9dcd2094 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_TEMPBUF_H
 #define _CPP_BACKWARD_TEMPBUF_H 1
 
+#include "backward_warning.h"
 #include "pair.h"
 #include "iterator.h"
 #include <limits.h>
index 728544b62f00f7e8e241b39a4f879e4f3c7dceaa..9c732236f1a21b04bde10e78d79cfa32927b0938 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef _CPP_EXT_TREE
 #define _CPP_EXT_TREE 1
 
+#include "backward_warning.h"
 #include <bits/stl_tree.h>
 
 using std::rb_tree;
index fd6a4bd3f6e5fad2fdbd5c291cb09fc6da32f344..cea51ebc195fd38649f5a57c5b5f6be985794242 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef _CPP_BACKWARD_VECTOR_H
 #define _CPP_BACKWARD_VECTOR_H 1
 
+#include "backward_warning.h"
 #include "algobase.h"
 #include "alloc.h"  
 #include <bits/std_vector.h>
index 897ea7ab9f4564c450e3515a114c215c2e14958a..07b420558db6b268f9728ae3f68a6ae4c17b56ba 100644 (file)
@@ -111,7 +111,7 @@ xcompiling = @xcompiling@
 AUTOMAKE_OPTIONS = 1.3 cygnus
 
 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
-@GLIBCPP_BUILD_LIBIO_TRUE@noinst_LTLIBRARIES = @GLIBCPP_BUILD_LIBIO_TRUE@libio.la
+@GLIBCPP_BUILD_LIBIO_TRUE@noinst_LTLIBRARIES = libio.la
 @GLIBCPP_BUILD_LIBIO_FALSE@noinst_LTLIBRARIES = 
 
 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
@@ -123,21 +123,14 @@ LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
 LIBIO_INCLUDES = @LIBIO_INCLUDES@
 CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
 
-INCLUDES = \
-       -nostdinc++ \
-       -I$(top_builddir)/include -I$(GLIBCPP_INCLUDE_DIR) \
-       $(LIBIO_INCLUDES) $(TOPLEVEL_INCLUDES)  
+INCLUDES =     -nostdinc++     -I$(top_builddir)/include -I$(GLIBCPP_INCLUDE_DIR)      $(LIBIO_INCLUDES) $(TOPLEVEL_INCLUDES)  
 
 
-libio_headers = \
-        libio.h libioP.h iolibio.h
+libio_headers =          libio.h libioP.h iolibio.h
 
-@GLIBCPP_NEED_LIBIO_TRUE@LIBIO_SRCS = @GLIBCPP_NEED_LIBIO_TRUE@\
-@GLIBCPP_NEED_LIBIO_TRUE@      filedoalloc.c genops.c fileops.c stdfiles.c c_codecvt.c \
-@GLIBCPP_NEED_LIBIO_TRUE@      iofclose.c iofopen.c 
+@GLIBCPP_NEED_LIBIO_TRUE@LIBIO_SRCS =  filedoalloc.c genops.c fileops.c stdfiles.c c_codecvt.c         iofclose.c iofopen.c 
 @GLIBCPP_NEED_LIBIO_FALSE@LIBIO_SRCS = 
-@GLIBCPP_NEED_WLIBIO_TRUE@LIBIO_WSRCS = @GLIBCPP_NEED_WLIBIO_TRUE@\
-@GLIBCPP_NEED_WLIBIO_TRUE@     wfiledoalloc.c wfileops.c wgenops.c iofwide.c
+@GLIBCPP_NEED_WLIBIO_TRUE@LIBIO_WSRCS =        wfiledoalloc.c wfileops.c wgenops.c iofwide.c
 @GLIBCPP_NEED_WLIBIO_FALSE@LIBIO_WSRCS = 
 
 EXTRA_DIST = iostreamP.h
index 76191e97d3e7f48c837d20a783d9aebcad75178f..4aa5b2a1d8fd8d3a1b3eff624c638dfb14f8748c 100644 (file)
@@ -114,24 +114,18 @@ mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
 
 noinst_LTLIBRARIES = libmath.la
 
-EXTRA_LONG_DOUBLE_yes = \
-       hypotl.c signbitl.c
+EXTRA_LONG_DOUBLE_yes =        hypotl.c signbitl.c
 
 
-EXTRA_DIST = \
-       hypot.c hypotf.c atan2f.c expf.c \
-       $(EXTRA_LONG_DOUBLE_yes) 
+EXTRA_DIST =   hypot.c hypotf.c atan2f.c expf.c        $(EXTRA_LONG_DOUBLE_yes) 
 
 
-libmath_la_LIBADD = \
-       @LIBMATHOBJS@ \
-       $(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE)) 
+libmath_la_LIBADD =    @LIBMATHOBJS@   $(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE)) 
 
 
 libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
 
-libmath_la_SOURCES = \
-       signbit.c signbitf.c
+libmath_la_SOURCES =   signbit.c signbitf.c
 
 
 LINK = $(LIBTOOL) --mode=link "$(CCLD)" $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
@@ -145,9 +139,7 @@ LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
 LIBIO_INCLUDES = @LIBIO_INCLUDES@
 CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
 
-INCLUDES = \
-       -I$(GLIBCPP_INCLUDE_DIR) -I$(top_builddir)/include  \
-       $(TOPLEVEL_INCLUDES) 
+INCLUDES =     -I$(GLIBCPP_INCLUDE_DIR) -I$(top_builddir)/include      $(TOPLEVEL_INCLUDES) 
 
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
index 226902c1c18ff5b8b0aa899485d7370aef74c946..edeec53e47e77659553eb1686f56b8db57936179 100644 (file)
@@ -129,13 +129,11 @@ OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
 # These bits are all figured out from configure. Look in acinclude.m4
 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
-CONFIG_CXXFLAGS = \
-       @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
+CONFIG_CXXFLAGS =      @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
 
 
 # Warning flags to use.
-WARN_CXXFLAGS = \
-       @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
+WARN_CXXFLAGS =        @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
 
 
 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
@@ -147,38 +145,13 @@ LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
 LIBIO_INCLUDES = @LIBIO_INCLUDES@
 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
 
-INCLUDES = \
-       -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include \
-       -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include \
-        $(LIBSUPCXX_INCLUDES)
-
-
-headers = \
-       exception new typeinfo cxxabi.h exception_defines.h 
-
-
-sources = \
-       del_op.cc \
-       del_opnt.cc \
-       del_opv.cc \
-       del_opvnt.cc \
-       eh_alloc.cc \
-       eh_aux_runtime.cc \
-       eh_catch.cc \
-       eh_exception.cc \
-       eh_globals.cc \
-       eh_personality.cc \
-       eh_terminate.cc \
-       eh_throw.cc \
-       new_handler.cc \
-       new_op.cc \
-       new_opnt.cc \
-       new_opv.cc \
-       new_opvnt.cc \
-       pure.cc \
-       tinfo.cc \
-       tinfo2.cc \
-       vec.cc
+INCLUDES =     -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include   -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include      $(LIBSUPCXX_INCLUDES)
+
+
+headers =      exception new typeinfo cxxabi.h exception_defines.h 
+
+
+sources =      del_op.cc       del_opnt.cc     del_opv.cc      del_opvnt.cc    eh_alloc.cc     eh_aux_runtime.cc       eh_catch.cc     eh_exception.cc         eh_globals.cc   eh_personality.cc       eh_terminate.cc         eh_throw.cc     new_handler.cc  new_op.cc       new_opnt.cc     new_opv.cc      new_opvnt.cc    pure.cc         tinfo.cc        tinfo2.cc       vec.cc
 
 
 libsupc___la_SOURCES = $(sources)
@@ -194,12 +167,7 @@ LIBSUPCXX_CXXFLAGS = -prefer-pic
 # set this option because CONFIG_CXXFLAGS has to be after
 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
 # as the occasion call for it. (ie, --enable-debug)
-AM_CXXFLAGS = \
-       -fno-implicit-templates \
-       $(LIBSUPCXX_CXXFLAGS) \
-       $(WARN_CXXFLAGS) \
-       $(OPTIMIZE_CXXFLAGS) \
-       $(CONFIG_CXXFLAGS) 
+AM_CXXFLAGS =          -fno-implicit-templates         $(LIBSUPCXX_CXXFLAGS)   $(WARN_CXXFLAGS)        $(OPTIMIZE_CXXFLAGS)    $(CONFIG_CXXFLAGS) 
 
 
 # libstdc++ libtool notes
@@ -223,9 +191,7 @@ AM_CXXFLAGS = \
 #
 # We have to put --tag disable-shared after --tag CXX lest things
 # CXX undo the affect of disable-shared.
-LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
-               --mode=compile $(CXX) $(INCLUDES) \
-              $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
+LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared                --mode=compile $(CXX) $(INCLUDES)             $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
 
 
 # 3) We'd have a problem when building the shared libstdc++ object if
@@ -234,9 +200,7 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
 # course is problematic at this point.  So, we get the top-level
 # directory to configure libstdc++-v3 to use gcc as the C++
 # compilation driver.
-CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
-          --mode=link $(CXX) \
-          @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
+CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared           --mode=link $(CXX)           @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
 
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
index d9dac6cc66c0eae3c81e053b62bff7fae7fb060e..055c7cd25dbad2d5d1e48315e517b347c0019b88 100644 (file)
@@ -21,7 +21,7 @@
 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 ## USA.
 
-## $Id: Makefile.am,v 1.80 2001/03/31 20:15:43 bkoz Exp $
+## $Id: Makefile.am,v 1.81 2001/04/03 00:26:58 pme Exp $
 
 AUTOMAKE_OPTIONS = 1.3 gnits
 MAINT_CHARSET = latin1
@@ -110,7 +110,7 @@ backward_headers = \
        backward/pair.h backward/queue.h backward/rope.h backward/set.h \
        backward/slist.h backward/stack.h backward/tempbuf.h backward/tree.h \
        backward/vector.h backward/fstream.h backward/strstream.h \
-       backward/strstream
+       backward/strstream backward/backward_warning.h
 
 ext_headers = \
        ext/rope ext/ropeimpl.h ext/stl_rope.h \
@@ -234,6 +234,7 @@ install-data-local: myinstalldirs myinstallheaders
 # NB: installation of shadow header directories is not attempted.
 myinstalldirs:
        if test -z "$(MULTISUBDIR)"; then \
+       $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/backward; \
        $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/bits; \
        $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/ext; \
        $(mkinstalldirs) $(DESTDIR)$(gxx_target_include_dir)/bits; \
@@ -248,19 +249,19 @@ c_incdir = @C_INCLUDE_DIR@
 myinstallheaders: 
        if test -z "$(MULTISUBDIR)"; then \
        for i in $(base_headers); do \
-       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/"; \
+       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/";\
          $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/; \
        done; \
        for i in $(ext_headers); do \
-       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/"; \
+       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/";\
          $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/; \
        done; \
        for i in $(backward_headers); do \
-       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)"; \
-         $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir); \
+       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/backward/";\
+         $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/backward/; \
        done; \
        for i in $(c_base_headers); do \
-       echo "$(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/"; \
+       echo "$(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/";\
          $(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/; \
        done; \
        for i in $(std_headers); do \
index 04779bf74b440a196d18e6a3c74dafd6ba3b6dac..21c3b02d0f510af54aa8ddad851494b8218328fe 100644 (file)
@@ -121,13 +121,11 @@ OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
 # These bits are all figured out from configure. Look in acinclude.m4
 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
-CONFIG_CXXFLAGS = \
-       @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
+CONFIG_CXXFLAGS =      @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
 
 
 # Warning flags to use.
-WARN_CXXFLAGS = \
-       @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
+WARN_CXXFLAGS =        @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
 
 
 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
@@ -139,132 +137,44 @@ LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
 LIBIO_INCLUDES = @LIBIO_INCLUDES@
 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
 
-INCLUDES = \
-       -nostdinc++ \
-       -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include \
-       $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
-       $(TOPLEVEL_INCLUDES)
-
-
-base_headers = \
-       bits/cpp_type_traits.h bits/char_traits.h bits/codecvt.h \
-       bits/stringfwd.h bits/std_string.h bits/basic_string.h \
-       bits/basic_string.tcc \
-       bits/generic_shadow.h bits/std_utility.h \
-       bits/std_complex.h \
-       bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h \
-       bits/std_valarray.h bits/mask_array.h bits/slice.h bits/slice_array.h \
-       bits/gslice.h bits/gslice_array.h bits/indirect_array.h \
-       bits/std_fstream.h bits/std_iomanip.h \
-       bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc \
-       bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h \
-       bits/std_istream.h bits/istream.tcc bits/std_locale.h \
-       bits/fstream.tcc bits/ostream.tcc bits/sbuf_iter.h bits/sstream.tcc \
-       bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h \
-       bits/streambuf.tcc bits/basic_file.h \
-       bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h \
-       bits/stl_pthread_alloc.h bits/pthread_allocimpl.h \
-       bits/stl_threads.h \
-       bits/stl_iterator_base_types.h bits/stl_iterator_base_funcs.h \
-       bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
-       bits/std_iterator.h bits/std_list.h \
-       bits/std_map.h bits/std_memory.h bits/std_numeric.h \
-       bits/std_queue.h bits/std_set.h bits/std_stack.h \
-       bits/std_stdexcept.h bits/functexcept.h bits/std_vector.h \
-       bits/stl_algo.h bits/stl_algobase.h bits/stl_alloc.h \
-       bits/stl_deque.h bits/stl_function.h \
-       bits/stl_heap.h bits/stl_iterator.h bits/stl_list.h bits/stl_map.h \
-       bits/stl_multimap.h bits/stl_multiset.h bits/stl_numeric.h \
-       bits/stl_pair.h bits/stl_queue.h bits/stl_raw_storage_iter.h \
-       bits/stl_relops.h bits/stl_set.h bits/stl_stack.h bits/stl_tempbuf.h \
-       bits/stl_tree.h bits/stl_uninitialized.h bits/stl_vector.h \
-       bits/stl_bvector.h bits/type_traits.h bits/std_algorithm.h \
-       bits/stl_construct.h bits/boost_concept_check.h bits/concept_check.h
-
-
-backward_headers = \
-       backward/complex.h backward/iomanip.h backward/istream.h \
-       backward/ostream.h backward/stream.h backward/streambuf.h \
-       backward/algo.h backward/algobase.h backward/alloc.h \
-       backward/bvector.h backward/defalloc.h backward/deque.h \
-       backward/function.h backward/hash_map.h backward/hash_set.h \
-       backward/hashtable.h backward/heap.h backward/iostream.h \
-       backward/iterator.h backward/list.h backward/map.h \
-       backward/multimap.h backward/new.h backward/multiset.h \
-       backward/pair.h backward/queue.h backward/rope.h backward/set.h \
-       backward/slist.h backward/stack.h backward/tempbuf.h backward/tree.h \
-       backward/vector.h backward/fstream.h backward/strstream.h \
-       backward/strstream
-
-
-ext_headers = \
-       ext/rope ext/ropeimpl.h ext/stl_rope.h \
-       ext/slist ext/hash_map ext/hash_set \
-       ext/stl_hashtable.h ext/stl_hash_fun.h 
-
-
-c_base_headers = \
-       bits/std_cassert.h bits/std_cctype.h bits/std_cerrno.h \
-       bits/std_cfloat.h bits/std_climits.h bits/std_clocale.h \
-       bits/std_cmath.h bits/std_csetjmp.h bits/std_csignal.h \
-       bits/std_cstdarg.h bits/std_cstddef.h bits/std_cstdio.h \
-       bits/std_cstdlib.h bits/std_cstring.h bits/std_ctime.h \
-       bits/std_cwchar.h bits/std_cwctype.h bits/cmath.tcc
-
-@GLIBCPP_USE_CSHADOW_TRUE@c_shadow_headers = @GLIBCPP_USE_CSHADOW_TRUE@\
-@GLIBCPP_USE_CSHADOW_TRUE@     assert.h ctype.h errno.h float.h limits.h locale.h math.h setjmp.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     signal.h stdarg.h stddef.h stdio.h stdlib.h string.h time.h wchar.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     wctype.h fcntl.h libio.h iolibio.h libioP.h pthread.h iconv.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     features.h langinfo.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     bits/wrap_libio.h bits/wrap_iolibio.h bits/wrap_libioP.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     bits/wrap_iconv.h bits/wrap_fcntl.h bits/wrap_pthread.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     bits/wrap_features.h bits/wrap_langinfo.h \
-@GLIBCPP_USE_CSHADOW_TRUE@     sys/cdefs.h 
+INCLUDES =     -nostdinc++     -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include     $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES)     $(TOPLEVEL_INCLUDES)
+
+
+base_headers =         bits/cpp_type_traits.h bits/char_traits.h bits/codecvt.h        bits/stringfwd.h bits/std_string.h bits/basic_string.h  bits/basic_string.tcc   bits/generic_shadow.h bits/std_utility.h        bits/std_complex.h      bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h      bits/std_valarray.h bits/mask_array.h bits/slice.h bits/slice_array.h   bits/gslice.h bits/gslice_array.h bits/indirect_array.h         bits/std_fstream.h bits/std_iomanip.h   bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc         bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h    bits/std_istream.h bits/istream.tcc bits/std_locale.h   bits/fstream.tcc bits/ostream.tcc bits/sbuf_iter.h bits/sstream.tcc     bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h      bits/streambuf.tcc bits/basic_file.h    bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h    bits/stl_pthread_alloc.h bits/pthread_allocimpl.h       bits/stl_threads.h      bits/stl_iterator_base_types.h bits/stl_iterator_base_funcs.h   bits/std_bitset.h bits/std_deque.h bits/std_functional.h        bits/std_iterator.h bits/std_list.h     bits/std_map.h bits/std_memory.h bits/std_numeric.h     bits/std_queue.h bits/std_set.h bits/std_stack.h        bits/std_stdexcept.h bits/functexcept.h bits/std_vector.h       bits/stl_algo.h bits/stl_algobase.h bits/stl_alloc.h    bits/stl_deque.h bits/stl_function.h    bits/stl_heap.h bits/stl_iterator.h bits/stl_list.h bits/stl_map.h      bits/stl_multimap.h bits/stl_multiset.h bits/stl_numeric.h      bits/stl_pair.h bits/stl_queue.h bits/stl_raw_storage_iter.h    bits/stl_relops.h bits/stl_set.h bits/stl_stack.h bits/stl_tempbuf.h    bits/stl_tree.h bits/stl_uninitialized.h bits/stl_vector.h      bits/stl_bvector.h bits/type_traits.h bits/std_algorithm.h      bits/stl_construct.h bits/boost_concept_check.h bits/concept_check.h
+
+
+backward_headers =     backward/complex.h backward/iomanip.h backward/istream.h        backward/ostream.h backward/stream.h backward/streambuf.h       backward/algo.h backward/algobase.h backward/alloc.h    backward/bvector.h backward/defalloc.h backward/deque.h         backward/function.h backward/hash_map.h backward/hash_set.h     backward/hashtable.h backward/heap.h backward/iostream.h        backward/iterator.h backward/list.h backward/map.h      backward/multimap.h backward/new.h backward/multiset.h  backward/pair.h backward/queue.h backward/rope.h backward/set.h         backward/slist.h backward/stack.h backward/tempbuf.h backward/tree.h    backward/vector.h backward/fstream.h backward/strstream.h       backward/strstream backward/backward_warning.h
+
+
+ext_headers =          ext/rope ext/ropeimpl.h ext/stl_rope.h  ext/slist ext/hash_map ext/hash_set     ext/stl_hashtable.h ext/stl_hash_fun.h 
+
+
+c_base_headers =       bits/std_cassert.h bits/std_cctype.h bits/std_cerrno.h  bits/std_cfloat.h bits/std_climits.h bits/std_clocale.h         bits/std_cmath.h bits/std_csetjmp.h bits/std_csignal.h  bits/std_cstdarg.h bits/std_cstddef.h bits/std_cstdio.h         bits/std_cstdlib.h bits/std_cstring.h bits/std_ctime.h  bits/std_cwchar.h bits/std_cwctype.h bits/cmath.tcc
+
+@GLIBCPP_USE_CSHADOW_TRUE@c_shadow_headers =   assert.h ctype.h errno.h float.h limits.h locale.h math.h setjmp.h      signal.h stdarg.h stddef.h stdio.h stdlib.h string.h time.h wchar.h     wctype.h fcntl.h libio.h iolibio.h libioP.h pthread.h iconv.h   features.h langinfo.h   bits/wrap_libio.h bits/wrap_iolibio.h bits/wrap_libioP.h        bits/wrap_iconv.h bits/wrap_fcntl.h bits/wrap_pthread.h         bits/wrap_features.h bits/wrap_langinfo.h       sys/cdefs.h 
 @GLIBCPP_USE_CSHADOW_FALSE@c_shadow_headers = 
 
-std_headers = \
-       algorithm bitset complex deque fstream functional \
-       iomanip ios iosfwd iostream istream iterator limits list locale \
-       map memory numeric ostream queue set sstream stack stdexcept \
-       streambuf string utility valarray vector \
-       cassert cctype cerrno cfloat climits clocale ciso646 \
-       cmath csetjmp csignal cstdarg cstddef cstdio cstdlib \
-       cstring ctime cwchar cwctype
-
-@GLIBCPP_NEED_LIBIO_TRUE@libio_headers = @GLIBCPP_NEED_LIBIO_TRUE@\
-@GLIBCPP_NEED_LIBIO_TRUE@      $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
+std_headers =          algorithm bitset complex deque fstream functional       iomanip ios iosfwd iostream istream iterator limits list locale         map memory numeric ostream queue set sstream stack stdexcept    streambuf string utility valarray vector        cassert cctype cerrno cfloat climits clocale ciso646    cmath csetjmp csignal cstdarg cstddef cstdio cstdlib    cstring ctime cwchar cwctype
+
+@GLIBCPP_NEED_LIBIO_TRUE@libio_headers =       $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
 
-build_headers = \
-       bits/std_limits.h \
-       bits/c++config.h bits/c++io.h bits/c++locale.h bits/c++threads.h \
-       bits/basic_file_model.h \
-       bits/atomicity.h bits/os_defines.h \
-       bits/ctype_base.h bits/ctype_noninline.h bits/ctype_inline.h 
+build_headers =        bits/std_limits.h       bits/c++config.h bits/c++io.h bits/c++locale.h bits/c++threads.h        bits/basic_file_model.h         bits/atomicity.h bits/os_defines.h      bits/ctype_base.h bits/ctype_noninline.h bits/ctype_inline.h 
 
 
-sources = \
-       limitsMEMBERS.cc \
-       stdexcept.cc functexcept.cc bitset.cc \
-       globals.cc \
-       basic_file.cc ios.cc complex_io.cc strstream.cc \
-       c++locale.cc locale.cc localename.cc codecvt.cc \
-       locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc \
-       string-inst.cc wstring-inst.cc 
+sources =      limitsMEMBERS.cc        stdexcept.cc functexcept.cc bitset.cc   globals.cc      basic_file.cc ios.cc complex_io.cc strstream.cc         c++locale.cc locale.cc localename.cc codecvt.cc         locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc        string-inst.cc wstring-inst.cc 
 
 VPATH =  $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR)  $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR)
 
 libstdc___la_SOURCES = $(sources)
 
-libstdc___la_LIBADD = \
-       ../libmath/libmath.la @libio_la@ \
-       ../libsupc++/libsupc++convenience.la
+libstdc___la_LIBADD =          ../libmath/libmath.la @libio_la@        ../libsupc++/libsupc++convenience.la
 
 
 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
 
 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
-@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = @GLIBCPP_USE_CSHADOW_TRUE@$(top_builddir)/stamp-cshadow
+@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = $(top_builddir)/stamp-cshadow
 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
 
 # Check for various configure bits that change where the headers get installed.
@@ -287,12 +197,7 @@ c_incdir = @C_INCLUDE_DIR@
 # The no-implicit-templates flag will generate unresolved references to
 # the concept-checking symbols.  So we must disable the checks while
 # actually building the library.
-AM_CXXFLAGS = \
-       -fno-implicit-templates -D_GLIBCPP_NO_CONCEPT_CHECKS \
-       $(LIBSUPCXX_CXXFLAGS) \
-       $(WARN_CXXFLAGS) \
-       $(OPTIMIZE_CXXFLAGS) \
-       $(CONFIG_CXXFLAGS) 
+AM_CXXFLAGS =          -fno-implicit-templates -D_GLIBCPP_NO_CONCEPT_CHECKS    $(LIBSUPCXX_CXXFLAGS)   $(WARN_CXXFLAGS)        $(OPTIMIZE_CXXFLAGS)    $(CONFIG_CXXFLAGS) 
 
 
 # libstdc++ libtool notes
@@ -313,8 +218,7 @@ AM_CXXFLAGS = \
 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
 # attempt to infer which configuration to use
-LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
-              $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
+LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES)         $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
 
 
 # 3) We'd have a problem when building the shared libstdc++ object if
@@ -323,8 +227,7 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
 # course is problematic at this point.  So, we get the top-level
 # directory to configure libstdc++-v3 to use gcc as the C++
 # compilation driver.
-CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
-         @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
+CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX)        @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
 
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
@@ -602,6 +505,7 @@ install-data-local: myinstalldirs myinstallheaders
 # NB: installation of shadow header directories is not attempted.
 myinstalldirs:
        if test -z "$(MULTISUBDIR)"; then \
+       $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/backward; \
        $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/bits; \
        $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/ext; \
        $(mkinstalldirs) $(DESTDIR)$(gxx_target_include_dir)/bits; \
@@ -609,19 +513,19 @@ myinstalldirs:
 myinstallheaders: 
        if test -z "$(MULTISUBDIR)"; then \
        for i in $(base_headers); do \
-       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/"; \
+       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/";\
          $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/; \
        done; \
        for i in $(ext_headers); do \
-       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/"; \
+       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/";\
          $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/; \
        done; \
        for i in $(backward_headers); do \
-       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)"; \
-         $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir); \
+       echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/backward/";\
+         $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/backward/; \
        done; \
        for i in $(c_base_headers); do \
-       echo "$(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/"; \
+       echo "$(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/";\
          $(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/; \
        done; \
        for i in $(std_headers); do \
index 0bd44d6da13bafd3e9dc1b72657d540bf5449f4f..05570cefc1247736bddae8e446af054e5f206c4b 100644 (file)
@@ -118,14 +118,10 @@ AUTOMAKE_OPTIONS = foreign dejagnu no-installinfo
 
 DEJATOOL = libstdc++
 
-EXPECT = `if [ -f $(top_builddir)/../expect/expect ] ; then \
-            echo $(top_builddir)/../expect/expect ; \
-          else echo expect ; fi`
+EXPECT = `if [ -f $(top_builddir)/../expect/expect ] ; then             echo $(top_builddir)/../expect/expect ;           else echo expect ; fi`
 
 
-RUNTEST = `if [ -f $(top_srcdir)/../dejagnu/runtest ] ; then \
-              echo $(top_srcdir)/../dejagnu/runtest ; \
-           else echo runtest; fi`
+RUNTEST = `if [ -f $(top_srcdir)/../dejagnu/runtest ] ; then          echo $(top_srcdir)/../dejagnu/runtest ;      else echo runtest; fi`
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
 CONFIG_HEADER = ../config.h