From: Ian Lance Taylor Date: Thu, 29 Apr 1993 19:54:19 +0000 (+0000) Subject: * Makefile.in (check): Use individual check targets rather than X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65088029a0731f0030db06e52d64b8152ea5f54b;p=binutils-gdb.git * Makefile.in (check): Use individual check targets rather than DO_X rule. (check-gcc): Added. --- diff --git a/ChangeLog b/ChangeLog index ae34f918266..976812a6398 100644 --- 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 diff --git a/Makefile.in b/Makefile.in index 89590879934..ca968c86ebf 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 \