Makefile.in (check-c++): New rule.
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 20 Feb 2001 04:13:50 +0000 (04:13 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 20 Feb 2001 04:13:50 +0000 (04:13 +0000)
2001-02-19  Benjamin Kosnik  <bkoz@redhat.com>

        * Makefile.in (check-c++): New rule.

From-SVN: r39915

ChangeLog
Makefile.in

index 442bc12947405ef5b6f38be4a93b5dd3e2b3a909..ec8a316af4bbb5004e65dab331d05464e1cbe623 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
-2001-02-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
+2001-02-19  Benjamin Kosnik  <bkoz@redhat.com>
 
+        * Makefile.in (check-c++): New rule.
+       
        * configure.in (target_libs): Remove libg++.
        (noconfigdirs): Remove libg++.
        (noconfigdirs): Same.
index cf3aa7b87ea2dff4685c1feedbd3ea9a7552996a..86497d133e1ddebf5da42cee13e107ac661ed105 100644 (file)
@@ -1498,6 +1498,18 @@ check-gcc:
          true; \
        fi
 
+.PHONY: check-c++
+check-c++:
+        @if [ -f ./gcc/Makefile ] ; then \
+          r=`pwd`; export r; \
+          s=`cd $(srcdir); pwd`; export s; \
+          $(SET_LIB_PATH) \
+          (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
+          $(MAKE) check-target-libstdc++-v3 \
+        else \
+          true; \
+        fi 
+
 .PHONY: install-gcc
 install-gcc:
        @if [ -f ./gcc/Makefile ] ; then \