OSDN Git Service

* doc/invoke.texi: Document max-jump-thread-duplication-stmts PARAM.
[pf3gnuchains/gcc-fork.git] / Makefile.in
index 98c0ca9..0344ad3 100644 (file)
@@ -196,6 +196,7 @@ BASE_TARGET_EXPORTS = \
        LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
        LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
        NM="$(NM_FOR_TARGET)"; export NM; \
+       OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
        RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
        STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
        WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
@@ -510,6 +511,23 @@ USUAL_NM_FOR_TARGET = ` \
     fi; \
   fi`
 
+OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
+CONFIGURED_OBJDUMP_FOR_TARGET=@CONFIGURED_OBJDUMP_FOR_TARGET@
+USUAL_OBJDUMP_FOR_TARGET = ` \
+  if [ -f $$r/$(HOST_SUBDIR)/binutils/objdump ] ; then \
+    echo $$r/$(HOST_SUBDIR)/binutils/objdump ; \
+  else \
+    if [ '$(host)' = '$(target)' ] ; then \
+      if [ x'$(OBJDUMP)' != x ]; then \
+         echo $(OBJDUMP); \
+      else \
+         echo objdump; \
+      fi; \
+    else \
+      echo $(CONFIGURED_OBJDUMP_FOR_TARGET) ; \
+    fi; \
+  fi`
+
 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
 USUAL_RANLIB_FOR_TARGET = ` \
@@ -675,6 +693,7 @@ BASE_FLAGS_TO_PASS = \
        "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
        "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
        "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
+       "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
        "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
        "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
        "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
@@ -727,6 +746,7 @@ EXTRA_TARGET_FLAGS = \
        'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
        'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
        'NM=$$(NM_FOR_TARGET)' \
+       'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
        'RANLIB=$$(RANLIB_FOR_TARGET)' \
        'WINDRES=$$(WINDRES_FOR_TARGET)'
 
@@ -856,6 +876,11 @@ all:
        fi
 @endif gcc-bootstrap
        @$(unstage)
+@if gcc-no-bootstrap
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
+@endif gcc-no-bootstrap
        @r=`${PWD_COMMAND}`; export r; \
        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
        if [ -f stage_last ]; then \
@@ -976,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)
 
@@ -1076,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)
 
@@ -1176,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)
 
@@ -1276,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)
 
@@ -1376,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)
 
@@ -1476,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)
 
@@ -1576,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)
 
@@ -1676,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)
 
@@ -1776,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)
 
@@ -1876,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)
 
@@ -2133,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.
@@ -2162,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
@@ -11223,7 +11272,7 @@ configure-stagefeedback-gcc:
 .PHONY: all-gcc maybe-all-gcc
 maybe-all-gcc:
 @if gcc
-TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
+TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
 maybe-all-gcc: all-gcc
 all-gcc: configure-gcc
        @test -f stage_last && exit 0; \
@@ -35234,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; \
@@ -35418,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; \
@@ -35607,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; \
@@ -35622,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` ; \
@@ -35834,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; \
@@ -35849,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` ; \
@@ -36057,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; \
@@ -36241,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; \