* Makefile.in (check): Use individual check targets rather than
authorIan Lance Taylor <ian@airs.com>
Thu, 29 Apr 1993 19:54:19 +0000 (19:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 29 Apr 1993 19:54:19 +0000 (19:54 +0000)
DO_X rule.
(check-gcc): Added.

ChangeLog
Makefile.in

index ae34f9182663581199986273417025f487f6c3cf..976812a63984ece88fbb6c7fb42d7dcdd2235ffb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Apr 29 12:50:37 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (check): Use individual check targets rather than
+       DO_X rule.
+       (check-gcc): Added.
+
 Thu Apr 29 09:50:07 1993  Jim Kingdon  (kingdon@cygnus.com)
 
        * config.sub: Use sysv3.2 not sysv32 for canonical OS
index 8959087993471c46189539ed01292ae7c964b645..ca968c86ebf7aa551dc4edcec164e05801fc31a9 100644 (file)
@@ -523,7 +523,6 @@ all.cross: \
 # because it is so large that it can easily overflow the command line
 # length limit on some systems.
 DO_X = \
-       do-check \
        do-clean \
        do-distclean \
        do-dvi \
@@ -568,10 +567,9 @@ $(DO_X):
 
 # Here are the targets which correspond to the do-X targets.
 
-.PHONY: info check installcheck dvi install-info
+.PHONY: info installcheck dvi install-info
 .PHONY: clean distclean mostlyclean realclean local-clean local-distclean
 info: do-info
-check: do-check
 installcheck: do-installcheck
 dvi: do-dvi
 
@@ -593,6 +591,14 @@ mostlyclean: do-mostlyclean local-clean
 distclean: do-distclean local-clean local-distclean
 realclean: do-realclean local-clean local-distclean
 
+# Check target.
+
+.PHONY: check
+check: $(CHECK_MODULES) \
+       $(CHECK_TARGET_MODULES) \
+       $(CHECK_X11_MODULES) \
+       check-gcc
+
 # Installation targets.
 
 .PHONY: install uninstall
@@ -792,6 +798,16 @@ all-gcc:
          true; \
        fi
 
+.PHONY: check-gcc
+check-gcc:
+       @if [ -f ./gcc/Makefile ] ; then \
+         rootme=`pwd`; export rootme; \
+         srcroot=`cd $(srcdir); pwd`; export srcroot; \
+         (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
+       else \
+         true; \
+       fi
+
 .PHONY: install-gcc
 install-gcc:
        @if [ -f ./gcc/Makefile ] ; then \