From 333a28b448276eaf433d7b05c84182355bd647e1 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Sat, 2 Aug 2003 00:48:19 +0000 Subject: [PATCH] Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. * Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. * Makefile.in: Regenerate. From-SVN: r70092 --- ChangeLog | 6 +++++ Makefile.in | 74 ++-------------------------------------------------- Makefile.tpl | 6 ++--- 3 files changed, 10 insertions(+), 76 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82b8b62eeb87..398e12b38abc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-01 Matt Kraai + + * Makefile.tpl (check, check-c++): Express dependencies using + dependencies rather than commands. + * Makefile.in: Regenerate. + 2003-08-01 Andrew Cagney * configure.in (noconfigdirs): Do not add GDB when m32r-*-*. diff --git a/Makefile.in b/Makefile.in index 488a78fad3d6..6bce12a4db1f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -17287,8 +17287,7 @@ clean-target-libgcc: # Check target. .PHONY: check do-check -check: - $(MAKE) do-check +check: do-check # Only include modules actually being configured and built. do-check: maybe-check-gcc \ @@ -17606,74 +17605,6 @@ TAGS: do-TAGS # Modules which run on the build machine # -------------------------------------- -.PHONY: configure-build-fixincludes maybe-configure-build-fixincludes -maybe-configure-build-fixincludes: -configure-build-fixincludes: - @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - AR="$(AR_FOR_BUILD)"; export AR; \ - AS="$(AS_FOR_BUILD)"; export AS; \ - CC="$(CC_FOR_BUILD)"; export CC; \ - CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ - CXX="$(CXX_FOR_BUILD)"; export CXX; \ - CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ - GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ - DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ - LD="$(LD_FOR_BUILD)"; export LD; \ - LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ - NM="$(NM_FOR_BUILD)"; export NM; \ - RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ - WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ - echo Configuring in $(BUILD_SUBDIR)/fixincludes; \ - cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) \ - topdir=$(srcdir) ;; \ - *) \ - case "$(BUILD_SUBDIR)" in \ - .) topdir="../$(srcdir)" ;; \ - *) topdir="../../$(srcdir)" ;; \ - esac ;; \ - esac; \ - if [ "$(srcdir)" = "." ] ; then \ - if [ "$(BUILD_SUBDIR)" != "." ] ; then \ - if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \ - if [ -f Makefile ]; then \ - if $(MAKE) distclean; then \ - true; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ - fi; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ - fi; \ - srcdiroption="--srcdir=."; \ - libsrcdir="."; \ - else \ - srcdiroption="--srcdir=$${topdir}/fixincludes"; \ - libsrcdir="$$s/fixincludes"; \ - fi; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) $${srcdiroption} \ - --with-build-subdir="$(BUILD_SUBDIR)" \ - || exit 1 - -.PHONY: all-build-fixincludes maybe-all-build-fixincludes -maybe-all-build-fixincludes: -all-build-fixincludes: configure-build-fixincludes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - (cd $(BUILD_SUBDIR)/fixincludes && $(MAKE) all) - .PHONY: configure-build-libiberty maybe-configure-build-libiberty maybe-configure-build-libiberty: configure-build-libiberty: @@ -23722,8 +23653,7 @@ check-gcc-c++: fi .PHONY: check-c++ -check-c++: - $(MAKE) check-target-libstdc++-v3 check-gcc-c++ +check-c++: check-target-libstdc++-v3 check-gcc-c++ .PHONY: install-gcc maybe-install-gcc maybe-install-gcc: diff --git a/Makefile.tpl b/Makefile.tpl index 64765f285dbc..8ec65514e9b1 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -665,8 +665,7 @@ clean-target-libgcc: # Check target. .PHONY: check do-check -check: - $(MAKE) do-check +check: do-check # Only include modules actually being configured and built. do-check: maybe-check-gcc [+ @@ -1229,8 +1228,7 @@ check-gcc-c++: fi .PHONY: check-c++ -check-c++: - $(MAKE) check-target-libstdc++-v3 check-gcc-c++ +check-c++: check-target-libstdc++-v3 check-gcc-c++ .PHONY: install-gcc maybe-install-gcc maybe-install-gcc: -- 2.43.5