aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-10-22 10:37:55 +0000
committerPaolo Bonzini <bonzini@gnu.org>2005-10-22 10:37:55 +0000
commite360f423206c3eb2a3484ab963f1b0e296f7f56b (patch)
tree18caf0bbe179a085a7c02dd07b18a5c7fe9aa7ed /Makefile.in
parent* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print (diff)
downloadbinutils-gdb-e360f423206c3eb2a3484ab963f1b0e296f7f56b.tar.gz
binutils-gdb-e360f423206c3eb2a3484ab963f1b0e296f7f56b.tar.bz2
binutils-gdb-e360f423206c3eb2a3484ab963f1b0e296f7f56b.zip
2005-10-22 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/24297 * Makefile.tpl (do-[+make-target+], do-check, install, stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s are set before recursing. * Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in84
1 files changed, 60 insertions, 24 deletions
diff --git a/Makefile.in b/Makefile.in
index 22333c05cf9..0344ad3ae70 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1001,7 +1001,9 @@ all-target: \
.PHONY: do-info
do-info:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
info-target
@$(stage)
@@ -1101,7 +1103,9 @@ info-target: \
.PHONY: do-dvi
do-dvi:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
dvi-target
@$(stage)
@@ -1201,7 +1205,9 @@ dvi-target: \
.PHONY: do-html
do-html:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
html-target
@$(stage)
@@ -1301,7 +1307,9 @@ html-target: \
.PHONY: do-TAGS
do-TAGS:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
TAGS-target
@$(stage)
@@ -1401,7 +1409,9 @@ TAGS-target: \
.PHONY: do-install-info
do-install-info:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
install-info-target
@$(stage)
@@ -1501,7 +1511,9 @@ install-info-target: \
.PHONY: do-installcheck
do-installcheck:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
installcheck-target
@$(stage)
@@ -1601,7 +1613,9 @@ installcheck-target: \
.PHONY: do-mostlyclean
do-mostlyclean:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
mostlyclean-target
@$(stage)
@@ -1701,7 +1715,9 @@ mostlyclean-target: \
.PHONY: do-clean
do-clean:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
clean-target
@$(stage)
@@ -1801,7 +1817,9 @@ clean-target: \
.PHONY: do-distclean
do-distclean:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
distclean-target
@$(stage)
@@ -1901,7 +1919,9 @@ distclean-target: \
.PHONY: do-maintainer-clean
do-maintainer-clean:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
maintainer-clean-target
@$(stage)
@@ -2158,7 +2178,9 @@ check-target: \
do-check:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
@$(stage)
# Automated reporting of test results.
@@ -2187,7 +2209,9 @@ mail-report-with-warnings.log: warning.log
.PHONY: install uninstall
install:
@$(unstage)
- @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
@$(stage)
.PHONY: install-host-nogcc
@@ -35259,7 +35283,9 @@ stage1-end::
# be reconfigured as well.
.PHONY: stage1-bubble
stage1-bubble::
- @if test -f stage1-lean ; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stage1-lean ; then \
echo Skipping rebuild of stage1 ; \
else \
$(MAKE) stage1-start; \
@@ -35443,7 +35469,9 @@ stage2-end::
# be reconfigured as well.
.PHONY: stage2-bubble
stage2-bubble:: stage1-bubble
- @if test -f stage2-lean || test -f stage1-lean ; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stage2-lean || test -f stage1-lean ; then \
echo Skipping rebuild of stage2 ; \
else \
$(MAKE) stage2-start; \
@@ -35632,7 +35660,9 @@ stage3-end::
.PHONY: stage3-bubble
stage3-bubble:: stage2-bubble
@bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
- @if test -f stage3-lean || test -f stage2-lean ; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stage3-lean || test -f stage2-lean ; then \
echo Skipping rebuild of stage3 ; \
else \
$(MAKE) stage3-start; \
@@ -35647,13 +35677,13 @@ do-clean: clean-stage3
@if gcc-bootstrap
compare:
- @if test -f stage2-lean; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stage2-lean; then \
echo Cannot compare object files as stage 2 was deleted. ; \
exit 0 ; \
fi; \
[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
rm -f .bad_compare ; \
cd stage3-gcc; \
files=`find . -name "*$(objext)" -print` ; \
@@ -35859,7 +35889,9 @@ stage4-end::
.PHONY: stage4-bubble
stage4-bubble:: stage3-bubble
@bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
- @if test -f stage4-lean || test -f stage3-lean ; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stage4-lean || test -f stage3-lean ; then \
echo Skipping rebuild of stage4 ; \
else \
$(MAKE) stage4-start; \
@@ -35874,13 +35906,13 @@ do-clean: clean-stage4
@if gcc-bootstrap
compare3:
- @if test -f stage3-lean; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stage3-lean; then \
echo Cannot compare object files as stage 3 was deleted. ; \
exit 0 ; \
fi; \
[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
rm -f .bad_compare ; \
cd stage4-gcc; \
files=`find . -name "*$(objext)" -print` ; \
@@ -36082,7 +36114,9 @@ stageprofile-end::
# be reconfigured as well.
.PHONY: stageprofile-bubble
stageprofile-bubble:: stage1-bubble
- @if test -f stageprofile-lean || test -f stage1-lean ; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stageprofile-lean || test -f stage1-lean ; then \
echo Skipping rebuild of stageprofile ; \
else \
$(MAKE) stageprofile-start; \
@@ -36266,7 +36300,9 @@ stagefeedback-end::
# be reconfigured as well.
.PHONY: stagefeedback-bubble
stagefeedback-bubble:: stageprofile-bubble
- @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
echo Skipping rebuild of stagefeedback ; \
else \
$(MAKE) stagefeedback-start; \