X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=Makefile.in;h=78972f03b28141670cdd8e255a1fd89d79a7c6ab;hb=1c0f4b11c53fdd77e97319242c3f8350d44f024b;hp=d5f7170841ea09765f335eb9112fe4e45cc0a3e0;hpb=9fec3fa854a2369dae30d084bdd357822efa7a8b;p=pf3gnuchains%2Fgcc-fork.git diff --git a/Makefile.in b/Makefile.in index d5f7170841e..78972f03b28 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3,7 +3,7 @@ # # Makefile for directory with subdirs to build. # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, -# 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation +# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -133,7 +133,8 @@ HOST_CONFIGARGS = @host_configargs@ # with srcdir=.. HOST_SUBDIR = @host_subdir@ # This is the list of variables to export in the environment when -# configuring subdirectories for the host system. +# configuring subdirectories for the host system. We need to pass +# some to the GCC configure because of its hybrid host/target nature. HOST_EXPORTS = \ $(BASE_EXPORTS) \ CC="$(CC)"; export CC; \ @@ -152,14 +153,23 @@ HOST_EXPORTS = \ WINDRES="$(WINDRES)"; export WINDRES; \ OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ + AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \ + AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \ + GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \ + LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \ + NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \ + OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \ + RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \ TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ GMPINC="$(HOST_GMPINC)"; export GMPINC; \ +@if gcc-bootstrap + $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ +@endif gcc-bootstrap $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); # Similar, for later GCC stages. POSTSTAGE1_HOST_EXPORTS = \ - $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ $(HOST_EXPORTS) \ CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \ @@ -181,7 +191,7 @@ TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)" BASE_TARGET_EXPORTS = \ $(BASE_EXPORTS) \ AR="$(AR_FOR_TARGET)"; export AR; \ - AS="$(AS_FOR_TARGET)"; export AS; \ + AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ CC="$(CC_FOR_TARGET)"; export CC; \ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ @@ -190,10 +200,11 @@ BASE_TARGET_EXPORTS = \ GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \ DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ - LD="$(LD_FOR_TARGET)"; export LD; \ + LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \ LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \ - NM="$(NM_FOR_TARGET)"; export NM; \ + NM="$(COMPILER_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; \ @@ -241,48 +252,16 @@ BUILD_PREFIX_1 = @BUILD_PREFIX_1@ # Flags to pass to stage2 and later makes. They are defined # here so that they can be overridden by Makefile fragments. BOOT_CFLAGS= -g -O2 +BOOT_LDFLAGS= -CONFIGURED_BISON = @CONFIGURED_BISON@ -BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \ - echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \ - else \ - echo ${CONFIGURED_BISON} ; \ - fi` - -CONFIGURED_YACC = @CONFIGURED_YACC@ -YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \ - echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \ - elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \ - echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \ - else \ - echo ${CONFIGURED_YACC} ; \ - fi` - -CONFIGURED_FLEX = @CONFIGURED_FLEX@ -FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \ - then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \ - else echo ${CONFIGURED_FLEX} ; fi` - -CONFIGURED_LEX = @CONFIGURED_LEX@ -LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \ - then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \ - else echo ${CONFIGURED_LEX} ; fi` - -CONFIGURED_M4 = @CONFIGURED_M4@ -M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \ - then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \ - else echo ${CONFIGURED_M4} ; fi` - -# For an installed makeinfo, we require it to be from texinfo 4.2 or -# higher, else we use the "missing" dummy. We also pass the subdirectory -# makeinfo even if only the Makefile is there, because Texinfo builds its -# manual when made, and it requires its own version. -CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@ -MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \ - then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \ - else if (${CONFIGURED_MAKEINFO} --version \ - | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \ - then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi` +BISON = @BISON@ +YACC = @YACC@ +FLEX = @FLEX@ +LEX = @LEX@ +M4 = @M4@ +MAKEINFO = @MAKEINFO@ +EXPECT = @EXPECT@ +RUNTEST = @RUNTEST@ # This just becomes part of the MAKEINFO definition passed down to # sub-makes. It lets flags be given on the command line while still @@ -290,43 +269,29 @@ MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \ # (Default to avoid splitting info files by setting the threshold high.) MAKEINFOFLAGS = --split-size=5000000 -# FIXME: expect may become a build tool? -EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \ - then echo $$r/$(HOST_SUBDIR)/expect/expect ; \ - else echo expect ; fi` - -RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \ - then echo $$s/dejagnu/runtest ; \ - else echo runtest ; fi` - # --------------------------------------------- # Programs producing files for the HOST machine # --------------------------------------------- AS = @AS@ - AR = @AR@ AR_FLAGS = rc - CC = @CC@ -CFLAGS = @CFLAGS@ -LIBCFLAGS = $(CFLAGS) - CXX = @CXX@ -CXXFLAGS = @CXXFLAGS@ -LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates - DLLTOOL = @DLLTOOL@ - -NM = @NM@ - LD = @LD@ -LDFLAGS = - +LIPO = @LIPO@ +NM = @NM@ +OBJDUMP = @OBJDUMP@ RANLIB = @RANLIB@ - +STRIP = @STRIP@ WINDRES = @WINDRES@ +CFLAGS = @CFLAGS@ +LDFLAGS = +LIBCFLAGS = $(CFLAGS) +CXXFLAGS = @CXXFLAGS@ +LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates PICFLAG = # ----------------------------------------------- @@ -336,225 +301,42 @@ PICFLAG = FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ AR_FOR_TARGET=@AR_FOR_TARGET@ -CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@ -USUAL_AR_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \ - echo $$r/$(HOST_SUBDIR)/binutils/ar ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(AR); \ - else \ - echo $(CONFIGURED_AR_FOR_TARGET) ; \ - fi; \ - fi` - AS_FOR_TARGET=@AS_FOR_TARGET@ -CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@ -USUAL_AS_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \ - echo $$r/$(HOST_SUBDIR)/gas/as-new ; \ - elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \ - echo $$r/$(HOST_SUBDIR)/gcc/as ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(AS); \ - else \ - echo $(CONFIGURED_AS_FOR_TARGET) ; \ - fi; \ - fi` - CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET) -CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@ -USUAL_CC_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \ - echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(CC); \ - else \ - echo $(CONFIGURED_CC_FOR_TARGET) ; \ - fi; \ - fi` - -# During gcc bootstrap, if we use some random cc for stage1 then -# CFLAGS will be just -g. We want to ensure that TARGET libraries -# (which we know are built with gcc) are built with optimizations so -# prepend -O2 when setting CFLAGS_FOR_TARGET. -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ # If GCC_FOR_TARGET is not overriden on the command line, then this # variable is passed down to the gcc Makefile, where it is used to # build libgcc2.a. We define it here so that it can itself be # overridden on the command line. -GCC_FOR_TARGET=@GCC_FOR_TARGET@ -CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_GCC_FOR_TARGET@ -USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \ - $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET) -LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) - +GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET) CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET) -CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@ -USUAL_CXX_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \ - (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \ - test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \ - echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(CXX); \ - else \ - echo $(CONFIGURED_CXX_FOR_TARGET) ; \ - fi; \ - fi` - RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET) -USUAL_RAW_CXX_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \ - echo $$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(CXX); \ - else \ - echo $(CONFIGURED_CXX_FOR_TARGET) ; \ - fi; \ - fi` - -CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates - GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET) -CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@ -USUAL_GCJ_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \ - echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(GCJ); \ - else \ - echo $(CONFIGURED_GCJ_FOR_TARGET) ; \ - fi; \ - fi` - GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET) -CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@ -USUAL_GFORTRAN_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \ - echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(GFORTRAN); \ - else \ - echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \ - fi; \ - fi` - - DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ -CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@ -USUAL_DLLTOOL_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \ - echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(DLLTOOL); \ - else \ - echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \ - fi; \ - fi` - LD_FOR_TARGET=@LD_FOR_TARGET@ -CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@ -USUAL_LD_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \ - echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \ - elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \ - echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(LD); \ - else \ - echo $(CONFIGURED_LD_FOR_TARGET) ; \ - fi; \ - fi` - -LDFLAGS_FOR_TARGET = LIPO_FOR_TARGET=@LIPO_FOR_TARGET@ -CONFIGURED_LIPO_FOR_TARGET=@CONFIGURED_LIPO_FOR_TARGET@ -USUAL_LIPO_FOR_TARGET = ` \ - if [ '$(host)' = '$(target)' ] ; then \ - if [ x'$(LIPO)' != x ]; then \ - echo $(LIPO); \ - else \ - echo lipo; \ - fi; \ - else \ - echo $(CONFIGURED_LIPO_FOR_TARGET) ; \ - fi` - NM_FOR_TARGET=@NM_FOR_TARGET@ -CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@ -USUAL_NM_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \ - echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \ - elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \ - echo $$r/$(HOST_SUBDIR)/gcc/nm ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(NM); \ - else \ - echo $(CONFIGURED_NM_FOR_TARGET) ; \ - fi; \ - fi` - +OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@ RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ -CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@ -USUAL_RANLIB_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \ - echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - if [ x'$(RANLIB)' != x ]; then \ - echo $(RANLIB); \ - else \ - echo ranlib; \ - fi; \ - else \ - echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \ - fi; \ - fi` - STRIP_FOR_TARGET=@STRIP_FOR_TARGET@ -CONFIGURED_STRIP_FOR_TARGET=@CONFIGURED_STRIP_FOR_TARGET@ -USUAL_STRIP_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/binutils/strip ] ; then \ - echo $$r/$(HOST_SUBDIR)/binutils/strip ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - if [ x'$(STRIP)' != x ]; then \ - echo $(STRIP); \ - else \ - echo strip; \ - fi; \ - else \ - echo $(CONFIGURED_STRIP_FOR_TARGET) ; \ - fi; \ - fi` - WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ -CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@ -USUAL_WINDRES_FOR_TARGET = ` \ - if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \ - echo $$r/$(HOST_SUBDIR)/binutils/windres ; \ - else \ - if [ '$(host)' = '$(target)' ] ; then \ - echo $(WINDRES); \ - else \ - echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \ - fi; \ - fi` +COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@ +COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@ +COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@ + +# During gcc bootstrap, if we use some random cc for stage1 then +# CFLAGS will be just -g. We want to ensure that TARGET libraries +# (which we know are built with gcc) are built with optimizations so +# prepend -O2 when setting CFLAGS_FOR_TARGET. +CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) +SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ +CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) +LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) +LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates +LDFLAGS_FOR_TARGET = PICFLAG_FOR_TARGET = # ------------------------------------ @@ -563,7 +345,7 @@ PICFLAG_FOR_TARGET = # The first rule in the file had better be this one. Don't put any above it. # This lives here to allow makefile fragments to contain dependencies. -@default_target@: +all: #### host and target specific makefile fragments come in here. @target_makefile_frag@ @@ -652,11 +434,15 @@ BASE_FLAGS_TO_PASS = \ "SHELL=$(SHELL)" \ "YACC=$(YACC)" \ "AR_FLAGS=$(AR_FLAGS)" \ + "BOOT_CFLAGS=$(BOOT_CFLAGS)" \ + "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \ "CFLAGS=$(CFLAGS)" \ "CXXFLAGS=$(CXXFLAGS)" \ "LDFLAGS=$(LDFLAGS)" \ "LIBCFLAGS=$(LIBCFLAGS)" \ "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ + "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \ + "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \ "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ @@ -673,9 +459,11 @@ 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)" \ + "LEAN=$(LEAN)" \ "CONFIG_SHELL=$(SHELL)" \ "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" @@ -691,8 +479,11 @@ EXTRA_HOST_FLAGS = \ 'CXX=$(CXX)' \ 'DLLTOOL=$(DLLTOOL)' \ 'LD=$(LD)' \ + 'LIPO=$(LIPO)' \ 'NM=$(NM)' \ + 'OBJDUMP=$(OBJDUMP)' \ 'RANLIB=$(RANLIB)' \ + 'STRIP=$(STRIP)' \ 'WINDRES=$(WINDRES)' FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) @@ -710,21 +501,23 @@ X11_FLAGS_TO_PASS = \ 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)' # Flags to pass down to makes which are built with the target environment. -# The double $ decreases the length of the command line; the variables -# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. +# The double $ decreases the length of the command line; those variables +# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The +# COMPILER_ prefixed variables are not passed down so we expand them here. EXTRA_TARGET_FLAGS = \ 'AR=$$(AR_FOR_TARGET)' \ - 'AS=$$(AS_FOR_TARGET)' \ + 'AS=$(COMPILER_AS_FOR_TARGET)' \ 'CC=$$(CC_FOR_TARGET)' \ 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ 'CXX=$$(CXX_FOR_TARGET)' \ 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ - 'LD=$$(LD_FOR_TARGET)' \ + 'LD=$(COMPILER_LD_FOR_TARGET)' \ 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \ 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ - 'NM=$$(NM_FOR_TARGET)' \ + 'NM=$(COMPILER_NM_FOR_TARGET)' \ + 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \ 'RANLIB=$$(RANLIB_FOR_TARGET)' \ 'WINDRES=$$(WINDRES_FOR_TARGET)' @@ -746,8 +539,6 @@ EXTRA_GCC_FLAGS = \ "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) @@ -788,6 +579,7 @@ configure-host: \ maybe-configure-itcl \ maybe-configure-ld \ maybe-configure-libcpp \ + maybe-configure-libdecnumber \ maybe-configure-libgui \ maybe-configure-libiberty \ maybe-configure-libtool \ @@ -845,7 +637,21 @@ configure-target: \ # The target built for a native non-bootstrap build. .PHONY: all -all: unstage all-host all-target stage +all: +@if gcc-bootstrap + [ -f stage_final ] || echo stage3 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble +@endif gcc-bootstrap + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + if [ -f stage_last ]; then \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \ + fi .PHONY: all-build all-build: \ @@ -892,6 +698,7 @@ all-host: \ maybe-all-itcl \ maybe-all-ld \ maybe-all-libcpp \ + maybe-all-libdecnumber \ maybe-all-libgui \ maybe-all-libiberty \ maybe-all-libtool \ @@ -953,7 +760,13 @@ all-target: \ # but it may do additional work as well). .PHONY: do-info -do-info: unstage info-host info-target stage +do-info: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \ + info-target + .PHONY: info-host info-host: \ @@ -991,6 +804,7 @@ info-host: \ maybe-info-itcl \ maybe-info-ld \ maybe-info-libcpp \ + maybe-info-libdecnumber \ maybe-info-libgui \ maybe-info-libiberty \ maybe-info-libtool \ @@ -1048,7 +862,13 @@ info-target: \ maybe-info-target-libada .PHONY: do-dvi -do-dvi: unstage dvi-host dvi-target stage +do-dvi: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \ + dvi-target + .PHONY: dvi-host dvi-host: \ @@ -1086,6 +906,7 @@ dvi-host: \ maybe-dvi-itcl \ maybe-dvi-ld \ maybe-dvi-libcpp \ + maybe-dvi-libdecnumber \ maybe-dvi-libgui \ maybe-dvi-libiberty \ maybe-dvi-libtool \ @@ -1143,7 +964,13 @@ dvi-target: \ maybe-dvi-target-libada .PHONY: do-html -do-html: unstage html-host html-target stage +do-html: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \ + html-target + .PHONY: html-host html-host: \ @@ -1181,6 +1008,7 @@ html-host: \ maybe-html-itcl \ maybe-html-ld \ maybe-html-libcpp \ + maybe-html-libdecnumber \ maybe-html-libgui \ maybe-html-libiberty \ maybe-html-libtool \ @@ -1238,7 +1066,13 @@ html-target: \ maybe-html-target-libada .PHONY: do-TAGS -do-TAGS: unstage TAGS-host TAGS-target stage +do-TAGS: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \ + TAGS-target + .PHONY: TAGS-host TAGS-host: \ @@ -1276,6 +1110,7 @@ TAGS-host: \ maybe-TAGS-itcl \ maybe-TAGS-ld \ maybe-TAGS-libcpp \ + maybe-TAGS-libdecnumber \ maybe-TAGS-libgui \ maybe-TAGS-libiberty \ maybe-TAGS-libtool \ @@ -1333,7 +1168,13 @@ TAGS-target: \ maybe-TAGS-target-libada .PHONY: do-install-info -do-install-info: unstage install-info-host install-info-target stage +do-install-info: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \ + install-info-target + .PHONY: install-info-host install-info-host: \ @@ -1371,6 +1212,7 @@ install-info-host: \ maybe-install-info-itcl \ maybe-install-info-ld \ maybe-install-info-libcpp \ + maybe-install-info-libdecnumber \ maybe-install-info-libgui \ maybe-install-info-libiberty \ maybe-install-info-libtool \ @@ -1428,7 +1270,13 @@ install-info-target: \ maybe-install-info-target-libada .PHONY: do-installcheck -do-installcheck: unstage installcheck-host installcheck-target stage +do-installcheck: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \ + installcheck-target + .PHONY: installcheck-host installcheck-host: \ @@ -1466,6 +1314,7 @@ installcheck-host: \ maybe-installcheck-itcl \ maybe-installcheck-ld \ maybe-installcheck-libcpp \ + maybe-installcheck-libdecnumber \ maybe-installcheck-libgui \ maybe-installcheck-libiberty \ maybe-installcheck-libtool \ @@ -1523,7 +1372,13 @@ installcheck-target: \ maybe-installcheck-target-libada .PHONY: do-mostlyclean -do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage +do-mostlyclean: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \ + mostlyclean-target + .PHONY: mostlyclean-host mostlyclean-host: \ @@ -1561,6 +1416,7 @@ mostlyclean-host: \ maybe-mostlyclean-itcl \ maybe-mostlyclean-ld \ maybe-mostlyclean-libcpp \ + maybe-mostlyclean-libdecnumber \ maybe-mostlyclean-libgui \ maybe-mostlyclean-libiberty \ maybe-mostlyclean-libtool \ @@ -1618,7 +1474,13 @@ mostlyclean-target: \ maybe-mostlyclean-target-libada .PHONY: do-clean -do-clean: unstage clean-host clean-target stage +do-clean: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \ + clean-target + .PHONY: clean-host clean-host: \ @@ -1656,6 +1518,7 @@ clean-host: \ maybe-clean-itcl \ maybe-clean-ld \ maybe-clean-libcpp \ + maybe-clean-libdecnumber \ maybe-clean-libgui \ maybe-clean-libiberty \ maybe-clean-libtool \ @@ -1713,7 +1576,13 @@ clean-target: \ maybe-clean-target-libada .PHONY: do-distclean -do-distclean: unstage distclean-host distclean-target stage +do-distclean: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \ + distclean-target + .PHONY: distclean-host distclean-host: \ @@ -1751,6 +1620,7 @@ distclean-host: \ maybe-distclean-itcl \ maybe-distclean-ld \ maybe-distclean-libcpp \ + maybe-distclean-libdecnumber \ maybe-distclean-libgui \ maybe-distclean-libiberty \ maybe-distclean-libtool \ @@ -1808,7 +1678,13 @@ distclean-target: \ maybe-distclean-target-libada .PHONY: do-maintainer-clean -do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage +do-maintainer-clean: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \ + maintainer-clean-target + .PHONY: maintainer-clean-host maintainer-clean-host: \ @@ -1846,6 +1722,7 @@ maintainer-clean-host: \ maybe-maintainer-clean-itcl \ maybe-maintainer-clean-ld \ maybe-maintainer-clean-libcpp \ + maybe-maintainer-clean-libdecnumber \ maybe-maintainer-clean-libgui \ maybe-maintainer-clean-libiberty \ maybe-maintainer-clean-libtool \ @@ -1928,7 +1805,7 @@ local-clean: local-distclean: -rm -f Makefile config.status config.cache mh-frag mt-frag - -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp + -rm -f maybedep.tmp serdep.tmp -if [ "$(TARGET_SUBDIR)" != "." ]; then \ rm -rf $(TARGET_SUBDIR); \ else true; fi @@ -1953,14 +1830,10 @@ maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean maintainer-clean: local-distclean realclean: maintainer-clean -# Extra dependency for clean-target, owing to the mixed nature of gcc +# Extra dependency for clean-target, owing to the mixed nature of gcc. clean-target: clean-target-libgcc clean-target-libgcc: - test ! -d gcc/libgcc || \ - (cd gcc/libgcc && find . -type d -print) | \ - while read d; do rm -f gcc/$$d/libgcc.a || : ; done - -rm -rf gcc/libgcc - -rm -f gcc/stmp-dirs + test ! -d gcc || (cd gcc && $(MAKE) $@) # Check target. @@ -1968,7 +1841,8 @@ clean-target-libgcc: check: do-check # Only include modules actually being configured and built. -do-check: unstage \ +.PHONY: check-host +check-host: \ maybe-check-ash \ maybe-check-autoconf \ maybe-check-automake \ @@ -2003,6 +1877,7 @@ do-check: unstage \ maybe-check-itcl \ maybe-check-ld \ maybe-check-libcpp \ + maybe-check-libdecnumber \ maybe-check-libgui \ maybe-check-libiberty \ maybe-check-libtool \ @@ -2035,7 +1910,10 @@ do-check: unstage \ maybe-check-tk \ maybe-check-libtermcap \ maybe-check-utils \ - maybe-check-gnattools \ + maybe-check-gnattools + +.PHONY: check-target +check-target: \ maybe-check-target-libstdc++-v3 \ maybe-check-target-libmudflap \ maybe-check-target-libssp \ @@ -2054,7 +1932,13 @@ do-check: unstage \ maybe-check-target-boehm-gc \ maybe-check-target-qthreads \ maybe-check-target-rda \ - maybe-check-target-libada stage + maybe-check-target-libada + +do-check: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target # Automated reporting of test results. @@ -2080,7 +1964,11 @@ mail-report-with-warnings.log: warning.log # Installation targets. .PHONY: install uninstall -install: installdirs install-host install-target +install: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target .PHONY: install-host-nogcc install-host-nogcc: \ @@ -2117,6 +2005,7 @@ install-host-nogcc: \ maybe-install-itcl \ maybe-install-ld \ maybe-install-libcpp \ + maybe-install-libdecnumber \ maybe-install-libgui \ maybe-install-libiberty \ maybe-install-libtool \ @@ -2187,6 +2076,7 @@ install-host: \ maybe-install-itcl \ maybe-install-ld \ maybe-install-libcpp \ + maybe-install-libdecnumber \ maybe-install-libgui \ maybe-install-libiberty \ maybe-install-libtool \ @@ -2250,6 +2140,7 @@ uninstall: install.all: install-no-fixedincludes @if [ -f ./gcc/Makefile ] ; then \ r=`${PWD_COMMAND}` ; export r ; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ (cd ./gcc && \ $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ @@ -2310,7 +2201,8 @@ TAGS: do-TAGS maybe-configure-build-libiberty: @if build-libiberty maybe-configure-build-libiberty: configure-build-libiberty -configure-build-libiberty: +configure-build-libiberty: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2341,6 +2233,7 @@ maybe-all-build-libiberty: TARGET-build-libiberty=all maybe-all-build-libiberty: all-build-libiberty all-build-libiberty: configure-build-libiberty + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2356,7 +2249,8 @@ all-build-libiberty: configure-build-libiberty maybe-configure-build-bison: @if build-bison maybe-configure-build-bison: configure-build-bison -configure-build-bison: +configure-build-bison: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2387,6 +2281,7 @@ maybe-all-build-bison: TARGET-build-bison=all maybe-all-build-bison: all-build-bison all-build-bison: configure-build-bison + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2402,7 +2297,8 @@ all-build-bison: configure-build-bison maybe-configure-build-byacc: @if build-byacc maybe-configure-build-byacc: configure-build-byacc -configure-build-byacc: +configure-build-byacc: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2433,6 +2329,7 @@ maybe-all-build-byacc: TARGET-build-byacc=all maybe-all-build-byacc: all-build-byacc all-build-byacc: configure-build-byacc + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2448,7 +2345,8 @@ all-build-byacc: configure-build-byacc maybe-configure-build-flex: @if build-flex maybe-configure-build-flex: configure-build-flex -configure-build-flex: +configure-build-flex: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2479,6 +2377,7 @@ maybe-all-build-flex: TARGET-build-flex=all maybe-all-build-flex: all-build-flex all-build-flex: configure-build-flex + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2494,7 +2393,8 @@ all-build-flex: configure-build-flex maybe-configure-build-m4: @if build-m4 maybe-configure-build-m4: configure-build-m4 -configure-build-m4: +configure-build-m4: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2525,6 +2425,7 @@ maybe-all-build-m4: TARGET-build-m4=all maybe-all-build-m4: all-build-m4 all-build-m4: configure-build-m4 + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2540,7 +2441,8 @@ all-build-m4: configure-build-m4 maybe-configure-build-texinfo: @if build-texinfo maybe-configure-build-texinfo: configure-build-texinfo -configure-build-texinfo: +configure-build-texinfo: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2571,6 +2473,7 @@ maybe-all-build-texinfo: TARGET-build-texinfo=all maybe-all-build-texinfo: all-build-texinfo all-build-texinfo: configure-build-texinfo + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2586,7 +2489,8 @@ all-build-texinfo: configure-build-texinfo maybe-configure-build-fixincludes: @if build-fixincludes maybe-configure-build-fixincludes: configure-build-fixincludes -configure-build-fixincludes: +configure-build-fixincludes: + @: $(MAKE); $(unstage) @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2617,6 +2521,7 @@ maybe-all-build-fixincludes: TARGET-build-fixincludes=all maybe-all-build-fixincludes: all-build-fixincludes all-build-fixincludes: configure-build-fixincludes + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ @@ -2637,7 +2542,8 @@ all-build-fixincludes: configure-build-fixincludes maybe-configure-ash: @if ash maybe-configure-ash: configure-ash -configure-ash: +configure-ash: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2667,6 +2573,7 @@ maybe-all-ash: TARGET-ash=all maybe-all-ash: all-ash all-ash: configure-ash + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -2683,6 +2590,7 @@ maybe-check-ash: maybe-check-ash: check-ash check-ash: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -2697,6 +2605,7 @@ maybe-install-ash: maybe-install-ash: install-ash install-ash: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -2714,6 +2623,7 @@ maybe-info-ash: info-ash info-ash: \ configure-ash + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2739,6 +2649,7 @@ maybe-dvi-ash: dvi-ash dvi-ash: \ configure-ash + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2764,6 +2675,7 @@ maybe-html-ash: html-ash html-ash: \ configure-ash + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2789,6 +2701,7 @@ maybe-TAGS-ash: TAGS-ash TAGS-ash: \ configure-ash + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2815,6 +2728,7 @@ maybe-install-info-ash: install-info-ash install-info-ash: \ configure-ash \ info-ash + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2840,6 +2754,7 @@ maybe-installcheck-ash: installcheck-ash installcheck-ash: \ configure-ash + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2864,6 +2779,7 @@ maybe-mostlyclean-ash: maybe-mostlyclean-ash: mostlyclean-ash mostlyclean-ash: + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2888,6 +2804,7 @@ maybe-clean-ash: maybe-clean-ash: clean-ash clean-ash: + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2912,6 +2829,7 @@ maybe-distclean-ash: maybe-distclean-ash: distclean-ash distclean-ash: + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2936,6 +2854,7 @@ maybe-maintainer-clean-ash: maybe-maintainer-clean-ash: maintainer-clean-ash maintainer-clean-ash: + @: $(MAKE); $(unstage) @[ -f ./ash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -2960,7 +2879,8 @@ maintainer-clean-ash: maybe-configure-autoconf: @if autoconf maybe-configure-autoconf: configure-autoconf -configure-autoconf: +configure-autoconf: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \ r=`${PWD_COMMAND}`; export r; \ @@ -2990,6 +2910,7 @@ maybe-all-autoconf: TARGET-autoconf=all maybe-all-autoconf: all-autoconf all-autoconf: configure-autoconf + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3006,6 +2927,7 @@ maybe-check-autoconf: maybe-check-autoconf: check-autoconf check-autoconf: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3020,6 +2942,7 @@ maybe-install-autoconf: maybe-install-autoconf: install-autoconf install-autoconf: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3037,6 +2960,7 @@ maybe-info-autoconf: info-autoconf info-autoconf: \ configure-autoconf + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3062,6 +2986,7 @@ maybe-dvi-autoconf: dvi-autoconf dvi-autoconf: \ configure-autoconf + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3087,6 +3012,7 @@ maybe-html-autoconf: html-autoconf html-autoconf: \ configure-autoconf + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3112,6 +3038,7 @@ maybe-TAGS-autoconf: TAGS-autoconf TAGS-autoconf: \ configure-autoconf + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3138,6 +3065,7 @@ maybe-install-info-autoconf: install-info-autoconf install-info-autoconf: \ configure-autoconf \ info-autoconf + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3163,6 +3091,7 @@ maybe-installcheck-autoconf: installcheck-autoconf installcheck-autoconf: \ configure-autoconf + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3187,6 +3116,7 @@ maybe-mostlyclean-autoconf: maybe-mostlyclean-autoconf: mostlyclean-autoconf mostlyclean-autoconf: + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3211,6 +3141,7 @@ maybe-clean-autoconf: maybe-clean-autoconf: clean-autoconf clean-autoconf: + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3235,6 +3166,7 @@ maybe-distclean-autoconf: maybe-distclean-autoconf: distclean-autoconf distclean-autoconf: + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3259,6 +3191,7 @@ maybe-maintainer-clean-autoconf: maybe-maintainer-clean-autoconf: maintainer-clean-autoconf maintainer-clean-autoconf: + @: $(MAKE); $(unstage) @[ -f ./autoconf/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3283,7 +3216,8 @@ maintainer-clean-autoconf: maybe-configure-automake: @if automake maybe-configure-automake: configure-automake -configure-automake: +configure-automake: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \ r=`${PWD_COMMAND}`; export r; \ @@ -3313,6 +3247,7 @@ maybe-all-automake: TARGET-automake=all maybe-all-automake: all-automake all-automake: configure-automake + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3329,6 +3264,7 @@ maybe-check-automake: maybe-check-automake: check-automake check-automake: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3343,6 +3279,7 @@ maybe-install-automake: maybe-install-automake: install-automake install-automake: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3360,6 +3297,7 @@ maybe-info-automake: info-automake info-automake: \ configure-automake + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3385,6 +3323,7 @@ maybe-dvi-automake: dvi-automake dvi-automake: \ configure-automake + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3410,6 +3349,7 @@ maybe-html-automake: html-automake html-automake: \ configure-automake + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3435,6 +3375,7 @@ maybe-TAGS-automake: TAGS-automake TAGS-automake: \ configure-automake + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3461,6 +3402,7 @@ maybe-install-info-automake: install-info-automake install-info-automake: \ configure-automake \ info-automake + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3486,6 +3428,7 @@ maybe-installcheck-automake: installcheck-automake installcheck-automake: \ configure-automake + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3510,6 +3453,7 @@ maybe-mostlyclean-automake: maybe-mostlyclean-automake: mostlyclean-automake mostlyclean-automake: + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3534,6 +3478,7 @@ maybe-clean-automake: maybe-clean-automake: clean-automake clean-automake: + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3558,6 +3503,7 @@ maybe-distclean-automake: maybe-distclean-automake: distclean-automake distclean-automake: + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3582,6 +3528,7 @@ maybe-maintainer-clean-automake: maybe-maintainer-clean-automake: maintainer-clean-automake maintainer-clean-automake: + @: $(MAKE); $(unstage) @[ -f ./automake/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3606,7 +3553,8 @@ maintainer-clean-automake: maybe-configure-bash: @if bash maybe-configure-bash: configure-bash -configure-bash: +configure-bash: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \ r=`${PWD_COMMAND}`; export r; \ @@ -3636,6 +3584,7 @@ maybe-all-bash: TARGET-bash=all maybe-all-bash: all-bash all-bash: configure-bash + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3652,6 +3601,7 @@ maybe-check-bash: maybe-check-bash: check-bash check-bash: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3666,6 +3616,7 @@ maybe-install-bash: maybe-install-bash: install-bash install-bash: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -3683,6 +3634,7 @@ maybe-info-bash: info-bash info-bash: \ configure-bash + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3708,6 +3660,7 @@ maybe-dvi-bash: dvi-bash dvi-bash: \ configure-bash + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3733,6 +3686,7 @@ maybe-html-bash: html-bash html-bash: \ configure-bash + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3758,6 +3712,7 @@ maybe-TAGS-bash: TAGS-bash TAGS-bash: \ configure-bash + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3784,6 +3739,7 @@ maybe-install-info-bash: install-info-bash install-info-bash: \ configure-bash \ info-bash + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3809,6 +3765,7 @@ maybe-installcheck-bash: installcheck-bash installcheck-bash: \ configure-bash + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3833,6 +3790,7 @@ maybe-mostlyclean-bash: maybe-mostlyclean-bash: mostlyclean-bash mostlyclean-bash: + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3857,6 +3815,7 @@ maybe-clean-bash: maybe-clean-bash: clean-bash clean-bash: + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3881,6 +3840,7 @@ maybe-distclean-bash: maybe-distclean-bash: distclean-bash distclean-bash: + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3905,6 +3865,7 @@ maybe-maintainer-clean-bash: maybe-maintainer-clean-bash: maintainer-clean-bash maintainer-clean-bash: + @: $(MAKE); $(unstage) @[ -f ./bash/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3929,7 +3890,7 @@ maintainer-clean-bash: maybe-configure-bfd: @if bfd maybe-configure-bfd: configure-bfd -configure-bfd: +configure-bfd: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ @@ -3956,13 +3917,13 @@ configure-bfd: maybe-configure-stage1-bfd: @if bfd-bootstrap maybe-configure-stage1-bfd: configure-stage1-bfd -configure-stage1-bfd: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-bfd: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd + test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ cd $(HOST_SUBDIR)/bfd || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -3980,14 +3941,14 @@ configure-stage1-bfd: maybe-configure-stage2-bfd: @if bfd-bootstrap maybe-configure-stage2-bfd: configure-stage2-bfd -configure-stage2-bfd: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-bfd: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd + test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ cd $(HOST_SUBDIR)/bfd || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4005,14 +3966,14 @@ configure-stage2-bfd: maybe-configure-stage3-bfd: @if bfd-bootstrap maybe-configure-stage3-bfd: configure-stage3-bfd -configure-stage3-bfd: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-bfd: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd + test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ cd $(HOST_SUBDIR)/bfd || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4030,14 +3991,14 @@ configure-stage3-bfd: maybe-configure-stage4-bfd: @if bfd-bootstrap maybe-configure-stage4-bfd: configure-stage4-bfd -configure-stage4-bfd: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-bfd: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd + test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ cd $(HOST_SUBDIR)/bfd || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4055,14 +4016,14 @@ configure-stage4-bfd: maybe-configure-stageprofile-bfd: @if bfd-bootstrap maybe-configure-stageprofile-bfd: configure-stageprofile-bfd -configure-stageprofile-bfd: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-bfd: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd + test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ cd $(HOST_SUBDIR)/bfd || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4080,14 +4041,14 @@ configure-stageprofile-bfd: maybe-configure-stagefeedback-bfd: @if bfd-bootstrap maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd -configure-stagefeedback-bfd: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-bfd: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd + test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ cd $(HOST_SUBDIR)/bfd || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4128,20 +4089,22 @@ maybe-clean-stage1-bfd: @if bfd-bootstrap maybe-all-stage1-bfd: all-stage1-bfd all-stage1: all-stage1-bfd +TARGET-stage1-bfd = $(TARGET-bfd) all-stage1-bfd: configure-stage1-bfd - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-bfd) maybe-clean-stage1-bfd: clean-stage1-bfd clean-stage1: clean-stage1-bfd clean-stage1-bfd: @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/bfd && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -4155,21 +4118,23 @@ maybe-clean-stage2-bfd: @if bfd-bootstrap maybe-all-stage2-bfd: all-stage2-bfd all-stage2: all-stage2-bfd +TARGET-stage2-bfd = $(TARGET-bfd) all-stage2-bfd: configure-stage2-bfd - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-bfd) maybe-clean-stage2-bfd: clean-stage2-bfd clean-stage2: clean-stage2-bfd clean-stage2-bfd: @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/bfd && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4184,21 +4149,23 @@ maybe-clean-stage3-bfd: @if bfd-bootstrap maybe-all-stage3-bfd: all-stage3-bfd all-stage3: all-stage3-bfd +TARGET-stage3-bfd = $(TARGET-bfd) all-stage3-bfd: configure-stage3-bfd - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-bfd) maybe-clean-stage3-bfd: clean-stage3-bfd clean-stage3: clean-stage3-bfd clean-stage3-bfd: @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/bfd && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4213,21 +4180,23 @@ maybe-clean-stage4-bfd: @if bfd-bootstrap maybe-all-stage4-bfd: all-stage4-bfd all-stage4: all-stage4-bfd +TARGET-stage4-bfd = $(TARGET-bfd) all-stage4-bfd: configure-stage4-bfd - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-bfd) maybe-clean-stage4-bfd: clean-stage4-bfd clean-stage4: clean-stage4-bfd clean-stage4-bfd: @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/bfd && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4242,21 +4211,23 @@ maybe-clean-stageprofile-bfd: @if bfd-bootstrap maybe-all-stageprofile-bfd: all-stageprofile-bfd all-stageprofile: all-stageprofile-bfd +TARGET-stageprofile-bfd = $(TARGET-bfd) all-stageprofile-bfd: configure-stageprofile-bfd - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-bfd) maybe-clean-stageprofile-bfd: clean-stageprofile-bfd clean-stageprofile: clean-stageprofile-bfd clean-stageprofile-bfd: @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/bfd && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4271,21 +4242,23 @@ maybe-clean-stagefeedback-bfd: @if bfd-bootstrap maybe-all-stagefeedback-bfd: all-stagefeedback-bfd all-stagefeedback: all-stagefeedback-bfd +TARGET-stagefeedback-bfd = $(TARGET-bfd) all-stagefeedback-bfd: configure-stagefeedback-bfd - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-bfd) maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd clean-stagefeedback: clean-stagefeedback-bfd clean-stagefeedback-bfd: @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/bfd && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4302,6 +4275,7 @@ maybe-check-bfd: maybe-check-bfd: check-bfd check-bfd: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -4316,6 +4290,7 @@ maybe-install-bfd: maybe-install-bfd: install-bfd install-bfd: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -4579,7 +4554,7 @@ maintainer-clean-bfd: maybe-configure-opcodes: @if opcodes maybe-configure-opcodes: configure-opcodes -configure-opcodes: +configure-opcodes: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ @@ -4606,13 +4581,13 @@ configure-opcodes: maybe-configure-stage1-opcodes: @if opcodes-bootstrap maybe-configure-stage1-opcodes: configure-stage1-opcodes -configure-stage1-opcodes: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-opcodes: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes + test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ cd $(HOST_SUBDIR)/opcodes || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4630,14 +4605,14 @@ configure-stage1-opcodes: maybe-configure-stage2-opcodes: @if opcodes-bootstrap maybe-configure-stage2-opcodes: configure-stage2-opcodes -configure-stage2-opcodes: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-opcodes: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes + test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ cd $(HOST_SUBDIR)/opcodes || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4655,14 +4630,14 @@ configure-stage2-opcodes: maybe-configure-stage3-opcodes: @if opcodes-bootstrap maybe-configure-stage3-opcodes: configure-stage3-opcodes -configure-stage3-opcodes: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-opcodes: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes + test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ cd $(HOST_SUBDIR)/opcodes || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4680,14 +4655,14 @@ configure-stage3-opcodes: maybe-configure-stage4-opcodes: @if opcodes-bootstrap maybe-configure-stage4-opcodes: configure-stage4-opcodes -configure-stage4-opcodes: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-opcodes: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes + test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ cd $(HOST_SUBDIR)/opcodes || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4705,14 +4680,14 @@ configure-stage4-opcodes: maybe-configure-stageprofile-opcodes: @if opcodes-bootstrap maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes -configure-stageprofile-opcodes: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-opcodes: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes + test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ cd $(HOST_SUBDIR)/opcodes || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4730,14 +4705,14 @@ configure-stageprofile-opcodes: maybe-configure-stagefeedback-opcodes: @if opcodes-bootstrap maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes -configure-stagefeedback-opcodes: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-opcodes: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes + test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ cd $(HOST_SUBDIR)/opcodes || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -4778,20 +4753,22 @@ maybe-clean-stage1-opcodes: @if opcodes-bootstrap maybe-all-stage1-opcodes: all-stage1-opcodes all-stage1: all-stage1-opcodes +TARGET-stage1-opcodes = $(TARGET-opcodes) all-stage1-opcodes: configure-stage1-opcodes - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-opcodes) maybe-clean-stage1-opcodes: clean-stage1-opcodes clean-stage1: clean-stage1-opcodes clean-stage1-opcodes: @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/opcodes && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -4805,21 +4782,23 @@ maybe-clean-stage2-opcodes: @if opcodes-bootstrap maybe-all-stage2-opcodes: all-stage2-opcodes all-stage2: all-stage2-opcodes +TARGET-stage2-opcodes = $(TARGET-opcodes) all-stage2-opcodes: configure-stage2-opcodes - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-opcodes) maybe-clean-stage2-opcodes: clean-stage2-opcodes clean-stage2: clean-stage2-opcodes clean-stage2-opcodes: @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/opcodes && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4834,21 +4813,23 @@ maybe-clean-stage3-opcodes: @if opcodes-bootstrap maybe-all-stage3-opcodes: all-stage3-opcodes all-stage3: all-stage3-opcodes +TARGET-stage3-opcodes = $(TARGET-opcodes) all-stage3-opcodes: configure-stage3-opcodes - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-opcodes) maybe-clean-stage3-opcodes: clean-stage3-opcodes clean-stage3: clean-stage3-opcodes clean-stage3-opcodes: @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/opcodes && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4863,21 +4844,23 @@ maybe-clean-stage4-opcodes: @if opcodes-bootstrap maybe-all-stage4-opcodes: all-stage4-opcodes all-stage4: all-stage4-opcodes +TARGET-stage4-opcodes = $(TARGET-opcodes) all-stage4-opcodes: configure-stage4-opcodes - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-opcodes) maybe-clean-stage4-opcodes: clean-stage4-opcodes clean-stage4: clean-stage4-opcodes clean-stage4-opcodes: @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/opcodes && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4892,21 +4875,23 @@ maybe-clean-stageprofile-opcodes: @if opcodes-bootstrap maybe-all-stageprofile-opcodes: all-stageprofile-opcodes all-stageprofile: all-stageprofile-opcodes +TARGET-stageprofile-opcodes = $(TARGET-opcodes) all-stageprofile-opcodes: configure-stageprofile-opcodes - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-opcodes) maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes clean-stageprofile: clean-stageprofile-opcodes clean-stageprofile-opcodes: @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/opcodes && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4921,21 +4906,23 @@ maybe-clean-stagefeedback-opcodes: @if opcodes-bootstrap maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes all-stagefeedback: all-stagefeedback-opcodes +TARGET-stagefeedback-opcodes = $(TARGET-opcodes) all-stagefeedback-opcodes: configure-stagefeedback-opcodes - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-opcodes) maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes clean-stagefeedback: clean-stagefeedback-opcodes clean-stagefeedback-opcodes: @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/opcodes && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -4952,6 +4939,7 @@ maybe-check-opcodes: maybe-check-opcodes: check-opcodes check-opcodes: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -4966,6 +4954,7 @@ maybe-install-opcodes: maybe-install-opcodes: install-opcodes install-opcodes: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -5229,7 +5218,7 @@ maintainer-clean-opcodes: maybe-configure-binutils: @if binutils maybe-configure-binutils: configure-binutils -configure-binutils: +configure-binutils: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ @@ -5256,13 +5245,13 @@ configure-binutils: maybe-configure-stage1-binutils: @if binutils-bootstrap maybe-configure-stage1-binutils: configure-stage1-binutils -configure-stage1-binutils: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-binutils: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils + test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ cd $(HOST_SUBDIR)/binutils || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -5280,14 +5269,14 @@ configure-stage1-binutils: maybe-configure-stage2-binutils: @if binutils-bootstrap maybe-configure-stage2-binutils: configure-stage2-binutils -configure-stage2-binutils: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-binutils: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils + test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ cd $(HOST_SUBDIR)/binutils || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -5305,14 +5294,14 @@ configure-stage2-binutils: maybe-configure-stage3-binutils: @if binutils-bootstrap maybe-configure-stage3-binutils: configure-stage3-binutils -configure-stage3-binutils: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-binutils: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils + test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ cd $(HOST_SUBDIR)/binutils || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -5330,14 +5319,14 @@ configure-stage3-binutils: maybe-configure-stage4-binutils: @if binutils-bootstrap maybe-configure-stage4-binutils: configure-stage4-binutils -configure-stage4-binutils: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-binutils: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils + test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ cd $(HOST_SUBDIR)/binutils || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -5355,14 +5344,14 @@ configure-stage4-binutils: maybe-configure-stageprofile-binutils: @if binutils-bootstrap maybe-configure-stageprofile-binutils: configure-stageprofile-binutils -configure-stageprofile-binutils: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-binutils: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils + test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ cd $(HOST_SUBDIR)/binutils || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -5380,14 +5369,14 @@ configure-stageprofile-binutils: maybe-configure-stagefeedback-binutils: @if binutils-bootstrap maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils -configure-stagefeedback-binutils: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-binutils: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils + test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ cd $(HOST_SUBDIR)/binutils || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -5428,20 +5417,22 @@ maybe-clean-stage1-binutils: @if binutils-bootstrap maybe-all-stage1-binutils: all-stage1-binutils all-stage1: all-stage1-binutils +TARGET-stage1-binutils = $(TARGET-binutils) all-stage1-binutils: configure-stage1-binutils - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-binutils) maybe-clean-stage1-binutils: clean-stage1-binutils clean-stage1: clean-stage1-binutils clean-stage1-binutils: @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/binutils && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -5455,21 +5446,23 @@ maybe-clean-stage2-binutils: @if binutils-bootstrap maybe-all-stage2-binutils: all-stage2-binutils all-stage2: all-stage2-binutils +TARGET-stage2-binutils = $(TARGET-binutils) all-stage2-binutils: configure-stage2-binutils - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-binutils) maybe-clean-stage2-binutils: clean-stage2-binutils clean-stage2: clean-stage2-binutils clean-stage2-binutils: @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/binutils && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -5484,21 +5477,23 @@ maybe-clean-stage3-binutils: @if binutils-bootstrap maybe-all-stage3-binutils: all-stage3-binutils all-stage3: all-stage3-binutils +TARGET-stage3-binutils = $(TARGET-binutils) all-stage3-binutils: configure-stage3-binutils - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-binutils) maybe-clean-stage3-binutils: clean-stage3-binutils clean-stage3: clean-stage3-binutils clean-stage3-binutils: @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/binutils && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -5513,21 +5508,23 @@ maybe-clean-stage4-binutils: @if binutils-bootstrap maybe-all-stage4-binutils: all-stage4-binutils all-stage4: all-stage4-binutils +TARGET-stage4-binutils = $(TARGET-binutils) all-stage4-binutils: configure-stage4-binutils - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-binutils) maybe-clean-stage4-binutils: clean-stage4-binutils clean-stage4: clean-stage4-binutils clean-stage4-binutils: @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/binutils && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -5542,21 +5539,23 @@ maybe-clean-stageprofile-binutils: @if binutils-bootstrap maybe-all-stageprofile-binutils: all-stageprofile-binutils all-stageprofile: all-stageprofile-binutils +TARGET-stageprofile-binutils = $(TARGET-binutils) all-stageprofile-binutils: configure-stageprofile-binutils - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-binutils) maybe-clean-stageprofile-binutils: clean-stageprofile-binutils clean-stageprofile: clean-stageprofile-binutils clean-stageprofile-binutils: @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/binutils && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -5571,21 +5570,23 @@ maybe-clean-stagefeedback-binutils: @if binutils-bootstrap maybe-all-stagefeedback-binutils: all-stagefeedback-binutils all-stagefeedback: all-stagefeedback-binutils +TARGET-stagefeedback-binutils = $(TARGET-binutils) all-stagefeedback-binutils: configure-stagefeedback-binutils - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-binutils) maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils clean-stagefeedback: clean-stagefeedback-binutils clean-stagefeedback-binutils: @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/binutils && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -5602,6 +5603,7 @@ maybe-check-binutils: maybe-check-binutils: check-binutils check-binutils: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -5616,6 +5618,7 @@ maybe-install-binutils: maybe-install-binutils: install-binutils install-binutils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -5879,7 +5882,8 @@ maintainer-clean-binutils: maybe-configure-bison: @if bison maybe-configure-bison: configure-bison -configure-bison: +configure-bison: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \ r=`${PWD_COMMAND}`; export r; \ @@ -5909,6 +5913,7 @@ maybe-all-bison: TARGET-bison=all maybe-all-bison: all-bison all-bison: configure-bison + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -5926,6 +5931,7 @@ maybe-check-bison: check-bison # This module is only tested in a native toolchain. check-bison: + @: $(MAKE); $(unstage) @if [ '$(host)' = '$(target)' ] ; then \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -5942,6 +5948,7 @@ maybe-install-bison: maybe-install-bison: install-bison install-bison: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -5959,6 +5966,7 @@ maybe-info-bison: info-bison info-bison: \ configure-bison + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -5984,6 +5992,7 @@ maybe-dvi-bison: dvi-bison dvi-bison: \ configure-bison + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6009,6 +6018,7 @@ maybe-html-bison: html-bison html-bison: \ configure-bison + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6034,6 +6044,7 @@ maybe-TAGS-bison: TAGS-bison TAGS-bison: \ configure-bison + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6060,6 +6071,7 @@ maybe-install-info-bison: install-info-bison install-info-bison: \ configure-bison \ info-bison + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6085,6 +6097,7 @@ maybe-installcheck-bison: installcheck-bison installcheck-bison: \ configure-bison + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6109,6 +6122,7 @@ maybe-mostlyclean-bison: maybe-mostlyclean-bison: mostlyclean-bison mostlyclean-bison: + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6133,6 +6147,7 @@ maybe-clean-bison: maybe-clean-bison: clean-bison clean-bison: + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6157,6 +6172,7 @@ maybe-distclean-bison: maybe-distclean-bison: distclean-bison distclean-bison: + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6181,6 +6197,7 @@ maybe-maintainer-clean-bison: maybe-maintainer-clean-bison: maintainer-clean-bison maintainer-clean-bison: + @: $(MAKE); $(unstage) @[ -f ./bison/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6205,7 +6222,8 @@ maintainer-clean-bison: maybe-configure-byacc: @if byacc maybe-configure-byacc: configure-byacc -configure-byacc: +configure-byacc: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \ r=`${PWD_COMMAND}`; export r; \ @@ -6235,6 +6253,7 @@ maybe-all-byacc: TARGET-byacc=all maybe-all-byacc: all-byacc all-byacc: configure-byacc + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6252,6 +6271,7 @@ maybe-check-byacc: check-byacc # This module is only tested in a native toolchain. check-byacc: + @: $(MAKE); $(unstage) @if [ '$(host)' = '$(target)' ] ; then \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6268,6 +6288,7 @@ maybe-install-byacc: maybe-install-byacc: install-byacc install-byacc: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6285,6 +6306,7 @@ maybe-info-byacc: info-byacc info-byacc: \ configure-byacc + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6310,6 +6332,7 @@ maybe-dvi-byacc: dvi-byacc dvi-byacc: \ configure-byacc + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6335,6 +6358,7 @@ maybe-html-byacc: html-byacc html-byacc: \ configure-byacc + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6360,6 +6384,7 @@ maybe-TAGS-byacc: TAGS-byacc TAGS-byacc: \ configure-byacc + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6386,6 +6411,7 @@ maybe-install-info-byacc: install-info-byacc install-info-byacc: \ configure-byacc \ info-byacc + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6411,6 +6437,7 @@ maybe-installcheck-byacc: installcheck-byacc installcheck-byacc: \ configure-byacc + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6435,6 +6462,7 @@ maybe-mostlyclean-byacc: maybe-mostlyclean-byacc: mostlyclean-byacc mostlyclean-byacc: + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6459,6 +6487,7 @@ maybe-clean-byacc: maybe-clean-byacc: clean-byacc clean-byacc: + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6483,6 +6512,7 @@ maybe-distclean-byacc: maybe-distclean-byacc: distclean-byacc distclean-byacc: + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6507,6 +6537,7 @@ maybe-maintainer-clean-byacc: maybe-maintainer-clean-byacc: maintainer-clean-byacc maintainer-clean-byacc: + @: $(MAKE); $(unstage) @[ -f ./byacc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6531,7 +6562,8 @@ maintainer-clean-byacc: maybe-configure-bzip2: @if bzip2 maybe-configure-bzip2: configure-bzip2 -configure-bzip2: +configure-bzip2: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \ r=`${PWD_COMMAND}`; export r; \ @@ -6561,6 +6593,7 @@ maybe-all-bzip2: TARGET-bzip2=all maybe-all-bzip2: all-bzip2 all-bzip2: configure-bzip2 + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6577,6 +6610,7 @@ maybe-check-bzip2: maybe-check-bzip2: check-bzip2 check-bzip2: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6591,6 +6625,7 @@ maybe-install-bzip2: maybe-install-bzip2: install-bzip2 install-bzip2: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6608,6 +6643,7 @@ maybe-info-bzip2: info-bzip2 info-bzip2: \ configure-bzip2 + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6633,6 +6669,7 @@ maybe-dvi-bzip2: dvi-bzip2 dvi-bzip2: \ configure-bzip2 + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6658,6 +6695,7 @@ maybe-html-bzip2: html-bzip2 html-bzip2: \ configure-bzip2 + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6683,6 +6721,7 @@ maybe-TAGS-bzip2: TAGS-bzip2 TAGS-bzip2: \ configure-bzip2 + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6709,6 +6748,7 @@ maybe-install-info-bzip2: install-info-bzip2 install-info-bzip2: \ configure-bzip2 \ info-bzip2 + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6734,6 +6774,7 @@ maybe-installcheck-bzip2: installcheck-bzip2 installcheck-bzip2: \ configure-bzip2 + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6758,6 +6799,7 @@ maybe-mostlyclean-bzip2: maybe-mostlyclean-bzip2: mostlyclean-bzip2 mostlyclean-bzip2: + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6782,6 +6824,7 @@ maybe-clean-bzip2: maybe-clean-bzip2: clean-bzip2 clean-bzip2: + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6806,6 +6849,7 @@ maybe-distclean-bzip2: maybe-distclean-bzip2: distclean-bzip2 distclean-bzip2: + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6830,6 +6874,7 @@ maybe-maintainer-clean-bzip2: maybe-maintainer-clean-bzip2: maintainer-clean-bzip2 maintainer-clean-bzip2: + @: $(MAKE); $(unstage) @[ -f ./bzip2/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6854,7 +6899,8 @@ maintainer-clean-bzip2: maybe-configure-dejagnu: @if dejagnu maybe-configure-dejagnu: configure-dejagnu -configure-dejagnu: +configure-dejagnu: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \ r=`${PWD_COMMAND}`; export r; \ @@ -6884,6 +6930,7 @@ maybe-all-dejagnu: TARGET-dejagnu=all maybe-all-dejagnu: all-dejagnu all-dejagnu: configure-dejagnu + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6900,6 +6947,7 @@ maybe-check-dejagnu: maybe-check-dejagnu: check-dejagnu check-dejagnu: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6914,6 +6962,7 @@ maybe-install-dejagnu: maybe-install-dejagnu: install-dejagnu install-dejagnu: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -6931,6 +6980,7 @@ maybe-info-dejagnu: info-dejagnu info-dejagnu: \ configure-dejagnu + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6956,6 +7006,7 @@ maybe-dvi-dejagnu: dvi-dejagnu dvi-dejagnu: \ configure-dejagnu + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -6981,6 +7032,7 @@ maybe-html-dejagnu: html-dejagnu html-dejagnu: \ configure-dejagnu + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7006,6 +7058,7 @@ maybe-TAGS-dejagnu: TAGS-dejagnu TAGS-dejagnu: \ configure-dejagnu + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7032,6 +7085,7 @@ maybe-install-info-dejagnu: install-info-dejagnu install-info-dejagnu: \ configure-dejagnu \ info-dejagnu + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7057,6 +7111,7 @@ maybe-installcheck-dejagnu: installcheck-dejagnu installcheck-dejagnu: \ configure-dejagnu + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7081,6 +7136,7 @@ maybe-mostlyclean-dejagnu: maybe-mostlyclean-dejagnu: mostlyclean-dejagnu mostlyclean-dejagnu: + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7105,6 +7161,7 @@ maybe-clean-dejagnu: maybe-clean-dejagnu: clean-dejagnu clean-dejagnu: + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7129,6 +7186,7 @@ maybe-distclean-dejagnu: maybe-distclean-dejagnu: distclean-dejagnu distclean-dejagnu: + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7153,6 +7211,7 @@ maybe-maintainer-clean-dejagnu: maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu maintainer-clean-dejagnu: + @: $(MAKE); $(unstage) @[ -f ./dejagnu/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7177,7 +7236,8 @@ maintainer-clean-dejagnu: maybe-configure-diff: @if diff maybe-configure-diff: configure-diff -configure-diff: +configure-diff: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \ r=`${PWD_COMMAND}`; export r; \ @@ -7207,6 +7267,7 @@ maybe-all-diff: TARGET-diff=all maybe-all-diff: all-diff all-diff: configure-diff + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7223,6 +7284,7 @@ maybe-check-diff: maybe-check-diff: check-diff check-diff: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7237,6 +7299,7 @@ maybe-install-diff: maybe-install-diff: install-diff install-diff: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7254,6 +7317,7 @@ maybe-info-diff: info-diff info-diff: \ configure-diff + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7279,6 +7343,7 @@ maybe-dvi-diff: dvi-diff dvi-diff: \ configure-diff + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7304,6 +7369,7 @@ maybe-html-diff: html-diff html-diff: \ configure-diff + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7329,6 +7395,7 @@ maybe-TAGS-diff: TAGS-diff TAGS-diff: \ configure-diff + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7355,6 +7422,7 @@ maybe-install-info-diff: install-info-diff install-info-diff: \ configure-diff \ info-diff + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7380,6 +7448,7 @@ maybe-installcheck-diff: installcheck-diff installcheck-diff: \ configure-diff + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7404,6 +7473,7 @@ maybe-mostlyclean-diff: maybe-mostlyclean-diff: mostlyclean-diff mostlyclean-diff: + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7428,6 +7498,7 @@ maybe-clean-diff: maybe-clean-diff: clean-diff clean-diff: + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7452,6 +7523,7 @@ maybe-distclean-diff: maybe-distclean-diff: distclean-diff distclean-diff: + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7476,6 +7548,7 @@ maybe-maintainer-clean-diff: maybe-maintainer-clean-diff: maintainer-clean-diff maintainer-clean-diff: + @: $(MAKE); $(unstage) @[ -f ./diff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7500,7 +7573,8 @@ maintainer-clean-diff: maybe-configure-dosutils: @if dosutils maybe-configure-dosutils: configure-dosutils -configure-dosutils: +configure-dosutils: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \ r=`${PWD_COMMAND}`; export r; \ @@ -7530,6 +7604,7 @@ maybe-all-dosutils: TARGET-dosutils=all maybe-all-dosutils: all-dosutils all-dosutils: configure-dosutils + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7555,6 +7630,7 @@ maybe-install-dosutils: maybe-install-dosutils: install-dosutils install-dosutils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7572,6 +7648,7 @@ maybe-info-dosutils: info-dosutils info-dosutils: \ configure-dosutils + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7597,6 +7674,7 @@ maybe-dvi-dosutils: dvi-dosutils dvi-dosutils: \ configure-dosutils + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7622,6 +7700,7 @@ maybe-html-dosutils: html-dosutils html-dosutils: \ configure-dosutils + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7647,6 +7726,7 @@ maybe-TAGS-dosutils: TAGS-dosutils TAGS-dosutils: \ configure-dosutils + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7673,6 +7753,7 @@ maybe-install-info-dosutils: install-info-dosutils install-info-dosutils: \ configure-dosutils \ info-dosutils + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7698,6 +7779,7 @@ maybe-installcheck-dosutils: installcheck-dosutils installcheck-dosutils: \ configure-dosutils + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7722,6 +7804,7 @@ maybe-mostlyclean-dosutils: maybe-mostlyclean-dosutils: mostlyclean-dosutils mostlyclean-dosutils: + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7746,6 +7829,7 @@ maybe-clean-dosutils: maybe-clean-dosutils: clean-dosutils clean-dosutils: + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7770,6 +7854,7 @@ maybe-distclean-dosutils: maybe-distclean-dosutils: distclean-dosutils distclean-dosutils: + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7794,6 +7879,7 @@ maybe-maintainer-clean-dosutils: maybe-maintainer-clean-dosutils: maintainer-clean-dosutils maintainer-clean-dosutils: + @: $(MAKE); $(unstage) @[ -f ./dosutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7818,7 +7904,8 @@ maintainer-clean-dosutils: maybe-configure-etc: @if etc maybe-configure-etc: configure-etc -configure-etc: +configure-etc: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \ r=`${PWD_COMMAND}`; export r; \ @@ -7848,6 +7935,7 @@ maybe-all-etc: TARGET-etc=all maybe-all-etc: all-etc all-etc: configure-etc + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7864,6 +7952,7 @@ maybe-check-etc: maybe-check-etc: check-etc check-etc: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7878,6 +7967,7 @@ maybe-install-etc: maybe-install-etc: install-etc install-etc: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -7895,6 +7985,7 @@ maybe-info-etc: info-etc info-etc: \ configure-etc + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7920,6 +8011,7 @@ maybe-dvi-etc: dvi-etc dvi-etc: \ configure-etc + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7945,6 +8037,7 @@ maybe-html-etc: html-etc html-etc: \ configure-etc + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7970,6 +8063,7 @@ maybe-TAGS-etc: TAGS-etc TAGS-etc: \ configure-etc + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -7996,6 +8090,7 @@ maybe-install-info-etc: install-info-etc install-info-etc: \ configure-etc \ info-etc + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8021,6 +8116,7 @@ maybe-installcheck-etc: installcheck-etc installcheck-etc: \ configure-etc + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8045,6 +8141,7 @@ maybe-mostlyclean-etc: maybe-mostlyclean-etc: mostlyclean-etc mostlyclean-etc: + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8069,6 +8166,7 @@ maybe-clean-etc: maybe-clean-etc: clean-etc clean-etc: + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8093,6 +8191,7 @@ maybe-distclean-etc: maybe-distclean-etc: distclean-etc distclean-etc: + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8117,6 +8216,7 @@ maybe-maintainer-clean-etc: maybe-maintainer-clean-etc: maintainer-clean-etc maintainer-clean-etc: + @: $(MAKE); $(unstage) @[ -f ./etc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8141,7 +8241,8 @@ maintainer-clean-etc: maybe-configure-fastjar: @if fastjar maybe-configure-fastjar: configure-fastjar -configure-fastjar: +configure-fastjar: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \ r=`${PWD_COMMAND}`; export r; \ @@ -8171,6 +8272,7 @@ maybe-all-fastjar: TARGET-fastjar=all maybe-all-fastjar: all-fastjar all-fastjar: configure-fastjar + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8188,6 +8290,7 @@ maybe-check-fastjar: check-fastjar # This module is only tested in a native toolchain. check-fastjar: + @: $(MAKE); $(unstage) @if [ '$(host)' = '$(target)' ] ; then \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8204,6 +8307,7 @@ maybe-install-fastjar: maybe-install-fastjar: install-fastjar install-fastjar: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8221,6 +8325,7 @@ maybe-info-fastjar: info-fastjar info-fastjar: \ configure-fastjar + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8246,6 +8351,7 @@ maybe-dvi-fastjar: dvi-fastjar dvi-fastjar: \ configure-fastjar + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8271,6 +8377,7 @@ maybe-html-fastjar: html-fastjar html-fastjar: \ configure-fastjar + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8296,6 +8403,7 @@ maybe-TAGS-fastjar: TAGS-fastjar TAGS-fastjar: \ configure-fastjar + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8322,6 +8430,7 @@ maybe-install-info-fastjar: install-info-fastjar install-info-fastjar: \ configure-fastjar \ info-fastjar + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8347,6 +8456,7 @@ maybe-installcheck-fastjar: installcheck-fastjar installcheck-fastjar: \ configure-fastjar + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8371,6 +8481,7 @@ maybe-mostlyclean-fastjar: maybe-mostlyclean-fastjar: mostlyclean-fastjar mostlyclean-fastjar: + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8395,6 +8506,7 @@ maybe-clean-fastjar: maybe-clean-fastjar: clean-fastjar clean-fastjar: + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8419,6 +8531,7 @@ maybe-distclean-fastjar: maybe-distclean-fastjar: distclean-fastjar distclean-fastjar: + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8443,6 +8556,7 @@ maybe-maintainer-clean-fastjar: maybe-maintainer-clean-fastjar: maintainer-clean-fastjar maintainer-clean-fastjar: + @: $(MAKE); $(unstage) @[ -f ./fastjar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8467,7 +8581,8 @@ maintainer-clean-fastjar: maybe-configure-fileutils: @if fileutils maybe-configure-fileutils: configure-fileutils -configure-fileutils: +configure-fileutils: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \ r=`${PWD_COMMAND}`; export r; \ @@ -8497,6 +8612,7 @@ maybe-all-fileutils: TARGET-fileutils=all maybe-all-fileutils: all-fileutils all-fileutils: configure-fileutils + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8513,6 +8629,7 @@ maybe-check-fileutils: maybe-check-fileutils: check-fileutils check-fileutils: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8527,6 +8644,7 @@ maybe-install-fileutils: maybe-install-fileutils: install-fileutils install-fileutils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8544,6 +8662,7 @@ maybe-info-fileutils: info-fileutils info-fileutils: \ configure-fileutils + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8569,6 +8688,7 @@ maybe-dvi-fileutils: dvi-fileutils dvi-fileutils: \ configure-fileutils + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8594,6 +8714,7 @@ maybe-html-fileutils: html-fileutils html-fileutils: \ configure-fileutils + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8619,6 +8740,7 @@ maybe-TAGS-fileutils: TAGS-fileutils TAGS-fileutils: \ configure-fileutils + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8645,6 +8767,7 @@ maybe-install-info-fileutils: install-info-fileutils install-info-fileutils: \ configure-fileutils \ info-fileutils + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8670,6 +8793,7 @@ maybe-installcheck-fileutils: installcheck-fileutils installcheck-fileutils: \ configure-fileutils + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8694,6 +8818,7 @@ maybe-mostlyclean-fileutils: maybe-mostlyclean-fileutils: mostlyclean-fileutils mostlyclean-fileutils: + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8718,6 +8843,7 @@ maybe-clean-fileutils: maybe-clean-fileutils: clean-fileutils clean-fileutils: + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8742,6 +8868,7 @@ maybe-distclean-fileutils: maybe-distclean-fileutils: distclean-fileutils distclean-fileutils: + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8766,6 +8893,7 @@ maybe-maintainer-clean-fileutils: maybe-maintainer-clean-fileutils: maintainer-clean-fileutils maintainer-clean-fileutils: + @: $(MAKE); $(unstage) @[ -f ./fileutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8790,7 +8918,8 @@ maintainer-clean-fileutils: maybe-configure-findutils: @if findutils maybe-configure-findutils: configure-findutils -configure-findutils: +configure-findutils: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \ r=`${PWD_COMMAND}`; export r; \ @@ -8820,6 +8949,7 @@ maybe-all-findutils: TARGET-findutils=all maybe-all-findutils: all-findutils all-findutils: configure-findutils + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8836,6 +8966,7 @@ maybe-check-findutils: maybe-check-findutils: check-findutils check-findutils: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8850,6 +8981,7 @@ maybe-install-findutils: maybe-install-findutils: install-findutils install-findutils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -8867,6 +8999,7 @@ maybe-info-findutils: info-findutils info-findutils: \ configure-findutils + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8892,6 +9025,7 @@ maybe-dvi-findutils: dvi-findutils dvi-findutils: \ configure-findutils + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8917,6 +9051,7 @@ maybe-html-findutils: html-findutils html-findutils: \ configure-findutils + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8942,6 +9077,7 @@ maybe-TAGS-findutils: TAGS-findutils TAGS-findutils: \ configure-findutils + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8968,6 +9104,7 @@ maybe-install-info-findutils: install-info-findutils install-info-findutils: \ configure-findutils \ info-findutils + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8993,6 +9130,7 @@ maybe-installcheck-findutils: installcheck-findutils installcheck-findutils: \ configure-findutils + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9017,6 +9155,7 @@ maybe-mostlyclean-findutils: maybe-mostlyclean-findutils: mostlyclean-findutils mostlyclean-findutils: + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9041,6 +9180,7 @@ maybe-clean-findutils: maybe-clean-findutils: clean-findutils clean-findutils: + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9065,6 +9205,7 @@ maybe-distclean-findutils: maybe-distclean-findutils: distclean-findutils distclean-findutils: + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9089,6 +9230,7 @@ maybe-maintainer-clean-findutils: maybe-maintainer-clean-findutils: maintainer-clean-findutils maintainer-clean-findutils: + @: $(MAKE); $(unstage) @[ -f ./findutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9113,7 +9255,8 @@ maintainer-clean-findutils: maybe-configure-find: @if find maybe-configure-find: configure-find -configure-find: +configure-find: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \ r=`${PWD_COMMAND}`; export r; \ @@ -9143,6 +9286,7 @@ maybe-all-find: TARGET-find=all maybe-all-find: all-find all-find: configure-find + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9159,6 +9303,7 @@ maybe-check-find: maybe-check-find: check-find check-find: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9173,6 +9318,7 @@ maybe-install-find: maybe-install-find: install-find install-find: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9190,6 +9336,7 @@ maybe-info-find: info-find info-find: \ configure-find + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9215,6 +9362,7 @@ maybe-dvi-find: dvi-find dvi-find: \ configure-find + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9240,6 +9388,7 @@ maybe-html-find: html-find html-find: \ configure-find + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9265,6 +9414,7 @@ maybe-TAGS-find: TAGS-find TAGS-find: \ configure-find + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9291,6 +9441,7 @@ maybe-install-info-find: install-info-find install-info-find: \ configure-find \ info-find + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9316,6 +9467,7 @@ maybe-installcheck-find: installcheck-find installcheck-find: \ configure-find + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9340,6 +9492,7 @@ maybe-mostlyclean-find: maybe-mostlyclean-find: mostlyclean-find mostlyclean-find: + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9364,6 +9517,7 @@ maybe-clean-find: maybe-clean-find: clean-find clean-find: + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9388,6 +9542,7 @@ maybe-distclean-find: maybe-distclean-find: distclean-find distclean-find: + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9412,6 +9567,7 @@ maybe-maintainer-clean-find: maybe-maintainer-clean-find: maintainer-clean-find maintainer-clean-find: + @: $(MAKE); $(unstage) @[ -f ./find/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9436,7 +9592,8 @@ maintainer-clean-find: maybe-configure-fixincludes: @if fixincludes maybe-configure-fixincludes: configure-fixincludes -configure-fixincludes: +configure-fixincludes: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ r=`${PWD_COMMAND}`; export r; \ @@ -9466,6 +9623,7 @@ maybe-all-fixincludes: TARGET-fixincludes=all maybe-all-fixincludes: all-fixincludes all-fixincludes: configure-fixincludes + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9482,6 +9640,7 @@ maybe-check-fixincludes: maybe-check-fixincludes: check-fixincludes check-fixincludes: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9496,6 +9655,7 @@ maybe-install-fixincludes: maybe-install-fixincludes: install-fixincludes install-fixincludes: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9533,6 +9693,7 @@ maybe-html-fixincludes: html-fixincludes html-fixincludes: \ configure-fixincludes + @: $(MAKE); $(unstage) @[ -f ./fixincludes/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9587,6 +9748,7 @@ maybe-mostlyclean-fixincludes: maybe-mostlyclean-fixincludes: mostlyclean-fixincludes mostlyclean-fixincludes: + @: $(MAKE); $(unstage) @[ -f ./fixincludes/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9611,6 +9773,7 @@ maybe-clean-fixincludes: maybe-clean-fixincludes: clean-fixincludes clean-fixincludes: + @: $(MAKE); $(unstage) @[ -f ./fixincludes/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9635,6 +9798,7 @@ maybe-distclean-fixincludes: maybe-distclean-fixincludes: distclean-fixincludes distclean-fixincludes: + @: $(MAKE); $(unstage) @[ -f ./fixincludes/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9659,6 +9823,7 @@ maybe-maintainer-clean-fixincludes: maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes maintainer-clean-fixincludes: + @: $(MAKE); $(unstage) @[ -f ./fixincludes/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9683,7 +9848,8 @@ maintainer-clean-fixincludes: maybe-configure-flex: @if flex maybe-configure-flex: configure-flex -configure-flex: +configure-flex: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \ r=`${PWD_COMMAND}`; export r; \ @@ -9713,6 +9879,7 @@ maybe-all-flex: TARGET-flex=all maybe-all-flex: all-flex all-flex: configure-flex + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9730,6 +9897,7 @@ maybe-check-flex: check-flex # This module is only tested in a native toolchain. check-flex: + @: $(MAKE); $(unstage) @if [ '$(host)' = '$(target)' ] ; then \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9746,6 +9914,7 @@ maybe-install-flex: maybe-install-flex: install-flex install-flex: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -9763,6 +9932,7 @@ maybe-info-flex: info-flex info-flex: \ configure-flex + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9788,6 +9958,7 @@ maybe-dvi-flex: dvi-flex dvi-flex: \ configure-flex + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9813,6 +9984,7 @@ maybe-html-flex: html-flex html-flex: \ configure-flex + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9838,6 +10010,7 @@ maybe-TAGS-flex: TAGS-flex TAGS-flex: \ configure-flex + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9864,6 +10037,7 @@ maybe-install-info-flex: install-info-flex install-info-flex: \ configure-flex \ info-flex + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9889,6 +10063,7 @@ maybe-installcheck-flex: installcheck-flex installcheck-flex: \ configure-flex + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9913,6 +10088,7 @@ maybe-mostlyclean-flex: maybe-mostlyclean-flex: mostlyclean-flex mostlyclean-flex: + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9937,6 +10113,7 @@ maybe-clean-flex: maybe-clean-flex: clean-flex clean-flex: + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9961,6 +10138,7 @@ maybe-distclean-flex: maybe-distclean-flex: distclean-flex distclean-flex: + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -9985,6 +10163,7 @@ maybe-maintainer-clean-flex: maybe-maintainer-clean-flex: maintainer-clean-flex maintainer-clean-flex: + @: $(MAKE); $(unstage) @[ -f ./flex/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -10009,7 +10188,7 @@ maintainer-clean-flex: maybe-configure-gas: @if gas maybe-configure-gas: configure-gas -configure-gas: +configure-gas: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ @@ -10036,13 +10215,13 @@ configure-gas: maybe-configure-stage1-gas: @if gas-bootstrap maybe-configure-stage1-gas: configure-stage1-gas -configure-stage1-gas: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-gas: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas + test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ cd $(HOST_SUBDIR)/gas || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10060,14 +10239,14 @@ configure-stage1-gas: maybe-configure-stage2-gas: @if gas-bootstrap maybe-configure-stage2-gas: configure-stage2-gas -configure-stage2-gas: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-gas: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas + test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ cd $(HOST_SUBDIR)/gas || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10085,14 +10264,14 @@ configure-stage2-gas: maybe-configure-stage3-gas: @if gas-bootstrap maybe-configure-stage3-gas: configure-stage3-gas -configure-stage3-gas: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-gas: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas + test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ cd $(HOST_SUBDIR)/gas || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10110,14 +10289,14 @@ configure-stage3-gas: maybe-configure-stage4-gas: @if gas-bootstrap maybe-configure-stage4-gas: configure-stage4-gas -configure-stage4-gas: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-gas: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas + test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ cd $(HOST_SUBDIR)/gas || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10135,14 +10314,14 @@ configure-stage4-gas: maybe-configure-stageprofile-gas: @if gas-bootstrap maybe-configure-stageprofile-gas: configure-stageprofile-gas -configure-stageprofile-gas: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-gas: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas + test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ cd $(HOST_SUBDIR)/gas || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10160,14 +10339,14 @@ configure-stageprofile-gas: maybe-configure-stagefeedback-gas: @if gas-bootstrap maybe-configure-stagefeedback-gas: configure-stagefeedback-gas -configure-stagefeedback-gas: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-gas: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas + test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ cd $(HOST_SUBDIR)/gas || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10208,20 +10387,22 @@ maybe-clean-stage1-gas: @if gas-bootstrap maybe-all-stage1-gas: all-stage1-gas all-stage1: all-stage1-gas +TARGET-stage1-gas = $(TARGET-gas) all-stage1-gas: configure-stage1-gas - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-gas) maybe-clean-stage1-gas: clean-stage1-gas clean-stage1: clean-stage1-gas clean-stage1-gas: @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -10235,21 +10416,23 @@ maybe-clean-stage2-gas: @if gas-bootstrap maybe-all-stage2-gas: all-stage2-gas all-stage2: all-stage2-gas +TARGET-stage2-gas = $(TARGET-gas) all-stage2-gas: configure-stage2-gas - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-gas) maybe-clean-stage2-gas: clean-stage2-gas clean-stage2: clean-stage2-gas clean-stage2-gas: @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10264,21 +10447,23 @@ maybe-clean-stage3-gas: @if gas-bootstrap maybe-all-stage3-gas: all-stage3-gas all-stage3: all-stage3-gas +TARGET-stage3-gas = $(TARGET-gas) all-stage3-gas: configure-stage3-gas - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-gas) maybe-clean-stage3-gas: clean-stage3-gas clean-stage3: clean-stage3-gas clean-stage3-gas: @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10293,21 +10478,23 @@ maybe-clean-stage4-gas: @if gas-bootstrap maybe-all-stage4-gas: all-stage4-gas all-stage4: all-stage4-gas +TARGET-stage4-gas = $(TARGET-gas) all-stage4-gas: configure-stage4-gas - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-gas) maybe-clean-stage4-gas: clean-stage4-gas clean-stage4: clean-stage4-gas clean-stage4-gas: @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10322,21 +10509,23 @@ maybe-clean-stageprofile-gas: @if gas-bootstrap maybe-all-stageprofile-gas: all-stageprofile-gas all-stageprofile: all-stageprofile-gas +TARGET-stageprofile-gas = $(TARGET-gas) all-stageprofile-gas: configure-stageprofile-gas - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-gas) maybe-clean-stageprofile-gas: clean-stageprofile-gas clean-stageprofile: clean-stageprofile-gas clean-stageprofile-gas: @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10351,21 +10540,23 @@ maybe-clean-stagefeedback-gas: @if gas-bootstrap maybe-all-stagefeedback-gas: all-stagefeedback-gas all-stagefeedback: all-stagefeedback-gas +TARGET-stagefeedback-gas = $(TARGET-gas) all-stagefeedback-gas: configure-stagefeedback-gas - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-gas) maybe-clean-stagefeedback-gas: clean-stagefeedback-gas clean-stagefeedback: clean-stagefeedback-gas clean-stagefeedback-gas: @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10382,6 +10573,7 @@ maybe-check-gas: maybe-check-gas: check-gas check-gas: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -10396,6 +10588,7 @@ maybe-install-gas: maybe-install-gas: install-gas install-gas: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -10659,7 +10852,7 @@ maintainer-clean-gas: maybe-configure-gcc: @if gcc maybe-configure-gcc: configure-gcc -configure-gcc: +configure-gcc: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ @@ -10686,13 +10879,13 @@ configure-gcc: maybe-configure-stage1-gcc: @if gcc-bootstrap maybe-configure-stage1-gcc: configure-stage1-gcc -configure-stage1-gcc: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-gcc: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc + test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ cd $(HOST_SUBDIR)/gcc || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10710,14 +10903,14 @@ configure-stage1-gcc: maybe-configure-stage2-gcc: @if gcc-bootstrap maybe-configure-stage2-gcc: configure-stage2-gcc -configure-stage2-gcc: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-gcc: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc + test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ cd $(HOST_SUBDIR)/gcc || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10735,14 +10928,14 @@ configure-stage2-gcc: maybe-configure-stage3-gcc: @if gcc-bootstrap maybe-configure-stage3-gcc: configure-stage3-gcc -configure-stage3-gcc: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-gcc: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc + test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ cd $(HOST_SUBDIR)/gcc || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10760,14 +10953,14 @@ configure-stage3-gcc: maybe-configure-stage4-gcc: @if gcc-bootstrap maybe-configure-stage4-gcc: configure-stage4-gcc -configure-stage4-gcc: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-gcc: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc + test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ cd $(HOST_SUBDIR)/gcc || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10785,14 +10978,14 @@ configure-stage4-gcc: maybe-configure-stageprofile-gcc: @if gcc-bootstrap maybe-configure-stageprofile-gcc: configure-stageprofile-gcc -configure-stageprofile-gcc: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-gcc: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc + test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ cd $(HOST_SUBDIR)/gcc || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10810,14 +11003,14 @@ configure-stageprofile-gcc: maybe-configure-stagefeedback-gcc: @if gcc-bootstrap maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc -configure-stagefeedback-gcc: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-gcc: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc + test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ cd $(HOST_SUBDIR)/gcc || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -10838,7 +11031,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; \ @@ -10858,20 +11051,22 @@ maybe-clean-stage1-gcc: @if gcc-bootstrap maybe-all-stage1-gcc: all-stage1-gcc all-stage1: all-stage1-gcc +TARGET-stage1-gcc = $(TARGET-gcc) all-stage1-gcc: configure-stage1-gcc - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \ + $(TARGET-stage1-gcc) maybe-clean-stage1-gcc: clean-stage1-gcc clean-stage1: clean-stage1-gcc clean-stage1-gcc: @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/gcc && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean @@ -10885,21 +11080,23 @@ maybe-clean-stage2-gcc: @if gcc-bootstrap maybe-all-stage2-gcc: all-stage2-gcc all-stage2: all-stage2-gcc +TARGET-stage2-gcc = $(TARGET-gcc) all-stage2-gcc: configure-stage2-gcc - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ + $(TARGET-stage2-gcc) maybe-clean-stage2-gcc: clean-stage2-gcc clean-stage2: clean-stage2-gcc clean-stage2-gcc: @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/gcc && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10914,21 +11111,23 @@ maybe-clean-stage3-gcc: @if gcc-bootstrap maybe-all-stage3-gcc: all-stage3-gcc all-stage3: all-stage3-gcc +TARGET-stage3-gcc = $(TARGET-gcc) all-stage3-gcc: configure-stage3-gcc - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ + $(TARGET-stage3-gcc) maybe-clean-stage3-gcc: clean-stage3-gcc clean-stage3: clean-stage3-gcc clean-stage3-gcc: @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/gcc && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10943,21 +11142,23 @@ maybe-clean-stage4-gcc: @if gcc-bootstrap maybe-all-stage4-gcc: all-stage4-gcc all-stage4: all-stage4-gcc +TARGET-stage4-gcc = $(TARGET-gcc) all-stage4-gcc: configure-stage4-gcc - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ + $(TARGET-stage4-gcc) maybe-clean-stage4-gcc: clean-stage4-gcc clean-stage4: clean-stage4-gcc clean-stage4-gcc: @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/gcc && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -10972,21 +11173,23 @@ maybe-clean-stageprofile-gcc: @if gcc-bootstrap maybe-all-stageprofile-gcc: all-stageprofile-gcc all-stageprofile: all-stageprofile-gcc +TARGET-stageprofile-gcc = $(TARGET-gcc) all-stageprofile-gcc: configure-stageprofile-gcc - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \ + $(TARGET-stageprofile-gcc) maybe-clean-stageprofile-gcc: clean-stageprofile-gcc clean-stageprofile: clean-stageprofile-gcc clean-stageprofile-gcc: @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/gcc && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -11001,21 +11204,23 @@ maybe-clean-stagefeedback-gcc: @if gcc-bootstrap maybe-all-stagefeedback-gcc: all-stagefeedback-gcc all-stagefeedback: all-stagefeedback-gcc +TARGET-stagefeedback-gcc = $(TARGET-gcc) all-stagefeedback-gcc: configure-stagefeedback-gcc - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \ + $(TARGET-stagefeedback-gcc) maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc clean-stagefeedback: clean-stagefeedback-gcc clean-stagefeedback-gcc: @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/gcc && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -11032,6 +11237,7 @@ maybe-check-gcc: maybe-check-gcc: check-gcc check-gcc: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11046,6 +11252,7 @@ maybe-install-gcc: maybe-install-gcc: install-gcc install-gcc: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11309,7 +11516,8 @@ maintainer-clean-gcc: maybe-configure-gawk: @if gawk maybe-configure-gawk: configure-gawk -configure-gawk: +configure-gawk: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \ r=`${PWD_COMMAND}`; export r; \ @@ -11339,6 +11547,7 @@ maybe-all-gawk: TARGET-gawk=all maybe-all-gawk: all-gawk all-gawk: configure-gawk + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11355,6 +11564,7 @@ maybe-check-gawk: maybe-check-gawk: check-gawk check-gawk: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11369,6 +11579,7 @@ maybe-install-gawk: maybe-install-gawk: install-gawk install-gawk: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11386,6 +11597,7 @@ maybe-info-gawk: info-gawk info-gawk: \ configure-gawk + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11411,6 +11623,7 @@ maybe-dvi-gawk: dvi-gawk dvi-gawk: \ configure-gawk + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11436,6 +11649,7 @@ maybe-html-gawk: html-gawk html-gawk: \ configure-gawk + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11461,6 +11675,7 @@ maybe-TAGS-gawk: TAGS-gawk TAGS-gawk: \ configure-gawk + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11487,6 +11702,7 @@ maybe-install-info-gawk: install-info-gawk install-info-gawk: \ configure-gawk \ info-gawk + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11512,6 +11728,7 @@ maybe-installcheck-gawk: installcheck-gawk installcheck-gawk: \ configure-gawk + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11536,6 +11753,7 @@ maybe-mostlyclean-gawk: maybe-mostlyclean-gawk: mostlyclean-gawk mostlyclean-gawk: + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11560,6 +11778,7 @@ maybe-clean-gawk: maybe-clean-gawk: clean-gawk clean-gawk: + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11584,6 +11803,7 @@ maybe-distclean-gawk: maybe-distclean-gawk: distclean-gawk distclean-gawk: + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11608,6 +11828,7 @@ maybe-maintainer-clean-gawk: maybe-maintainer-clean-gawk: maintainer-clean-gawk maintainer-clean-gawk: + @: $(MAKE); $(unstage) @[ -f ./gawk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11632,7 +11853,8 @@ maintainer-clean-gawk: maybe-configure-gettext: @if gettext maybe-configure-gettext: configure-gettext -configure-gettext: +configure-gettext: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \ r=`${PWD_COMMAND}`; export r; \ @@ -11662,6 +11884,7 @@ maybe-all-gettext: TARGET-gettext=all maybe-all-gettext: all-gettext all-gettext: configure-gettext + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11678,6 +11901,7 @@ maybe-check-gettext: maybe-check-gettext: check-gettext check-gettext: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11692,6 +11916,7 @@ maybe-install-gettext: maybe-install-gettext: install-gettext install-gettext: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -11709,6 +11934,7 @@ maybe-info-gettext: info-gettext info-gettext: \ configure-gettext + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11734,6 +11960,7 @@ maybe-dvi-gettext: dvi-gettext dvi-gettext: \ configure-gettext + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11759,6 +11986,7 @@ maybe-html-gettext: html-gettext html-gettext: \ configure-gettext + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11784,6 +12012,7 @@ maybe-TAGS-gettext: TAGS-gettext TAGS-gettext: \ configure-gettext + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11810,6 +12039,7 @@ maybe-install-info-gettext: install-info-gettext install-info-gettext: \ configure-gettext \ info-gettext + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11835,6 +12065,7 @@ maybe-installcheck-gettext: installcheck-gettext installcheck-gettext: \ configure-gettext + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11859,6 +12090,7 @@ maybe-mostlyclean-gettext: maybe-mostlyclean-gettext: mostlyclean-gettext mostlyclean-gettext: + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11883,6 +12115,7 @@ maybe-clean-gettext: maybe-clean-gettext: clean-gettext clean-gettext: + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11907,6 +12140,7 @@ maybe-distclean-gettext: maybe-distclean-gettext: distclean-gettext distclean-gettext: + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11931,6 +12165,7 @@ maybe-maintainer-clean-gettext: maybe-maintainer-clean-gettext: maintainer-clean-gettext maintainer-clean-gettext: + @: $(MAKE); $(unstage) @[ -f ./gettext/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11955,7 +12190,8 @@ maintainer-clean-gettext: maybe-configure-gnuserv: @if gnuserv maybe-configure-gnuserv: configure-gnuserv -configure-gnuserv: +configure-gnuserv: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \ r=`${PWD_COMMAND}`; export r; \ @@ -11985,6 +12221,7 @@ maybe-all-gnuserv: TARGET-gnuserv=all maybe-all-gnuserv: all-gnuserv all-gnuserv: configure-gnuserv + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12001,6 +12238,7 @@ maybe-check-gnuserv: maybe-check-gnuserv: check-gnuserv check-gnuserv: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12015,6 +12253,7 @@ maybe-install-gnuserv: maybe-install-gnuserv: install-gnuserv install-gnuserv: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12032,6 +12271,7 @@ maybe-info-gnuserv: info-gnuserv info-gnuserv: \ configure-gnuserv + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12057,6 +12297,7 @@ maybe-dvi-gnuserv: dvi-gnuserv dvi-gnuserv: \ configure-gnuserv + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12082,6 +12323,7 @@ maybe-html-gnuserv: html-gnuserv html-gnuserv: \ configure-gnuserv + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12107,6 +12349,7 @@ maybe-TAGS-gnuserv: TAGS-gnuserv TAGS-gnuserv: \ configure-gnuserv + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12133,6 +12376,7 @@ maybe-install-info-gnuserv: install-info-gnuserv install-info-gnuserv: \ configure-gnuserv \ info-gnuserv + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12158,6 +12402,7 @@ maybe-installcheck-gnuserv: installcheck-gnuserv installcheck-gnuserv: \ configure-gnuserv + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12182,6 +12427,7 @@ maybe-mostlyclean-gnuserv: maybe-mostlyclean-gnuserv: mostlyclean-gnuserv mostlyclean-gnuserv: + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12206,6 +12452,7 @@ maybe-clean-gnuserv: maybe-clean-gnuserv: clean-gnuserv clean-gnuserv: + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12230,6 +12477,7 @@ maybe-distclean-gnuserv: maybe-distclean-gnuserv: distclean-gnuserv distclean-gnuserv: + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12254,6 +12502,7 @@ maybe-maintainer-clean-gnuserv: maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv maintainer-clean-gnuserv: + @: $(MAKE); $(unstage) @[ -f ./gnuserv/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12278,7 +12527,8 @@ maintainer-clean-gnuserv: maybe-configure-gprof: @if gprof maybe-configure-gprof: configure-gprof -configure-gprof: +configure-gprof: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \ r=`${PWD_COMMAND}`; export r; \ @@ -12308,6 +12558,7 @@ maybe-all-gprof: TARGET-gprof=all maybe-all-gprof: all-gprof all-gprof: configure-gprof + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12324,6 +12575,7 @@ maybe-check-gprof: maybe-check-gprof: check-gprof check-gprof: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12338,6 +12590,7 @@ maybe-install-gprof: maybe-install-gprof: install-gprof install-gprof: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12355,6 +12608,7 @@ maybe-info-gprof: info-gprof info-gprof: \ configure-gprof + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12380,6 +12634,7 @@ maybe-dvi-gprof: dvi-gprof dvi-gprof: \ configure-gprof + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12405,6 +12660,7 @@ maybe-html-gprof: html-gprof html-gprof: \ configure-gprof + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12430,6 +12686,7 @@ maybe-TAGS-gprof: TAGS-gprof TAGS-gprof: \ configure-gprof + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12456,6 +12713,7 @@ maybe-install-info-gprof: install-info-gprof install-info-gprof: \ configure-gprof \ info-gprof + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12481,6 +12739,7 @@ maybe-installcheck-gprof: installcheck-gprof installcheck-gprof: \ configure-gprof + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12505,6 +12764,7 @@ maybe-mostlyclean-gprof: maybe-mostlyclean-gprof: mostlyclean-gprof mostlyclean-gprof: + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12529,6 +12789,7 @@ maybe-clean-gprof: maybe-clean-gprof: clean-gprof clean-gprof: + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12553,6 +12814,7 @@ maybe-distclean-gprof: maybe-distclean-gprof: distclean-gprof distclean-gprof: + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12577,6 +12839,7 @@ maybe-maintainer-clean-gprof: maybe-maintainer-clean-gprof: maintainer-clean-gprof maintainer-clean-gprof: + @: $(MAKE); $(unstage) @[ -f ./gprof/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12601,7 +12864,8 @@ maintainer-clean-gprof: maybe-configure-gzip: @if gzip maybe-configure-gzip: configure-gzip -configure-gzip: +configure-gzip: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \ r=`${PWD_COMMAND}`; export r; \ @@ -12631,6 +12895,7 @@ maybe-all-gzip: TARGET-gzip=all maybe-all-gzip: all-gzip all-gzip: configure-gzip + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12647,6 +12912,7 @@ maybe-check-gzip: maybe-check-gzip: check-gzip check-gzip: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12661,6 +12927,7 @@ maybe-install-gzip: maybe-install-gzip: install-gzip install-gzip: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12678,6 +12945,7 @@ maybe-info-gzip: info-gzip info-gzip: \ configure-gzip + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12703,6 +12971,7 @@ maybe-dvi-gzip: dvi-gzip dvi-gzip: \ configure-gzip + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12728,6 +12997,7 @@ maybe-html-gzip: html-gzip html-gzip: \ configure-gzip + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12753,6 +13023,7 @@ maybe-TAGS-gzip: TAGS-gzip TAGS-gzip: \ configure-gzip + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12779,6 +13050,7 @@ maybe-install-info-gzip: install-info-gzip install-info-gzip: \ configure-gzip \ info-gzip + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12804,6 +13076,7 @@ maybe-installcheck-gzip: installcheck-gzip installcheck-gzip: \ configure-gzip + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12828,6 +13101,7 @@ maybe-mostlyclean-gzip: maybe-mostlyclean-gzip: mostlyclean-gzip mostlyclean-gzip: + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12852,6 +13126,7 @@ maybe-clean-gzip: maybe-clean-gzip: clean-gzip clean-gzip: + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12876,6 +13151,7 @@ maybe-distclean-gzip: maybe-distclean-gzip: distclean-gzip distclean-gzip: + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12900,6 +13176,7 @@ maybe-maintainer-clean-gzip: maybe-maintainer-clean-gzip: maintainer-clean-gzip maintainer-clean-gzip: + @: $(MAKE); $(unstage) @[ -f ./gzip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12924,7 +13201,8 @@ maintainer-clean-gzip: maybe-configure-hello: @if hello maybe-configure-hello: configure-hello -configure-hello: +configure-hello: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \ r=`${PWD_COMMAND}`; export r; \ @@ -12954,6 +13232,7 @@ maybe-all-hello: TARGET-hello=all maybe-all-hello: all-hello all-hello: configure-hello + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12970,6 +13249,7 @@ maybe-check-hello: maybe-check-hello: check-hello check-hello: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -12984,6 +13264,7 @@ maybe-install-hello: maybe-install-hello: install-hello install-hello: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -13001,6 +13282,7 @@ maybe-info-hello: info-hello info-hello: \ configure-hello + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13026,6 +13308,7 @@ maybe-dvi-hello: dvi-hello dvi-hello: \ configure-hello + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13051,6 +13334,7 @@ maybe-html-hello: html-hello html-hello: \ configure-hello + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13076,6 +13360,7 @@ maybe-TAGS-hello: TAGS-hello TAGS-hello: \ configure-hello + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13102,6 +13387,7 @@ maybe-install-info-hello: install-info-hello install-info-hello: \ configure-hello \ info-hello + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13127,6 +13413,7 @@ maybe-installcheck-hello: installcheck-hello installcheck-hello: \ configure-hello + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13151,6 +13438,7 @@ maybe-mostlyclean-hello: maybe-mostlyclean-hello: mostlyclean-hello mostlyclean-hello: + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13175,6 +13463,7 @@ maybe-clean-hello: maybe-clean-hello: clean-hello clean-hello: + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13199,6 +13488,7 @@ maybe-distclean-hello: maybe-distclean-hello: distclean-hello distclean-hello: + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13223,6 +13513,7 @@ maybe-maintainer-clean-hello: maybe-maintainer-clean-hello: maintainer-clean-hello maintainer-clean-hello: + @: $(MAKE); $(unstage) @[ -f ./hello/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13247,7 +13538,8 @@ maintainer-clean-hello: maybe-configure-indent: @if indent maybe-configure-indent: configure-indent -configure-indent: +configure-indent: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \ r=`${PWD_COMMAND}`; export r; \ @@ -13277,6 +13569,7 @@ maybe-all-indent: TARGET-indent=all maybe-all-indent: all-indent all-indent: configure-indent + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -13293,6 +13586,7 @@ maybe-check-indent: maybe-check-indent: check-indent check-indent: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -13307,6 +13601,7 @@ maybe-install-indent: maybe-install-indent: install-indent install-indent: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -13324,6 +13619,7 @@ maybe-info-indent: info-indent info-indent: \ configure-indent + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13349,6 +13645,7 @@ maybe-dvi-indent: dvi-indent dvi-indent: \ configure-indent + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13374,6 +13671,7 @@ maybe-html-indent: html-indent html-indent: \ configure-indent + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13399,6 +13697,7 @@ maybe-TAGS-indent: TAGS-indent TAGS-indent: \ configure-indent + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13425,6 +13724,7 @@ maybe-install-info-indent: install-info-indent install-info-indent: \ configure-indent \ info-indent + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13450,6 +13750,7 @@ maybe-installcheck-indent: installcheck-indent installcheck-indent: \ configure-indent + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13474,6 +13775,7 @@ maybe-mostlyclean-indent: maybe-mostlyclean-indent: mostlyclean-indent mostlyclean-indent: + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13498,6 +13800,7 @@ maybe-clean-indent: maybe-clean-indent: clean-indent clean-indent: + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13522,6 +13825,7 @@ maybe-distclean-indent: maybe-distclean-indent: distclean-indent distclean-indent: + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13546,6 +13850,7 @@ maybe-maintainer-clean-indent: maybe-maintainer-clean-indent: maintainer-clean-indent maintainer-clean-indent: + @: $(MAKE); $(unstage) @[ -f ./indent/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -13570,7 +13875,7 @@ maintainer-clean-indent: maybe-configure-intl: @if intl maybe-configure-intl: configure-intl -configure-intl: +configure-intl: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ @@ -13597,13 +13902,13 @@ configure-intl: maybe-configure-stage1-intl: @if intl-bootstrap maybe-configure-stage1-intl: configure-stage1-intl -configure-stage1-intl: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-intl: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ cd $(HOST_SUBDIR)/intl || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -13621,14 +13926,14 @@ configure-stage1-intl: maybe-configure-stage2-intl: @if intl-bootstrap maybe-configure-stage2-intl: configure-stage2-intl -configure-stage2-intl: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-intl: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ cd $(HOST_SUBDIR)/intl || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -13646,14 +13951,14 @@ configure-stage2-intl: maybe-configure-stage3-intl: @if intl-bootstrap maybe-configure-stage3-intl: configure-stage3-intl -configure-stage3-intl: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-intl: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ cd $(HOST_SUBDIR)/intl || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -13671,14 +13976,14 @@ configure-stage3-intl: maybe-configure-stage4-intl: @if intl-bootstrap maybe-configure-stage4-intl: configure-stage4-intl -configure-stage4-intl: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-intl: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ cd $(HOST_SUBDIR)/intl || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -13696,14 +14001,14 @@ configure-stage4-intl: maybe-configure-stageprofile-intl: @if intl-bootstrap maybe-configure-stageprofile-intl: configure-stageprofile-intl -configure-stageprofile-intl: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-intl: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ cd $(HOST_SUBDIR)/intl || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -13721,14 +14026,14 @@ configure-stageprofile-intl: maybe-configure-stagefeedback-intl: @if intl-bootstrap maybe-configure-stagefeedback-intl: configure-stagefeedback-intl -configure-stagefeedback-intl: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-intl: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl + test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ cd $(HOST_SUBDIR)/intl || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -13769,20 +14074,22 @@ maybe-clean-stage1-intl: @if intl-bootstrap maybe-all-stage1-intl: all-stage1-intl all-stage1: all-stage1-intl +TARGET-stage1-intl = $(TARGET-intl) all-stage1-intl: configure-stage1-intl - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-intl) maybe-clean-stage1-intl: clean-stage1-intl clean-stage1: clean-stage1-intl clean-stage1-intl: @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/intl && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -13796,21 +14103,23 @@ maybe-clean-stage2-intl: @if intl-bootstrap maybe-all-stage2-intl: all-stage2-intl all-stage2: all-stage2-intl +TARGET-stage2-intl = $(TARGET-intl) all-stage2-intl: configure-stage2-intl - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-intl) maybe-clean-stage2-intl: clean-stage2-intl clean-stage2: clean-stage2-intl clean-stage2-intl: @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/intl && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -13825,21 +14134,23 @@ maybe-clean-stage3-intl: @if intl-bootstrap maybe-all-stage3-intl: all-stage3-intl all-stage3: all-stage3-intl +TARGET-stage3-intl = $(TARGET-intl) all-stage3-intl: configure-stage3-intl - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-intl) maybe-clean-stage3-intl: clean-stage3-intl clean-stage3: clean-stage3-intl clean-stage3-intl: @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/intl && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -13854,21 +14165,23 @@ maybe-clean-stage4-intl: @if intl-bootstrap maybe-all-stage4-intl: all-stage4-intl all-stage4: all-stage4-intl +TARGET-stage4-intl = $(TARGET-intl) all-stage4-intl: configure-stage4-intl - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-intl) maybe-clean-stage4-intl: clean-stage4-intl clean-stage4: clean-stage4-intl clean-stage4-intl: @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/intl && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -13883,21 +14196,23 @@ maybe-clean-stageprofile-intl: @if intl-bootstrap maybe-all-stageprofile-intl: all-stageprofile-intl all-stageprofile: all-stageprofile-intl +TARGET-stageprofile-intl = $(TARGET-intl) all-stageprofile-intl: configure-stageprofile-intl - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-intl) maybe-clean-stageprofile-intl: clean-stageprofile-intl clean-stageprofile: clean-stageprofile-intl clean-stageprofile-intl: @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/intl && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -13912,21 +14227,23 @@ maybe-clean-stagefeedback-intl: @if intl-bootstrap maybe-all-stagefeedback-intl: all-stagefeedback-intl all-stagefeedback: all-stagefeedback-intl +TARGET-stagefeedback-intl = $(TARGET-intl) all-stagefeedback-intl: configure-stagefeedback-intl - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-intl) maybe-clean-stagefeedback-intl: clean-stagefeedback-intl clean-stagefeedback: clean-stagefeedback-intl clean-stagefeedback-intl: @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/intl && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -13943,6 +14260,7 @@ maybe-check-intl: maybe-check-intl: check-intl check-intl: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -13957,6 +14275,7 @@ maybe-install-intl: maybe-install-intl: install-intl install-intl: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14220,7 +14539,8 @@ maintainer-clean-intl: maybe-configure-tcl: @if tcl maybe-configure-tcl: configure-tcl -configure-tcl: +configure-tcl: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \ r=`${PWD_COMMAND}`; export r; \ @@ -14250,6 +14570,7 @@ maybe-all-tcl: TARGET-tcl=all maybe-all-tcl: all-tcl all-tcl: configure-tcl + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14266,6 +14587,7 @@ maybe-check-tcl: maybe-check-tcl: check-tcl check-tcl: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14280,6 +14602,7 @@ maybe-install-tcl: maybe-install-tcl: install-tcl install-tcl: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14297,6 +14620,7 @@ maybe-info-tcl: info-tcl info-tcl: \ configure-tcl + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14322,6 +14646,7 @@ maybe-dvi-tcl: dvi-tcl dvi-tcl: \ configure-tcl + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14347,6 +14672,7 @@ maybe-html-tcl: html-tcl html-tcl: \ configure-tcl + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14372,6 +14698,7 @@ maybe-TAGS-tcl: TAGS-tcl TAGS-tcl: \ configure-tcl + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14398,6 +14725,7 @@ maybe-install-info-tcl: install-info-tcl install-info-tcl: \ configure-tcl \ info-tcl + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14423,6 +14751,7 @@ maybe-installcheck-tcl: installcheck-tcl installcheck-tcl: \ configure-tcl + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14457,6 +14786,7 @@ maybe-clean-tcl: maybe-clean-tcl: clean-tcl clean-tcl: + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14481,6 +14811,7 @@ maybe-distclean-tcl: maybe-distclean-tcl: distclean-tcl distclean-tcl: + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14505,6 +14836,7 @@ maybe-maintainer-clean-tcl: maybe-maintainer-clean-tcl: maintainer-clean-tcl maintainer-clean-tcl: + @: $(MAKE); $(unstage) @[ -f ./tcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14529,7 +14861,8 @@ maintainer-clean-tcl: maybe-configure-itcl: @if itcl maybe-configure-itcl: configure-itcl -configure-itcl: +configure-itcl: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \ r=`${PWD_COMMAND}`; export r; \ @@ -14559,6 +14892,7 @@ maybe-all-itcl: TARGET-itcl=all maybe-all-itcl: all-itcl all-itcl: configure-itcl + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14575,6 +14909,7 @@ maybe-check-itcl: maybe-check-itcl: check-itcl check-itcl: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14589,6 +14924,7 @@ maybe-install-itcl: maybe-install-itcl: install-itcl install-itcl: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -14606,6 +14942,7 @@ maybe-info-itcl: info-itcl info-itcl: \ configure-itcl + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14631,6 +14968,7 @@ maybe-dvi-itcl: dvi-itcl dvi-itcl: \ configure-itcl + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14656,6 +14994,7 @@ maybe-html-itcl: html-itcl html-itcl: \ configure-itcl + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14681,6 +15020,7 @@ maybe-TAGS-itcl: TAGS-itcl TAGS-itcl: \ configure-itcl + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14707,6 +15047,7 @@ maybe-install-info-itcl: install-info-itcl install-info-itcl: \ configure-itcl \ info-itcl + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14732,6 +15073,7 @@ maybe-installcheck-itcl: installcheck-itcl installcheck-itcl: \ configure-itcl + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14756,6 +15098,7 @@ maybe-mostlyclean-itcl: maybe-mostlyclean-itcl: mostlyclean-itcl mostlyclean-itcl: + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14780,6 +15123,7 @@ maybe-clean-itcl: maybe-clean-itcl: clean-itcl clean-itcl: + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14804,6 +15148,7 @@ maybe-distclean-itcl: maybe-distclean-itcl: distclean-itcl distclean-itcl: + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14828,6 +15173,7 @@ maybe-maintainer-clean-itcl: maybe-maintainer-clean-itcl: maintainer-clean-itcl maintainer-clean-itcl: + @: $(MAKE); $(unstage) @[ -f ./itcl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -14852,7 +15198,7 @@ maintainer-clean-itcl: maybe-configure-ld: @if ld maybe-configure-ld: configure-ld -configure-ld: +configure-ld: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ @@ -14879,13 +15225,13 @@ configure-ld: maybe-configure-stage1-ld: @if ld-bootstrap maybe-configure-stage1-ld: configure-stage1-ld -configure-stage1-ld: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-ld: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld + test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ cd $(HOST_SUBDIR)/ld || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -14903,14 +15249,14 @@ configure-stage1-ld: maybe-configure-stage2-ld: @if ld-bootstrap maybe-configure-stage2-ld: configure-stage2-ld -configure-stage2-ld: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-ld: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld + test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ cd $(HOST_SUBDIR)/ld || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -14928,14 +15274,14 @@ configure-stage2-ld: maybe-configure-stage3-ld: @if ld-bootstrap maybe-configure-stage3-ld: configure-stage3-ld -configure-stage3-ld: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-ld: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld + test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ cd $(HOST_SUBDIR)/ld || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -14953,14 +15299,14 @@ configure-stage3-ld: maybe-configure-stage4-ld: @if ld-bootstrap maybe-configure-stage4-ld: configure-stage4-ld -configure-stage4-ld: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-ld: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld + test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ cd $(HOST_SUBDIR)/ld || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -14978,14 +15324,14 @@ configure-stage4-ld: maybe-configure-stageprofile-ld: @if ld-bootstrap maybe-configure-stageprofile-ld: configure-stageprofile-ld -configure-stageprofile-ld: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-ld: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld + test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ cd $(HOST_SUBDIR)/ld || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15003,14 +15349,14 @@ configure-stageprofile-ld: maybe-configure-stagefeedback-ld: @if ld-bootstrap maybe-configure-stagefeedback-ld: configure-stagefeedback-ld -configure-stagefeedback-ld: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-ld: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld + test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ cd $(HOST_SUBDIR)/ld || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15051,20 +15397,22 @@ maybe-clean-stage1-ld: @if ld-bootstrap maybe-all-stage1-ld: all-stage1-ld all-stage1: all-stage1-ld +TARGET-stage1-ld = $(TARGET-ld) all-stage1-ld: configure-stage1-ld - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-ld) maybe-clean-stage1-ld: clean-stage1-ld clean-stage1: clean-stage1-ld clean-stage1-ld: @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/ld && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -15078,21 +15426,23 @@ maybe-clean-stage2-ld: @if ld-bootstrap maybe-all-stage2-ld: all-stage2-ld all-stage2: all-stage2-ld +TARGET-stage2-ld = $(TARGET-ld) all-stage2-ld: configure-stage2-ld - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-ld) maybe-clean-stage2-ld: clean-stage2-ld clean-stage2: clean-stage2-ld clean-stage2-ld: @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/ld && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15107,21 +15457,23 @@ maybe-clean-stage3-ld: @if ld-bootstrap maybe-all-stage3-ld: all-stage3-ld all-stage3: all-stage3-ld +TARGET-stage3-ld = $(TARGET-ld) all-stage3-ld: configure-stage3-ld - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-ld) maybe-clean-stage3-ld: clean-stage3-ld clean-stage3: clean-stage3-ld clean-stage3-ld: @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/ld && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15136,21 +15488,23 @@ maybe-clean-stage4-ld: @if ld-bootstrap maybe-all-stage4-ld: all-stage4-ld all-stage4: all-stage4-ld +TARGET-stage4-ld = $(TARGET-ld) all-stage4-ld: configure-stage4-ld - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-ld) maybe-clean-stage4-ld: clean-stage4-ld clean-stage4: clean-stage4-ld clean-stage4-ld: @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/ld && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15165,21 +15519,23 @@ maybe-clean-stageprofile-ld: @if ld-bootstrap maybe-all-stageprofile-ld: all-stageprofile-ld all-stageprofile: all-stageprofile-ld +TARGET-stageprofile-ld = $(TARGET-ld) all-stageprofile-ld: configure-stageprofile-ld - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-ld) maybe-clean-stageprofile-ld: clean-stageprofile-ld clean-stageprofile: clean-stageprofile-ld clean-stageprofile-ld: @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/ld && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15194,21 +15550,23 @@ maybe-clean-stagefeedback-ld: @if ld-bootstrap maybe-all-stagefeedback-ld: all-stagefeedback-ld all-stagefeedback: all-stagefeedback-ld +TARGET-stagefeedback-ld = $(TARGET-ld) all-stagefeedback-ld: configure-stagefeedback-ld - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-ld) maybe-clean-stagefeedback-ld: clean-stagefeedback-ld clean-stagefeedback: clean-stagefeedback-ld clean-stagefeedback-ld: @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/ld && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15225,6 +15583,7 @@ maybe-check-ld: maybe-check-ld: check-ld check-ld: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -15239,6 +15598,7 @@ maybe-install-ld: maybe-install-ld: install-ld install-ld: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -15502,7 +15862,7 @@ maintainer-clean-ld: maybe-configure-libcpp: @if libcpp maybe-configure-libcpp: configure-libcpp -configure-libcpp: +configure-libcpp: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ @@ -15529,13 +15889,13 @@ configure-libcpp: maybe-configure-stage1-libcpp: @if libcpp-bootstrap maybe-configure-stage1-libcpp: configure-stage1-libcpp -configure-stage1-libcpp: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-libcpp: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp + test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ cd $(HOST_SUBDIR)/libcpp || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15553,14 +15913,14 @@ configure-stage1-libcpp: maybe-configure-stage2-libcpp: @if libcpp-bootstrap maybe-configure-stage2-libcpp: configure-stage2-libcpp -configure-stage2-libcpp: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-libcpp: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp + test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ cd $(HOST_SUBDIR)/libcpp || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15578,14 +15938,14 @@ configure-stage2-libcpp: maybe-configure-stage3-libcpp: @if libcpp-bootstrap maybe-configure-stage3-libcpp: configure-stage3-libcpp -configure-stage3-libcpp: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-libcpp: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp + test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ cd $(HOST_SUBDIR)/libcpp || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15603,14 +15963,14 @@ configure-stage3-libcpp: maybe-configure-stage4-libcpp: @if libcpp-bootstrap maybe-configure-stage4-libcpp: configure-stage4-libcpp -configure-stage4-libcpp: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-libcpp: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp + test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ cd $(HOST_SUBDIR)/libcpp || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15628,14 +15988,14 @@ configure-stage4-libcpp: maybe-configure-stageprofile-libcpp: @if libcpp-bootstrap maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp -configure-stageprofile-libcpp: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-libcpp: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp + test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ cd $(HOST_SUBDIR)/libcpp || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15653,14 +16013,14 @@ configure-stageprofile-libcpp: maybe-configure-stagefeedback-libcpp: @if libcpp-bootstrap maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp -configure-stagefeedback-libcpp: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-libcpp: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp + test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ cd $(HOST_SUBDIR)/libcpp || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -15701,20 +16061,22 @@ maybe-clean-stage1-libcpp: @if libcpp-bootstrap maybe-all-stage1-libcpp: all-stage1-libcpp all-stage1: all-stage1-libcpp +TARGET-stage1-libcpp = $(TARGET-libcpp) all-stage1-libcpp: configure-stage1-libcpp - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-libcpp) maybe-clean-stage1-libcpp: clean-stage1-libcpp clean-stage1: clean-stage1-libcpp clean-stage1-libcpp: @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/libcpp && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -15728,21 +16090,23 @@ maybe-clean-stage2-libcpp: @if libcpp-bootstrap maybe-all-stage2-libcpp: all-stage2-libcpp all-stage2: all-stage2-libcpp +TARGET-stage2-libcpp = $(TARGET-libcpp) all-stage2-libcpp: configure-stage2-libcpp - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-libcpp) maybe-clean-stage2-libcpp: clean-stage2-libcpp clean-stage2: clean-stage2-libcpp clean-stage2-libcpp: @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/libcpp && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15757,21 +16121,23 @@ maybe-clean-stage3-libcpp: @if libcpp-bootstrap maybe-all-stage3-libcpp: all-stage3-libcpp all-stage3: all-stage3-libcpp +TARGET-stage3-libcpp = $(TARGET-libcpp) all-stage3-libcpp: configure-stage3-libcpp - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-libcpp) maybe-clean-stage3-libcpp: clean-stage3-libcpp clean-stage3: clean-stage3-libcpp clean-stage3-libcpp: @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/libcpp && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15786,21 +16152,23 @@ maybe-clean-stage4-libcpp: @if libcpp-bootstrap maybe-all-stage4-libcpp: all-stage4-libcpp all-stage4: all-stage4-libcpp +TARGET-stage4-libcpp = $(TARGET-libcpp) all-stage4-libcpp: configure-stage4-libcpp - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-libcpp) maybe-clean-stage4-libcpp: clean-stage4-libcpp clean-stage4: clean-stage4-libcpp clean-stage4-libcpp: @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/libcpp && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15815,21 +16183,23 @@ maybe-clean-stageprofile-libcpp: @if libcpp-bootstrap maybe-all-stageprofile-libcpp: all-stageprofile-libcpp all-stageprofile: all-stageprofile-libcpp +TARGET-stageprofile-libcpp = $(TARGET-libcpp) all-stageprofile-libcpp: configure-stageprofile-libcpp - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-libcpp) maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp clean-stageprofile: clean-stageprofile-libcpp clean-stageprofile-libcpp: @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/libcpp && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15844,21 +16214,23 @@ maybe-clean-stagefeedback-libcpp: @if libcpp-bootstrap maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp all-stagefeedback: all-stagefeedback-libcpp +TARGET-stagefeedback-libcpp = $(TARGET-libcpp) all-stagefeedback-libcpp: configure-stagefeedback-libcpp - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-libcpp) maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp clean-stagefeedback: clean-stagefeedback-libcpp clean-stagefeedback-libcpp: @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/libcpp && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -15875,6 +16247,7 @@ maybe-check-libcpp: maybe-check-libcpp: check-libcpp check-libcpp: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -15889,6 +16262,7 @@ maybe-install-libcpp: maybe-install-libcpp: install-libcpp install-libcpp: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -16148,11 +16522,676 @@ maintainer-clean-libcpp: +.PHONY: configure-libdecnumber maybe-configure-libdecnumber +maybe-configure-libdecnumber: +@if libdecnumber +maybe-configure-libdecnumber: configure-libdecnumber +configure-libdecnumber: + @test -f stage_last && exit 0; \ + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring in $(HOST_SUBDIR)/libdecnumber; \ + cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + || exit 1 +@endif libdecnumber + + + +.PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber +maybe-configure-stage1-libdecnumber: +@if libdecnumber-bootstrap +maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber +configure-stage1-libdecnumber: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif libdecnumber-bootstrap + +.PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber +maybe-configure-stage2-libdecnumber: +@if libdecnumber-bootstrap +maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber +configure-stage2-libdecnumber: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libdecnumber-bootstrap + +.PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber +maybe-configure-stage3-libdecnumber: +@if libdecnumber-bootstrap +maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber +configure-stage3-libdecnumber: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libdecnumber-bootstrap + +.PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber +maybe-configure-stage4-libdecnumber: +@if libdecnumber-bootstrap +maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber +configure-stage4-libdecnumber: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libdecnumber-bootstrap + +.PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber +maybe-configure-stageprofile-libdecnumber: +@if libdecnumber-bootstrap +maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber +configure-stageprofile-libdecnumber: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libdecnumber-bootstrap + +.PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber +maybe-configure-stagefeedback-libdecnumber: +@if libdecnumber-bootstrap +maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber +configure-stagefeedback-libdecnumber: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber + test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ + cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ + libsrcdir="$$s/libdecnumber"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libdecnumber-bootstrap + + + + + +.PHONY: all-libdecnumber maybe-all-libdecnumber +maybe-all-libdecnumber: +@if libdecnumber +TARGET-libdecnumber=all +maybe-all-libdecnumber: all-libdecnumber +all-libdecnumber: configure-libdecnumber + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber)) +@endif libdecnumber + + + +.PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber +.PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber +maybe-all-stage1-libdecnumber: +maybe-clean-stage1-libdecnumber: +@if libdecnumber-bootstrap +maybe-all-stage1-libdecnumber: all-stage1-libdecnumber +all-stage1: all-stage1-libdecnumber +TARGET-stage1-libdecnumber = $(TARGET-libdecnumber) +all-stage1-libdecnumber: configure-stage1-libdecnumber + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-libdecnumber) + +maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber +clean-stage1: clean-stage1-libdecnumber +clean-stage1-libdecnumber: + @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \ + || exit 0 ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif libdecnumber-bootstrap + + +.PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber +.PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber +maybe-all-stage2-libdecnumber: +maybe-clean-stage2-libdecnumber: +@if libdecnumber-bootstrap +maybe-all-stage2-libdecnumber: all-stage2-libdecnumber +all-stage2: all-stage2-libdecnumber +TARGET-stage2-libdecnumber = $(TARGET-libdecnumber) +all-stage2-libdecnumber: configure-stage2-libdecnumber + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-libdecnumber) + +maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber +clean-stage2: clean-stage2-libdecnumber +clean-stage2-libdecnumber: + @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \ + || exit 0 ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libdecnumber-bootstrap + + +.PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber +.PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber +maybe-all-stage3-libdecnumber: +maybe-clean-stage3-libdecnumber: +@if libdecnumber-bootstrap +maybe-all-stage3-libdecnumber: all-stage3-libdecnumber +all-stage3: all-stage3-libdecnumber +TARGET-stage3-libdecnumber = $(TARGET-libdecnumber) +all-stage3-libdecnumber: configure-stage3-libdecnumber + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-libdecnumber) + +maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber +clean-stage3: clean-stage3-libdecnumber +clean-stage3-libdecnumber: + @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \ + || exit 0 ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libdecnumber-bootstrap + + +.PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber +.PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber +maybe-all-stage4-libdecnumber: +maybe-clean-stage4-libdecnumber: +@if libdecnumber-bootstrap +maybe-all-stage4-libdecnumber: all-stage4-libdecnumber +all-stage4: all-stage4-libdecnumber +TARGET-stage4-libdecnumber = $(TARGET-libdecnumber) +all-stage4-libdecnumber: configure-stage4-libdecnumber + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-libdecnumber) + +maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber +clean-stage4: clean-stage4-libdecnumber +clean-stage4-libdecnumber: + @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \ + || exit 0 ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libdecnumber-bootstrap + + +.PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber +.PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber +maybe-all-stageprofile-libdecnumber: +maybe-clean-stageprofile-libdecnumber: +@if libdecnumber-bootstrap +maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber +all-stageprofile: all-stageprofile-libdecnumber +TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber) +all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-libdecnumber) + +maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber +clean-stageprofile: clean-stageprofile-libdecnumber +clean-stageprofile-libdecnumber: + @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \ + || exit 0 ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif libdecnumber-bootstrap + + +.PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber +.PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber +maybe-all-stagefeedback-libdecnumber: +maybe-clean-stagefeedback-libdecnumber: +@if libdecnumber-bootstrap +maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber +all-stagefeedback: all-stagefeedback-libdecnumber +TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber) +all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-libdecnumber) + +maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber +clean-stagefeedback: clean-stagefeedback-libdecnumber +clean-stagefeedback-libdecnumber: + @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \ + || exit 0 ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif libdecnumber-bootstrap + + + + + +.PHONY: check-libdecnumber maybe-check-libdecnumber +maybe-check-libdecnumber: +@if libdecnumber +maybe-check-libdecnumber: check-libdecnumber + +check-libdecnumber: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) check) + +@endif libdecnumber + +.PHONY: install-libdecnumber maybe-install-libdecnumber +maybe-install-libdecnumber: +@if libdecnumber +maybe-install-libdecnumber: install-libdecnumber + +install-libdecnumber: installdirs + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(FLAGS_TO_PASS) install) + +@endif libdecnumber + +# Other targets (info, dvi, etc.) + +.PHONY: maybe-info-libdecnumber info-libdecnumber +maybe-info-libdecnumber: +@if libdecnumber +maybe-info-libdecnumber: info-libdecnumber + +info-libdecnumber: \ + configure-libdecnumber + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing info in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + info) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-dvi-libdecnumber dvi-libdecnumber +maybe-dvi-libdecnumber: +@if libdecnumber +maybe-dvi-libdecnumber: dvi-libdecnumber + +dvi-libdecnumber: \ + configure-libdecnumber + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing dvi in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + dvi) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-html-libdecnumber html-libdecnumber +maybe-html-libdecnumber: +@if libdecnumber +maybe-html-libdecnumber: html-libdecnumber + +html-libdecnumber: \ + configure-libdecnumber + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing html in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + html) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber +maybe-TAGS-libdecnumber: +@if libdecnumber +maybe-TAGS-libdecnumber: TAGS-libdecnumber + +TAGS-libdecnumber: \ + configure-libdecnumber + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing TAGS in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + TAGS) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-install-info-libdecnumber install-info-libdecnumber +maybe-install-info-libdecnumber: +@if libdecnumber +maybe-install-info-libdecnumber: install-info-libdecnumber + +install-info-libdecnumber: \ + configure-libdecnumber \ + info-libdecnumber + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-info in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + install-info) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber +maybe-installcheck-libdecnumber: +@if libdecnumber +maybe-installcheck-libdecnumber: installcheck-libdecnumber + +installcheck-libdecnumber: \ + configure-libdecnumber + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing installcheck in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + installcheck) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber +maybe-mostlyclean-libdecnumber: +@if libdecnumber +maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber + +mostlyclean-libdecnumber: + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing mostlyclean in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + mostlyclean) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-clean-libdecnumber clean-libdecnumber +maybe-clean-libdecnumber: +@if libdecnumber +maybe-clean-libdecnumber: clean-libdecnumber + +clean-libdecnumber: + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing clean in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + clean) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-distclean-libdecnumber distclean-libdecnumber +maybe-distclean-libdecnumber: +@if libdecnumber +maybe-distclean-libdecnumber: distclean-libdecnumber + +distclean-libdecnumber: + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing distclean in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + distclean) \ + || exit 1 + +@endif libdecnumber + +.PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber +maybe-maintainer-clean-libdecnumber: +@if libdecnumber +maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber + +maintainer-clean-libdecnumber: + @[ -f ./libdecnumber/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing maintainer-clean in libdecnumber" ; \ + (cd $(HOST_SUBDIR)/libdecnumber && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + maintainer-clean) \ + || exit 1 + +@endif libdecnumber + + + .PHONY: configure-libgui maybe-configure-libgui maybe-configure-libgui: @if libgui maybe-configure-libgui: configure-libgui -configure-libgui: +configure-libgui: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \ r=`${PWD_COMMAND}`; export r; \ @@ -16182,6 +17221,7 @@ maybe-all-libgui: TARGET-libgui=all maybe-all-libgui: all-libgui all-libgui: configure-libgui + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -16198,6 +17238,7 @@ maybe-check-libgui: maybe-check-libgui: check-libgui check-libgui: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -16212,6 +17253,7 @@ maybe-install-libgui: maybe-install-libgui: install-libgui install-libgui: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -16229,6 +17271,7 @@ maybe-info-libgui: info-libgui info-libgui: \ configure-libgui + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16254,6 +17297,7 @@ maybe-dvi-libgui: dvi-libgui dvi-libgui: \ configure-libgui + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16279,6 +17323,7 @@ maybe-html-libgui: html-libgui html-libgui: \ configure-libgui + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16304,6 +17349,7 @@ maybe-TAGS-libgui: TAGS-libgui TAGS-libgui: \ configure-libgui + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16330,6 +17376,7 @@ maybe-install-info-libgui: install-info-libgui install-info-libgui: \ configure-libgui \ info-libgui + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16355,6 +17402,7 @@ maybe-installcheck-libgui: installcheck-libgui installcheck-libgui: \ configure-libgui + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16379,6 +17427,7 @@ maybe-mostlyclean-libgui: maybe-mostlyclean-libgui: mostlyclean-libgui mostlyclean-libgui: + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16403,6 +17452,7 @@ maybe-clean-libgui: maybe-clean-libgui: clean-libgui clean-libgui: + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16427,6 +17477,7 @@ maybe-distclean-libgui: maybe-distclean-libgui: distclean-libgui distclean-libgui: + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16451,6 +17502,7 @@ maybe-maintainer-clean-libgui: maybe-maintainer-clean-libgui: maintainer-clean-libgui maintainer-clean-libgui: + @: $(MAKE); $(unstage) @[ -f ./libgui/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -16475,7 +17527,7 @@ maintainer-clean-libgui: maybe-configure-libiberty: @if libiberty maybe-configure-libiberty: configure-libiberty -configure-libiberty: +configure-libiberty: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ @@ -16502,13 +17554,13 @@ configure-libiberty: maybe-configure-stage1-libiberty: @if libiberty-bootstrap maybe-configure-stage1-libiberty: configure-stage1-libiberty -configure-stage1-libiberty: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-libiberty: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty + test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ cd $(HOST_SUBDIR)/libiberty || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -16526,14 +17578,14 @@ configure-stage1-libiberty: maybe-configure-stage2-libiberty: @if libiberty-bootstrap maybe-configure-stage2-libiberty: configure-stage2-libiberty -configure-stage2-libiberty: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-libiberty: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty + test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ cd $(HOST_SUBDIR)/libiberty || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -16551,14 +17603,14 @@ configure-stage2-libiberty: maybe-configure-stage3-libiberty: @if libiberty-bootstrap maybe-configure-stage3-libiberty: configure-stage3-libiberty -configure-stage3-libiberty: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-libiberty: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty + test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ cd $(HOST_SUBDIR)/libiberty || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -16576,14 +17628,14 @@ configure-stage3-libiberty: maybe-configure-stage4-libiberty: @if libiberty-bootstrap maybe-configure-stage4-libiberty: configure-stage4-libiberty -configure-stage4-libiberty: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-libiberty: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty + test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ cd $(HOST_SUBDIR)/libiberty || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -16601,14 +17653,14 @@ configure-stage4-libiberty: maybe-configure-stageprofile-libiberty: @if libiberty-bootstrap maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty -configure-stageprofile-libiberty: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-libiberty: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty + test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ cd $(HOST_SUBDIR)/libiberty || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -16626,14 +17678,14 @@ configure-stageprofile-libiberty: maybe-configure-stagefeedback-libiberty: @if libiberty-bootstrap maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty -configure-stagefeedback-libiberty: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-libiberty: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty + test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ cd $(HOST_SUBDIR)/libiberty || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -16674,20 +17726,22 @@ maybe-clean-stage1-libiberty: @if libiberty-bootstrap maybe-all-stage1-libiberty: all-stage1-libiberty all-stage1: all-stage1-libiberty +TARGET-stage1-libiberty = $(TARGET-libiberty) all-stage1-libiberty: configure-stage1-libiberty - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-libiberty) maybe-clean-stage1-libiberty: clean-stage1-libiberty clean-stage1: clean-stage1-libiberty clean-stage1-libiberty: @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/libiberty && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -16701,21 +17755,23 @@ maybe-clean-stage2-libiberty: @if libiberty-bootstrap maybe-all-stage2-libiberty: all-stage2-libiberty all-stage2: all-stage2-libiberty +TARGET-stage2-libiberty = $(TARGET-libiberty) all-stage2-libiberty: configure-stage2-libiberty - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-libiberty) maybe-clean-stage2-libiberty: clean-stage2-libiberty clean-stage2: clean-stage2-libiberty clean-stage2-libiberty: @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/libiberty && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -16730,21 +17786,23 @@ maybe-clean-stage3-libiberty: @if libiberty-bootstrap maybe-all-stage3-libiberty: all-stage3-libiberty all-stage3: all-stage3-libiberty +TARGET-stage3-libiberty = $(TARGET-libiberty) all-stage3-libiberty: configure-stage3-libiberty - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-libiberty) maybe-clean-stage3-libiberty: clean-stage3-libiberty clean-stage3: clean-stage3-libiberty clean-stage3-libiberty: @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/libiberty && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -16759,21 +17817,23 @@ maybe-clean-stage4-libiberty: @if libiberty-bootstrap maybe-all-stage4-libiberty: all-stage4-libiberty all-stage4: all-stage4-libiberty +TARGET-stage4-libiberty = $(TARGET-libiberty) all-stage4-libiberty: configure-stage4-libiberty - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-libiberty) maybe-clean-stage4-libiberty: clean-stage4-libiberty clean-stage4: clean-stage4-libiberty clean-stage4-libiberty: @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/libiberty && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -16788,21 +17848,23 @@ maybe-clean-stageprofile-libiberty: @if libiberty-bootstrap maybe-all-stageprofile-libiberty: all-stageprofile-libiberty all-stageprofile: all-stageprofile-libiberty +TARGET-stageprofile-libiberty = $(TARGET-libiberty) all-stageprofile-libiberty: configure-stageprofile-libiberty - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-libiberty) maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty clean-stageprofile: clean-stageprofile-libiberty clean-stageprofile-libiberty: @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/libiberty && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -16817,21 +17879,23 @@ maybe-clean-stagefeedback-libiberty: @if libiberty-bootstrap maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty all-stagefeedback: all-stagefeedback-libiberty +TARGET-stagefeedback-libiberty = $(TARGET-libiberty) all-stagefeedback-libiberty: configure-stagefeedback-libiberty - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-libiberty) maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty clean-stagefeedback: clean-stagefeedback-libiberty clean-stagefeedback-libiberty: @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/libiberty && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -16848,6 +17912,7 @@ maybe-check-libiberty: maybe-check-libiberty: check-libiberty check-libiberty: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -16862,6 +17927,7 @@ maybe-install-libiberty: maybe-install-libiberty: install-libiberty install-libiberty: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17125,7 +18191,8 @@ maintainer-clean-libiberty: maybe-configure-libtool: @if libtool maybe-configure-libtool: configure-libtool -configure-libtool: +configure-libtool: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \ r=`${PWD_COMMAND}`; export r; \ @@ -17155,6 +18222,7 @@ maybe-all-libtool: TARGET-libtool=all maybe-all-libtool: all-libtool all-libtool: configure-libtool + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17171,6 +18239,7 @@ maybe-check-libtool: maybe-check-libtool: check-libtool check-libtool: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17185,6 +18254,7 @@ maybe-install-libtool: maybe-install-libtool: install-libtool install-libtool: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17202,6 +18272,7 @@ maybe-info-libtool: info-libtool info-libtool: \ configure-libtool + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17227,6 +18298,7 @@ maybe-dvi-libtool: dvi-libtool dvi-libtool: \ configure-libtool + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17252,6 +18324,7 @@ maybe-html-libtool: html-libtool html-libtool: \ configure-libtool + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17277,6 +18350,7 @@ maybe-TAGS-libtool: TAGS-libtool TAGS-libtool: \ configure-libtool + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17303,6 +18377,7 @@ maybe-install-info-libtool: install-info-libtool install-info-libtool: \ configure-libtool \ info-libtool + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17328,6 +18403,7 @@ maybe-installcheck-libtool: installcheck-libtool installcheck-libtool: \ configure-libtool + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17352,6 +18428,7 @@ maybe-mostlyclean-libtool: maybe-mostlyclean-libtool: mostlyclean-libtool mostlyclean-libtool: + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17376,6 +18453,7 @@ maybe-clean-libtool: maybe-clean-libtool: clean-libtool clean-libtool: + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17400,6 +18478,7 @@ maybe-distclean-libtool: maybe-distclean-libtool: distclean-libtool distclean-libtool: + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17424,6 +18503,7 @@ maybe-maintainer-clean-libtool: maybe-maintainer-clean-libtool: maintainer-clean-libtool maintainer-clean-libtool: + @: $(MAKE); $(unstage) @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17448,7 +18528,8 @@ maintainer-clean-libtool: maybe-configure-m4: @if m4 maybe-configure-m4: configure-m4 -configure-m4: +configure-m4: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \ r=`${PWD_COMMAND}`; export r; \ @@ -17478,6 +18559,7 @@ maybe-all-m4: TARGET-m4=all maybe-all-m4: all-m4 all-m4: configure-m4 + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17494,6 +18576,7 @@ maybe-check-m4: maybe-check-m4: check-m4 check-m4: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17508,6 +18591,7 @@ maybe-install-m4: maybe-install-m4: install-m4 install-m4: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17525,6 +18609,7 @@ maybe-info-m4: info-m4 info-m4: \ configure-m4 + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17550,6 +18635,7 @@ maybe-dvi-m4: dvi-m4 dvi-m4: \ configure-m4 + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17575,6 +18661,7 @@ maybe-html-m4: html-m4 html-m4: \ configure-m4 + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17600,6 +18687,7 @@ maybe-TAGS-m4: TAGS-m4 TAGS-m4: \ configure-m4 + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17626,6 +18714,7 @@ maybe-install-info-m4: install-info-m4 install-info-m4: \ configure-m4 \ info-m4 + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17651,6 +18740,7 @@ maybe-installcheck-m4: installcheck-m4 installcheck-m4: \ configure-m4 + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17675,6 +18765,7 @@ maybe-mostlyclean-m4: maybe-mostlyclean-m4: mostlyclean-m4 mostlyclean-m4: + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17699,6 +18790,7 @@ maybe-clean-m4: maybe-clean-m4: clean-m4 clean-m4: + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17723,6 +18815,7 @@ maybe-distclean-m4: maybe-distclean-m4: distclean-m4 distclean-m4: + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17747,6 +18840,7 @@ maybe-maintainer-clean-m4: maybe-maintainer-clean-m4: maintainer-clean-m4 maintainer-clean-m4: + @: $(MAKE); $(unstage) @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17771,7 +18865,8 @@ maintainer-clean-m4: maybe-configure-make: @if make maybe-configure-make: configure-make -configure-make: +configure-make: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \ r=`${PWD_COMMAND}`; export r; \ @@ -17801,6 +18896,7 @@ maybe-all-make: TARGET-make=all maybe-all-make: all-make all-make: configure-make + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17817,6 +18913,7 @@ maybe-check-make: maybe-check-make: check-make check-make: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17831,6 +18928,7 @@ maybe-install-make: maybe-install-make: install-make install-make: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -17848,6 +18946,7 @@ maybe-info-make: info-make info-make: \ configure-make + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17873,6 +18972,7 @@ maybe-dvi-make: dvi-make dvi-make: \ configure-make + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17898,6 +18998,7 @@ maybe-html-make: html-make html-make: \ configure-make + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17923,6 +19024,7 @@ maybe-TAGS-make: TAGS-make TAGS-make: \ configure-make + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17949,6 +19051,7 @@ maybe-install-info-make: install-info-make install-info-make: \ configure-make \ info-make + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17974,6 +19077,7 @@ maybe-installcheck-make: installcheck-make installcheck-make: \ configure-make + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -17998,6 +19102,7 @@ maybe-mostlyclean-make: maybe-mostlyclean-make: mostlyclean-make mostlyclean-make: + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18022,6 +19127,7 @@ maybe-clean-make: maybe-clean-make: clean-make clean-make: + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18046,6 +19152,7 @@ maybe-distclean-make: maybe-distclean-make: distclean-make distclean-make: + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18070,6 +19177,7 @@ maybe-maintainer-clean-make: maybe-maintainer-clean-make: maintainer-clean-make maintainer-clean-make: + @: $(MAKE); $(unstage) @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18094,7 +19202,8 @@ maintainer-clean-make: maybe-configure-mmalloc: @if mmalloc maybe-configure-mmalloc: configure-mmalloc -configure-mmalloc: +configure-mmalloc: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \ r=`${PWD_COMMAND}`; export r; \ @@ -18124,6 +19233,7 @@ maybe-all-mmalloc: TARGET-mmalloc=all maybe-all-mmalloc: all-mmalloc all-mmalloc: configure-mmalloc + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18149,6 +19259,7 @@ maybe-install-mmalloc: maybe-install-mmalloc: install-mmalloc install-mmalloc: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18166,6 +19277,7 @@ maybe-info-mmalloc: info-mmalloc info-mmalloc: \ configure-mmalloc + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18191,6 +19303,7 @@ maybe-dvi-mmalloc: dvi-mmalloc dvi-mmalloc: \ configure-mmalloc + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18216,6 +19329,7 @@ maybe-html-mmalloc: html-mmalloc html-mmalloc: \ configure-mmalloc + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18241,6 +19355,7 @@ maybe-TAGS-mmalloc: TAGS-mmalloc TAGS-mmalloc: \ configure-mmalloc + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18267,6 +19382,7 @@ maybe-install-info-mmalloc: install-info-mmalloc install-info-mmalloc: \ configure-mmalloc \ info-mmalloc + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18292,6 +19408,7 @@ maybe-installcheck-mmalloc: installcheck-mmalloc installcheck-mmalloc: \ configure-mmalloc + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18316,6 +19433,7 @@ maybe-mostlyclean-mmalloc: maybe-mostlyclean-mmalloc: mostlyclean-mmalloc mostlyclean-mmalloc: + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18340,6 +19458,7 @@ maybe-clean-mmalloc: maybe-clean-mmalloc: clean-mmalloc clean-mmalloc: + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18364,6 +19483,7 @@ maybe-distclean-mmalloc: maybe-distclean-mmalloc: distclean-mmalloc distclean-mmalloc: + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18388,6 +19508,7 @@ maybe-maintainer-clean-mmalloc: maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc maintainer-clean-mmalloc: + @: $(MAKE); $(unstage) @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18412,7 +19533,8 @@ maintainer-clean-mmalloc: maybe-configure-patch: @if patch maybe-configure-patch: configure-patch -configure-patch: +configure-patch: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \ r=`${PWD_COMMAND}`; export r; \ @@ -18442,6 +19564,7 @@ maybe-all-patch: TARGET-patch=all maybe-all-patch: all-patch all-patch: configure-patch + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18458,6 +19581,7 @@ maybe-check-patch: maybe-check-patch: check-patch check-patch: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18472,6 +19596,7 @@ maybe-install-patch: maybe-install-patch: install-patch install-patch: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18489,6 +19614,7 @@ maybe-info-patch: info-patch info-patch: \ configure-patch + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18514,6 +19640,7 @@ maybe-dvi-patch: dvi-patch dvi-patch: \ configure-patch + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18539,6 +19666,7 @@ maybe-html-patch: html-patch html-patch: \ configure-patch + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18564,6 +19692,7 @@ maybe-TAGS-patch: TAGS-patch TAGS-patch: \ configure-patch + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18590,6 +19719,7 @@ maybe-install-info-patch: install-info-patch install-info-patch: \ configure-patch \ info-patch + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18615,6 +19745,7 @@ maybe-installcheck-patch: installcheck-patch installcheck-patch: \ configure-patch + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18639,6 +19770,7 @@ maybe-mostlyclean-patch: maybe-mostlyclean-patch: mostlyclean-patch mostlyclean-patch: + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18663,6 +19795,7 @@ maybe-clean-patch: maybe-clean-patch: clean-patch clean-patch: + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18687,6 +19820,7 @@ maybe-distclean-patch: maybe-distclean-patch: distclean-patch distclean-patch: + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18711,6 +19845,7 @@ maybe-maintainer-clean-patch: maybe-maintainer-clean-patch: maintainer-clean-patch maintainer-clean-patch: + @: $(MAKE); $(unstage) @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18735,7 +19870,8 @@ maintainer-clean-patch: maybe-configure-perl: @if perl maybe-configure-perl: configure-perl -configure-perl: +configure-perl: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \ r=`${PWD_COMMAND}`; export r; \ @@ -18765,6 +19901,7 @@ maybe-all-perl: TARGET-perl=all maybe-all-perl: all-perl all-perl: configure-perl + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18781,6 +19918,7 @@ maybe-check-perl: maybe-check-perl: check-perl check-perl: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18795,6 +19933,7 @@ maybe-install-perl: maybe-install-perl: install-perl install-perl: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -18812,6 +19951,7 @@ maybe-info-perl: info-perl info-perl: \ configure-perl + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18837,6 +19977,7 @@ maybe-dvi-perl: dvi-perl dvi-perl: \ configure-perl + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18862,6 +20003,7 @@ maybe-html-perl: html-perl html-perl: \ configure-perl + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18887,6 +20029,7 @@ maybe-TAGS-perl: TAGS-perl TAGS-perl: \ configure-perl + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18913,6 +20056,7 @@ maybe-install-info-perl: install-info-perl install-info-perl: \ configure-perl \ info-perl + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18938,6 +20082,7 @@ maybe-installcheck-perl: installcheck-perl installcheck-perl: \ configure-perl + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18962,6 +20107,7 @@ maybe-mostlyclean-perl: maybe-mostlyclean-perl: mostlyclean-perl mostlyclean-perl: + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -18986,6 +20132,7 @@ maybe-clean-perl: maybe-clean-perl: clean-perl clean-perl: + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19010,6 +20157,7 @@ maybe-distclean-perl: maybe-distclean-perl: distclean-perl distclean-perl: + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19034,6 +20182,7 @@ maybe-maintainer-clean-perl: maybe-maintainer-clean-perl: maintainer-clean-perl maintainer-clean-perl: + @: $(MAKE); $(unstage) @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19058,7 +20207,8 @@ maintainer-clean-perl: maybe-configure-prms: @if prms maybe-configure-prms: configure-prms -configure-prms: +configure-prms: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \ r=`${PWD_COMMAND}`; export r; \ @@ -19088,6 +20238,7 @@ maybe-all-prms: TARGET-prms=all maybe-all-prms: all-prms all-prms: configure-prms + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19104,6 +20255,7 @@ maybe-check-prms: maybe-check-prms: check-prms check-prms: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19118,6 +20270,7 @@ maybe-install-prms: maybe-install-prms: install-prms install-prms: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19135,6 +20288,7 @@ maybe-info-prms: info-prms info-prms: \ configure-prms + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19160,6 +20314,7 @@ maybe-dvi-prms: dvi-prms dvi-prms: \ configure-prms + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19185,6 +20340,7 @@ maybe-html-prms: html-prms html-prms: \ configure-prms + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19210,6 +20366,7 @@ maybe-TAGS-prms: TAGS-prms TAGS-prms: \ configure-prms + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19236,6 +20393,7 @@ maybe-install-info-prms: install-info-prms install-info-prms: \ configure-prms \ info-prms + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19261,6 +20419,7 @@ maybe-installcheck-prms: installcheck-prms installcheck-prms: \ configure-prms + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19285,6 +20444,7 @@ maybe-mostlyclean-prms: maybe-mostlyclean-prms: mostlyclean-prms mostlyclean-prms: + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19309,6 +20469,7 @@ maybe-clean-prms: maybe-clean-prms: clean-prms clean-prms: + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19333,6 +20494,7 @@ maybe-distclean-prms: maybe-distclean-prms: distclean-prms distclean-prms: + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19357,6 +20519,7 @@ maybe-maintainer-clean-prms: maybe-maintainer-clean-prms: maintainer-clean-prms maintainer-clean-prms: + @: $(MAKE); $(unstage) @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19381,7 +20544,8 @@ maintainer-clean-prms: maybe-configure-rcs: @if rcs maybe-configure-rcs: configure-rcs -configure-rcs: +configure-rcs: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \ r=`${PWD_COMMAND}`; export r; \ @@ -19411,6 +20575,7 @@ maybe-all-rcs: TARGET-rcs=all maybe-all-rcs: all-rcs all-rcs: configure-rcs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19427,6 +20592,7 @@ maybe-check-rcs: maybe-check-rcs: check-rcs check-rcs: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19441,6 +20607,7 @@ maybe-install-rcs: maybe-install-rcs: install-rcs install-rcs: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19458,6 +20625,7 @@ maybe-info-rcs: info-rcs info-rcs: \ configure-rcs + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19483,6 +20651,7 @@ maybe-dvi-rcs: dvi-rcs dvi-rcs: \ configure-rcs + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19508,6 +20677,7 @@ maybe-html-rcs: html-rcs html-rcs: \ configure-rcs + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19533,6 +20703,7 @@ maybe-TAGS-rcs: TAGS-rcs TAGS-rcs: \ configure-rcs + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19559,6 +20730,7 @@ maybe-install-info-rcs: install-info-rcs install-info-rcs: \ configure-rcs \ info-rcs + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19584,6 +20756,7 @@ maybe-installcheck-rcs: installcheck-rcs installcheck-rcs: \ configure-rcs + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19608,6 +20781,7 @@ maybe-mostlyclean-rcs: maybe-mostlyclean-rcs: mostlyclean-rcs mostlyclean-rcs: + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19632,6 +20806,7 @@ maybe-clean-rcs: maybe-clean-rcs: clean-rcs clean-rcs: + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19656,6 +20831,7 @@ maybe-distclean-rcs: maybe-distclean-rcs: distclean-rcs distclean-rcs: + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19680,6 +20856,7 @@ maybe-maintainer-clean-rcs: maybe-maintainer-clean-rcs: maintainer-clean-rcs maintainer-clean-rcs: + @: $(MAKE); $(unstage) @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19704,7 +20881,8 @@ maintainer-clean-rcs: maybe-configure-readline: @if readline maybe-configure-readline: configure-readline -configure-readline: +configure-readline: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \ r=`${PWD_COMMAND}`; export r; \ @@ -19734,6 +20912,7 @@ maybe-all-readline: TARGET-readline=all maybe-all-readline: all-readline all-readline: configure-readline + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19750,6 +20929,7 @@ maybe-check-readline: maybe-check-readline: check-readline check-readline: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19764,6 +20944,7 @@ maybe-install-readline: maybe-install-readline: install-readline install-readline: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -19781,6 +20962,7 @@ maybe-info-readline: info-readline info-readline: \ configure-readline + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19806,6 +20988,7 @@ maybe-dvi-readline: dvi-readline dvi-readline: \ configure-readline + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19831,6 +21014,7 @@ maybe-html-readline: html-readline html-readline: \ configure-readline + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19856,6 +21040,7 @@ maybe-TAGS-readline: TAGS-readline TAGS-readline: \ configure-readline + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19882,6 +21067,7 @@ maybe-install-info-readline: install-info-readline install-info-readline: \ configure-readline \ info-readline + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19907,6 +21093,7 @@ maybe-installcheck-readline: installcheck-readline installcheck-readline: \ configure-readline + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19931,6 +21118,7 @@ maybe-mostlyclean-readline: maybe-mostlyclean-readline: mostlyclean-readline mostlyclean-readline: + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19955,6 +21143,7 @@ maybe-clean-readline: maybe-clean-readline: clean-readline clean-readline: + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -19979,6 +21168,7 @@ maybe-distclean-readline: maybe-distclean-readline: distclean-readline distclean-readline: + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20003,6 +21193,7 @@ maybe-maintainer-clean-readline: maybe-maintainer-clean-readline: maintainer-clean-readline maintainer-clean-readline: + @: $(MAKE); $(unstage) @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20027,7 +21218,8 @@ maintainer-clean-readline: maybe-configure-release: @if release maybe-configure-release: configure-release -configure-release: +configure-release: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \ r=`${PWD_COMMAND}`; export r; \ @@ -20057,6 +21249,7 @@ maybe-all-release: TARGET-release=all maybe-all-release: all-release all-release: configure-release + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20094,6 +21287,7 @@ maybe-info-release: info-release info-release: \ configure-release + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20119,6 +21313,7 @@ maybe-dvi-release: dvi-release dvi-release: \ configure-release + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20144,6 +21339,7 @@ maybe-html-release: html-release html-release: \ configure-release + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20169,6 +21365,7 @@ maybe-TAGS-release: TAGS-release TAGS-release: \ configure-release + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20195,6 +21392,7 @@ maybe-install-info-release: install-info-release install-info-release: \ configure-release \ info-release + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20220,6 +21418,7 @@ maybe-installcheck-release: installcheck-release installcheck-release: \ configure-release + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20244,6 +21443,7 @@ maybe-mostlyclean-release: maybe-mostlyclean-release: mostlyclean-release mostlyclean-release: + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20268,6 +21468,7 @@ maybe-clean-release: maybe-clean-release: clean-release clean-release: + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20292,6 +21493,7 @@ maybe-distclean-release: maybe-distclean-release: distclean-release distclean-release: + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20316,6 +21518,7 @@ maybe-maintainer-clean-release: maybe-maintainer-clean-release: maintainer-clean-release maintainer-clean-release: + @: $(MAKE); $(unstage) @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20340,7 +21543,8 @@ maintainer-clean-release: maybe-configure-recode: @if recode maybe-configure-recode: configure-recode -configure-recode: +configure-recode: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \ r=`${PWD_COMMAND}`; export r; \ @@ -20370,6 +21574,7 @@ maybe-all-recode: TARGET-recode=all maybe-all-recode: all-recode all-recode: configure-recode + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20386,6 +21591,7 @@ maybe-check-recode: maybe-check-recode: check-recode check-recode: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20400,6 +21606,7 @@ maybe-install-recode: maybe-install-recode: install-recode install-recode: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20417,6 +21624,7 @@ maybe-info-recode: info-recode info-recode: \ configure-recode + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20442,6 +21650,7 @@ maybe-dvi-recode: dvi-recode dvi-recode: \ configure-recode + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20467,6 +21676,7 @@ maybe-html-recode: html-recode html-recode: \ configure-recode + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20492,6 +21702,7 @@ maybe-TAGS-recode: TAGS-recode TAGS-recode: \ configure-recode + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20518,6 +21729,7 @@ maybe-install-info-recode: install-info-recode install-info-recode: \ configure-recode \ info-recode + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20543,6 +21755,7 @@ maybe-installcheck-recode: installcheck-recode installcheck-recode: \ configure-recode + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20567,6 +21780,7 @@ maybe-mostlyclean-recode: maybe-mostlyclean-recode: mostlyclean-recode mostlyclean-recode: + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20591,6 +21805,7 @@ maybe-clean-recode: maybe-clean-recode: clean-recode clean-recode: + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20615,6 +21830,7 @@ maybe-distclean-recode: maybe-distclean-recode: distclean-recode distclean-recode: + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20639,6 +21855,7 @@ maybe-maintainer-clean-recode: maybe-maintainer-clean-recode: maintainer-clean-recode maintainer-clean-recode: + @: $(MAKE); $(unstage) @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20663,7 +21880,8 @@ maintainer-clean-recode: maybe-configure-sed: @if sed maybe-configure-sed: configure-sed -configure-sed: +configure-sed: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \ r=`${PWD_COMMAND}`; export r; \ @@ -20693,6 +21911,7 @@ maybe-all-sed: TARGET-sed=all maybe-all-sed: all-sed all-sed: configure-sed + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20709,6 +21928,7 @@ maybe-check-sed: maybe-check-sed: check-sed check-sed: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20723,6 +21943,7 @@ maybe-install-sed: maybe-install-sed: install-sed install-sed: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -20740,6 +21961,7 @@ maybe-info-sed: info-sed info-sed: \ configure-sed + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20765,6 +21987,7 @@ maybe-dvi-sed: dvi-sed dvi-sed: \ configure-sed + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20790,6 +22013,7 @@ maybe-html-sed: html-sed html-sed: \ configure-sed + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20815,6 +22039,7 @@ maybe-TAGS-sed: TAGS-sed TAGS-sed: \ configure-sed + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20841,6 +22066,7 @@ maybe-install-info-sed: install-info-sed install-info-sed: \ configure-sed \ info-sed + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20866,6 +22092,7 @@ maybe-installcheck-sed: installcheck-sed installcheck-sed: \ configure-sed + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20890,6 +22117,7 @@ maybe-mostlyclean-sed: maybe-mostlyclean-sed: mostlyclean-sed mostlyclean-sed: + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20914,6 +22142,7 @@ maybe-clean-sed: maybe-clean-sed: clean-sed clean-sed: + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20938,6 +22167,7 @@ maybe-distclean-sed: maybe-distclean-sed: distclean-sed distclean-sed: + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20962,6 +22192,7 @@ maybe-maintainer-clean-sed: maybe-maintainer-clean-sed: maintainer-clean-sed maintainer-clean-sed: + @: $(MAKE); $(unstage) @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -20986,7 +22217,8 @@ maintainer-clean-sed: maybe-configure-send-pr: @if send-pr maybe-configure-send-pr: configure-send-pr -configure-send-pr: +configure-send-pr: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \ r=`${PWD_COMMAND}`; export r; \ @@ -21016,6 +22248,7 @@ maybe-all-send-pr: TARGET-send-pr=all maybe-all-send-pr: all-send-pr all-send-pr: configure-send-pr + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21032,6 +22265,7 @@ maybe-check-send-pr: maybe-check-send-pr: check-send-pr check-send-pr: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21046,6 +22280,7 @@ maybe-install-send-pr: maybe-install-send-pr: install-send-pr install-send-pr: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21063,6 +22298,7 @@ maybe-info-send-pr: info-send-pr info-send-pr: \ configure-send-pr + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21088,6 +22324,7 @@ maybe-dvi-send-pr: dvi-send-pr dvi-send-pr: \ configure-send-pr + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21113,6 +22350,7 @@ maybe-html-send-pr: html-send-pr html-send-pr: \ configure-send-pr + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21138,6 +22376,7 @@ maybe-TAGS-send-pr: TAGS-send-pr TAGS-send-pr: \ configure-send-pr + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21164,6 +22403,7 @@ maybe-install-info-send-pr: install-info-send-pr install-info-send-pr: \ configure-send-pr \ info-send-pr + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21189,6 +22429,7 @@ maybe-installcheck-send-pr: installcheck-send-pr installcheck-send-pr: \ configure-send-pr + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21213,6 +22454,7 @@ maybe-mostlyclean-send-pr: maybe-mostlyclean-send-pr: mostlyclean-send-pr mostlyclean-send-pr: + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21237,6 +22479,7 @@ maybe-clean-send-pr: maybe-clean-send-pr: clean-send-pr clean-send-pr: + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21261,6 +22504,7 @@ maybe-distclean-send-pr: maybe-distclean-send-pr: distclean-send-pr distclean-send-pr: + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21285,6 +22529,7 @@ maybe-maintainer-clean-send-pr: maybe-maintainer-clean-send-pr: maintainer-clean-send-pr maintainer-clean-send-pr: + @: $(MAKE); $(unstage) @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21309,7 +22554,8 @@ maintainer-clean-send-pr: maybe-configure-shellutils: @if shellutils maybe-configure-shellutils: configure-shellutils -configure-shellutils: +configure-shellutils: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \ r=`${PWD_COMMAND}`; export r; \ @@ -21339,6 +22585,7 @@ maybe-all-shellutils: TARGET-shellutils=all maybe-all-shellutils: all-shellutils all-shellutils: configure-shellutils + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21355,6 +22602,7 @@ maybe-check-shellutils: maybe-check-shellutils: check-shellutils check-shellutils: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21369,6 +22617,7 @@ maybe-install-shellutils: maybe-install-shellutils: install-shellutils install-shellutils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21386,6 +22635,7 @@ maybe-info-shellutils: info-shellutils info-shellutils: \ configure-shellutils + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21411,6 +22661,7 @@ maybe-dvi-shellutils: dvi-shellutils dvi-shellutils: \ configure-shellutils + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21436,6 +22687,7 @@ maybe-html-shellutils: html-shellutils html-shellutils: \ configure-shellutils + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21461,6 +22713,7 @@ maybe-TAGS-shellutils: TAGS-shellutils TAGS-shellutils: \ configure-shellutils + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21487,6 +22740,7 @@ maybe-install-info-shellutils: install-info-shellutils install-info-shellutils: \ configure-shellutils \ info-shellutils + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21512,6 +22766,7 @@ maybe-installcheck-shellutils: installcheck-shellutils installcheck-shellutils: \ configure-shellutils + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21536,6 +22791,7 @@ maybe-mostlyclean-shellutils: maybe-mostlyclean-shellutils: mostlyclean-shellutils mostlyclean-shellutils: + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21560,6 +22816,7 @@ maybe-clean-shellutils: maybe-clean-shellutils: clean-shellutils clean-shellutils: + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21584,6 +22841,7 @@ maybe-distclean-shellutils: maybe-distclean-shellutils: distclean-shellutils distclean-shellutils: + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21608,6 +22866,7 @@ maybe-maintainer-clean-shellutils: maybe-maintainer-clean-shellutils: maintainer-clean-shellutils maintainer-clean-shellutils: + @: $(MAKE); $(unstage) @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21632,7 +22891,8 @@ maintainer-clean-shellutils: maybe-configure-sid: @if sid maybe-configure-sid: configure-sid -configure-sid: +configure-sid: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \ r=`${PWD_COMMAND}`; export r; \ @@ -21662,6 +22922,7 @@ maybe-all-sid: TARGET-sid=all maybe-all-sid: all-sid all-sid: configure-sid + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21678,6 +22939,7 @@ maybe-check-sid: maybe-check-sid: check-sid check-sid: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21692,6 +22954,7 @@ maybe-install-sid: maybe-install-sid: install-sid install-sid: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21709,6 +22972,7 @@ maybe-info-sid: info-sid info-sid: \ configure-sid + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21734,6 +22998,7 @@ maybe-dvi-sid: dvi-sid dvi-sid: \ configure-sid + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21759,6 +23024,7 @@ maybe-html-sid: html-sid html-sid: \ configure-sid + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21784,6 +23050,7 @@ maybe-TAGS-sid: TAGS-sid TAGS-sid: \ configure-sid + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21810,6 +23077,7 @@ maybe-install-info-sid: install-info-sid install-info-sid: \ configure-sid \ info-sid + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21835,6 +23103,7 @@ maybe-installcheck-sid: installcheck-sid installcheck-sid: \ configure-sid + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21859,6 +23128,7 @@ maybe-mostlyclean-sid: maybe-mostlyclean-sid: mostlyclean-sid mostlyclean-sid: + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21883,6 +23153,7 @@ maybe-clean-sid: maybe-clean-sid: clean-sid clean-sid: + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21907,6 +23178,7 @@ maybe-distclean-sid: maybe-distclean-sid: distclean-sid distclean-sid: + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21931,6 +23203,7 @@ maybe-maintainer-clean-sid: maybe-maintainer-clean-sid: maintainer-clean-sid maintainer-clean-sid: + @: $(MAKE); $(unstage) @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -21955,7 +23228,8 @@ maintainer-clean-sid: maybe-configure-sim: @if sim maybe-configure-sim: configure-sim -configure-sim: +configure-sim: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \ r=`${PWD_COMMAND}`; export r; \ @@ -21985,6 +23259,7 @@ maybe-all-sim: TARGET-sim=all maybe-all-sim: all-sim all-sim: configure-sim + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22001,6 +23276,7 @@ maybe-check-sim: maybe-check-sim: check-sim check-sim: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22015,6 +23291,7 @@ maybe-install-sim: maybe-install-sim: install-sim install-sim: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22032,6 +23309,7 @@ maybe-info-sim: info-sim info-sim: \ configure-sim + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22057,6 +23335,7 @@ maybe-dvi-sim: dvi-sim dvi-sim: \ configure-sim + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22082,6 +23361,7 @@ maybe-html-sim: html-sim html-sim: \ configure-sim + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22107,6 +23387,7 @@ maybe-TAGS-sim: TAGS-sim TAGS-sim: \ configure-sim + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22133,6 +23414,7 @@ maybe-install-info-sim: install-info-sim install-info-sim: \ configure-sim \ info-sim + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22158,6 +23440,7 @@ maybe-installcheck-sim: installcheck-sim installcheck-sim: \ configure-sim + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22182,6 +23465,7 @@ maybe-mostlyclean-sim: maybe-mostlyclean-sim: mostlyclean-sim mostlyclean-sim: + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22206,6 +23490,7 @@ maybe-clean-sim: maybe-clean-sim: clean-sim clean-sim: + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22230,6 +23515,7 @@ maybe-distclean-sim: maybe-distclean-sim: distclean-sim distclean-sim: + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22254,6 +23540,7 @@ maybe-maintainer-clean-sim: maybe-maintainer-clean-sim: maintainer-clean-sim maintainer-clean-sim: + @: $(MAKE); $(unstage) @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22278,7 +23565,8 @@ maintainer-clean-sim: maybe-configure-tar: @if tar maybe-configure-tar: configure-tar -configure-tar: +configure-tar: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \ r=`${PWD_COMMAND}`; export r; \ @@ -22308,6 +23596,7 @@ maybe-all-tar: TARGET-tar=all maybe-all-tar: all-tar all-tar: configure-tar + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22324,6 +23613,7 @@ maybe-check-tar: maybe-check-tar: check-tar check-tar: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22338,6 +23628,7 @@ maybe-install-tar: maybe-install-tar: install-tar install-tar: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22355,6 +23646,7 @@ maybe-info-tar: info-tar info-tar: \ configure-tar + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22380,6 +23672,7 @@ maybe-dvi-tar: dvi-tar dvi-tar: \ configure-tar + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22405,6 +23698,7 @@ maybe-html-tar: html-tar html-tar: \ configure-tar + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22430,6 +23724,7 @@ maybe-TAGS-tar: TAGS-tar TAGS-tar: \ configure-tar + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22456,6 +23751,7 @@ maybe-install-info-tar: install-info-tar install-info-tar: \ configure-tar \ info-tar + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22481,6 +23777,7 @@ maybe-installcheck-tar: installcheck-tar installcheck-tar: \ configure-tar + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22505,6 +23802,7 @@ maybe-mostlyclean-tar: maybe-mostlyclean-tar: mostlyclean-tar mostlyclean-tar: + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22529,6 +23827,7 @@ maybe-clean-tar: maybe-clean-tar: clean-tar clean-tar: + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22553,6 +23852,7 @@ maybe-distclean-tar: maybe-distclean-tar: distclean-tar distclean-tar: + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22577,6 +23877,7 @@ maybe-maintainer-clean-tar: maybe-maintainer-clean-tar: maintainer-clean-tar maintainer-clean-tar: + @: $(MAKE); $(unstage) @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22601,7 +23902,8 @@ maintainer-clean-tar: maybe-configure-texinfo: @if texinfo maybe-configure-texinfo: configure-texinfo -configure-texinfo: +configure-texinfo: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \ r=`${PWD_COMMAND}`; export r; \ @@ -22631,6 +23933,7 @@ maybe-all-texinfo: TARGET-texinfo=all maybe-all-texinfo: all-texinfo all-texinfo: configure-texinfo + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22647,6 +23950,7 @@ maybe-check-texinfo: maybe-check-texinfo: check-texinfo check-texinfo: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22673,6 +23977,7 @@ maybe-info-texinfo: info-texinfo info-texinfo: \ configure-texinfo + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22698,6 +24003,7 @@ maybe-dvi-texinfo: dvi-texinfo dvi-texinfo: \ configure-texinfo + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22723,6 +24029,7 @@ maybe-html-texinfo: html-texinfo html-texinfo: \ configure-texinfo + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22748,6 +24055,7 @@ maybe-TAGS-texinfo: TAGS-texinfo TAGS-texinfo: \ configure-texinfo + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22774,6 +24082,7 @@ maybe-install-info-texinfo: install-info-texinfo install-info-texinfo: \ configure-texinfo \ info-texinfo + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22799,6 +24108,7 @@ maybe-installcheck-texinfo: installcheck-texinfo installcheck-texinfo: \ configure-texinfo + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22823,6 +24133,7 @@ maybe-mostlyclean-texinfo: maybe-mostlyclean-texinfo: mostlyclean-texinfo mostlyclean-texinfo: + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22847,6 +24158,7 @@ maybe-clean-texinfo: maybe-clean-texinfo: clean-texinfo clean-texinfo: + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22871,6 +24183,7 @@ maybe-distclean-texinfo: maybe-distclean-texinfo: distclean-texinfo distclean-texinfo: + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22895,6 +24208,7 @@ maybe-maintainer-clean-texinfo: maybe-maintainer-clean-texinfo: maintainer-clean-texinfo maintainer-clean-texinfo: + @: $(MAKE); $(unstage) @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -22919,7 +24233,8 @@ maintainer-clean-texinfo: maybe-configure-textutils: @if textutils maybe-configure-textutils: configure-textutils -configure-textutils: +configure-textutils: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \ r=`${PWD_COMMAND}`; export r; \ @@ -22949,6 +24264,7 @@ maybe-all-textutils: TARGET-textutils=all maybe-all-textutils: all-textutils all-textutils: configure-textutils + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22965,6 +24281,7 @@ maybe-check-textutils: maybe-check-textutils: check-textutils check-textutils: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22979,6 +24296,7 @@ maybe-install-textutils: maybe-install-textutils: install-textutils install-textutils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -22996,6 +24314,7 @@ maybe-info-textutils: info-textutils info-textutils: \ configure-textutils + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23021,6 +24340,7 @@ maybe-dvi-textutils: dvi-textutils dvi-textutils: \ configure-textutils + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23046,6 +24366,7 @@ maybe-html-textutils: html-textutils html-textutils: \ configure-textutils + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23071,6 +24392,7 @@ maybe-TAGS-textutils: TAGS-textutils TAGS-textutils: \ configure-textutils + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23097,6 +24419,7 @@ maybe-install-info-textutils: install-info-textutils install-info-textutils: \ configure-textutils \ info-textutils + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23122,6 +24445,7 @@ maybe-installcheck-textutils: installcheck-textutils installcheck-textutils: \ configure-textutils + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23146,6 +24470,7 @@ maybe-mostlyclean-textutils: maybe-mostlyclean-textutils: mostlyclean-textutils mostlyclean-textutils: + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23170,6 +24495,7 @@ maybe-clean-textutils: maybe-clean-textutils: clean-textutils clean-textutils: + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23194,6 +24520,7 @@ maybe-distclean-textutils: maybe-distclean-textutils: distclean-textutils distclean-textutils: + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23218,6 +24545,7 @@ maybe-maintainer-clean-textutils: maybe-maintainer-clean-textutils: maintainer-clean-textutils maintainer-clean-textutils: + @: $(MAKE); $(unstage) @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23242,7 +24570,8 @@ maintainer-clean-textutils: maybe-configure-time: @if time maybe-configure-time: configure-time -configure-time: +configure-time: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \ r=`${PWD_COMMAND}`; export r; \ @@ -23272,6 +24601,7 @@ maybe-all-time: TARGET-time=all maybe-all-time: all-time all-time: configure-time + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23288,6 +24618,7 @@ maybe-check-time: maybe-check-time: check-time check-time: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23302,6 +24633,7 @@ maybe-install-time: maybe-install-time: install-time install-time: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23319,6 +24651,7 @@ maybe-info-time: info-time info-time: \ configure-time + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23344,6 +24677,7 @@ maybe-dvi-time: dvi-time dvi-time: \ configure-time + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23369,6 +24703,7 @@ maybe-html-time: html-time html-time: \ configure-time + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23394,6 +24729,7 @@ maybe-TAGS-time: TAGS-time TAGS-time: \ configure-time + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23420,6 +24756,7 @@ maybe-install-info-time: install-info-time install-info-time: \ configure-time \ info-time + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23445,6 +24782,7 @@ maybe-installcheck-time: installcheck-time installcheck-time: \ configure-time + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23469,6 +24807,7 @@ maybe-mostlyclean-time: maybe-mostlyclean-time: mostlyclean-time mostlyclean-time: + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23493,6 +24832,7 @@ maybe-clean-time: maybe-clean-time: clean-time clean-time: + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23517,6 +24857,7 @@ maybe-distclean-time: maybe-distclean-time: distclean-time distclean-time: + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23541,6 +24882,7 @@ maybe-maintainer-clean-time: maybe-maintainer-clean-time: maintainer-clean-time maintainer-clean-time: + @: $(MAKE); $(unstage) @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23565,7 +24907,8 @@ maintainer-clean-time: maybe-configure-uudecode: @if uudecode maybe-configure-uudecode: configure-uudecode -configure-uudecode: +configure-uudecode: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \ r=`${PWD_COMMAND}`; export r; \ @@ -23595,6 +24938,7 @@ maybe-all-uudecode: TARGET-uudecode=all maybe-all-uudecode: all-uudecode all-uudecode: configure-uudecode + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23611,6 +24955,7 @@ maybe-check-uudecode: maybe-check-uudecode: check-uudecode check-uudecode: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23625,6 +24970,7 @@ maybe-install-uudecode: maybe-install-uudecode: install-uudecode install-uudecode: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23642,6 +24988,7 @@ maybe-info-uudecode: info-uudecode info-uudecode: \ configure-uudecode + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23667,6 +25014,7 @@ maybe-dvi-uudecode: dvi-uudecode dvi-uudecode: \ configure-uudecode + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23692,6 +25040,7 @@ maybe-html-uudecode: html-uudecode html-uudecode: \ configure-uudecode + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23717,6 +25066,7 @@ maybe-TAGS-uudecode: TAGS-uudecode TAGS-uudecode: \ configure-uudecode + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23743,6 +25093,7 @@ maybe-install-info-uudecode: install-info-uudecode install-info-uudecode: \ configure-uudecode \ info-uudecode + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23768,6 +25119,7 @@ maybe-installcheck-uudecode: installcheck-uudecode installcheck-uudecode: \ configure-uudecode + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23792,6 +25144,7 @@ maybe-mostlyclean-uudecode: maybe-mostlyclean-uudecode: mostlyclean-uudecode mostlyclean-uudecode: + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23816,6 +25169,7 @@ maybe-clean-uudecode: maybe-clean-uudecode: clean-uudecode clean-uudecode: + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23840,6 +25194,7 @@ maybe-distclean-uudecode: maybe-distclean-uudecode: distclean-uudecode distclean-uudecode: + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23864,6 +25219,7 @@ maybe-maintainer-clean-uudecode: maybe-maintainer-clean-uudecode: maintainer-clean-uudecode maintainer-clean-uudecode: + @: $(MAKE); $(unstage) @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23888,7 +25244,8 @@ maintainer-clean-uudecode: maybe-configure-wdiff: @if wdiff maybe-configure-wdiff: configure-wdiff -configure-wdiff: +configure-wdiff: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \ r=`${PWD_COMMAND}`; export r; \ @@ -23918,6 +25275,7 @@ maybe-all-wdiff: TARGET-wdiff=all maybe-all-wdiff: all-wdiff all-wdiff: configure-wdiff + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23934,6 +25292,7 @@ maybe-check-wdiff: maybe-check-wdiff: check-wdiff check-wdiff: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23948,6 +25307,7 @@ maybe-install-wdiff: maybe-install-wdiff: install-wdiff install-wdiff: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -23965,6 +25325,7 @@ maybe-info-wdiff: info-wdiff info-wdiff: \ configure-wdiff + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -23990,6 +25351,7 @@ maybe-dvi-wdiff: dvi-wdiff dvi-wdiff: \ configure-wdiff + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24015,6 +25377,7 @@ maybe-html-wdiff: html-wdiff html-wdiff: \ configure-wdiff + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24040,6 +25403,7 @@ maybe-TAGS-wdiff: TAGS-wdiff TAGS-wdiff: \ configure-wdiff + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24066,6 +25430,7 @@ maybe-install-info-wdiff: install-info-wdiff install-info-wdiff: \ configure-wdiff \ info-wdiff + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24091,6 +25456,7 @@ maybe-installcheck-wdiff: installcheck-wdiff installcheck-wdiff: \ configure-wdiff + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24115,6 +25481,7 @@ maybe-mostlyclean-wdiff: maybe-mostlyclean-wdiff: mostlyclean-wdiff mostlyclean-wdiff: + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24139,6 +25506,7 @@ maybe-clean-wdiff: maybe-clean-wdiff: clean-wdiff clean-wdiff: + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24163,6 +25531,7 @@ maybe-distclean-wdiff: maybe-distclean-wdiff: distclean-wdiff distclean-wdiff: + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24187,6 +25556,7 @@ maybe-maintainer-clean-wdiff: maybe-maintainer-clean-wdiff: maintainer-clean-wdiff maintainer-clean-wdiff: + @: $(MAKE); $(unstage) @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24211,7 +25581,8 @@ maintainer-clean-wdiff: maybe-configure-zip: @if zip maybe-configure-zip: configure-zip -configure-zip: +configure-zip: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \ r=`${PWD_COMMAND}`; export r; \ @@ -24241,6 +25612,7 @@ maybe-all-zip: TARGET-zip=all maybe-all-zip: all-zip all-zip: configure-zip + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -24258,6 +25630,7 @@ maybe-check-zip: check-zip # This module is only tested in a native toolchain. check-zip: + @: $(MAKE); $(unstage) @if [ '$(host)' = '$(target)' ] ; then \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24274,6 +25647,7 @@ maybe-install-zip: maybe-install-zip: install-zip install-zip: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -24291,6 +25665,7 @@ maybe-info-zip: info-zip info-zip: \ configure-zip + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24316,6 +25691,7 @@ maybe-dvi-zip: dvi-zip dvi-zip: \ configure-zip + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24341,6 +25717,7 @@ maybe-html-zip: html-zip html-zip: \ configure-zip + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24366,6 +25743,7 @@ maybe-TAGS-zip: TAGS-zip TAGS-zip: \ configure-zip + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24392,6 +25770,7 @@ maybe-install-info-zip: install-info-zip install-info-zip: \ configure-zip \ info-zip + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24417,6 +25796,7 @@ maybe-installcheck-zip: installcheck-zip installcheck-zip: \ configure-zip + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24441,6 +25821,7 @@ maybe-mostlyclean-zip: maybe-mostlyclean-zip: mostlyclean-zip mostlyclean-zip: + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24465,6 +25846,7 @@ maybe-clean-zip: maybe-clean-zip: clean-zip clean-zip: + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24489,6 +25871,7 @@ maybe-distclean-zip: maybe-distclean-zip: distclean-zip distclean-zip: + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24513,6 +25896,7 @@ maybe-maintainer-clean-zip: maybe-maintainer-clean-zip: maintainer-clean-zip maintainer-clean-zip: + @: $(MAKE); $(unstage) @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -24537,7 +25921,7 @@ maintainer-clean-zip: maybe-configure-zlib: @if zlib maybe-configure-zlib: configure-zlib -configure-zlib: +configure-zlib: @test -f stage_last && exit 0; \ test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ @@ -24564,13 +25948,13 @@ configure-zlib: maybe-configure-stage1-zlib: @if zlib-bootstrap maybe-configure-stage1-zlib: configure-stage1-zlib -configure-stage1-zlib: - @$(MAKE) stage1-start - @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage1-zlib: + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib + test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(HOST_EXPORTS) \ echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ cd $(HOST_SUBDIR)/zlib || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -24588,14 +25972,14 @@ configure-stage1-zlib: maybe-configure-stage2-zlib: @if zlib-bootstrap maybe-configure-stage2-zlib: configure-stage2-zlib -configure-stage2-zlib: - @$(MAKE) stage2-start - @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage2-zlib: + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib + test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ cd $(HOST_SUBDIR)/zlib || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -24613,14 +25997,14 @@ configure-stage2-zlib: maybe-configure-stage3-zlib: @if zlib-bootstrap maybe-configure-stage3-zlib: configure-stage3-zlib -configure-stage3-zlib: - @$(MAKE) stage3-start - @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage3-zlib: + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib + test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ cd $(HOST_SUBDIR)/zlib || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -24638,14 +26022,14 @@ configure-stage3-zlib: maybe-configure-stage4-zlib: @if zlib-bootstrap maybe-configure-stage4-zlib: configure-stage4-zlib -configure-stage4-zlib: - @$(MAKE) stage4-start - @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stage4-zlib: + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib + test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ cd $(HOST_SUBDIR)/zlib || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -24663,14 +26047,14 @@ configure-stage4-zlib: maybe-configure-stageprofile-zlib: @if zlib-bootstrap maybe-configure-stageprofile-zlib: configure-stageprofile-zlib -configure-stageprofile-zlib: - @$(MAKE) stageprofile-start - @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stageprofile-zlib: + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib + test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ cd $(HOST_SUBDIR)/zlib || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -24688,14 +26072,14 @@ configure-stageprofile-zlib: maybe-configure-stagefeedback-zlib: @if zlib-bootstrap maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib -configure-stagefeedback-zlib: - @$(MAKE) stagefeedback-start - @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +configure-stagefeedback-zlib: + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib + test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ cd $(HOST_SUBDIR)/zlib || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ @@ -24736,20 +26120,22 @@ maybe-clean-stage1-zlib: @if zlib-bootstrap maybe-all-stage1-zlib: all-stage1-zlib all-stage1: all-stage1-zlib +TARGET-stage1-zlib = $(TARGET-zlib) all-stage1-zlib: configure-stage1-zlib - @$(MAKE) stage1-start + @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \ + $(TARGET-stage1-zlib) maybe-clean-stage1-zlib: clean-stage1-zlib clean-stage1: clean-stage1-zlib clean-stage1-zlib: @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \ + [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start cd $(HOST_SUBDIR)/zlib && \ $(MAKE) $(FLAGS_TO_PASS) \ CFLAGS="$(STAGE1_CFLAGS)" clean @@ -24763,21 +26149,23 @@ maybe-clean-stage2-zlib: @if zlib-bootstrap maybe-all-stage2-zlib: all-stage2-zlib all-stage2: all-stage2-zlib +TARGET-stage2-zlib = $(TARGET-zlib) all-stage2-zlib: configure-stage2-zlib - @$(MAKE) stage2-start + @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage2-zlib) maybe-clean-stage2-zlib: clean-stage2-zlib clean-stage2: clean-stage2-zlib clean-stage2-zlib: @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \ + [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start cd $(HOST_SUBDIR)/zlib && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -24792,21 +26180,23 @@ maybe-clean-stage3-zlib: @if zlib-bootstrap maybe-all-stage3-zlib: all-stage3-zlib all-stage3: all-stage3-zlib +TARGET-stage3-zlib = $(TARGET-zlib) all-stage3-zlib: configure-stage3-zlib - @$(MAKE) stage3-start + @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage3-zlib) maybe-clean-stage3-zlib: clean-stage3-zlib clean-stage3: clean-stage3-zlib clean-stage3-zlib: @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \ + [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start cd $(HOST_SUBDIR)/zlib && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -24821,21 +26211,23 @@ maybe-clean-stage4-zlib: @if zlib-bootstrap maybe-all-stage4-zlib: all-stage4-zlib all-stage4: all-stage4-zlib +TARGET-stage4-zlib = $(TARGET-zlib) all-stage4-zlib: configure-stage4-zlib - @$(MAKE) stage4-start + @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(TARGET-stage4-zlib) maybe-clean-stage4-zlib: clean-stage4-zlib clean-stage4: clean-stage4-zlib clean-stage4-zlib: @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \ + [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start cd $(HOST_SUBDIR)/zlib && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -24850,21 +26242,23 @@ maybe-clean-stageprofile-zlib: @if zlib-bootstrap maybe-all-stageprofile-zlib: all-stageprofile-zlib all-stageprofile: all-stageprofile-zlib +TARGET-stageprofile-zlib = $(TARGET-zlib) all-stageprofile-zlib: configure-stageprofile-zlib - @$(MAKE) stageprofile-start + @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \ + $(TARGET-stageprofile-zlib) maybe-clean-stageprofile-zlib: clean-stageprofile-zlib clean-stageprofile: clean-stageprofile-zlib clean-stageprofile-zlib: @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \ + [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start cd $(HOST_SUBDIR)/zlib && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -24879,21 +26273,23 @@ maybe-clean-stagefeedback-zlib: @if zlib-bootstrap maybe-all-stagefeedback-zlib: all-stagefeedback-zlib all-stagefeedback: all-stagefeedback-zlib +TARGET-stagefeedback-zlib = $(TARGET-zlib) all-stagefeedback-zlib: configure-stagefeedback-zlib - @$(MAKE) stagefeedback-start + @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ $(POSTSTAGE1_HOST_EXPORTS) \ cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \ + $(TARGET-stagefeedback-zlib) maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib clean-stagefeedback: clean-stagefeedback-zlib clean-stagefeedback-zlib: @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \ || exit 0 ; \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \ + [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start cd $(HOST_SUBDIR)/zlib && \ $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ @@ -25177,7 +26573,8 @@ maintainer-clean-zlib: maybe-configure-gdb: @if gdb maybe-configure-gdb: configure-gdb -configure-gdb: +configure-gdb: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \ r=`${PWD_COMMAND}`; export r; \ @@ -25207,6 +26604,7 @@ maybe-all-gdb: TARGET-gdb=all maybe-all-gdb: all-gdb all-gdb: configure-gdb + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25223,6 +26621,7 @@ maybe-check-gdb: maybe-check-gdb: check-gdb check-gdb: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25237,6 +26636,7 @@ maybe-install-gdb: maybe-install-gdb: install-gdb install-gdb: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25254,6 +26654,7 @@ maybe-info-gdb: info-gdb info-gdb: \ configure-gdb + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25279,6 +26680,7 @@ maybe-dvi-gdb: dvi-gdb dvi-gdb: \ configure-gdb + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25304,6 +26706,7 @@ maybe-html-gdb: html-gdb html-gdb: \ configure-gdb + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25329,6 +26732,7 @@ maybe-TAGS-gdb: TAGS-gdb TAGS-gdb: \ configure-gdb + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25355,6 +26759,7 @@ maybe-install-info-gdb: install-info-gdb install-info-gdb: \ configure-gdb \ info-gdb + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25380,6 +26785,7 @@ maybe-installcheck-gdb: installcheck-gdb installcheck-gdb: \ configure-gdb + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25404,6 +26810,7 @@ maybe-mostlyclean-gdb: maybe-mostlyclean-gdb: mostlyclean-gdb mostlyclean-gdb: + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25428,6 +26835,7 @@ maybe-clean-gdb: maybe-clean-gdb: clean-gdb clean-gdb: + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25452,6 +26860,7 @@ maybe-distclean-gdb: maybe-distclean-gdb: distclean-gdb distclean-gdb: + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25476,6 +26885,7 @@ maybe-maintainer-clean-gdb: maybe-maintainer-clean-gdb: maintainer-clean-gdb maintainer-clean-gdb: + @: $(MAKE); $(unstage) @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25500,7 +26910,8 @@ maintainer-clean-gdb: maybe-configure-expect: @if expect maybe-configure-expect: configure-expect -configure-expect: +configure-expect: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \ r=`${PWD_COMMAND}`; export r; \ @@ -25530,6 +26941,7 @@ maybe-all-expect: TARGET-expect=all maybe-all-expect: all-expect all-expect: configure-expect + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25546,6 +26958,7 @@ maybe-check-expect: maybe-check-expect: check-expect check-expect: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25560,6 +26973,7 @@ maybe-install-expect: maybe-install-expect: install-expect install-expect: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25577,6 +26991,7 @@ maybe-info-expect: info-expect info-expect: \ configure-expect + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25602,6 +27017,7 @@ maybe-dvi-expect: dvi-expect dvi-expect: \ configure-expect + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25627,6 +27043,7 @@ maybe-html-expect: html-expect html-expect: \ configure-expect + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25652,6 +27069,7 @@ maybe-TAGS-expect: TAGS-expect TAGS-expect: \ configure-expect + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25678,6 +27096,7 @@ maybe-install-info-expect: install-info-expect install-info-expect: \ configure-expect \ info-expect + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25703,6 +27122,7 @@ maybe-installcheck-expect: installcheck-expect installcheck-expect: \ configure-expect + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25727,6 +27147,7 @@ maybe-mostlyclean-expect: maybe-mostlyclean-expect: mostlyclean-expect mostlyclean-expect: + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25751,6 +27172,7 @@ maybe-clean-expect: maybe-clean-expect: clean-expect clean-expect: + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25775,6 +27197,7 @@ maybe-distclean-expect: maybe-distclean-expect: distclean-expect distclean-expect: + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25799,6 +27222,7 @@ maybe-maintainer-clean-expect: maybe-maintainer-clean-expect: maintainer-clean-expect maintainer-clean-expect: + @: $(MAKE); $(unstage) @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25823,7 +27247,8 @@ maintainer-clean-expect: maybe-configure-guile: @if guile maybe-configure-guile: configure-guile -configure-guile: +configure-guile: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \ r=`${PWD_COMMAND}`; export r; \ @@ -25853,6 +27278,7 @@ maybe-all-guile: TARGET-guile=all maybe-all-guile: all-guile all-guile: configure-guile + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25869,6 +27295,7 @@ maybe-check-guile: maybe-check-guile: check-guile check-guile: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25883,6 +27310,7 @@ maybe-install-guile: maybe-install-guile: install-guile install-guile: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -25900,6 +27328,7 @@ maybe-info-guile: info-guile info-guile: \ configure-guile + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25925,6 +27354,7 @@ maybe-dvi-guile: dvi-guile dvi-guile: \ configure-guile + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25950,6 +27380,7 @@ maybe-html-guile: html-guile html-guile: \ configure-guile + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -25975,6 +27406,7 @@ maybe-TAGS-guile: TAGS-guile TAGS-guile: \ configure-guile + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26001,6 +27433,7 @@ maybe-install-info-guile: install-info-guile install-info-guile: \ configure-guile \ info-guile + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26026,6 +27459,7 @@ maybe-installcheck-guile: installcheck-guile installcheck-guile: \ configure-guile + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26050,6 +27484,7 @@ maybe-mostlyclean-guile: maybe-mostlyclean-guile: mostlyclean-guile mostlyclean-guile: + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26074,6 +27509,7 @@ maybe-clean-guile: maybe-clean-guile: clean-guile clean-guile: + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26098,6 +27534,7 @@ maybe-distclean-guile: maybe-distclean-guile: distclean-guile distclean-guile: + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26122,6 +27559,7 @@ maybe-maintainer-clean-guile: maybe-maintainer-clean-guile: maintainer-clean-guile maintainer-clean-guile: + @: $(MAKE); $(unstage) @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26146,7 +27584,8 @@ maintainer-clean-guile: maybe-configure-tk: @if tk maybe-configure-tk: configure-tk -configure-tk: +configure-tk: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \ r=`${PWD_COMMAND}`; export r; \ @@ -26176,6 +27615,7 @@ maybe-all-tk: TARGET-tk=all maybe-all-tk: all-tk all-tk: configure-tk + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26192,6 +27632,7 @@ maybe-check-tk: maybe-check-tk: check-tk check-tk: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26206,6 +27647,7 @@ maybe-install-tk: maybe-install-tk: install-tk install-tk: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26223,6 +27665,7 @@ maybe-info-tk: info-tk info-tk: \ configure-tk + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26248,6 +27691,7 @@ maybe-dvi-tk: dvi-tk dvi-tk: \ configure-tk + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26273,6 +27717,7 @@ maybe-html-tk: html-tk html-tk: \ configure-tk + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26298,6 +27743,7 @@ maybe-TAGS-tk: TAGS-tk TAGS-tk: \ configure-tk + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26324,6 +27770,7 @@ maybe-install-info-tk: install-info-tk install-info-tk: \ configure-tk \ info-tk + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26349,6 +27796,7 @@ maybe-installcheck-tk: installcheck-tk installcheck-tk: \ configure-tk + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26373,6 +27821,7 @@ maybe-mostlyclean-tk: maybe-mostlyclean-tk: mostlyclean-tk mostlyclean-tk: + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26397,6 +27846,7 @@ maybe-clean-tk: maybe-clean-tk: clean-tk clean-tk: + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26421,6 +27871,7 @@ maybe-distclean-tk: maybe-distclean-tk: distclean-tk distclean-tk: + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26445,6 +27896,7 @@ maybe-maintainer-clean-tk: maybe-maintainer-clean-tk: maintainer-clean-tk maintainer-clean-tk: + @: $(MAKE); $(unstage) @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26469,7 +27921,8 @@ maintainer-clean-tk: maybe-configure-libtermcap: @if libtermcap maybe-configure-libtermcap: configure-libtermcap -configure-libtermcap: +configure-libtermcap: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \ r=`${PWD_COMMAND}`; export r; \ @@ -26499,6 +27952,7 @@ maybe-all-libtermcap: TARGET-libtermcap=all maybe-all-libtermcap: all-libtermcap all-libtermcap: configure-libtermcap + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26524,6 +27978,7 @@ maybe-install-libtermcap: maybe-install-libtermcap: install-libtermcap install-libtermcap: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26541,6 +27996,7 @@ maybe-info-libtermcap: info-libtermcap info-libtermcap: \ configure-libtermcap + @: $(MAKE); $(unstage) @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26566,6 +28022,7 @@ maybe-dvi-libtermcap: dvi-libtermcap dvi-libtermcap: \ configure-libtermcap + @: $(MAKE); $(unstage) @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26591,6 +28048,7 @@ maybe-html-libtermcap: html-libtermcap html-libtermcap: \ configure-libtermcap + @: $(MAKE); $(unstage) @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26616,6 +28074,7 @@ maybe-TAGS-libtermcap: TAGS-libtermcap TAGS-libtermcap: \ configure-libtermcap + @: $(MAKE); $(unstage) @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26642,6 +28101,7 @@ maybe-install-info-libtermcap: install-info-libtermcap install-info-libtermcap: \ configure-libtermcap \ info-libtermcap + @: $(MAKE); $(unstage) @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26667,6 +28127,7 @@ maybe-installcheck-libtermcap: installcheck-libtermcap installcheck-libtermcap: \ configure-libtermcap + @: $(MAKE); $(unstage) @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26731,7 +28192,8 @@ maintainer-clean-libtermcap: maybe-configure-utils: @if utils maybe-configure-utils: configure-utils -configure-utils: +configure-utils: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \ r=`${PWD_COMMAND}`; export r; \ @@ -26761,6 +28223,7 @@ maybe-all-utils: TARGET-utils=all maybe-all-utils: all-utils all-utils: configure-utils + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26786,6 +28249,7 @@ maybe-install-utils: maybe-install-utils: install-utils install-utils: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -26803,6 +28267,7 @@ maybe-info-utils: info-utils info-utils: \ configure-utils + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26828,6 +28293,7 @@ maybe-dvi-utils: dvi-utils dvi-utils: \ configure-utils + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26853,6 +28319,7 @@ maybe-html-utils: html-utils html-utils: \ configure-utils + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26878,6 +28345,7 @@ maybe-TAGS-utils: TAGS-utils TAGS-utils: \ configure-utils + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26904,6 +28372,7 @@ maybe-install-info-utils: install-info-utils install-info-utils: \ configure-utils \ info-utils + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26929,6 +28398,7 @@ maybe-installcheck-utils: installcheck-utils installcheck-utils: \ configure-utils + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26953,6 +28423,7 @@ maybe-mostlyclean-utils: maybe-mostlyclean-utils: mostlyclean-utils mostlyclean-utils: + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -26977,6 +28448,7 @@ maybe-clean-utils: maybe-clean-utils: clean-utils clean-utils: + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27001,6 +28473,7 @@ maybe-distclean-utils: maybe-distclean-utils: distclean-utils distclean-utils: + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27025,6 +28498,7 @@ maybe-maintainer-clean-utils: maybe-maintainer-clean-utils: maintainer-clean-utils maintainer-clean-utils: + @: $(MAKE); $(unstage) @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27049,7 +28523,8 @@ maintainer-clean-utils: maybe-configure-gnattools: @if gnattools maybe-configure-gnattools: configure-gnattools -configure-gnattools: +configure-gnattools: + @: $(MAKE); $(unstage) @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \ r=`${PWD_COMMAND}`; export r; \ @@ -27079,6 +28554,7 @@ maybe-all-gnattools: TARGET-gnattools=all maybe-all-gnattools: all-gnattools all-gnattools: configure-gnattools + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -27095,6 +28571,7 @@ maybe-check-gnattools: maybe-check-gnattools: check-gnattools check-gnattools: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -27109,6 +28586,7 @@ maybe-install-gnattools: maybe-install-gnattools: install-gnattools install-gnattools: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -27126,6 +28604,7 @@ maybe-info-gnattools: info-gnattools info-gnattools: \ configure-gnattools + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27151,6 +28630,7 @@ maybe-dvi-gnattools: dvi-gnattools dvi-gnattools: \ configure-gnattools + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27176,6 +28656,7 @@ maybe-html-gnattools: html-gnattools html-gnattools: \ configure-gnattools + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27201,6 +28682,7 @@ maybe-TAGS-gnattools: TAGS-gnattools TAGS-gnattools: \ configure-gnattools + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27227,6 +28709,7 @@ maybe-install-info-gnattools: install-info-gnattools install-info-gnattools: \ configure-gnattools \ info-gnattools + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27252,6 +28735,7 @@ maybe-installcheck-gnattools: installcheck-gnattools installcheck-gnattools: \ configure-gnattools + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27276,6 +28760,7 @@ maybe-mostlyclean-gnattools: maybe-mostlyclean-gnattools: mostlyclean-gnattools mostlyclean-gnattools: + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27300,6 +28785,7 @@ maybe-clean-gnattools: maybe-clean-gnattools: clean-gnattools clean-gnattools: + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27324,6 +28810,7 @@ maybe-distclean-gnattools: maybe-distclean-gnattools: distclean-gnattools distclean-gnattools: + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27348,6 +28835,7 @@ maybe-maintainer-clean-gnattools: maybe-maintainer-clean-gnattools: maintainer-clean-gnattools maintainer-clean-gnattools: + @: $(MAKE); $(unstage) @[ -f ./gnattools/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27373,21 +28861,29 @@ maintainer-clean-gnattools: # --------------------------------------- -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libstdc++-v3 -$(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out -@endif target-libstdc++-v3 - .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3: @if target-libstdc++-v3 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3 -configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out +configure-target-libstdc++-v3: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libstdc++-v3..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ + mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ r=`${PWD_COMMAND}`; export r; \ @@ -27418,6 +28914,7 @@ maybe-all-target-libstdc++-v3: TARGET-target-libstdc++-v3=all maybe-all-target-libstdc++-v3: all-target-libstdc++-v3 all-target-libstdc++-v3: configure-target-libstdc++-v3 + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(RAW_CXX_TARGET_EXPORTS) \ @@ -27435,6 +28932,7 @@ maybe-check-target-libstdc++-v3: maybe-check-target-libstdc++-v3: check-target-libstdc++-v3 check-target-libstdc++-v3: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(RAW_CXX_TARGET_EXPORTS) \ @@ -27449,6 +28947,7 @@ maybe-install-target-libstdc++-v3: maybe-install-target-libstdc++-v3: install-target-libstdc++-v3 install-target-libstdc++-v3: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(RAW_CXX_TARGET_EXPORTS) \ @@ -27466,6 +28965,7 @@ maybe-info-target-libstdc++-v3: info-target-libstdc++-v3 info-target-libstdc++-v3: \ configure-target-libstdc++-v3 + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27491,6 +28991,7 @@ maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3 dvi-target-libstdc++-v3: \ configure-target-libstdc++-v3 + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27516,6 +29017,7 @@ maybe-html-target-libstdc++-v3: html-target-libstdc++-v3 html-target-libstdc++-v3: \ configure-target-libstdc++-v3 + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27541,6 +29043,7 @@ maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3: \ configure-target-libstdc++-v3 + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27567,6 +29070,7 @@ maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3 install-info-target-libstdc++-v3: \ configure-target-libstdc++-v3 \ info-target-libstdc++-v3 + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27592,6 +29096,7 @@ maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3: \ configure-target-libstdc++-v3 + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27616,6 +29121,7 @@ maybe-mostlyclean-target-libstdc++-v3: maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27640,6 +29146,7 @@ maybe-clean-target-libstdc++-v3: maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3 clean-target-libstdc++-v3: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27664,6 +29171,7 @@ maybe-distclean-target-libstdc++-v3: maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3 distclean-target-libstdc++-v3: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27688,6 +29196,7 @@ maybe-maintainer-clean-target-libstdc++-v3: maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27708,21 +29217,29 @@ maintainer-clean-target-libstdc++-v3: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libmudflap -$(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ - rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out -@endif target-libmudflap - .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap maybe-configure-target-libmudflap: @if target-libmudflap maybe-configure-target-libmudflap: configure-target-libmudflap -configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out +configure-target-libmudflap: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libmudflap..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \ + mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ r=`${PWD_COMMAND}`; export r; \ @@ -27753,6 +29270,7 @@ maybe-all-target-libmudflap: TARGET-target-libmudflap=all maybe-all-target-libmudflap: all-target-libmudflap all-target-libmudflap: configure-target-libmudflap + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -27770,6 +29288,7 @@ maybe-check-target-libmudflap: maybe-check-target-libmudflap: check-target-libmudflap check-target-libmudflap: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -27784,6 +29303,7 @@ maybe-install-target-libmudflap: maybe-install-target-libmudflap: install-target-libmudflap install-target-libmudflap: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -27801,6 +29321,7 @@ maybe-info-target-libmudflap: info-target-libmudflap info-target-libmudflap: \ configure-target-libmudflap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27826,6 +29347,7 @@ maybe-dvi-target-libmudflap: dvi-target-libmudflap dvi-target-libmudflap: \ configure-target-libmudflap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27851,6 +29373,7 @@ maybe-html-target-libmudflap: html-target-libmudflap html-target-libmudflap: \ configure-target-libmudflap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27876,6 +29399,7 @@ maybe-TAGS-target-libmudflap: TAGS-target-libmudflap TAGS-target-libmudflap: \ configure-target-libmudflap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27902,6 +29426,7 @@ maybe-install-info-target-libmudflap: install-info-target-libmudflap install-info-target-libmudflap: \ configure-target-libmudflap \ info-target-libmudflap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27927,6 +29452,7 @@ maybe-installcheck-target-libmudflap: installcheck-target-libmudflap installcheck-target-libmudflap: \ configure-target-libmudflap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27951,6 +29477,7 @@ maybe-mostlyclean-target-libmudflap: maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap mostlyclean-target-libmudflap: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27975,6 +29502,7 @@ maybe-clean-target-libmudflap: maybe-clean-target-libmudflap: clean-target-libmudflap clean-target-libmudflap: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -27999,6 +29527,7 @@ maybe-distclean-target-libmudflap: maybe-distclean-target-libmudflap: distclean-target-libmudflap distclean-target-libmudflap: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28023,6 +29552,7 @@ maybe-maintainer-clean-target-libmudflap: maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28043,21 +29573,29 @@ maintainer-clean-target-libmudflap: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libssp -$(TARGET_SUBDIR)/libssp/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ - rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out -@endif target-libssp - .PHONY: configure-target-libssp maybe-configure-target-libssp maybe-configure-target-libssp: @if target-libssp maybe-configure-target-libssp: configure-target-libssp -configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out +configure-target-libssp: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libssp..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libssp/Makefile; \ + mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ r=`${PWD_COMMAND}`; export r; \ @@ -28088,6 +29626,7 @@ maybe-all-target-libssp: TARGET-target-libssp=all maybe-all-target-libssp: all-target-libssp all-target-libssp: configure-target-libssp + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28105,6 +29644,7 @@ maybe-check-target-libssp: maybe-check-target-libssp: check-target-libssp check-target-libssp: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28119,6 +29659,7 @@ maybe-install-target-libssp: maybe-install-target-libssp: install-target-libssp install-target-libssp: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28136,6 +29677,7 @@ maybe-info-target-libssp: info-target-libssp info-target-libssp: \ configure-target-libssp + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28161,6 +29703,7 @@ maybe-dvi-target-libssp: dvi-target-libssp dvi-target-libssp: \ configure-target-libssp + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28186,6 +29729,7 @@ maybe-html-target-libssp: html-target-libssp html-target-libssp: \ configure-target-libssp + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28211,6 +29755,7 @@ maybe-TAGS-target-libssp: TAGS-target-libssp TAGS-target-libssp: \ configure-target-libssp + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28237,6 +29782,7 @@ maybe-install-info-target-libssp: install-info-target-libssp install-info-target-libssp: \ configure-target-libssp \ info-target-libssp + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28262,6 +29808,7 @@ maybe-installcheck-target-libssp: installcheck-target-libssp installcheck-target-libssp: \ configure-target-libssp + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28286,6 +29833,7 @@ maybe-mostlyclean-target-libssp: maybe-mostlyclean-target-libssp: mostlyclean-target-libssp mostlyclean-target-libssp: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28310,6 +29858,7 @@ maybe-clean-target-libssp: maybe-clean-target-libssp: clean-target-libssp clean-target-libssp: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28334,6 +29883,7 @@ maybe-distclean-target-libssp: maybe-distclean-target-libssp: distclean-target-libssp distclean-target-libssp: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28358,6 +29908,7 @@ maybe-maintainer-clean-target-libssp: maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp maintainer-clean-target-libssp: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28378,21 +29929,29 @@ maintainer-clean-target-libssp: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-newlib -$(TARGET_SUBDIR)/newlib/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ - rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out -@endif target-newlib - .PHONY: configure-target-newlib maybe-configure-target-newlib maybe-configure-target-newlib: @if target-newlib maybe-configure-target-newlib: configure-target-newlib -configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out +configure-target-newlib: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for newlib..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/newlib/Makefile; \ + mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ r=`${PWD_COMMAND}`; export r; \ @@ -28423,6 +29982,7 @@ maybe-all-target-newlib: TARGET-target-newlib=all maybe-all-target-newlib: all-target-newlib all-target-newlib: configure-target-newlib + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28440,6 +30000,7 @@ maybe-check-target-newlib: maybe-check-target-newlib: check-target-newlib check-target-newlib: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28454,6 +30015,7 @@ maybe-install-target-newlib: maybe-install-target-newlib: install-target-newlib install-target-newlib: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28471,6 +30033,7 @@ maybe-info-target-newlib: info-target-newlib info-target-newlib: \ configure-target-newlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28496,6 +30059,7 @@ maybe-dvi-target-newlib: dvi-target-newlib dvi-target-newlib: \ configure-target-newlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28521,6 +30085,7 @@ maybe-html-target-newlib: html-target-newlib html-target-newlib: \ configure-target-newlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28546,6 +30111,7 @@ maybe-TAGS-target-newlib: TAGS-target-newlib TAGS-target-newlib: \ configure-target-newlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28572,6 +30138,7 @@ maybe-install-info-target-newlib: install-info-target-newlib install-info-target-newlib: \ configure-target-newlib \ info-target-newlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28597,6 +30164,7 @@ maybe-installcheck-target-newlib: installcheck-target-newlib installcheck-target-newlib: \ configure-target-newlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28621,6 +30189,7 @@ maybe-mostlyclean-target-newlib: maybe-mostlyclean-target-newlib: mostlyclean-target-newlib mostlyclean-target-newlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28645,6 +30214,7 @@ maybe-clean-target-newlib: maybe-clean-target-newlib: clean-target-newlib clean-target-newlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28669,6 +30239,7 @@ maybe-distclean-target-newlib: maybe-distclean-target-newlib: distclean-target-newlib distclean-target-newlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28693,6 +30264,7 @@ maybe-maintainer-clean-target-newlib: maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib maintainer-clean-target-newlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28713,21 +30285,29 @@ maintainer-clean-target-newlib: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libgfortran -$(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ - rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out -@endif target-libgfortran - .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran maybe-configure-target-libgfortran: @if target-libgfortran maybe-configure-target-libgfortran: configure-target-libgfortran -configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out +configure-target-libgfortran: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libgfortran..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \ + mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ r=`${PWD_COMMAND}`; export r; \ @@ -28758,6 +30338,7 @@ maybe-all-target-libgfortran: TARGET-target-libgfortran=all maybe-all-target-libgfortran: all-target-libgfortran all-target-libgfortran: configure-target-libgfortran + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28775,6 +30356,7 @@ maybe-check-target-libgfortran: maybe-check-target-libgfortran: check-target-libgfortran check-target-libgfortran: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28789,6 +30371,7 @@ maybe-install-target-libgfortran: maybe-install-target-libgfortran: install-target-libgfortran install-target-libgfortran: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -28806,6 +30389,7 @@ maybe-info-target-libgfortran: info-target-libgfortran info-target-libgfortran: \ configure-target-libgfortran + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28831,6 +30415,7 @@ maybe-dvi-target-libgfortran: dvi-target-libgfortran dvi-target-libgfortran: \ configure-target-libgfortran + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28856,6 +30441,7 @@ maybe-html-target-libgfortran: html-target-libgfortran html-target-libgfortran: \ configure-target-libgfortran + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28881,6 +30467,7 @@ maybe-TAGS-target-libgfortran: TAGS-target-libgfortran TAGS-target-libgfortran: \ configure-target-libgfortran + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28907,6 +30494,7 @@ maybe-install-info-target-libgfortran: install-info-target-libgfortran install-info-target-libgfortran: \ configure-target-libgfortran \ info-target-libgfortran + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28932,6 +30520,7 @@ maybe-installcheck-target-libgfortran: installcheck-target-libgfortran installcheck-target-libgfortran: \ configure-target-libgfortran + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28956,6 +30545,7 @@ maybe-mostlyclean-target-libgfortran: maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran mostlyclean-target-libgfortran: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -28980,6 +30570,7 @@ maybe-clean-target-libgfortran: maybe-clean-target-libgfortran: clean-target-libgfortran clean-target-libgfortran: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29004,6 +30595,7 @@ maybe-distclean-target-libgfortran: maybe-distclean-target-libgfortran: distclean-target-libgfortran distclean-target-libgfortran: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29028,6 +30620,7 @@ maybe-maintainer-clean-target-libgfortran: maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29048,21 +30641,29 @@ maintainer-clean-target-libgfortran: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libobjc -$(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ - rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out -@endif target-libobjc - .PHONY: configure-target-libobjc maybe-configure-target-libobjc maybe-configure-target-libobjc: @if target-libobjc maybe-configure-target-libobjc: configure-target-libobjc -configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out +configure-target-libobjc: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libobjc..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \ + mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ r=`${PWD_COMMAND}`; export r; \ @@ -29093,6 +30694,7 @@ maybe-all-target-libobjc: TARGET-target-libobjc=all maybe-all-target-libobjc: all-target-libobjc all-target-libobjc: configure-target-libobjc + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29110,6 +30712,7 @@ maybe-check-target-libobjc: maybe-check-target-libobjc: check-target-libobjc check-target-libobjc: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29124,6 +30727,7 @@ maybe-install-target-libobjc: maybe-install-target-libobjc: install-target-libobjc install-target-libobjc: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29141,6 +30745,7 @@ maybe-info-target-libobjc: info-target-libobjc info-target-libobjc: \ configure-target-libobjc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29166,6 +30771,7 @@ maybe-dvi-target-libobjc: dvi-target-libobjc dvi-target-libobjc: \ configure-target-libobjc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29191,6 +30797,7 @@ maybe-html-target-libobjc: html-target-libobjc html-target-libobjc: \ configure-target-libobjc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29216,6 +30823,7 @@ maybe-TAGS-target-libobjc: TAGS-target-libobjc TAGS-target-libobjc: \ configure-target-libobjc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29242,6 +30850,7 @@ maybe-install-info-target-libobjc: install-info-target-libobjc install-info-target-libobjc: \ configure-target-libobjc \ info-target-libobjc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29267,6 +30876,7 @@ maybe-installcheck-target-libobjc: installcheck-target-libobjc installcheck-target-libobjc: \ configure-target-libobjc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29291,6 +30901,7 @@ maybe-mostlyclean-target-libobjc: maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc mostlyclean-target-libobjc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29315,6 +30926,7 @@ maybe-clean-target-libobjc: maybe-clean-target-libobjc: clean-target-libobjc clean-target-libobjc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29339,6 +30951,7 @@ maybe-distclean-target-libobjc: maybe-distclean-target-libobjc: distclean-target-libobjc distclean-target-libobjc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29363,6 +30976,7 @@ maybe-maintainer-clean-target-libobjc: maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc maintainer-clean-target-libobjc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29383,21 +30997,29 @@ maintainer-clean-target-libobjc: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libtermcap -$(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ - rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out -@endif target-libtermcap - .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap maybe-configure-target-libtermcap: @if target-libtermcap maybe-configure-target-libtermcap: configure-target-libtermcap -configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out +configure-target-libtermcap: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libtermcap..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \ + mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ r=`${PWD_COMMAND}`; export r; \ @@ -29428,6 +31050,7 @@ maybe-all-target-libtermcap: TARGET-target-libtermcap=all maybe-all-target-libtermcap: all-target-libtermcap all-target-libtermcap: configure-target-libtermcap + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29455,6 +31078,7 @@ maybe-install-target-libtermcap: maybe-install-target-libtermcap: install-target-libtermcap install-target-libtermcap: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29472,6 +31096,7 @@ maybe-info-target-libtermcap: info-target-libtermcap info-target-libtermcap: \ configure-target-libtermcap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29497,6 +31122,7 @@ maybe-dvi-target-libtermcap: dvi-target-libtermcap dvi-target-libtermcap: \ configure-target-libtermcap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29522,6 +31148,7 @@ maybe-html-target-libtermcap: html-target-libtermcap html-target-libtermcap: \ configure-target-libtermcap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29547,6 +31174,7 @@ maybe-TAGS-target-libtermcap: TAGS-target-libtermcap TAGS-target-libtermcap: \ configure-target-libtermcap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29573,6 +31201,7 @@ maybe-install-info-target-libtermcap: install-info-target-libtermcap install-info-target-libtermcap: \ configure-target-libtermcap \ info-target-libtermcap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29598,6 +31227,7 @@ maybe-installcheck-target-libtermcap: installcheck-target-libtermcap installcheck-target-libtermcap: \ configure-target-libtermcap + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29658,21 +31288,29 @@ maintainer-clean-target-libtermcap: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-winsup -$(TARGET_SUBDIR)/winsup/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ - rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out -@endif target-winsup - .PHONY: configure-target-winsup maybe-configure-target-winsup maybe-configure-target-winsup: @if target-winsup maybe-configure-target-winsup: configure-target-winsup -configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out +configure-target-winsup: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for winsup..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/winsup/Makefile; \ + mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ r=`${PWD_COMMAND}`; export r; \ @@ -29703,6 +31341,7 @@ maybe-all-target-winsup: TARGET-target-winsup=all maybe-all-target-winsup: all-target-winsup all-target-winsup: configure-target-winsup + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29720,6 +31359,7 @@ maybe-check-target-winsup: maybe-check-target-winsup: check-target-winsup check-target-winsup: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29734,6 +31374,7 @@ maybe-install-target-winsup: maybe-install-target-winsup: install-target-winsup install-target-winsup: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -29751,6 +31392,7 @@ maybe-info-target-winsup: info-target-winsup info-target-winsup: \ configure-target-winsup + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29776,6 +31418,7 @@ maybe-dvi-target-winsup: dvi-target-winsup dvi-target-winsup: \ configure-target-winsup + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29801,6 +31444,7 @@ maybe-html-target-winsup: html-target-winsup html-target-winsup: \ configure-target-winsup + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29826,6 +31470,7 @@ maybe-TAGS-target-winsup: TAGS-target-winsup TAGS-target-winsup: \ configure-target-winsup + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29852,6 +31497,7 @@ maybe-install-info-target-winsup: install-info-target-winsup install-info-target-winsup: \ configure-target-winsup \ info-target-winsup + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29877,6 +31523,7 @@ maybe-installcheck-target-winsup: installcheck-target-winsup installcheck-target-winsup: \ configure-target-winsup + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29901,6 +31548,7 @@ maybe-mostlyclean-target-winsup: maybe-mostlyclean-target-winsup: mostlyclean-target-winsup mostlyclean-target-winsup: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29925,6 +31573,7 @@ maybe-clean-target-winsup: maybe-clean-target-winsup: clean-target-winsup clean-target-winsup: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29949,6 +31598,7 @@ maybe-distclean-target-winsup: maybe-distclean-target-winsup: distclean-target-winsup distclean-target-winsup: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29973,6 +31623,7 @@ maybe-maintainer-clean-target-winsup: maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup maintainer-clean-target-winsup: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -29993,21 +31644,29 @@ maintainer-clean-target-winsup: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libgloss -$(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ - rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out -@endif target-libgloss - .PHONY: configure-target-libgloss maybe-configure-target-libgloss maybe-configure-target-libgloss: @if target-libgloss maybe-configure-target-libgloss: configure-target-libgloss -configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out +configure-target-libgloss: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libgloss..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \ + mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ r=`${PWD_COMMAND}`; export r; \ @@ -30038,6 +31697,7 @@ maybe-all-target-libgloss: TARGET-target-libgloss=all maybe-all-target-libgloss: all-target-libgloss all-target-libgloss: configure-target-libgloss + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30065,6 +31725,7 @@ maybe-install-target-libgloss: maybe-install-target-libgloss: install-target-libgloss install-target-libgloss: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30082,6 +31743,7 @@ maybe-info-target-libgloss: info-target-libgloss info-target-libgloss: \ configure-target-libgloss + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30107,6 +31769,7 @@ maybe-dvi-target-libgloss: dvi-target-libgloss dvi-target-libgloss: \ configure-target-libgloss + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30132,6 +31795,7 @@ maybe-html-target-libgloss: html-target-libgloss html-target-libgloss: \ configure-target-libgloss + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30157,6 +31821,7 @@ maybe-TAGS-target-libgloss: TAGS-target-libgloss TAGS-target-libgloss: \ configure-target-libgloss + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30183,6 +31848,7 @@ maybe-install-info-target-libgloss: install-info-target-libgloss install-info-target-libgloss: \ configure-target-libgloss \ info-target-libgloss + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30208,6 +31874,7 @@ maybe-installcheck-target-libgloss: installcheck-target-libgloss installcheck-target-libgloss: \ configure-target-libgloss + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30232,6 +31899,7 @@ maybe-mostlyclean-target-libgloss: maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss mostlyclean-target-libgloss: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30256,6 +31924,7 @@ maybe-clean-target-libgloss: maybe-clean-target-libgloss: clean-target-libgloss clean-target-libgloss: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30280,6 +31949,7 @@ maybe-distclean-target-libgloss: maybe-distclean-target-libgloss: distclean-target-libgloss distclean-target-libgloss: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30304,6 +31974,7 @@ maybe-maintainer-clean-target-libgloss: maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss maintainer-clean-target-libgloss: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30324,21 +31995,29 @@ maintainer-clean-target-libgloss: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libiberty -$(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ - rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out -@endif target-libiberty - .PHONY: configure-target-libiberty maybe-configure-target-libiberty maybe-configure-target-libiberty: @if target-libiberty maybe-configure-target-libiberty: configure-target-libiberty -configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out +configure-target-libiberty: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libiberty..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \ + mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ r=`${PWD_COMMAND}`; export r; \ @@ -30369,6 +32048,7 @@ maybe-all-target-libiberty: TARGET-target-libiberty=all maybe-all-target-libiberty: all-target-libiberty all-target-libiberty: configure-target-libiberty + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30386,6 +32066,7 @@ maybe-check-target-libiberty: maybe-check-target-libiberty: check-target-libiberty check-target-libiberty: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30400,6 +32081,7 @@ maybe-install-target-libiberty: maybe-install-target-libiberty: install-target-libiberty install-target-libiberty: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30417,6 +32099,7 @@ maybe-info-target-libiberty: info-target-libiberty info-target-libiberty: \ configure-target-libiberty + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30442,6 +32125,7 @@ maybe-dvi-target-libiberty: dvi-target-libiberty dvi-target-libiberty: \ configure-target-libiberty + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30467,6 +32151,7 @@ maybe-html-target-libiberty: html-target-libiberty html-target-libiberty: \ configure-target-libiberty + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30492,6 +32177,7 @@ maybe-TAGS-target-libiberty: TAGS-target-libiberty TAGS-target-libiberty: \ configure-target-libiberty + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30518,6 +32204,7 @@ maybe-install-info-target-libiberty: install-info-target-libiberty install-info-target-libiberty: \ configure-target-libiberty \ info-target-libiberty + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30543,6 +32230,7 @@ maybe-installcheck-target-libiberty: installcheck-target-libiberty installcheck-target-libiberty: \ configure-target-libiberty + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30567,6 +32255,7 @@ maybe-mostlyclean-target-libiberty: maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty mostlyclean-target-libiberty: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30591,6 +32280,7 @@ maybe-clean-target-libiberty: maybe-clean-target-libiberty: clean-target-libiberty clean-target-libiberty: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30615,6 +32305,7 @@ maybe-distclean-target-libiberty: maybe-distclean-target-libiberty: distclean-target-libiberty distclean-target-libiberty: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30639,6 +32330,7 @@ maybe-maintainer-clean-target-libiberty: maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty maintainer-clean-target-libiberty: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30659,21 +32351,29 @@ maintainer-clean-target-libiberty: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-gperf -$(TARGET_SUBDIR)/gperf/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ - rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out -@endif target-gperf - .PHONY: configure-target-gperf maybe-configure-target-gperf maybe-configure-target-gperf: @if target-gperf maybe-configure-target-gperf: configure-target-gperf -configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out +configure-target-gperf: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for gperf..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/gperf/Makefile; \ + mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ r=`${PWD_COMMAND}`; export r; \ @@ -30704,6 +32404,7 @@ maybe-all-target-gperf: TARGET-target-gperf=all maybe-all-target-gperf: all-target-gperf all-target-gperf: configure-target-gperf + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30721,6 +32422,7 @@ maybe-check-target-gperf: maybe-check-target-gperf: check-target-gperf check-target-gperf: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30735,6 +32437,7 @@ maybe-install-target-gperf: maybe-install-target-gperf: install-target-gperf install-target-gperf: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -30752,6 +32455,7 @@ maybe-info-target-gperf: info-target-gperf info-target-gperf: \ configure-target-gperf + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30777,6 +32481,7 @@ maybe-dvi-target-gperf: dvi-target-gperf dvi-target-gperf: \ configure-target-gperf + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30802,6 +32507,7 @@ maybe-html-target-gperf: html-target-gperf html-target-gperf: \ configure-target-gperf + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30827,6 +32533,7 @@ maybe-TAGS-target-gperf: TAGS-target-gperf TAGS-target-gperf: \ configure-target-gperf + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30853,6 +32560,7 @@ maybe-install-info-target-gperf: install-info-target-gperf install-info-target-gperf: \ configure-target-gperf \ info-target-gperf + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30878,6 +32586,7 @@ maybe-installcheck-target-gperf: installcheck-target-gperf installcheck-target-gperf: \ configure-target-gperf + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30902,6 +32611,7 @@ maybe-mostlyclean-target-gperf: maybe-mostlyclean-target-gperf: mostlyclean-target-gperf mostlyclean-target-gperf: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30926,6 +32636,7 @@ maybe-clean-target-gperf: maybe-clean-target-gperf: clean-target-gperf clean-target-gperf: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30950,6 +32661,7 @@ maybe-distclean-target-gperf: maybe-distclean-target-gperf: distclean-target-gperf distclean-target-gperf: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30974,6 +32686,7 @@ maybe-maintainer-clean-target-gperf: maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf maintainer-clean-target-gperf: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -30994,21 +32707,29 @@ maintainer-clean-target-gperf: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-examples -$(TARGET_SUBDIR)/examples/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ - rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out -@endif target-examples - .PHONY: configure-target-examples maybe-configure-target-examples maybe-configure-target-examples: @if target-examples maybe-configure-target-examples: configure-target-examples -configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out +configure-target-examples: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for examples..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/examples/Makefile; \ + mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ r=`${PWD_COMMAND}`; export r; \ @@ -31039,6 +32760,7 @@ maybe-all-target-examples: TARGET-target-examples=all maybe-all-target-examples: all-target-examples all-target-examples: configure-target-examples + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -31079,6 +32801,7 @@ maybe-info-target-examples: info-target-examples info-target-examples: \ configure-target-examples + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31104,6 +32827,7 @@ maybe-dvi-target-examples: dvi-target-examples dvi-target-examples: \ configure-target-examples + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31129,6 +32853,7 @@ maybe-html-target-examples: html-target-examples html-target-examples: \ configure-target-examples + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31154,6 +32879,7 @@ maybe-TAGS-target-examples: TAGS-target-examples TAGS-target-examples: \ configure-target-examples + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31180,6 +32906,7 @@ maybe-install-info-target-examples: install-info-target-examples install-info-target-examples: \ configure-target-examples \ info-target-examples + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31205,6 +32932,7 @@ maybe-installcheck-target-examples: installcheck-target-examples installcheck-target-examples: \ configure-target-examples + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31229,6 +32957,7 @@ maybe-mostlyclean-target-examples: maybe-mostlyclean-target-examples: mostlyclean-target-examples mostlyclean-target-examples: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31253,6 +32982,7 @@ maybe-clean-target-examples: maybe-clean-target-examples: clean-target-examples clean-target-examples: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31277,6 +33007,7 @@ maybe-distclean-target-examples: maybe-distclean-target-examples: distclean-target-examples distclean-target-examples: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31301,6 +33032,7 @@ maybe-maintainer-clean-target-examples: maybe-maintainer-clean-target-examples: maintainer-clean-target-examples maintainer-clean-target-examples: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31321,21 +33053,29 @@ maintainer-clean-target-examples: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libffi -$(TARGET_SUBDIR)/libffi/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ - rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out -@endif target-libffi - .PHONY: configure-target-libffi maybe-configure-target-libffi maybe-configure-target-libffi: @if target-libffi maybe-configure-target-libffi: configure-target-libffi -configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out +configure-target-libffi: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libffi..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libffi/Makefile; \ + mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ r=`${PWD_COMMAND}`; export r; \ @@ -31366,6 +33106,7 @@ maybe-all-target-libffi: TARGET-target-libffi=all maybe-all-target-libffi: all-target-libffi all-target-libffi: configure-target-libffi + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -31383,6 +33124,7 @@ maybe-check-target-libffi: maybe-check-target-libffi: check-target-libffi check-target-libffi: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -31397,6 +33139,7 @@ maybe-install-target-libffi: maybe-install-target-libffi: install-target-libffi install-target-libffi: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -31414,6 +33157,7 @@ maybe-info-target-libffi: info-target-libffi info-target-libffi: \ configure-target-libffi + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31439,6 +33183,7 @@ maybe-dvi-target-libffi: dvi-target-libffi dvi-target-libffi: \ configure-target-libffi + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31464,6 +33209,7 @@ maybe-html-target-libffi: html-target-libffi html-target-libffi: \ configure-target-libffi + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31489,6 +33235,7 @@ maybe-TAGS-target-libffi: TAGS-target-libffi TAGS-target-libffi: \ configure-target-libffi + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31515,6 +33262,7 @@ maybe-install-info-target-libffi: install-info-target-libffi install-info-target-libffi: \ configure-target-libffi \ info-target-libffi + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31540,6 +33288,7 @@ maybe-installcheck-target-libffi: installcheck-target-libffi installcheck-target-libffi: \ configure-target-libffi + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31564,6 +33313,7 @@ maybe-mostlyclean-target-libffi: maybe-mostlyclean-target-libffi: mostlyclean-target-libffi mostlyclean-target-libffi: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31588,6 +33338,7 @@ maybe-clean-target-libffi: maybe-clean-target-libffi: clean-target-libffi clean-target-libffi: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31612,6 +33363,7 @@ maybe-distclean-target-libffi: maybe-distclean-target-libffi: distclean-target-libffi distclean-target-libffi: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31636,6 +33388,7 @@ maybe-maintainer-clean-target-libffi: maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi maintainer-clean-target-libffi: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31656,21 +33409,29 @@ maintainer-clean-target-libffi: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libjava -$(TARGET_SUBDIR)/libjava/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ - rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out -@endif target-libjava - .PHONY: configure-target-libjava maybe-configure-target-libjava maybe-configure-target-libjava: @if target-libjava maybe-configure-target-libjava: configure-target-libjava -configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out +configure-target-libjava: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libjava..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libjava/Makefile; \ + mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ r=`${PWD_COMMAND}`; export r; \ @@ -31701,6 +33462,7 @@ maybe-all-target-libjava: TARGET-target-libjava=all maybe-all-target-libjava: all-target-libjava all-target-libjava: configure-target-libjava + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(RAW_CXX_TARGET_EXPORTS) \ @@ -31718,6 +33480,7 @@ maybe-check-target-libjava: maybe-check-target-libjava: check-target-libjava check-target-libjava: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(RAW_CXX_TARGET_EXPORTS) \ @@ -31732,6 +33495,7 @@ maybe-install-target-libjava: maybe-install-target-libjava: install-target-libjava install-target-libjava: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(RAW_CXX_TARGET_EXPORTS) \ @@ -31749,6 +33513,7 @@ maybe-info-target-libjava: info-target-libjava info-target-libjava: \ configure-target-libjava + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31774,6 +33539,7 @@ maybe-dvi-target-libjava: dvi-target-libjava dvi-target-libjava: \ configure-target-libjava + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31799,6 +33565,7 @@ maybe-html-target-libjava: html-target-libjava html-target-libjava: \ configure-target-libjava + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31824,6 +33591,7 @@ maybe-TAGS-target-libjava: TAGS-target-libjava TAGS-target-libjava: \ configure-target-libjava + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31850,6 +33618,7 @@ maybe-install-info-target-libjava: install-info-target-libjava install-info-target-libjava: \ configure-target-libjava \ info-target-libjava + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31875,6 +33644,7 @@ maybe-installcheck-target-libjava: installcheck-target-libjava installcheck-target-libjava: \ configure-target-libjava + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31899,6 +33669,7 @@ maybe-mostlyclean-target-libjava: maybe-mostlyclean-target-libjava: mostlyclean-target-libjava mostlyclean-target-libjava: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31923,6 +33694,7 @@ maybe-clean-target-libjava: maybe-clean-target-libjava: clean-target-libjava clean-target-libjava: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31947,6 +33719,7 @@ maybe-distclean-target-libjava: maybe-distclean-target-libjava: distclean-target-libjava distclean-target-libjava: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31971,6 +33744,7 @@ maybe-maintainer-clean-target-libjava: maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava maintainer-clean-target-libjava: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -31991,21 +33765,29 @@ maintainer-clean-target-libjava: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-zlib -$(TARGET_SUBDIR)/zlib/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ - rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out -@endif target-zlib - .PHONY: configure-target-zlib maybe-configure-target-zlib maybe-configure-target-zlib: @if target-zlib maybe-configure-target-zlib: configure-target-zlib -configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out +configure-target-zlib: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for zlib..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/zlib/Makefile; \ + mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ r=`${PWD_COMMAND}`; export r; \ @@ -32036,6 +33818,7 @@ maybe-all-target-zlib: TARGET-target-zlib=all maybe-all-target-zlib: all-target-zlib all-target-zlib: configure-target-zlib + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32053,6 +33836,7 @@ maybe-check-target-zlib: maybe-check-target-zlib: check-target-zlib check-target-zlib: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32067,6 +33851,7 @@ maybe-install-target-zlib: maybe-install-target-zlib: install-target-zlib install-target-zlib: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32084,6 +33869,7 @@ maybe-info-target-zlib: info-target-zlib info-target-zlib: \ configure-target-zlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32109,6 +33895,7 @@ maybe-dvi-target-zlib: dvi-target-zlib dvi-target-zlib: \ configure-target-zlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32134,6 +33921,7 @@ maybe-html-target-zlib: html-target-zlib html-target-zlib: \ configure-target-zlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32159,6 +33947,7 @@ maybe-TAGS-target-zlib: TAGS-target-zlib TAGS-target-zlib: \ configure-target-zlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32185,6 +33974,7 @@ maybe-install-info-target-zlib: install-info-target-zlib install-info-target-zlib: \ configure-target-zlib \ info-target-zlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32210,6 +34000,7 @@ maybe-installcheck-target-zlib: installcheck-target-zlib installcheck-target-zlib: \ configure-target-zlib + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32234,6 +34025,7 @@ maybe-mostlyclean-target-zlib: maybe-mostlyclean-target-zlib: mostlyclean-target-zlib mostlyclean-target-zlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32258,6 +34050,7 @@ maybe-clean-target-zlib: maybe-clean-target-zlib: clean-target-zlib clean-target-zlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32282,6 +34075,7 @@ maybe-distclean-target-zlib: maybe-distclean-target-zlib: distclean-target-zlib distclean-target-zlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32306,6 +34100,7 @@ maybe-maintainer-clean-target-zlib: maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib maintainer-clean-target-zlib: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32326,21 +34121,29 @@ maintainer-clean-target-zlib: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-boehm-gc -$(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ - rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out -@endif target-boehm-gc - .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc maybe-configure-target-boehm-gc: @if target-boehm-gc maybe-configure-target-boehm-gc: configure-target-boehm-gc -configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out +configure-target-boehm-gc: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for boehm-gc..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \ + mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ r=`${PWD_COMMAND}`; export r; \ @@ -32371,6 +34174,7 @@ maybe-all-target-boehm-gc: TARGET-target-boehm-gc=all maybe-all-target-boehm-gc: all-target-boehm-gc all-target-boehm-gc: configure-target-boehm-gc + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32388,6 +34192,7 @@ maybe-check-target-boehm-gc: maybe-check-target-boehm-gc: check-target-boehm-gc check-target-boehm-gc: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32402,6 +34207,7 @@ maybe-install-target-boehm-gc: maybe-install-target-boehm-gc: install-target-boehm-gc install-target-boehm-gc: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32419,6 +34225,7 @@ maybe-info-target-boehm-gc: info-target-boehm-gc info-target-boehm-gc: \ configure-target-boehm-gc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32444,6 +34251,7 @@ maybe-dvi-target-boehm-gc: dvi-target-boehm-gc dvi-target-boehm-gc: \ configure-target-boehm-gc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32469,6 +34277,7 @@ maybe-html-target-boehm-gc: html-target-boehm-gc html-target-boehm-gc: \ configure-target-boehm-gc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32494,6 +34303,7 @@ maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc TAGS-target-boehm-gc: \ configure-target-boehm-gc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32520,6 +34330,7 @@ maybe-install-info-target-boehm-gc: install-info-target-boehm-gc install-info-target-boehm-gc: \ configure-target-boehm-gc \ info-target-boehm-gc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32545,6 +34356,7 @@ maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc installcheck-target-boehm-gc: \ configure-target-boehm-gc + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32569,6 +34381,7 @@ maybe-mostlyclean-target-boehm-gc: maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32593,6 +34406,7 @@ maybe-clean-target-boehm-gc: maybe-clean-target-boehm-gc: clean-target-boehm-gc clean-target-boehm-gc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32617,6 +34431,7 @@ maybe-distclean-target-boehm-gc: maybe-distclean-target-boehm-gc: distclean-target-boehm-gc distclean-target-boehm-gc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32641,6 +34456,7 @@ maybe-maintainer-clean-target-boehm-gc: maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32661,21 +34477,29 @@ maintainer-clean-target-boehm-gc: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-qthreads -$(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ - rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out -@endif target-qthreads - .PHONY: configure-target-qthreads maybe-configure-target-qthreads maybe-configure-target-qthreads: @if target-qthreads maybe-configure-target-qthreads: configure-target-qthreads -configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out +configure-target-qthreads: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for qthreads..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \ + mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ r=`${PWD_COMMAND}`; export r; \ @@ -32706,6 +34530,7 @@ maybe-all-target-qthreads: TARGET-target-qthreads=all maybe-all-target-qthreads: all-target-qthreads all-target-qthreads: configure-target-qthreads + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32723,6 +34548,7 @@ maybe-check-target-qthreads: maybe-check-target-qthreads: check-target-qthreads check-target-qthreads: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32737,6 +34563,7 @@ maybe-install-target-qthreads: maybe-install-target-qthreads: install-target-qthreads install-target-qthreads: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -32754,6 +34581,7 @@ maybe-info-target-qthreads: info-target-qthreads info-target-qthreads: \ configure-target-qthreads + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32779,6 +34607,7 @@ maybe-dvi-target-qthreads: dvi-target-qthreads dvi-target-qthreads: \ configure-target-qthreads + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32804,6 +34633,7 @@ maybe-html-target-qthreads: html-target-qthreads html-target-qthreads: \ configure-target-qthreads + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32829,6 +34659,7 @@ maybe-TAGS-target-qthreads: TAGS-target-qthreads TAGS-target-qthreads: \ configure-target-qthreads + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32855,6 +34686,7 @@ maybe-install-info-target-qthreads: install-info-target-qthreads install-info-target-qthreads: \ configure-target-qthreads \ info-target-qthreads + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32880,6 +34712,7 @@ maybe-installcheck-target-qthreads: installcheck-target-qthreads installcheck-target-qthreads: \ configure-target-qthreads + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32904,6 +34737,7 @@ maybe-mostlyclean-target-qthreads: maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads mostlyclean-target-qthreads: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32928,6 +34762,7 @@ maybe-clean-target-qthreads: maybe-clean-target-qthreads: clean-target-qthreads clean-target-qthreads: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32952,6 +34787,7 @@ maybe-distclean-target-qthreads: maybe-distclean-target-qthreads: distclean-target-qthreads distclean-target-qthreads: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32976,6 +34812,7 @@ maybe-maintainer-clean-target-qthreads: maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads maintainer-clean-target-qthreads: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32996,21 +34833,29 @@ maintainer-clean-target-qthreads: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-rda -$(TARGET_SUBDIR)/rda/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ - rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out -@endif target-rda - .PHONY: configure-target-rda maybe-configure-target-rda maybe-configure-target-rda: @if target-rda maybe-configure-target-rda: configure-target-rda -configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out +configure-target-rda: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for rda..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/rda/Makefile; \ + mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ r=`${PWD_COMMAND}`; export r; \ @@ -33041,6 +34886,7 @@ maybe-all-target-rda: TARGET-target-rda=all maybe-all-target-rda: all-target-rda all-target-rda: configure-target-rda + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -33058,6 +34904,7 @@ maybe-check-target-rda: maybe-check-target-rda: check-target-rda check-target-rda: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -33072,6 +34919,7 @@ maybe-install-target-rda: maybe-install-target-rda: install-target-rda install-target-rda: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -33089,6 +34937,7 @@ maybe-info-target-rda: info-target-rda info-target-rda: \ configure-target-rda + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33114,6 +34963,7 @@ maybe-dvi-target-rda: dvi-target-rda dvi-target-rda: \ configure-target-rda + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33139,6 +34989,7 @@ maybe-html-target-rda: html-target-rda html-target-rda: \ configure-target-rda + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33164,6 +35015,7 @@ maybe-TAGS-target-rda: TAGS-target-rda TAGS-target-rda: \ configure-target-rda + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33190,6 +35042,7 @@ maybe-install-info-target-rda: install-info-target-rda install-info-target-rda: \ configure-target-rda \ info-target-rda + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33215,6 +35068,7 @@ maybe-installcheck-target-rda: installcheck-target-rda installcheck-target-rda: \ configure-target-rda + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33239,6 +35093,7 @@ maybe-mostlyclean-target-rda: maybe-mostlyclean-target-rda: mostlyclean-target-rda mostlyclean-target-rda: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33263,6 +35118,7 @@ maybe-clean-target-rda: maybe-clean-target-rda: clean-target-rda clean-target-rda: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33287,6 +35143,7 @@ maybe-distclean-target-rda: maybe-distclean-target-rda: distclean-target-rda distclean-target-rda: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33311,6 +35168,7 @@ maybe-maintainer-clean-target-rda: maybe-maintainer-clean-target-rda: maintainer-clean-target-rda maintainer-clean-target-rda: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33331,21 +35189,29 @@ maintainer-clean-target-rda: -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -@if target-libada -$(TARGET_SUBDIR)/libada/multilib.out: multilib.out - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ - rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \ - cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out -@endif target-libada - .PHONY: configure-target-libada maybe-configure-target-libada maybe-configure-target-libada: @if target-libada maybe-configure-target-libada: configure-target-libada -configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out +configure-target-libada: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libada..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libada/Makefile; \ + mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \ + fi @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ r=`${PWD_COMMAND}`; export r; \ @@ -33376,6 +35242,7 @@ maybe-all-target-libada: TARGET-target-libada=all maybe-all-target-libada: all-target-libada all-target-libada: configure-target-libada + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -33393,6 +35260,7 @@ maybe-check-target-libada: maybe-check-target-libada: check-target-libada check-target-libada: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -33407,6 +35275,7 @@ maybe-install-target-libada: maybe-install-target-libada: install-target-libada install-target-libada: installdirs + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(NORMAL_TARGET_EXPORTS) \ @@ -33424,6 +35293,7 @@ maybe-info-target-libada: info-target-libada info-target-libada: \ configure-target-libada + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33449,6 +35319,7 @@ maybe-dvi-target-libada: dvi-target-libada dvi-target-libada: \ configure-target-libada + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33474,6 +35345,7 @@ maybe-html-target-libada: html-target-libada html-target-libada: \ configure-target-libada + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33499,6 +35371,7 @@ maybe-TAGS-target-libada: TAGS-target-libada TAGS-target-libada: \ configure-target-libada + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33525,6 +35398,7 @@ maybe-install-info-target-libada: install-info-target-libada install-info-target-libada: \ configure-target-libada \ info-target-libada + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33550,6 +35424,7 @@ maybe-installcheck-target-libada: installcheck-target-libada installcheck-target-libada: \ configure-target-libada + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33574,6 +35449,7 @@ maybe-mostlyclean-target-libada: maybe-mostlyclean-target-libada: mostlyclean-target-libada mostlyclean-target-libada: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33598,6 +35474,7 @@ maybe-clean-target-libada: maybe-clean-target-libada: clean-target-libada clean-target-libada: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33622,6 +35499,7 @@ maybe-distclean-target-libada: maybe-distclean-target-libada: distclean-target-libada distclean-target-libada: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33646,6 +35524,7 @@ maybe-maintainer-clean-target-libada: maybe-maintainer-clean-target-libada: maintainer-clean-target-libada maintainer-clean-target-libada: + @: $(MAKE); $(unstage) @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33783,42 +35662,40 @@ gcc-no-fixedincludes: # stage_last instead tracks the stage that was built last. These targets # are dummy when toplevel bootstrap is not active. -.PHONY: unstage -unstage: +# While making host and target tools, symlinks to the final stage must be +# there, so $(unstage) should be run at various points. To avoid excessive +# recursive invocations of make, we "inline" them using a variable. These +# must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)" +# to avoid warnings from the GNU Make job server. + +unstage = : +stage = : + @if gcc-bootstrap - @[ -f stage_current ] || $(MAKE) `cat stage_last`-start +unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start +stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi @endif gcc-bootstrap -.PHONY: stage +.PHONY: unstage stage +unstage: + @: $(MAKE); $(unstage) stage: -@if gcc-bootstrap - @$(MAKE) `cat stage_current`-end -@endif gcc-bootstrap + @: $(MAKE); $(stage) + +# Disable commands for lean bootstrap. +LEAN = false # We name the build directories for the various stages "stage1-gcc", # "stage2-gcc","stage3-gcc", etc. # Since the 'compare' process will fail (on debugging information) if any # directory names are different, we need to link the gcc directory for -# the previous stage to a constant name ('gcc-prev'), and to make the name of +# the previous stage to a constant name ('prev-gcc'), and to make the name of # the build directories constant as well. For the latter, we use naked names # like 'gcc', because the scripts in that directory assume it. We use # mv on platforms where symlinks to directories do not work or are not # reliable. -# At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must -# be kept, so that libraries can find it. Ick! - -# It would be best to preinstall gcc into a staging area (and in the -# future, gather there all prebootstrap packages). This would allow -# assemblers and linkers can be bootstrapped as well as the compiler -# (both in a combined tree, or separately). This however requires some -# change to the gcc driver, again in order to avoid comparison failures. - -# Bugs: This is crippled when doing parallel make, the `make all-host' -# and `make all-target' phases can be parallelized. - - # 'touch' doesn't work right on some platforms. STAMP = echo timestamp > @@ -33839,6 +35716,7 @@ POSTSTAGE1_FLAGS_TO_PASS = \ CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ STAGE_PREFIX=$$r/prev-gcc/ \ CFLAGS="$(BOOT_CFLAGS)" \ + LDFLAGS="$(BOOT_LDFLAGS)" \ ADAC="\$$(CC)" # For stage 1: @@ -33854,123 +35732,142 @@ POSTSTAGE1_FLAGS_TO_PASS = \ .PHONY: stage1-start stage1-end stage1-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @: $(MAKE); $(stage); \ echo stage1 > stage_current ; \ echo stage1 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \ mkdir stage1-bfd; \ - set stage1-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-bfd bfd @endif bfd @if opcodes @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \ mkdir stage1-opcodes; \ - set stage1-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-opcodes opcodes @endif opcodes @if binutils @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \ mkdir stage1-binutils; \ - set stage1-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-binutils binutils @endif binutils @if gas @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \ mkdir stage1-gas; \ - set stage1-gas gas ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-gas gas @endif gas @if gcc @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \ mkdir stage1-gcc; \ - set stage1-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-gcc gcc @endif gcc @if intl @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \ mkdir stage1-intl; \ - set stage1-intl intl ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-intl intl @endif intl @if ld @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \ mkdir stage1-ld; \ - set stage1-ld ld ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-ld ld @endif ld @if libcpp @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \ mkdir stage1-libcpp; \ - set stage1-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-libcpp libcpp @endif libcpp +@if libdecnumber + @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \ + mkdir stage1-libdecnumber; \ + mv stage1-libdecnumber libdecnumber +@endif libdecnumber @if libiberty @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \ mkdir stage1-libiberty; \ - set stage1-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-libiberty libiberty @endif libiberty @if zlib @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \ mkdir stage1-zlib; \ - set stage1-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ + mv stage1-zlib zlib @endif zlib + @[ -d stage1-$(TARGET_SUBDIR) ] || \ + mkdir stage1-$(TARGET_SUBDIR); \ + mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) -stage1-end:: - @rm -f stage_current +stage1-end:: @if bfd - @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/bfd ; then \ + cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \ + fi @endif bfd @if opcodes - @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/opcodes ; then \ + cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \ + fi @endif opcodes @if binutils - @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/binutils ; then \ + cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \ + fi @endif binutils @if gas - @cd $(HOST_SUBDIR); set gas stage1-gas ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gas ; then \ + cd $(HOST_SUBDIR); mv gas stage1-gas ; \ + fi @endif gas @if gcc - @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gcc ; then \ + cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \ + fi @endif gcc @if intl - @cd $(HOST_SUBDIR); set intl stage1-intl ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/intl ; then \ + cd $(HOST_SUBDIR); mv intl stage1-intl ; \ + fi @endif intl @if ld - @cd $(HOST_SUBDIR); set ld stage1-ld ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/ld ; then \ + cd $(HOST_SUBDIR); mv ld stage1-ld ; \ + fi @endif ld @if libcpp - @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libcpp ; then \ + cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \ + fi @endif libcpp +@if libdecnumber + @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ + cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \ + fi +@endif libdecnumber @if libiberty - @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libiberty ; then \ + cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \ + fi @endif libiberty @if zlib - @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/zlib ; then \ + cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \ + fi @endif zlib + @if test -d $(TARGET_SUBDIR) ; then \ + mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \ + fi + rm -f stage_current -# Bubble a bugfix through all the stages up to stage 1. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. +# Bubble a bugfix through all the stages up to stage 1. They are +# remade, but not reconfigured. The next stage (if any) will not 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) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \ + $(MAKE) stage1-start; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \ fi .PHONY: all-stage1 clean-stage1 @@ -33987,7 +35884,7 @@ do-clean: clean-stage1 .PHONY: distclean-stage1 distclean-stage1:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @: $(MAKE); $(stage) rm -rf stage1-* @@ -33997,163 +35894,166 @@ distclean-stage1:: .PHONY: stage2-start stage2-end stage2-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @: $(MAKE); $(stage); \ echo stage2 > stage_current ; \ echo stage2 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \ mkdir stage2-bfd; \ - set stage2-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-bfd prev-bfd ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-bfd bfd ; \ + mv stage1-bfd prev-bfd || test -f stage1-lean @endif bfd @if opcodes @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \ mkdir stage2-opcodes; \ - set stage2-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-opcodes prev-opcodes ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-opcodes opcodes ; \ + mv stage1-opcodes prev-opcodes || test -f stage1-lean @endif opcodes @if binutils @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \ mkdir stage2-binutils; \ - set stage2-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-binutils prev-binutils ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-binutils binutils ; \ + mv stage1-binutils prev-binutils || test -f stage1-lean @endif binutils @if gas @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \ mkdir stage2-gas; \ - set stage2-gas gas ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-gas prev-gas ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-gas gas ; \ + mv stage1-gas prev-gas || test -f stage1-lean @endif gas @if gcc @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \ mkdir stage2-gcc; \ - set stage2-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-gcc prev-gcc ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-gcc gcc ; \ + mv stage1-gcc prev-gcc || test -f stage1-lean @endif gcc @if intl @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \ mkdir stage2-intl; \ - set stage2-intl intl ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-intl prev-intl ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-intl intl ; \ + mv stage1-intl prev-intl || test -f stage1-lean @endif intl @if ld @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \ mkdir stage2-ld; \ - set stage2-ld ld ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-ld prev-ld ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-ld ld ; \ + mv stage1-ld prev-ld || test -f stage1-lean @endif ld @if libcpp @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \ mkdir stage2-libcpp; \ - set stage2-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-libcpp prev-libcpp ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-libcpp libcpp ; \ + mv stage1-libcpp prev-libcpp || test -f stage1-lean @endif libcpp +@if libdecnumber + @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \ + mkdir stage2-libdecnumber; \ + mv stage2-libdecnumber libdecnumber ; \ + mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean +@endif libdecnumber @if libiberty @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \ mkdir stage2-libiberty; \ - set stage2-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-libiberty prev-libiberty ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-libiberty libiberty ; \ + mv stage1-libiberty prev-libiberty || test -f stage1-lean @endif libiberty @if zlib @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \ mkdir stage2-zlib; \ - set stage2-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ + mv stage2-zlib zlib ; \ + mv stage1-zlib prev-zlib || test -f stage1-lean @endif zlib + @[ -d stage2-$(TARGET_SUBDIR) ] || \ + mkdir stage2-$(TARGET_SUBDIR); \ + mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ + mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean -stage2-end:: - @rm -f stage_current +stage2-end:: @if bfd - @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stage1-bfd ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/bfd ; then \ + cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \ + mv prev-bfd stage1-bfd ; : ; \ + fi @endif bfd @if opcodes - @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stage1-opcodes ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/opcodes ; then \ + cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \ + mv prev-opcodes stage1-opcodes ; : ; \ + fi @endif opcodes @if binutils - @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stage1-binutils ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/binutils ; then \ + cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \ + mv prev-binutils stage1-binutils ; : ; \ + fi @endif binutils @if gas - @cd $(HOST_SUBDIR); set gas stage2-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stage1-gas ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gas ; then \ + cd $(HOST_SUBDIR); mv gas stage2-gas ; \ + mv prev-gas stage1-gas ; : ; \ + fi @endif gas @if gcc - @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage1-gcc ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gcc ; then \ + cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \ + mv prev-gcc stage1-gcc ; : ; \ + fi @endif gcc @if intl - @cd $(HOST_SUBDIR); set intl stage2-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stage1-intl ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/intl ; then \ + cd $(HOST_SUBDIR); mv intl stage2-intl ; \ + mv prev-intl stage1-intl ; : ; \ + fi @endif intl @if ld - @cd $(HOST_SUBDIR); set ld stage2-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stage1-ld ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/ld ; then \ + cd $(HOST_SUBDIR); mv ld stage2-ld ; \ + mv prev-ld stage1-ld ; : ; \ + fi @endif ld @if libcpp - @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stage1-libcpp ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libcpp ; then \ + cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \ + mv prev-libcpp stage1-libcpp ; : ; \ + fi @endif libcpp +@if libdecnumber + @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ + cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \ + mv prev-libdecnumber stage1-libdecnumber ; : ; \ + fi +@endif libdecnumber @if libiberty - @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stage1-libiberty ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libiberty ; then \ + cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \ + mv prev-libiberty stage1-libiberty ; : ; \ + fi @endif libiberty @if zlib - @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stage1-zlib ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/zlib ; then \ + cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \ + mv prev-zlib stage1-zlib ; : ; \ + fi @endif zlib + @if test -d $(TARGET_SUBDIR) ; then \ + mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \ + mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ + fi + rm -f stage_current -# Bubble a bugfix through all the stages up to stage 2. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. +# Bubble a bugfix through all the stages up to stage 2. They are +# remade, but not reconfigured. The next stage (if any) will not 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) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \ + $(MAKE) stage2-start; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \ fi .PHONY: all-stage2 clean-stage2 @@ -34165,15 +36065,33 @@ do-clean: clean-stage2 -.PHONY: bootstrap2 -bootstrap2: stage2-bubble all +.PHONY: bootstrap2 bootstrap2-lean +bootstrap2: + echo stage2 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target + +bootstrap2-lean: + echo stage2 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target # Rules to wipe a stage and all the following ones, also used for cleanstrap distclean-stage1:: distclean-stage2 .PHONY: distclean-stage2 distclean-stage2:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @: $(MAKE); $(stage) rm -rf stage2-* @@ -34183,165 +36101,172 @@ distclean-stage2:: .PHONY: stage3-start stage3-end stage3-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @: $(MAKE); $(stage); \ echo stage3 > stage_current ; \ echo stage3 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \ mkdir stage3-bfd; \ - set stage3-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-bfd prev-bfd ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-bfd bfd ; \ + mv stage2-bfd prev-bfd || test -f stage2-lean @endif bfd @if opcodes @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \ mkdir stage3-opcodes; \ - set stage3-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-opcodes prev-opcodes ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-opcodes opcodes ; \ + mv stage2-opcodes prev-opcodes || test -f stage2-lean @endif opcodes @if binutils @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \ mkdir stage3-binutils; \ - set stage3-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-binutils prev-binutils ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-binutils binutils ; \ + mv stage2-binutils prev-binutils || test -f stage2-lean @endif binutils @if gas @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \ mkdir stage3-gas; \ - set stage3-gas gas ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-gas prev-gas ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-gas gas ; \ + mv stage2-gas prev-gas || test -f stage2-lean @endif gas @if gcc @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \ mkdir stage3-gcc; \ - set stage3-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-gcc prev-gcc ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-gcc gcc ; \ + mv stage2-gcc prev-gcc || test -f stage2-lean @endif gcc @if intl @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \ mkdir stage3-intl; \ - set stage3-intl intl ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-intl prev-intl ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-intl intl ; \ + mv stage2-intl prev-intl || test -f stage2-lean @endif intl @if ld @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \ mkdir stage3-ld; \ - set stage3-ld ld ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-ld prev-ld ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-ld ld ; \ + mv stage2-ld prev-ld || test -f stage2-lean @endif ld @if libcpp @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \ mkdir stage3-libcpp; \ - set stage3-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-libcpp prev-libcpp ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-libcpp libcpp ; \ + mv stage2-libcpp prev-libcpp || test -f stage2-lean @endif libcpp +@if libdecnumber + @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \ + mkdir stage3-libdecnumber; \ + mv stage3-libdecnumber libdecnumber ; \ + mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean +@endif libdecnumber @if libiberty @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \ mkdir stage3-libiberty; \ - set stage3-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-libiberty prev-libiberty ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-libiberty libiberty ; \ + mv stage2-libiberty prev-libiberty || test -f stage2-lean @endif libiberty @if zlib @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \ mkdir stage3-zlib; \ - set stage3-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage2-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ + mv stage3-zlib zlib ; \ + mv stage2-zlib prev-zlib || test -f stage2-lean @endif zlib + @[ -d stage3-$(TARGET_SUBDIR) ] || \ + mkdir stage3-$(TARGET_SUBDIR); \ + mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ + mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean -stage3-end:: - @rm -f stage_current +stage3-end:: @if bfd - @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stage2-bfd ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/bfd ; then \ + cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \ + mv prev-bfd stage2-bfd ; : ; \ + fi @endif bfd @if opcodes - @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stage2-opcodes ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/opcodes ; then \ + cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \ + mv prev-opcodes stage2-opcodes ; : ; \ + fi @endif opcodes @if binutils - @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stage2-binutils ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/binutils ; then \ + cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \ + mv prev-binutils stage2-binutils ; : ; \ + fi @endif binutils @if gas - @cd $(HOST_SUBDIR); set gas stage3-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stage2-gas ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gas ; then \ + cd $(HOST_SUBDIR); mv gas stage3-gas ; \ + mv prev-gas stage2-gas ; : ; \ + fi @endif gas @if gcc - @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage2-gcc ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gcc ; then \ + cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \ + mv prev-gcc stage2-gcc ; : ; \ + fi @endif gcc @if intl - @cd $(HOST_SUBDIR); set intl stage3-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stage2-intl ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/intl ; then \ + cd $(HOST_SUBDIR); mv intl stage3-intl ; \ + mv prev-intl stage2-intl ; : ; \ + fi @endif intl @if ld - @cd $(HOST_SUBDIR); set ld stage3-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stage2-ld ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/ld ; then \ + cd $(HOST_SUBDIR); mv ld stage3-ld ; \ + mv prev-ld stage2-ld ; : ; \ + fi @endif ld @if libcpp - @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stage2-libcpp ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libcpp ; then \ + cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \ + mv prev-libcpp stage2-libcpp ; : ; \ + fi @endif libcpp +@if libdecnumber + @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ + cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \ + mv prev-libdecnumber stage2-libdecnumber ; : ; \ + fi +@endif libdecnumber @if libiberty - @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stage2-libiberty ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libiberty ; then \ + cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \ + mv prev-libiberty stage2-libiberty ; : ; \ + fi @endif libiberty @if zlib - @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stage2-zlib ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/zlib ; then \ + cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \ + mv prev-zlib stage2-zlib ; : ; \ + fi @endif zlib + @if test -d $(TARGET_SUBDIR) ; then \ + mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \ + mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \ + fi + rm -f stage_current -# Bubble a bugfix through all the stages up to stage 3. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. +# Bubble a bugfix through all the stages up to stage 3. They are +# remade, but not reconfigured. The next stage (if any) will not be +# reconfigured as well. .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) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \ + $(MAKE) stage3-start; \ + if $(LEAN); then \ + rm -rf stage1-* ; \ + $(STAMP) stage1-lean ; \ + fi; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \ fi + $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare .PHONY: all-stage3 clean-stage3 do-clean: clean-stage3 @@ -34351,13 +36276,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; \ + : $(MAKE); $(stage); \ rm -f .bad_compare ; \ cd stage3-gcc; \ files=`find . -name "*$(objext)" -print` ; \ @@ -34365,7 +36290,14 @@ compare: for file in $${files} ; do \ f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \ @do_compare@ > /dev/null 2>&1; \ - test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \ + if test $$? -eq 1; then \ + case $$file in \ + ./cc*-checksum$(objext) | ./libgcc/* ) \ + echo warning: $$file differs ;; \ + *) \ + echo $$file differs >> .bad_compare ;; \ + esac ; \ + fi ; \ done ; \ if [ -f .bad_compare ]; then \ echo "Bootstrap comparison failure!"; \ @@ -34375,19 +36307,40 @@ compare: true; \ fi ; \ $(STAMP) compare - @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean + if $(LEAN); then \ + rm -rf stage2-*; \ + $(STAMP) stage2-lean; \ + fi + +.PHONY: bootstrap bootstrap-lean +bootstrap: + echo stage3 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target -.PHONY: bootstrap -bootstrap: stage3-bubble compare all +bootstrap-lean: + echo stage3 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target # Rules to wipe a stage and all the following ones, also used for cleanstrap distclean-stage2:: distclean-stage3 .PHONY: distclean-stage3 distclean-stage3:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @: $(MAKE); $(stage) rm -rf stage3-* compare @@ -34400,165 +36353,172 @@ cleanstrap: distclean bootstrap .PHONY: stage4-start stage4-end stage4-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @: $(MAKE); $(stage); \ echo stage4 > stage_current ; \ echo stage4 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \ mkdir stage4-bfd; \ - set stage4-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-bfd prev-bfd ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-bfd bfd ; \ + mv stage3-bfd prev-bfd || test -f stage3-lean @endif bfd @if opcodes @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \ mkdir stage4-opcodes; \ - set stage4-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-opcodes prev-opcodes ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-opcodes opcodes ; \ + mv stage3-opcodes prev-opcodes || test -f stage3-lean @endif opcodes @if binutils @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \ mkdir stage4-binutils; \ - set stage4-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-binutils prev-binutils ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-binutils binutils ; \ + mv stage3-binutils prev-binutils || test -f stage3-lean @endif binutils @if gas @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \ mkdir stage4-gas; \ - set stage4-gas gas ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-gas prev-gas ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-gas gas ; \ + mv stage3-gas prev-gas || test -f stage3-lean @endif gas @if gcc @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \ mkdir stage4-gcc; \ - set stage4-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-gcc prev-gcc ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-gcc gcc ; \ + mv stage3-gcc prev-gcc || test -f stage3-lean @endif gcc @if intl @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \ mkdir stage4-intl; \ - set stage4-intl intl ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-intl prev-intl ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-intl intl ; \ + mv stage3-intl prev-intl || test -f stage3-lean @endif intl @if ld @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \ mkdir stage4-ld; \ - set stage4-ld ld ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-ld prev-ld ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-ld ld ; \ + mv stage3-ld prev-ld || test -f stage3-lean @endif ld @if libcpp @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \ mkdir stage4-libcpp; \ - set stage4-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-libcpp prev-libcpp ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-libcpp libcpp ; \ + mv stage3-libcpp prev-libcpp || test -f stage3-lean @endif libcpp +@if libdecnumber + @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \ + mkdir stage4-libdecnumber; \ + mv stage4-libdecnumber libdecnumber ; \ + mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean +@endif libdecnumber @if libiberty @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \ mkdir stage4-libiberty; \ - set stage4-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-libiberty prev-libiberty ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-libiberty libiberty ; \ + mv stage3-libiberty prev-libiberty || test -f stage3-lean @endif libiberty @if zlib @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \ mkdir stage4-zlib; \ - set stage4-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ + mv stage4-zlib zlib ; \ + mv stage3-zlib prev-zlib || test -f stage3-lean @endif zlib + @[ -d stage4-$(TARGET_SUBDIR) ] || \ + mkdir stage4-$(TARGET_SUBDIR); \ + mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ + mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean -stage4-end:: - @rm -f stage_current +stage4-end:: @if bfd - @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stage3-bfd ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/bfd ; then \ + cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \ + mv prev-bfd stage3-bfd ; : ; \ + fi @endif bfd @if opcodes - @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stage3-opcodes ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/opcodes ; then \ + cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \ + mv prev-opcodes stage3-opcodes ; : ; \ + fi @endif opcodes @if binutils - @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stage3-binutils ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/binutils ; then \ + cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \ + mv prev-binutils stage3-binutils ; : ; \ + fi @endif binutils @if gas - @cd $(HOST_SUBDIR); set gas stage4-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stage3-gas ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gas ; then \ + cd $(HOST_SUBDIR); mv gas stage4-gas ; \ + mv prev-gas stage3-gas ; : ; \ + fi @endif gas @if gcc - @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage3-gcc ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gcc ; then \ + cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \ + mv prev-gcc stage3-gcc ; : ; \ + fi @endif gcc @if intl - @cd $(HOST_SUBDIR); set intl stage4-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stage3-intl ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/intl ; then \ + cd $(HOST_SUBDIR); mv intl stage4-intl ; \ + mv prev-intl stage3-intl ; : ; \ + fi @endif intl @if ld - @cd $(HOST_SUBDIR); set ld stage4-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stage3-ld ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/ld ; then \ + cd $(HOST_SUBDIR); mv ld stage4-ld ; \ + mv prev-ld stage3-ld ; : ; \ + fi @endif ld @if libcpp - @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stage3-libcpp ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libcpp ; then \ + cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \ + mv prev-libcpp stage3-libcpp ; : ; \ + fi @endif libcpp +@if libdecnumber + @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ + cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \ + mv prev-libdecnumber stage3-libdecnumber ; : ; \ + fi +@endif libdecnumber @if libiberty - @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stage3-libiberty ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libiberty ; then \ + cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \ + mv prev-libiberty stage3-libiberty ; : ; \ + fi @endif libiberty @if zlib - @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stage3-zlib ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/zlib ; then \ + cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \ + mv prev-zlib stage3-zlib ; : ; \ + fi @endif zlib + @if test -d $(TARGET_SUBDIR) ; then \ + mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \ + mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \ + fi + rm -f stage_current -# Bubble a bugfix through all the stages up to stage 4. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. +# Bubble a bugfix through all the stages up to stage 4. They are +# remade, but not reconfigured. The next stage (if any) will not be +# reconfigured as well. .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) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \ + $(MAKE) stage4-start; \ + if $(LEAN); then \ + rm -rf stage2-* ; \ + $(STAMP) stage2-lean ; \ + fi; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \ fi + $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3 .PHONY: all-stage4 clean-stage4 do-clean: clean-stage4 @@ -34568,13 +36528,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; \ + : $(MAKE); $(stage); \ rm -f .bad_compare ; \ cd stage4-gcc; \ files=`find . -name "*$(objext)" -print` ; \ @@ -34582,7 +36542,14 @@ compare3: for file in $${files} ; do \ f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \ @do_compare@ > /dev/null 2>&1; \ - test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \ + if test $$? -eq 1; then \ + case $$file in \ + ./cc*-checksum$(objext) | ./libgcc/* ) \ + echo warning: $$file differs ;; \ + *) \ + echo $$file differs >> .bad_compare ;; \ + esac ; \ + fi ; \ done ; \ if [ -f .bad_compare ]; then \ echo "Bootstrap comparison failure!"; \ @@ -34592,19 +36559,40 @@ compare3: true; \ fi ; \ $(STAMP) compare3 - @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean + if $(LEAN); then \ + rm -rf stage3-*; \ + $(STAMP) stage3-lean; \ + fi -.PHONY: bootstrap4 -bootstrap4: stage4-bubble compare3 all +.PHONY: bootstrap4 bootstrap4-lean +bootstrap4: + echo stage4 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target + +bootstrap4-lean: + echo stage4 > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target # Rules to wipe a stage and all the following ones, also used for cleanstrap distclean-stage3:: distclean-stage4 .PHONY: distclean-stage4 distclean-stage4:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @: $(MAKE); $(stage) rm -rf stage4-* compare3 @@ -34614,163 +36602,166 @@ distclean-stage4:: .PHONY: stageprofile-start stageprofile-end stageprofile-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @: $(MAKE); $(stage); \ echo stageprofile > stage_current ; \ echo stageprofile > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \ mkdir stageprofile-bfd; \ - set stageprofile-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-bfd prev-bfd ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-bfd bfd ; \ + mv stage1-bfd prev-bfd || test -f stage1-lean @endif bfd @if opcodes @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \ mkdir stageprofile-opcodes; \ - set stageprofile-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-opcodes prev-opcodes ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-opcodes opcodes ; \ + mv stage1-opcodes prev-opcodes || test -f stage1-lean @endif opcodes @if binutils @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \ mkdir stageprofile-binutils; \ - set stageprofile-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-binutils prev-binutils ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-binutils binutils ; \ + mv stage1-binutils prev-binutils || test -f stage1-lean @endif binutils @if gas @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \ mkdir stageprofile-gas; \ - set stageprofile-gas gas ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-gas prev-gas ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-gas gas ; \ + mv stage1-gas prev-gas || test -f stage1-lean @endif gas @if gcc @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \ mkdir stageprofile-gcc; \ - set stageprofile-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-gcc prev-gcc ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-gcc gcc ; \ + mv stage1-gcc prev-gcc || test -f stage1-lean @endif gcc @if intl @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \ mkdir stageprofile-intl; \ - set stageprofile-intl intl ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-intl prev-intl ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-intl intl ; \ + mv stage1-intl prev-intl || test -f stage1-lean @endif intl @if ld @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \ mkdir stageprofile-ld; \ - set stageprofile-ld ld ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-ld prev-ld ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-ld ld ; \ + mv stage1-ld prev-ld || test -f stage1-lean @endif ld @if libcpp @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \ mkdir stageprofile-libcpp; \ - set stageprofile-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-libcpp prev-libcpp ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-libcpp libcpp ; \ + mv stage1-libcpp prev-libcpp || test -f stage1-lean @endif libcpp +@if libdecnumber + @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \ + mkdir stageprofile-libdecnumber; \ + mv stageprofile-libdecnumber libdecnumber ; \ + mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean +@endif libdecnumber @if libiberty @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \ mkdir stageprofile-libiberty; \ - set stageprofile-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-libiberty prev-libiberty ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-libiberty libiberty ; \ + mv stage1-libiberty prev-libiberty || test -f stage1-lean @endif libiberty @if zlib @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \ mkdir stageprofile-zlib; \ - set stageprofile-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ + mv stageprofile-zlib zlib ; \ + mv stage1-zlib prev-zlib || test -f stage1-lean @endif zlib + @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ + mkdir stageprofile-$(TARGET_SUBDIR); \ + mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ + mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean -stageprofile-end:: - @rm -f stage_current +stageprofile-end:: @if bfd - @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stage1-bfd ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/bfd ; then \ + cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \ + mv prev-bfd stage1-bfd ; : ; \ + fi @endif bfd @if opcodes - @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stage1-opcodes ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/opcodes ; then \ + cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \ + mv prev-opcodes stage1-opcodes ; : ; \ + fi @endif opcodes @if binutils - @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stage1-binutils ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/binutils ; then \ + cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \ + mv prev-binutils stage1-binutils ; : ; \ + fi @endif binutils @if gas - @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stage1-gas ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gas ; then \ + cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \ + mv prev-gas stage1-gas ; : ; \ + fi @endif gas @if gcc - @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage1-gcc ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gcc ; then \ + cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \ + mv prev-gcc stage1-gcc ; : ; \ + fi @endif gcc @if intl - @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stage1-intl ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/intl ; then \ + cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \ + mv prev-intl stage1-intl ; : ; \ + fi @endif intl @if ld - @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stage1-ld ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/ld ; then \ + cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \ + mv prev-ld stage1-ld ; : ; \ + fi @endif ld @if libcpp - @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stage1-libcpp ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libcpp ; then \ + cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \ + mv prev-libcpp stage1-libcpp ; : ; \ + fi @endif libcpp +@if libdecnumber + @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ + cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \ + mv prev-libdecnumber stage1-libdecnumber ; : ; \ + fi +@endif libdecnumber @if libiberty - @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stage1-libiberty ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libiberty ; then \ + cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \ + mv prev-libiberty stage1-libiberty ; : ; \ + fi @endif libiberty @if zlib - @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stage1-zlib ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/zlib ; then \ + cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \ + mv prev-zlib stage1-zlib ; : ; \ + fi @endif zlib + @if test -d $(TARGET_SUBDIR) ; then \ + mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \ + mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ + fi + rm -f stage_current -# Bubble a bugfix through all the stages up to stage profile. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. +# Bubble a bugfix through all the stages up to stage profile. They are +# remade, but not reconfigured. The next stage (if any) will not 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) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \ + $(MAKE) stageprofile-start; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \ fi .PHONY: all-stageprofile clean-stageprofile @@ -34787,7 +36778,7 @@ do-clean: clean-stageprofile distclean-stage1:: distclean-stageprofile .PHONY: distclean-stageprofile distclean-stageprofile:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @: $(MAKE); $(stage) rm -rf stageprofile-* @@ -34797,163 +36788,166 @@ distclean-stageprofile:: .PHONY: stagefeedback-start stagefeedback-end stagefeedback-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @: $(MAKE); $(stage); \ echo stagefeedback > stage_current ; \ echo stagefeedback > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \ mkdir stagefeedback-bfd; \ - set stagefeedback-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-bfd prev-bfd ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-bfd bfd ; \ + mv stageprofile-bfd prev-bfd || test -f stageprofile-lean @endif bfd @if opcodes @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \ mkdir stagefeedback-opcodes; \ - set stagefeedback-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-opcodes prev-opcodes ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-opcodes opcodes ; \ + mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean @endif opcodes @if binutils @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \ mkdir stagefeedback-binutils; \ - set stagefeedback-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-binutils prev-binutils ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-binutils binutils ; \ + mv stageprofile-binutils prev-binutils || test -f stageprofile-lean @endif binutils @if gas @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \ mkdir stagefeedback-gas; \ - set stagefeedback-gas gas ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-gas prev-gas ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-gas gas ; \ + mv stageprofile-gas prev-gas || test -f stageprofile-lean @endif gas @if gcc @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \ mkdir stagefeedback-gcc; \ - set stagefeedback-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-gcc prev-gcc ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-gcc gcc ; \ + mv stageprofile-gcc prev-gcc || test -f stageprofile-lean @endif gcc @if intl @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \ mkdir stagefeedback-intl; \ - set stagefeedback-intl intl ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-intl prev-intl ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-intl intl ; \ + mv stageprofile-intl prev-intl || test -f stageprofile-lean @endif intl @if ld @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \ mkdir stagefeedback-ld; \ - set stagefeedback-ld ld ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-ld prev-ld ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-ld ld ; \ + mv stageprofile-ld prev-ld || test -f stageprofile-lean @endif ld @if libcpp @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \ mkdir stagefeedback-libcpp; \ - set stagefeedback-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-libcpp prev-libcpp ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-libcpp libcpp ; \ + mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean @endif libcpp +@if libdecnumber + @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \ + mkdir stagefeedback-libdecnumber; \ + mv stagefeedback-libdecnumber libdecnumber ; \ + mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean +@endif libdecnumber @if libiberty @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \ mkdir stagefeedback-libiberty; \ - set stagefeedback-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-libiberty prev-libiberty ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-libiberty libiberty ; \ + mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean @endif libiberty @if zlib @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \ mkdir stagefeedback-zlib; \ - set stagefeedback-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stageprofile-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ + mv stagefeedback-zlib zlib ; \ + mv stageprofile-zlib prev-zlib || test -f stageprofile-lean @endif zlib + @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ + mkdir stagefeedback-$(TARGET_SUBDIR); \ + mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ + mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean -stagefeedback-end:: - @rm -f stage_current +stagefeedback-end:: @if bfd - @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stageprofile-bfd ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/bfd ; then \ + cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \ + mv prev-bfd stageprofile-bfd ; : ; \ + fi @endif bfd @if opcodes - @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stageprofile-opcodes ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/opcodes ; then \ + cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \ + mv prev-opcodes stageprofile-opcodes ; : ; \ + fi @endif opcodes @if binutils - @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stageprofile-binutils ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/binutils ; then \ + cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \ + mv prev-binutils stageprofile-binutils ; : ; \ + fi @endif binutils @if gas - @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stageprofile-gas ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gas ; then \ + cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \ + mv prev-gas stageprofile-gas ; : ; \ + fi @endif gas @if gcc - @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stageprofile-gcc ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/gcc ; then \ + cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \ + mv prev-gcc stageprofile-gcc ; : ; \ + fi @endif gcc @if intl - @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stageprofile-intl ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/intl ; then \ + cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \ + mv prev-intl stageprofile-intl ; : ; \ + fi @endif intl @if ld - @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stageprofile-ld ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/ld ; then \ + cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \ + mv prev-ld stageprofile-ld ; : ; \ + fi @endif ld @if libcpp - @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stageprofile-libcpp ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libcpp ; then \ + cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \ + mv prev-libcpp stageprofile-libcpp ; : ; \ + fi @endif libcpp +@if libdecnumber + @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ + cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \ + mv prev-libdecnumber stageprofile-libdecnumber ; : ; \ + fi +@endif libdecnumber @if libiberty - @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stageprofile-libiberty ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/libiberty ; then \ + cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \ + mv prev-libiberty stageprofile-libiberty ; : ; \ + fi @endif libiberty @if zlib - @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stageprofile-zlib ; \ - @UNDO_LINK_TO_DIR@ + @if test -d $(HOST_SUBDIR)/zlib ; then \ + cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \ + mv prev-zlib stageprofile-zlib ; : ; \ + fi @endif zlib + @if test -d $(TARGET_SUBDIR) ; then \ + mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \ + mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \ + fi + rm -f stage_current -# Bubble a bugfix through all the stages up to stage feedback. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. +# Bubble a bugfix through all the stages up to stage feedback. They are +# remade, but not reconfigured. The next stage (if any) will not 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) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \ + $(MAKE) stagefeedback-start; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \ fi .PHONY: all-stagefeedback clean-stagefeedback @@ -34965,15 +36959,33 @@ do-clean: clean-stagefeedback -.PHONY: profiledbootstrap -profiledbootstrap: stagefeedback-bubble all +.PHONY: profiledbootstrap profiledbootstrap-lean +profiledbootstrap: + echo stagefeedback > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target + +profiledbootstrap-lean: + echo stagefeedback > stage_final + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target # Rules to wipe a stage and all the following ones, also used for cleanstrap distclean-stageprofile:: distclean-stagefeedback .PHONY: distclean-stagefeedback distclean-stagefeedback:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @: $(MAKE); $(stage) rm -rf stagefeedback-* @@ -34995,8 +37007,6 @@ stagefeedback-start:: done @if gcc-bootstrap -NOTPARALLEL = .NOTPARALLEL -$(NOTPARALLEL): do-distclean: distclean-stage1 @endif gcc-bootstrap @@ -35060,6 +37070,8 @@ configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss configure-target-libjava: maybe-all-target-libstdc++-v3 +configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss + configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss @@ -35223,6 +37235,14 @@ all-stage3-gcc: all-stage3-libcpp all-stage4-gcc: all-stage4-libcpp all-stageprofile-gcc: all-stageprofile-libcpp all-stagefeedback-gcc: all-stagefeedback-libcpp +all-gcc: all-libdecnumber + +all-stage1-gcc: all-stage1-libdecnumber +all-stage2-gcc: all-stage2-libdecnumber +all-stage3-gcc: all-stage3-libdecnumber +all-stage4-gcc: all-stage4-libdecnumber +all-stageprofile-gcc: all-stageprofile-libdecnumber +all-stagefeedback-gcc: all-stagefeedback-libdecnumber all-gcc: maybe-all-libiberty all-stage1-gcc: maybe-all-stage1-libiberty @@ -35267,9 +37287,6 @@ all-stageprofile-libcpp: maybe-all-stageprofile-intl all-stagefeedback-libcpp: maybe-all-stagefeedback-intl all-fixincludes: maybe-all-libiberty all-gnattools: maybe-all-target-libada -configure-gdb: maybe-configure-itcl -configure-gdb: maybe-configure-tcl -configure-gdb: maybe-configure-tk configure-gdb: maybe-configure-sim all-gdb: maybe-all-libiberty all-gdb: maybe-all-opcodes @@ -35278,10 +37295,6 @@ all-gdb: maybe-all-readline all-gdb: maybe-all-build-bison all-gdb: maybe-all-build-byacc all-gdb: maybe-all-sim -install-gdb: maybe-install-tcl -install-gdb: maybe-install-tk -install-gdb: maybe-install-itcl -install-gdb: maybe-install-libgui configure-libgui: maybe-configure-tcl configure-libgui: maybe-configure-tk all-libgui: maybe-all-tcl @@ -35576,12 +37589,17 @@ all-prebootstrap: maybe-all-gas all-prebootstrap: maybe-all-intl all-prebootstrap: maybe-all-ld all-prebootstrap: maybe-all-libcpp +all-prebootstrap: maybe-all-libdecnumber all-prebootstrap: maybe-all-libiberty all-prebootstrap: maybe-all-zlib @endif gcc-no-bootstrap +CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@ GDB_TK = @GDB_TK@ +INSTALL_GDB_TK = @INSTALL_GDB_TK@ +configure-gdb: $(CONFIGURE_GDB_TK) all-gdb: $(gdbnlmrequirements) $(GDB_TK) +install-gdb: $(INSTALL_GDB_TK) # Serialization dependencies. Host configures don't work well in parallel to # each other, due to contention over config.cache. Target configures and @@ -35592,17 +37610,6 @@ all-gdb: $(gdbnlmrequirements) $(GDB_TK) # Regenerating top level configury # -------------------------------- -# Multilib.out tells target dirs what multilibs they should build. -# There is really only one copy. We use the 'timestamp' method to -# work around various timestamp bugs on some systems. -# We use move-if-change so that it's only considered updated when it -# actually changes, because it has to depend on a phony target. -multilib.out: maybe-all-gcc - @r=`${PWD_COMMAND}`; export r; \ - echo "Checking multilib configuration..."; \ - $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \ - $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \ - # Rebuilding Makefile.in, using autogen. AUTOGEN = autogen $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def