aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@purist.soma.redhat.com>2000-05-25 05:11:42 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2000-05-25 05:11:42 +0000
commitd94611f1584bd67db5d5d61f011fd2431f055d3e (patch)
tree6539048ca9ee04d228876ea6b39d13377ce1e4dd /libstdc++-v3
parentff5def207e2ff19b84c6c99f66ee72c9ab5f1014 (diff)
downloadgcc-d94611f1584bd67db5d5d61f011fd2431f055d3e.zip
gcc-d94611f1584bd67db5d5d61f011fd2431f055d3e.tar.gz
gcc-d94611f1584bd67db5d5d61f011fd2431f055d3e.tar.bz2
Makefile.am (TAGS): Construct.
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * Makefile.am (TAGS): Construct. * Makefile.in: Rengerate. * src/Makefile.am: Tweak. * src/Makefile.in: Tweak. * configure.in: Tweak. * bits/c++config.h: Rename to ... * bits/c++config: This. * mkc++config: Adjust. From-SVN: r34157
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog10
-rw-r--r--libstdc++-v3/Makefile.am15
-rw-r--r--libstdc++-v3/Makefile.in19
-rw-r--r--libstdc++-v3/bits/c++config (renamed from libstdc++-v3/bits/c++config.h)0
-rw-r--r--libstdc++-v3/configure.in2
-rwxr-xr-xlibstdc++-v3/mkc++config2
-rw-r--r--libstdc++-v3/src/Makefile.am26
-rw-r--r--libstdc++-v3/src/Makefile.in35
8 files changed, 66 insertions, 43 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index c1f6caa..026704e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,15 @@
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
+ * Makefile.am (TAGS): Construct.
+ * Makefile.in: Rengerate.
+ * src/Makefile.am: Tweak.
+ * src/Makefile.in: Tweak.
+ * configure.in: Tweak.
+
+ * bits/c++config.h: Rename to ...
+ * bits/c++config: This.
+ * mkc++config: Adjust.
+
* m4: Remove.
* m4/lc_message.m4: Merge into acinclude.m4.
* m4/mathfcts.m4: Same.
diff --git a/libstdc++-v3/Makefile.am b/libstdc++-v3/Makefile.am
index fbf7630..3bec453 100644
--- a/libstdc++-v3/Makefile.am
+++ b/libstdc++-v3/Makefile.am
@@ -94,6 +94,10 @@ distclean-multi:
maintainer-clean-multi:
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
+# All the machinations with string instantiations messes up the
+# automake-genrated TAGS rule. Make a simple one here.
+TAGS: tags-recursive $(LISP)
+
# 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.
@@ -138,3 +142,14 @@ AM_MAKEFLAGS = \
"NM_FOR_BUILD=$(NM_FOR_BUILD)" \
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
"DESTDIR=$(DESTDIR)"
+
+
+
+
+
+
+
+
+
+
+
diff --git a/libstdc++-v3/Makefile.in b/libstdc++-v3/Makefile.in
index ba17520..c4be536 100644
--- a/libstdc++-v3/Makefile.in
+++ b/libstdc++-v3/Makefile.in
@@ -317,21 +317,6 @@ ID: $(HEADERS) $(SOURCES) $(LISP)
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
-
mostlyclean-tags:
clean-tags:
@@ -507,6 +492,10 @@ distclean-multi:
maintainer-clean-multi:
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
+# All the machinations with string instantiations messes up the
+# automake-genrated TAGS rule. Make a simple one here.
+TAGS: tags-recursive $(LISP)
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff --git a/libstdc++-v3/bits/c++config.h b/libstdc++-v3/bits/c++config
index 780d3e1..780d3e1 100644
--- a/libstdc++-v3/bits/c++config.h
+++ b/libstdc++-v3/bits/c++config
diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in
index 9f2751b..5226260 100644
--- a/libstdc++-v3/configure.in
+++ b/libstdc++-v3/configure.in
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script, like so:
-# aclocal -I m4, autoconf, autoheader, automake
+# aclocal, autoconf, autoheader, automake
AC_PREREQ(2.13)
AC_INIT(src/complex.cc)
diff --git a/libstdc++-v3/mkc++config b/libstdc++-v3/mkc++config
index 381de6b..6c828f4 100755
--- a/libstdc++-v3/mkc++config
+++ b/libstdc++-v3/mkc++config
@@ -19,7 +19,7 @@ if [ ! -d "$SRC_DIR" ]; then
exit 1
fi
-BASE_H="$SRC_DIR/bits/c++config.h"
+BASE_H="$SRC_DIR/bits/c++config"
IN_H="$BUILD_DIR/config.h"
OUT_H="$BUILD_DIR/bits/c++config.h"
diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am
index f7bca91..24ec463 100644
--- a/libstdc++-v3/src/Makefile.am
+++ b/libstdc++-v3/src/Makefile.am
@@ -176,7 +176,8 @@ libio_headers =
endif
generated_headers = \
- bits/std_limits.h bits/c++config.h bits/c++threads.h bits/c++io.h
+ $(top_builddir)/bits/std_limits.h $(top_builddir)/bits/c++config.h \
+ $(top_builddir)/bits/c++threads.h $(top_builddir)/bits/c++io.h
cpu_headers = \
$(top_srcdir)/@cpu_include_dir@/bits/atomicity.h
@@ -259,7 +260,6 @@ install: myinstallheaders
# NB: As libio_headers may be empty, need this to make sure bash doesn't
# choke on an empty for... loop by using libio_headers_install
-
myinstallheaders: $(headers:%=$(myincludep)%)
if test -z "$(MULTISUBDIR)"; then \
for i in $(std_headers); do \
@@ -267,8 +267,8 @@ myinstallheaders: $(headers:%=$(myincludep)%)
$(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludep); \
done; \
for i in $(generated_headers); do \
- echo "$(INSTALL_DATA) $(top_builddir)/$$i $(myincludep)bits/"; \
- $(INSTALL_DATA) $(top_builddir)/$$i $(myincludep)bits/; \
+ echo "$(INSTALL_DATA) $$i $(myincludep)bits/"; \
+ $(INSTALL_DATA) $$i $(myincludep)bits/; \
done; \
libio_headers_install='$(libio_headers)'; \
for i in $$libio_headers_install; do \
@@ -286,10 +286,19 @@ $(headers:%=$(myincludep)%): $(myincludep)%: %
$(INSTALL_DATA) $^ $@; \
fi;
-# For the next time we have to handle misc-inst.cc and locale-inst.cc
-# in a special way since we cannot instantiate all classes due to
-# missing definitions for things like vptrs, type_info bits, etc. when
-# using -fno-implicit-templates.
+# All the machinations with string instantiations messes up the
+# automake-genrated TAGS rule. Make a simple one here.
+TAGS: $(generated_headers) $(cpu_headers)
+ etags -C $(top_srcdir)/bits/*.h $(top_srcdir)/bits/*.tcc \
+ $(generated_headers) $(cpu_headers) $(libio_headers) \
+ $(top_srcdir)/src/*.cc \
+ $(top_builddir)/src/limitsMEMBERS.cc $(top_builddir)/src/c++io.cc \
+ -o $(top_builddir)/TAGS
+
+# We have to handle misc-inst.cc and locale-inst.cc in a special way
+# since we cannot instantiate all classes due to missing definitions
+# for things like vptrs, type_info bits, etc. when using
+# -fno-implicit-templates.
misc-inst.o: misc-inst.cc
$(CXXCOMPILE) -fimplicit-templates -c $<
misc-inst.lo: misc-inst.cc
@@ -530,3 +539,4 @@ wstringSCOPY.o \
wstringEQ.o : string-inst.cc
$(CXXCOMPILE) -fimplicit-templates \
-c -D`echo $@ | tr -dc '0-9A-Z'` -DC=wchar_t $< -o $@
+
diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in
index 3925119..926f68d5 100644
--- a/libstdc++-v3/src/Makefile.in
+++ b/libstdc++-v3/src/Makefile.in
@@ -257,7 +257,8 @@ std_headers = \
@GLIBCPP_NEED_LIBIO_FALSE@libio_headers = \
generated_headers = \
- bits/std_limits.h bits/c++config.h bits/c++threads.h bits/c++io.h
+ $(top_builddir)/bits/std_limits.h $(top_builddir)/bits/c++config.h \
+ $(top_builddir)/bits/c++threads.h $(top_builddir)/bits/c++io.h
cpu_headers = \
@@ -493,16 +494,6 @@ ID: $(HEADERS) $(SOURCES) $(LISP)
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
-
mostlyclean-tags:
clean-tags:
@@ -611,7 +602,6 @@ install: myinstallheaders
# NB: As libio_headers may be empty, need this to make sure bash doesn't
# choke on an empty for... loop by using libio_headers_install
-
myinstallheaders: $(headers:%=$(myincludep)%)
if test -z "$(MULTISUBDIR)"; then \
for i in $(std_headers); do \
@@ -619,8 +609,8 @@ myinstallheaders: $(headers:%=$(myincludep)%)
$(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludep); \
done; \
for i in $(generated_headers); do \
- echo "$(INSTALL_DATA) $(top_builddir)/$$i $(myincludep)bits/"; \
- $(INSTALL_DATA) $(top_builddir)/$$i $(myincludep)bits/; \
+ echo "$(INSTALL_DATA) $$i $(myincludep)bits/"; \
+ $(INSTALL_DATA) $$i $(myincludep)bits/; \
done; \
libio_headers_install='$(libio_headers)'; \
for i in $$libio_headers_install; do \
@@ -638,10 +628,19 @@ $(headers:%=$(myincludep)%): $(myincludep)%: %
$(INSTALL_DATA) $^ $@; \
fi;
-# For the next time we have to handle misc-inst.cc and locale-inst.cc
-# in a special way since we cannot instantiate all classes due to
-# missing definitions for things like vptrs, type_info bits, etc. when
-# using -fno-implicit-templates.
+# All the machinations with string instantiations messes up the
+# automake-genrated TAGS rule. Make a simple one here.
+TAGS: $(generated_headers) $(cpu_headers)
+ etags -C $(top_srcdir)/bits/*.h $(top_srcdir)/bits/*.tcc \
+ $(generated_headers) $(cpu_headers) $(libio_headers) \
+ $(top_srcdir)/src/*.cc \
+ $(top_builddir)/src/limitsMEMBERS.cc $(top_builddir)/src/c++io.cc \
+ -o $(top_builddir)/TAGS
+
+# We have to handle misc-inst.cc and locale-inst.cc in a special way
+# since we cannot instantiate all classes due to missing definitions
+# for things like vptrs, type_info bits, etc. when using
+# -fno-implicit-templates.
misc-inst.o: misc-inst.cc
$(CXXCOMPILE) -fimplicit-templates -c $<
misc-inst.lo: misc-inst.cc