aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-04-29 19:54:19 +0000
committerIan Lance Taylor <ian@airs.com>1993-04-29 19:54:19 +0000
commit65088029a0731f0030db06e52d64b8152ea5f54b (patch)
tree3ab981cafb03dc05d2ab71b9967f8b8bcb920181 /Makefile.in
parent3717e95b5d44462f1aabb6c68914b6a0b668d68e (diff)
downloadgdb-65088029a0731f0030db06e52d64b8152ea5f54b.zip
gdb-65088029a0731f0030db06e52d64b8152ea5f54b.tar.gz
gdb-65088029a0731f0030db06e52d64b8152ea5f54b.tar.bz2
* Makefile.in (check): Use individual check targets rather than
DO_X rule. (check-gcc): Added.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in22
1 files changed, 19 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 8959087..ca968c8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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 \