X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=Makefile.in;h=8047c004da80363f182e7c05b5d10d8db950471a;hp=e2c9a2b3f4f258b21af67760599c24fe2f3a990f;hb=9c4b42a56fddaac9733c74076a3b318bc2ad6161;hpb=f843f075c19f07433b58f7f6aa332075f9ec6b1a diff --git a/Makefile.in b/Makefile.in index e2c9a2b3f4f..8047c004da8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -104,7 +104,7 @@ REALLY_SET_LIB_PATH = \ $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); # This is the list of directories to be built for the build system. -BUILD_CONFIGDIRS = libiberty libbanshee +BUILD_CONFIGDIRS = libiberty # Build programs are put under this directory. BUILD_SUBDIR = @build_subdir@ # This is set by the configure script to the arguments to use when configuring @@ -240,43 +240,44 @@ CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ CXX_FOR_BUILD = $(CXX) -# Path to the build directory for a Canadian cross, empty otherwise. -BUILD_DIR_PREFIX = @BUILD_DIR_PREFIX@ - # Special variables passed down in EXTRA_GCC_FLAGS. They are defined # here so that they can be overridden by Makefile fragments. BUILD_PREFIX = @BUILD_PREFIX@ 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 + CONFIGURED_BISON = @CONFIGURED_BISON@ -BISON = `if [ -f $$r/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \ - echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -L $$s/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 $$s/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \ - echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -y -L $$s/bison/ ; \ - elif [ -f $$s/$(BUILD_DIR_PREFIX)/byacc/byacc ] ; then \ - echo $$r/$(BUILD_DIR_PREFIX)/byacc/byacc ; \ +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_DIR_PREFIX)/flex/flex ] ; \ - then echo $$r/$(BUILD_DIR_PREFIX)/flex/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_DIR_PREFIX)/flex/flex ] ; \ - then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \ +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_DIR_PREFIX)/m4/m4 ] ; \ - then echo $$r/$(BUILD_DIR_PREFIX)/m4/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 @@ -284,8 +285,8 @@ M4 = `if [ -f $$r/$(BUILD_DIR_PREFIX)/m4/m4 ] ; \ # 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_DIR_PREFIX)/texinfo/makeinfo/Makefile ] ; \ - then echo $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/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` @@ -481,14 +482,6 @@ PICFLAG_FOR_TARGET = # Miscellaneous targets and flag lists # ------------------------------------ -@if gcc-bootstrap -# Let's leave this as the first rule in the file until toplevel -# bootstrap is fleshed out completely. -sorry: - @echo Toplevel bootstrap temporarily out of commission. - @echo Please reconfigure without --enable-bootstrap -@endif gcc-bootstrap - # 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@: @@ -685,7 +678,6 @@ configure-host: \ maybe-configure-ld \ maybe-configure-libcpp \ maybe-configure-libgui \ - maybe-configure-libbanshee \ maybe-configure-libiberty \ maybe-configure-libtool \ maybe-configure-m4 \ @@ -740,17 +732,17 @@ configure-target: \ # The target built for a native non-bootstrap build. .PHONY: all -all: unstage all-build all-host all-target stage +all: unstage all-host all-target stage .PHONY: all-build all-build: \ maybe-all-build-libiberty \ - maybe-all-build-libbanshee \ maybe-all-build-bison \ maybe-all-build-byacc \ maybe-all-build-flex \ maybe-all-build-m4 \ - maybe-all-build-texinfo + maybe-all-build-texinfo \ + maybe-all-build-fixincludes .PHONY: all-host all-host: \ maybe-all-ash \ @@ -787,7 +779,6 @@ all-host: \ maybe-all-ld \ maybe-all-libcpp \ maybe-all-libgui \ - maybe-all-libbanshee \ maybe-all-libiberty \ maybe-all-libtool \ maybe-all-m4 \ @@ -884,7 +875,6 @@ info-host: \ maybe-info-ld \ maybe-info-libcpp \ maybe-info-libgui \ - maybe-info-libbanshee \ maybe-info-libiberty \ maybe-info-libtool \ maybe-info-m4 \ @@ -977,7 +967,6 @@ dvi-host: \ maybe-dvi-ld \ maybe-dvi-libcpp \ maybe-dvi-libgui \ - maybe-dvi-libbanshee \ maybe-dvi-libiberty \ maybe-dvi-libtool \ maybe-dvi-m4 \ @@ -1070,7 +1059,6 @@ TAGS-host: \ maybe-TAGS-ld \ maybe-TAGS-libcpp \ maybe-TAGS-libgui \ - maybe-TAGS-libbanshee \ maybe-TAGS-libiberty \ maybe-TAGS-libtool \ maybe-TAGS-m4 \ @@ -1163,7 +1151,6 @@ install-info-host: \ maybe-install-info-ld \ maybe-install-info-libcpp \ maybe-install-info-libgui \ - maybe-install-info-libbanshee \ maybe-install-info-libiberty \ maybe-install-info-libtool \ maybe-install-info-m4 \ @@ -1256,7 +1243,6 @@ installcheck-host: \ maybe-installcheck-ld \ maybe-installcheck-libcpp \ maybe-installcheck-libgui \ - maybe-installcheck-libbanshee \ maybe-installcheck-libiberty \ maybe-installcheck-libtool \ maybe-installcheck-m4 \ @@ -1349,7 +1335,6 @@ mostlyclean-host: \ maybe-mostlyclean-ld \ maybe-mostlyclean-libcpp \ maybe-mostlyclean-libgui \ - maybe-mostlyclean-libbanshee \ maybe-mostlyclean-libiberty \ maybe-mostlyclean-libtool \ maybe-mostlyclean-m4 \ @@ -1442,7 +1427,6 @@ clean-host: \ maybe-clean-ld \ maybe-clean-libcpp \ maybe-clean-libgui \ - maybe-clean-libbanshee \ maybe-clean-libiberty \ maybe-clean-libtool \ maybe-clean-m4 \ @@ -1535,7 +1519,6 @@ distclean-host: \ maybe-distclean-ld \ maybe-distclean-libcpp \ maybe-distclean-libgui \ - maybe-distclean-libbanshee \ maybe-distclean-libiberty \ maybe-distclean-libtool \ maybe-distclean-m4 \ @@ -1628,7 +1611,6 @@ maintainer-clean-host: \ maybe-maintainer-clean-ld \ maybe-maintainer-clean-libcpp \ maybe-maintainer-clean-libgui \ - maybe-maintainer-clean-libbanshee \ maybe-maintainer-clean-libiberty \ maybe-maintainer-clean-libtool \ maybe-maintainer-clean-m4 \ @@ -1778,7 +1760,6 @@ do-check: unstage \ maybe-check-ld \ maybe-check-libcpp \ maybe-check-libgui \ - maybe-check-libbanshee \ maybe-check-libiberty \ maybe-check-libtool \ maybe-check-m4 \ @@ -1890,7 +1871,6 @@ install-host-nogcc: \ maybe-install-ld \ maybe-install-libcpp \ maybe-install-libgui \ - maybe-install-libbanshee \ maybe-install-libiberty \ maybe-install-libtool \ maybe-install-m4 \ @@ -1959,7 +1939,6 @@ install-host: \ maybe-install-ld \ maybe-install-libcpp \ maybe-install-libgui \ - maybe-install-libbanshee \ maybe-install-libiberty \ maybe-install-libtool \ maybe-install-m4 \ @@ -2123,77 +2102,16 @@ configure-build-libiberty: .PHONY: all-build-libiberty maybe-all-build-libiberty maybe-all-build-libiberty: @if build-libiberty +TARGET-build-libiberty=all maybe-all-build-libiberty: all-build-libiberty all-build-libiberty: configure-build-libiberty @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all) + (cd $(BUILD_SUBDIR)/libiberty && \ + $(MAKE) $(TARGET-build-libiberty)) @endif build-libiberty -.PHONY: configure-build-libbanshee maybe-configure-build-libbanshee -maybe-configure-build-libbanshee: -@if build-libbanshee -maybe-configure-build-libbanshee: configure-build-libbanshee -configure-build-libbanshee: - @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/libbanshee; \ - cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) \ - topdir=$(srcdir) ;; \ - *) \ - case "$(BUILD_SUBDIR)" in \ - .) topdir="../$(srcdir)" ;; \ - *) topdir="../../$(srcdir)" ;; \ - esac ;; \ - esac; \ - if [ "$(srcdir)" = "." ] ; then \ - if [ "$(BUILD_SUBDIR)" != "." ] ; then \ - if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \ - if [ -f Makefile ]; then \ - if $(MAKE) distclean; then \ - true; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ - fi; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ - fi; \ - srcdiroption="--srcdir=."; \ - libsrcdir="."; \ - else \ - srcdiroption="--srcdir=$${topdir}/libbanshee"; \ - libsrcdir="$$s/libbanshee"; \ - fi; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) $${srcdiroption} \ - --with-build-subdir="$(BUILD_SUBDIR)" \ - || exit 1 -@endif build-libbanshee - -.PHONY: all-build-libbanshee maybe-all-build-libbanshee -maybe-all-build-libbanshee: -@if build-libbanshee -maybe-all-build-libbanshee: all-build-libbanshee -all-build-libbanshee: configure-build-libbanshee - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all) -@endif build-libbanshee - .PHONY: configure-build-bison maybe-configure-build-bison maybe-configure-build-bison: @if build-bison @@ -2249,12 +2167,14 @@ configure-build-bison: .PHONY: all-build-bison maybe-all-build-bison maybe-all-build-bison: @if build-bison +TARGET-build-bison=all maybe-all-build-bison: all-build-bison all-build-bison: configure-build-bison @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/bison && $(MAKE) all) + (cd $(BUILD_SUBDIR)/bison && \ + $(MAKE) $(TARGET-build-bison)) @endif build-bison .PHONY: configure-build-byacc maybe-configure-build-byacc @@ -2312,12 +2232,14 @@ configure-build-byacc: .PHONY: all-build-byacc maybe-all-build-byacc maybe-all-build-byacc: @if build-byacc +TARGET-build-byacc=all maybe-all-build-byacc: all-build-byacc all-build-byacc: configure-build-byacc @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/byacc && $(MAKE) all) + (cd $(BUILD_SUBDIR)/byacc && \ + $(MAKE) $(TARGET-build-byacc)) @endif build-byacc .PHONY: configure-build-flex maybe-configure-build-flex @@ -2375,12 +2297,14 @@ configure-build-flex: .PHONY: all-build-flex maybe-all-build-flex maybe-all-build-flex: @if build-flex +TARGET-build-flex=all maybe-all-build-flex: all-build-flex all-build-flex: configure-build-flex @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/flex && $(MAKE) all) + (cd $(BUILD_SUBDIR)/flex && \ + $(MAKE) $(TARGET-build-flex)) @endif build-flex .PHONY: configure-build-m4 maybe-configure-build-m4 @@ -2438,12 +2362,14 @@ configure-build-m4: .PHONY: all-build-m4 maybe-all-build-m4 maybe-all-build-m4: @if build-m4 +TARGET-build-m4=all maybe-all-build-m4: all-build-m4 all-build-m4: configure-build-m4 @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/m4 && $(MAKE) all) + (cd $(BUILD_SUBDIR)/m4 && \ + $(MAKE) $(TARGET-build-m4)) @endif build-m4 .PHONY: configure-build-texinfo maybe-configure-build-texinfo @@ -2501,14 +2427,81 @@ configure-build-texinfo: .PHONY: all-build-texinfo maybe-all-build-texinfo maybe-all-build-texinfo: @if build-texinfo +TARGET-build-texinfo=all maybe-all-build-texinfo: all-build-texinfo all-build-texinfo: configure-build-texinfo @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/texinfo && $(MAKE) all) + (cd $(BUILD_SUBDIR)/texinfo && \ + $(MAKE) $(TARGET-build-texinfo)) @endif build-texinfo +.PHONY: configure-build-fixincludes maybe-configure-build-fixincludes +maybe-configure-build-fixincludes: +@if build-fixincludes +maybe-configure-build-fixincludes: configure-build-fixincludes +configure-build-fixincludes: + @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(BUILD_EXPORTS) \ + echo Configuring in $(BUILD_SUBDIR)/fixincludes; \ + cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) \ + topdir=$(srcdir) ;; \ + *) \ + case "$(BUILD_SUBDIR)" in \ + .) topdir="../$(srcdir)" ;; \ + *) topdir="../../$(srcdir)" ;; \ + esac ;; \ + esac; \ + if [ "$(srcdir)" = "." ] ; then \ + if [ "$(BUILD_SUBDIR)" != "." ] ; then \ + if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \ + if [ -f Makefile ]; then \ + if $(MAKE) distclean; then \ + true; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ + srcdiroption="--srcdir=."; \ + libsrcdir="."; \ + else \ + srcdiroption="--srcdir=$${topdir}/fixincludes"; \ + libsrcdir="$$s/fixincludes"; \ + fi; \ + rm -f no-such-file || : ; \ + CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ + $(BUILD_CONFIGARGS) $${srcdiroption} \ + --with-build-subdir="$(BUILD_SUBDIR)" \ + || exit 1 +@endif build-fixincludes + +.PHONY: all-build-fixincludes maybe-all-build-fixincludes +maybe-all-build-fixincludes: +@if build-fixincludes +TARGET-build-fixincludes=all +maybe-all-build-fixincludes: all-build-fixincludes +all-build-fixincludes: configure-build-fixincludes + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(BUILD_EXPORTS) \ + (cd $(BUILD_SUBDIR)/fixincludes && \ + $(MAKE) $(TARGET-build-fixincludes)) +@endif build-fixincludes + # -------------------------------------- # Modules which run on the host machine @@ -2564,7 +2557,7 @@ check-ash: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd ash && $(MAKE) $(FLAGS_TO_PASS) check) + (cd ash && $(MAKE) $(FLAGS_TO_PASS) check) @endif ash @@ -2578,7 +2571,7 @@ install-ash: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd ash && $(MAKE) $(FLAGS_TO_PASS) install) + (cd ash && $(MAKE) $(FLAGS_TO_PASS) install) @endif ash @@ -2866,7 +2859,7 @@ check-autoconf: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check) + (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check) @endif autoconf @@ -2880,7 +2873,7 @@ install-autoconf: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install) + (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install) @endif autoconf @@ -3168,7 +3161,7 @@ check-automake: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd automake && $(MAKE) $(FLAGS_TO_PASS) check) + (cd automake && $(MAKE) $(FLAGS_TO_PASS) check) @endif automake @@ -3182,7 +3175,7 @@ install-automake: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd automake && $(MAKE) $(FLAGS_TO_PASS) install) + (cd automake && $(MAKE) $(FLAGS_TO_PASS) install) @endif automake @@ -3470,7 +3463,7 @@ check-bash: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bash && $(MAKE) $(FLAGS_TO_PASS) check) + (cd bash && $(MAKE) $(FLAGS_TO_PASS) check) @endif bash @@ -3484,7 +3477,7 @@ install-bash: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bash && $(MAKE) $(FLAGS_TO_PASS) install) + (cd bash && $(MAKE) $(FLAGS_TO_PASS) install) @endif bash @@ -3727,7 +3720,8 @@ maybe-configure-bfd: @if bfd maybe-configure-bfd: configure-bfd configure-bfd: - @test ! -f bfd/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f bfd/Makefile || exit 0; \ [ -d bfd ] || mkdir bfd; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -3755,7 +3749,8 @@ maybe-all-bfd: @if bfd maybe-all-bfd: all-bfd all-bfd: configure-bfd - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -3772,7 +3767,7 @@ check-bfd: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check) + (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check) @endif bfd @@ -3786,7 +3781,7 @@ install-bfd: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install) + (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install) @endif bfd @@ -4029,7 +4024,8 @@ maybe-configure-opcodes: @if opcodes maybe-configure-opcodes: configure-opcodes configure-opcodes: - @test ! -f opcodes/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f opcodes/Makefile || exit 0; \ [ -d opcodes ] || mkdir opcodes; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -4057,7 +4053,8 @@ maybe-all-opcodes: @if opcodes maybe-all-opcodes: all-opcodes all-opcodes: configure-opcodes - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -4074,7 +4071,7 @@ check-opcodes: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check) + (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check) @endif opcodes @@ -4088,7 +4085,7 @@ install-opcodes: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install) + (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install) @endif opcodes @@ -4331,7 +4328,8 @@ maybe-configure-binutils: @if binutils maybe-configure-binutils: configure-binutils configure-binutils: - @test ! -f binutils/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f binutils/Makefile || exit 0; \ [ -d binutils ] || mkdir binutils; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -4359,7 +4357,8 @@ maybe-all-binutils: @if binutils maybe-all-binutils: all-binutils all-binutils: configure-binutils - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -4376,7 +4375,7 @@ check-binutils: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check) + (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check) @endif binutils @@ -4390,7 +4389,7 @@ install-binutils: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install) + (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install) @endif binutils @@ -4695,7 +4694,7 @@ install-bison: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bison && $(MAKE) $(FLAGS_TO_PASS) install) + (cd bison && $(MAKE) $(FLAGS_TO_PASS) install) @endif bison @@ -5000,7 +4999,7 @@ install-byacc: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install) + (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install) @endif byacc @@ -5288,7 +5287,7 @@ check-bzip2: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check) + (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check) @endif bzip2 @@ -5302,7 +5301,7 @@ install-bzip2: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install) + (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install) @endif bzip2 @@ -5590,7 +5589,7 @@ check-dejagnu: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check) + (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check) @endif dejagnu @@ -5604,7 +5603,7 @@ install-dejagnu: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install) + (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install) @endif dejagnu @@ -5892,7 +5891,7 @@ check-diff: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd diff && $(MAKE) $(FLAGS_TO_PASS) check) + (cd diff && $(MAKE) $(FLAGS_TO_PASS) check) @endif diff @@ -5906,7 +5905,7 @@ install-diff: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd diff && $(MAKE) $(FLAGS_TO_PASS) install) + (cd diff && $(MAKE) $(FLAGS_TO_PASS) install) @endif diff @@ -6203,7 +6202,7 @@ install-dosutils: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install) + (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install) @endif dosutils @@ -6491,7 +6490,7 @@ check-etc: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd etc && $(MAKE) $(FLAGS_TO_PASS) check) + (cd etc && $(MAKE) $(FLAGS_TO_PASS) check) @endif etc @@ -6505,7 +6504,7 @@ install-etc: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd etc && $(MAKE) $(FLAGS_TO_PASS) install) + (cd etc && $(MAKE) $(FLAGS_TO_PASS) install) @endif etc @@ -6810,7 +6809,7 @@ install-fastjar: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install) + (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install) @endif fastjar @@ -7098,7 +7097,7 @@ check-fileutils: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check) + (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check) @endif fileutils @@ -7112,7 +7111,7 @@ install-fileutils: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install) + (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install) @endif fileutils @@ -7400,7 +7399,7 @@ check-findutils: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check) + (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check) @endif findutils @@ -7414,7 +7413,7 @@ install-findutils: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install) + (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install) @endif findutils @@ -7702,7 +7701,7 @@ check-find: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd find && $(MAKE) $(FLAGS_TO_PASS) check) + (cd find && $(MAKE) $(FLAGS_TO_PASS) check) @endif find @@ -7716,7 +7715,7 @@ install-find: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd find && $(MAKE) $(FLAGS_TO_PASS) install) + (cd find && $(MAKE) $(FLAGS_TO_PASS) install) @endif find @@ -8021,7 +8020,7 @@ install-flex: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd flex && $(MAKE) $(FLAGS_TO_PASS) install) + (cd flex && $(MAKE) $(FLAGS_TO_PASS) install) @endif flex @@ -8264,7 +8263,8 @@ maybe-configure-gas: @if gas maybe-configure-gas: configure-gas configure-gas: - @test ! -f gas/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f gas/Makefile || exit 0; \ [ -d gas ] || mkdir gas; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8292,7 +8292,8 @@ maybe-all-gas: @if gas maybe-all-gas: all-gas all-gas: configure-gas - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -8309,7 +8310,7 @@ check-gas: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gas && $(MAKE) $(FLAGS_TO_PASS) check) + (cd gas && $(MAKE) $(FLAGS_TO_PASS) check) @endif gas @@ -8323,7 +8324,7 @@ install-gas: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gas && $(MAKE) $(FLAGS_TO_PASS) install) + (cd gas && $(MAKE) $(FLAGS_TO_PASS) install) @endif gas @@ -8566,7 +8567,8 @@ maybe-configure-gcc: @if gcc maybe-configure-gcc: configure-gcc configure-gcc: - @test ! -f gcc/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f gcc/Makefile || exit 0; \ [ -d gcc ] || mkdir gcc; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -8594,7 +8596,8 @@ maybe-all-gcc: @if gcc maybe-all-gcc: all-gcc all-gcc: configure-gcc - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -8612,7 +8615,7 @@ check-gcc: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check) + (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check) @endif gcc @@ -8626,7 +8629,7 @@ install-gcc: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install) + (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install) @endif gcc @@ -8914,7 +8917,7 @@ check-gawk: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check) + (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check) @endif gawk @@ -8928,7 +8931,7 @@ install-gawk: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install) + (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install) @endif gawk @@ -9216,7 +9219,7 @@ check-gettext: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check) + (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check) @endif gettext @@ -9230,7 +9233,7 @@ install-gettext: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install) + (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install) @endif gettext @@ -9518,7 +9521,7 @@ check-gnuserv: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check) + (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check) @endif gnuserv @@ -9532,7 +9535,7 @@ install-gnuserv: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install) + (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install) @endif gnuserv @@ -9820,7 +9823,7 @@ check-gprof: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check) + (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check) @endif gprof @@ -9834,7 +9837,7 @@ install-gprof: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install) + (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install) @endif gprof @@ -10122,7 +10125,7 @@ check-gzip: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check) + (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check) @endif gzip @@ -10136,7 +10139,7 @@ install-gzip: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install) + (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install) @endif gzip @@ -10424,7 +10427,7 @@ check-hello: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd hello && $(MAKE) $(FLAGS_TO_PASS) check) + (cd hello && $(MAKE) $(FLAGS_TO_PASS) check) @endif hello @@ -10438,7 +10441,7 @@ install-hello: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd hello && $(MAKE) $(FLAGS_TO_PASS) install) + (cd hello && $(MAKE) $(FLAGS_TO_PASS) install) @endif hello @@ -10726,7 +10729,7 @@ check-indent: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd indent && $(MAKE) $(FLAGS_TO_PASS) check) + (cd indent && $(MAKE) $(FLAGS_TO_PASS) check) @endif indent @@ -10740,7 +10743,7 @@ install-indent: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd indent && $(MAKE) $(FLAGS_TO_PASS) install) + (cd indent && $(MAKE) $(FLAGS_TO_PASS) install) @endif indent @@ -10983,7 +10986,8 @@ maybe-configure-intl: @if intl maybe-configure-intl: configure-intl configure-intl: - @test ! -f intl/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f intl/Makefile || exit 0; \ [ -d intl ] || mkdir intl; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11011,7 +11015,8 @@ maybe-all-intl: @if intl maybe-all-intl: all-intl all-intl: configure-intl - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -11028,7 +11033,7 @@ check-intl: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd intl && $(MAKE) $(FLAGS_TO_PASS) check) + (cd intl && $(MAKE) $(FLAGS_TO_PASS) check) @endif intl @@ -11042,7 +11047,7 @@ install-intl: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd intl && $(MAKE) $(FLAGS_TO_PASS) install) + (cd intl && $(MAKE) $(FLAGS_TO_PASS) install) @endif intl @@ -11330,7 +11335,7 @@ check-tcl: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check) + (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check) @endif tcl @@ -11344,7 +11349,7 @@ install-tcl: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install) + (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install) @endif tcl @@ -11617,7 +11622,7 @@ check-itcl: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check) + (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check) @endif itcl @@ -11631,7 +11636,7 @@ install-itcl: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install) + (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install) @endif itcl @@ -11874,7 +11879,8 @@ maybe-configure-ld: @if ld maybe-configure-ld: configure-ld configure-ld: - @test ! -f ld/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f ld/Makefile || exit 0; \ [ -d ld ] || mkdir ld; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -11902,7 +11908,8 @@ maybe-all-ld: @if ld maybe-all-ld: all-ld all-ld: configure-ld - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -11919,7 +11926,7 @@ check-ld: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd ld && $(MAKE) $(FLAGS_TO_PASS) check) + (cd ld && $(MAKE) $(FLAGS_TO_PASS) check) @endif ld @@ -11933,7 +11940,7 @@ install-ld: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd ld && $(MAKE) $(FLAGS_TO_PASS) install) + (cd ld && $(MAKE) $(FLAGS_TO_PASS) install) @endif ld @@ -12176,7 +12183,8 @@ maybe-configure-libcpp: @if libcpp maybe-configure-libcpp: configure-libcpp configure-libcpp: - @test ! -f libcpp/Makefile || exit 0; \ + @test -f stage_last && exit 0; \ + test ! -f libcpp/Makefile || exit 0; \ [ -d libcpp ] || mkdir libcpp; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -12204,7 +12212,8 @@ maybe-all-libcpp: @if libcpp maybe-all-libcpp: all-libcpp all-libcpp: configure-libcpp - @r=`${PWD_COMMAND}`; export r; \ + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ @@ -12221,7 +12230,7 @@ check-libcpp: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check) + (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check) @endif libcpp @@ -12235,7 +12244,7 @@ install-libcpp: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install) + (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install) @endif libcpp @@ -12523,7 +12532,7 @@ check-libgui: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check) + (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check) @endif libgui @@ -12537,7 +12546,7 @@ install-libgui: installdirs s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install) + (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install) @endif libgui @@ -12775,79 +12784,86 @@ maintainer-clean-libgui: @endif libgui -.PHONY: configure-libbanshee maybe-configure-libbanshee -maybe-configure-libbanshee: -@if libbanshee -maybe-configure-libbanshee: configure-libbanshee -configure-libbanshee: - @test ! -f libbanshee/Makefile || exit 0; \ - [ -d libbanshee ] || mkdir libbanshee; \ +.PHONY: configure-libiberty maybe-configure-libiberty +maybe-configure-libiberty: +@if libiberty +maybe-configure-libiberty: configure-libiberty +configure-libiberty: + @test -f stage_last && exit 0; \ + test ! -f libiberty/Makefile || exit 0; \ + [ -d libiberty ] || mkdir libiberty; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in libbanshee; \ - cd libbanshee || exit 1; \ + echo Configuring in libiberty; \ + cd libiberty || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/libbanshee"; \ - libsrcdir="$$s/libbanshee";; \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \ - libsrcdir="$$s/libbanshee";; \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: all-libbanshee maybe-all-libbanshee -maybe-all-libbanshee: -@if libbanshee -maybe-all-libbanshee: all-libbanshee -all-libbanshee: configure-libbanshee - @r=`${PWD_COMMAND}`; export r; \ +.PHONY: all-libiberty maybe-all-libiberty +maybe-all-libiberty: +@if libiberty +maybe-all-libiberty: all-libiberty +all-libiberty: configure-libiberty + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all) -@endif libbanshee + (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all) +@endif libiberty -.PHONY: check-libbanshee maybe-check-libbanshee -maybe-check-libbanshee: -@if libbanshee -maybe-check-libbanshee: check-libbanshee +.PHONY: check-libiberty maybe-check-libiberty +maybe-check-libiberty: +@if libiberty +maybe-check-libiberty: check-libiberty -check-libbanshee: +check-libiberty: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check) + (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check) -@endif libbanshee +@endif libiberty -.PHONY: install-libbanshee maybe-install-libbanshee -maybe-install-libbanshee: -@if libbanshee -maybe-install-libbanshee: install-libbanshee +.PHONY: install-libiberty maybe-install-libiberty +maybe-install-libiberty: +@if libiberty +maybe-install-libiberty: install-libiberty -install-libbanshee: +install-libiberty: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install) -@endif libbanshee +@endif libiberty # Other targets (info, dvi, etc.) -.PHONY: maybe-info-libbanshee info-libbanshee -maybe-info-libbanshee: -@if libbanshee -maybe-info-libbanshee: info-libbanshee +.PHONY: maybe-info-libiberty info-libiberty +maybe-info-libiberty: +@if libiberty +maybe-info-libiberty: info-libiberty -info-libbanshee: \ - configure-libbanshee - @[ -f ./libbanshee/Makefile ] || exit 0; \ +info-libiberty: \ + configure-libiberty + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -12855,8 +12871,8 @@ info-libbanshee: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing info in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -12864,16 +12880,16 @@ info-libbanshee: \ info) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-dvi-libbanshee dvi-libbanshee -maybe-dvi-libbanshee: -@if libbanshee -maybe-dvi-libbanshee: dvi-libbanshee +.PHONY: maybe-dvi-libiberty dvi-libiberty +maybe-dvi-libiberty: +@if libiberty +maybe-dvi-libiberty: dvi-libiberty -dvi-libbanshee: \ - configure-libbanshee - @[ -f ./libbanshee/Makefile ] || exit 0; \ +dvi-libiberty: \ + configure-libiberty + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -12881,8 +12897,8 @@ dvi-libbanshee: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing dvi in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -12890,16 +12906,16 @@ dvi-libbanshee: \ dvi) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-TAGS-libbanshee TAGS-libbanshee -maybe-TAGS-libbanshee: -@if libbanshee -maybe-TAGS-libbanshee: TAGS-libbanshee +.PHONY: maybe-TAGS-libiberty TAGS-libiberty +maybe-TAGS-libiberty: +@if libiberty +maybe-TAGS-libiberty: TAGS-libiberty -TAGS-libbanshee: \ - configure-libbanshee - @[ -f ./libbanshee/Makefile ] || exit 0; \ +TAGS-libiberty: \ + configure-libiberty + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -12907,8 +12923,8 @@ TAGS-libbanshee: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing TAGS in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -12916,17 +12932,17 @@ TAGS-libbanshee: \ TAGS) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-install-info-libbanshee install-info-libbanshee -maybe-install-info-libbanshee: -@if libbanshee -maybe-install-info-libbanshee: install-info-libbanshee +.PHONY: maybe-install-info-libiberty install-info-libiberty +maybe-install-info-libiberty: +@if libiberty +maybe-install-info-libiberty: install-info-libiberty -install-info-libbanshee: \ - configure-libbanshee \ - info-libbanshee - @[ -f ./libbanshee/Makefile ] || exit 0; \ +install-info-libiberty: \ + configure-libiberty \ + info-libiberty + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -12934,8 +12950,8 @@ install-info-libbanshee: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing install-info in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -12943,16 +12959,16 @@ install-info-libbanshee: \ install-info) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-installcheck-libbanshee installcheck-libbanshee -maybe-installcheck-libbanshee: -@if libbanshee -maybe-installcheck-libbanshee: installcheck-libbanshee +.PHONY: maybe-installcheck-libiberty installcheck-libiberty +maybe-installcheck-libiberty: +@if libiberty +maybe-installcheck-libiberty: installcheck-libiberty -installcheck-libbanshee: \ - configure-libbanshee - @[ -f ./libbanshee/Makefile ] || exit 0; \ +installcheck-libiberty: \ + configure-libiberty + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -12960,8 +12976,8 @@ installcheck-libbanshee: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing installcheck in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -12969,15 +12985,15 @@ installcheck-libbanshee: \ installcheck) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee -maybe-mostlyclean-libbanshee: -@if libbanshee -maybe-mostlyclean-libbanshee: mostlyclean-libbanshee +.PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty +maybe-mostlyclean-libiberty: +@if libiberty +maybe-mostlyclean-libiberty: mostlyclean-libiberty -mostlyclean-libbanshee: - @[ -f ./libbanshee/Makefile ] || exit 0; \ +mostlyclean-libiberty: + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -12985,8 +13001,8 @@ mostlyclean-libbanshee: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing mostlyclean in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -12994,15 +13010,15 @@ mostlyclean-libbanshee: mostlyclean) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-clean-libbanshee clean-libbanshee -maybe-clean-libbanshee: -@if libbanshee -maybe-clean-libbanshee: clean-libbanshee +.PHONY: maybe-clean-libiberty clean-libiberty +maybe-clean-libiberty: +@if libiberty +maybe-clean-libiberty: clean-libiberty -clean-libbanshee: - @[ -f ./libbanshee/Makefile ] || exit 0; \ +clean-libiberty: + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13010,8 +13026,8 @@ clean-libbanshee: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing clean in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13019,15 +13035,15 @@ clean-libbanshee: clean) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-distclean-libbanshee distclean-libbanshee -maybe-distclean-libbanshee: -@if libbanshee -maybe-distclean-libbanshee: distclean-libbanshee +.PHONY: maybe-distclean-libiberty distclean-libiberty +maybe-distclean-libiberty: +@if libiberty +maybe-distclean-libiberty: distclean-libiberty -distclean-libbanshee: - @[ -f ./libbanshee/Makefile ] || exit 0; \ +distclean-libiberty: + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13035,8 +13051,8 @@ distclean-libbanshee: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing distclean in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13044,15 +13060,15 @@ distclean-libbanshee: distclean) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee -maybe-maintainer-clean-libbanshee: -@if libbanshee -maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee +.PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty +maybe-maintainer-clean-libiberty: +@if libiberty +maybe-maintainer-clean-libiberty: maintainer-clean-libiberty -maintainer-clean-libbanshee: - @[ -f ./libbanshee/Makefile ] || exit 0; \ +maintainer-clean-libiberty: + @[ -f ./libiberty/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13060,8 +13076,8 @@ maintainer-clean-libbanshee: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in libbanshee" ; \ - (cd libbanshee && \ + echo "Doing maintainer-clean in libiberty" ; \ + (cd libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13069,87 +13085,87 @@ maintainer-clean-libbanshee: maintainer-clean) \ || exit 1 -@endif libbanshee +@endif libiberty -.PHONY: configure-libiberty maybe-configure-libiberty -maybe-configure-libiberty: -@if libiberty -maybe-configure-libiberty: configure-libiberty -configure-libiberty: - @test ! -f libiberty/Makefile || exit 0; \ - [ -d libiberty ] || mkdir libiberty; \ +.PHONY: configure-libtool maybe-configure-libtool +maybe-configure-libtool: +@if libtool +maybe-configure-libtool: configure-libtool +configure-libtool: + @test ! -f libtool/Makefile || exit 0; \ + [ -d libtool ] || mkdir libtool; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in libiberty; \ - cd libiberty || exit 1; \ + echo Configuring in libtool; \ + cd libtool || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/libiberty"; \ - libsrcdir="$$s/libiberty";; \ + srcdiroption="--srcdir=$(srcdir)/libtool"; \ + libsrcdir="$$s/libtool";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ - libsrcdir="$$s/libiberty";; \ + srcdiroption="--srcdir=../$(srcdir)/libtool"; \ + libsrcdir="$$s/libtool";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: all-libiberty maybe-all-libiberty -maybe-all-libiberty: -@if libiberty -maybe-all-libiberty: all-libiberty -all-libiberty: configure-libiberty +.PHONY: all-libtool maybe-all-libtool +maybe-all-libtool: +@if libtool +maybe-all-libtool: all-libtool +all-libtool: configure-libtool @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all) -@endif libiberty + (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all) +@endif libtool -.PHONY: check-libiberty maybe-check-libiberty -maybe-check-libiberty: -@if libiberty -maybe-check-libiberty: check-libiberty +.PHONY: check-libtool maybe-check-libtool +maybe-check-libtool: +@if libtool +maybe-check-libtool: check-libtool -check-libiberty: +check-libtool: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check) + (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check) -@endif libiberty +@endif libtool -.PHONY: install-libiberty maybe-install-libiberty -maybe-install-libiberty: -@if libiberty -maybe-install-libiberty: install-libiberty +.PHONY: install-libtool maybe-install-libtool +maybe-install-libtool: +@if libtool +maybe-install-libtool: install-libtool -install-libiberty: installdirs +install-libtool: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install) + (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install) -@endif libiberty +@endif libtool # Other targets (info, dvi, etc.) -.PHONY: maybe-info-libiberty info-libiberty -maybe-info-libiberty: -@if libiberty -maybe-info-libiberty: info-libiberty +.PHONY: maybe-info-libtool info-libtool +maybe-info-libtool: +@if libtool +maybe-info-libtool: info-libtool -info-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ +info-libtool: \ + configure-libtool + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13157,8 +13173,8 @@ info-libiberty: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in libiberty" ; \ - (cd libiberty && \ + echo "Doing info in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13166,16 +13182,16 @@ info-libiberty: \ info) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-dvi-libiberty dvi-libiberty -maybe-dvi-libiberty: -@if libiberty -maybe-dvi-libiberty: dvi-libiberty +.PHONY: maybe-dvi-libtool dvi-libtool +maybe-dvi-libtool: +@if libtool +maybe-dvi-libtool: dvi-libtool -dvi-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ +dvi-libtool: \ + configure-libtool + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13183,8 +13199,8 @@ dvi-libiberty: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in libiberty" ; \ - (cd libiberty && \ + echo "Doing dvi in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13192,16 +13208,16 @@ dvi-libiberty: \ dvi) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-TAGS-libiberty TAGS-libiberty -maybe-TAGS-libiberty: -@if libiberty -maybe-TAGS-libiberty: TAGS-libiberty +.PHONY: maybe-TAGS-libtool TAGS-libtool +maybe-TAGS-libtool: +@if libtool +maybe-TAGS-libtool: TAGS-libtool -TAGS-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ +TAGS-libtool: \ + configure-libtool + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13209,8 +13225,8 @@ TAGS-libiberty: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in libiberty" ; \ - (cd libiberty && \ + echo "Doing TAGS in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13218,17 +13234,17 @@ TAGS-libiberty: \ TAGS) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-install-info-libiberty install-info-libiberty -maybe-install-info-libiberty: -@if libiberty -maybe-install-info-libiberty: install-info-libiberty +.PHONY: maybe-install-info-libtool install-info-libtool +maybe-install-info-libtool: +@if libtool +maybe-install-info-libtool: install-info-libtool -install-info-libiberty: \ - configure-libiberty \ - info-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ +install-info-libtool: \ + configure-libtool \ + info-libtool + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13236,8 +13252,8 @@ install-info-libiberty: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in libiberty" ; \ - (cd libiberty && \ + echo "Doing install-info in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13245,16 +13261,16 @@ install-info-libiberty: \ install-info) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-installcheck-libiberty installcheck-libiberty -maybe-installcheck-libiberty: -@if libiberty -maybe-installcheck-libiberty: installcheck-libiberty +.PHONY: maybe-installcheck-libtool installcheck-libtool +maybe-installcheck-libtool: +@if libtool +maybe-installcheck-libtool: installcheck-libtool -installcheck-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ +installcheck-libtool: \ + configure-libtool + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13262,8 +13278,8 @@ installcheck-libiberty: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in libiberty" ; \ - (cd libiberty && \ + echo "Doing installcheck in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13271,15 +13287,15 @@ installcheck-libiberty: \ installcheck) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty -maybe-mostlyclean-libiberty: -@if libiberty -maybe-mostlyclean-libiberty: mostlyclean-libiberty +.PHONY: maybe-mostlyclean-libtool mostlyclean-libtool +maybe-mostlyclean-libtool: +@if libtool +maybe-mostlyclean-libtool: mostlyclean-libtool -mostlyclean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ +mostlyclean-libtool: + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13287,8 +13303,8 @@ mostlyclean-libiberty: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in libiberty" ; \ - (cd libiberty && \ + echo "Doing mostlyclean in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13296,15 +13312,15 @@ mostlyclean-libiberty: mostlyclean) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-clean-libiberty clean-libiberty -maybe-clean-libiberty: -@if libiberty -maybe-clean-libiberty: clean-libiberty +.PHONY: maybe-clean-libtool clean-libtool +maybe-clean-libtool: +@if libtool +maybe-clean-libtool: clean-libtool -clean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ +clean-libtool: + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13312,8 +13328,8 @@ clean-libiberty: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in libiberty" ; \ - (cd libiberty && \ + echo "Doing clean in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13321,15 +13337,15 @@ clean-libiberty: clean) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-distclean-libiberty distclean-libiberty -maybe-distclean-libiberty: -@if libiberty -maybe-distclean-libiberty: distclean-libiberty +.PHONY: maybe-distclean-libtool distclean-libtool +maybe-distclean-libtool: +@if libtool +maybe-distclean-libtool: distclean-libtool -distclean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ +distclean-libtool: + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13337,8 +13353,8 @@ distclean-libiberty: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in libiberty" ; \ - (cd libiberty && \ + echo "Doing distclean in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13346,15 +13362,15 @@ distclean-libiberty: distclean) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty -maybe-maintainer-clean-libiberty: -@if libiberty -maybe-maintainer-clean-libiberty: maintainer-clean-libiberty +.PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool +maybe-maintainer-clean-libtool: +@if libtool +maybe-maintainer-clean-libtool: maintainer-clean-libtool -maintainer-clean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ +maintainer-clean-libtool: + @[ -f ./libtool/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13362,8 +13378,8 @@ maintainer-clean-libiberty: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in libiberty" ; \ - (cd libiberty && \ + echo "Doing maintainer-clean in libtool" ; \ + (cd libtool && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13371,87 +13387,87 @@ maintainer-clean-libiberty: maintainer-clean) \ || exit 1 -@endif libiberty +@endif libtool -.PHONY: configure-libtool maybe-configure-libtool -maybe-configure-libtool: -@if libtool -maybe-configure-libtool: configure-libtool -configure-libtool: - @test ! -f libtool/Makefile || exit 0; \ - [ -d libtool ] || mkdir libtool; \ +.PHONY: configure-m4 maybe-configure-m4 +maybe-configure-m4: +@if m4 +maybe-configure-m4: configure-m4 +configure-m4: + @test ! -f m4/Makefile || exit 0; \ + [ -d m4 ] || mkdir m4; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in libtool; \ - cd libtool || exit 1; \ + echo Configuring in m4; \ + cd m4 || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/libtool"; \ - libsrcdir="$$s/libtool";; \ + srcdiroption="--srcdir=$(srcdir)/m4"; \ + libsrcdir="$$s/m4";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/libtool"; \ - libsrcdir="$$s/libtool";; \ + srcdiroption="--srcdir=../$(srcdir)/m4"; \ + libsrcdir="$$s/m4";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif libtool +@endif m4 -.PHONY: all-libtool maybe-all-libtool -maybe-all-libtool: -@if libtool -maybe-all-libtool: all-libtool -all-libtool: configure-libtool +.PHONY: all-m4 maybe-all-m4 +maybe-all-m4: +@if m4 +maybe-all-m4: all-m4 +all-m4: configure-m4 @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all) -@endif libtool + (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all) +@endif m4 -.PHONY: check-libtool maybe-check-libtool -maybe-check-libtool: -@if libtool -maybe-check-libtool: check-libtool +.PHONY: check-m4 maybe-check-m4 +maybe-check-m4: +@if m4 +maybe-check-m4: check-m4 -check-libtool: +check-m4: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check) + (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check) -@endif libtool +@endif m4 -.PHONY: install-libtool maybe-install-libtool -maybe-install-libtool: -@if libtool -maybe-install-libtool: install-libtool +.PHONY: install-m4 maybe-install-m4 +maybe-install-m4: +@if m4 +maybe-install-m4: install-m4 -install-libtool: installdirs +install-m4: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install) + (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install) -@endif libtool +@endif m4 # Other targets (info, dvi, etc.) -.PHONY: maybe-info-libtool info-libtool -maybe-info-libtool: -@if libtool -maybe-info-libtool: info-libtool +.PHONY: maybe-info-m4 info-m4 +maybe-info-m4: +@if m4 +maybe-info-m4: info-m4 -info-libtool: \ - configure-libtool - @[ -f ./libtool/Makefile ] || exit 0; \ +info-m4: \ + configure-m4 + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13459,8 +13475,8 @@ info-libtool: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in libtool" ; \ - (cd libtool && \ + echo "Doing info in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13468,16 +13484,16 @@ info-libtool: \ info) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-dvi-libtool dvi-libtool -maybe-dvi-libtool: -@if libtool -maybe-dvi-libtool: dvi-libtool +.PHONY: maybe-dvi-m4 dvi-m4 +maybe-dvi-m4: +@if m4 +maybe-dvi-m4: dvi-m4 -dvi-libtool: \ - configure-libtool - @[ -f ./libtool/Makefile ] || exit 0; \ +dvi-m4: \ + configure-m4 + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13485,8 +13501,8 @@ dvi-libtool: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in libtool" ; \ - (cd libtool && \ + echo "Doing dvi in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13494,16 +13510,16 @@ dvi-libtool: \ dvi) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-TAGS-libtool TAGS-libtool -maybe-TAGS-libtool: -@if libtool -maybe-TAGS-libtool: TAGS-libtool +.PHONY: maybe-TAGS-m4 TAGS-m4 +maybe-TAGS-m4: +@if m4 +maybe-TAGS-m4: TAGS-m4 -TAGS-libtool: \ - configure-libtool - @[ -f ./libtool/Makefile ] || exit 0; \ +TAGS-m4: \ + configure-m4 + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13511,8 +13527,8 @@ TAGS-libtool: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in libtool" ; \ - (cd libtool && \ + echo "Doing TAGS in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13520,17 +13536,17 @@ TAGS-libtool: \ TAGS) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-install-info-libtool install-info-libtool -maybe-install-info-libtool: -@if libtool -maybe-install-info-libtool: install-info-libtool +.PHONY: maybe-install-info-m4 install-info-m4 +maybe-install-info-m4: +@if m4 +maybe-install-info-m4: install-info-m4 -install-info-libtool: \ - configure-libtool \ - info-libtool - @[ -f ./libtool/Makefile ] || exit 0; \ +install-info-m4: \ + configure-m4 \ + info-m4 + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13538,8 +13554,8 @@ install-info-libtool: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in libtool" ; \ - (cd libtool && \ + echo "Doing install-info in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13547,16 +13563,16 @@ install-info-libtool: \ install-info) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-installcheck-libtool installcheck-libtool -maybe-installcheck-libtool: -@if libtool -maybe-installcheck-libtool: installcheck-libtool +.PHONY: maybe-installcheck-m4 installcheck-m4 +maybe-installcheck-m4: +@if m4 +maybe-installcheck-m4: installcheck-m4 -installcheck-libtool: \ - configure-libtool - @[ -f ./libtool/Makefile ] || exit 0; \ +installcheck-m4: \ + configure-m4 + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13564,8 +13580,8 @@ installcheck-libtool: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in libtool" ; \ - (cd libtool && \ + echo "Doing installcheck in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13573,15 +13589,15 @@ installcheck-libtool: \ installcheck) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-mostlyclean-libtool mostlyclean-libtool -maybe-mostlyclean-libtool: -@if libtool -maybe-mostlyclean-libtool: mostlyclean-libtool +.PHONY: maybe-mostlyclean-m4 mostlyclean-m4 +maybe-mostlyclean-m4: +@if m4 +maybe-mostlyclean-m4: mostlyclean-m4 -mostlyclean-libtool: - @[ -f ./libtool/Makefile ] || exit 0; \ +mostlyclean-m4: + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13589,8 +13605,8 @@ mostlyclean-libtool: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in libtool" ; \ - (cd libtool && \ + echo "Doing mostlyclean in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13598,15 +13614,15 @@ mostlyclean-libtool: mostlyclean) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-clean-libtool clean-libtool -maybe-clean-libtool: -@if libtool -maybe-clean-libtool: clean-libtool +.PHONY: maybe-clean-m4 clean-m4 +maybe-clean-m4: +@if m4 +maybe-clean-m4: clean-m4 -clean-libtool: - @[ -f ./libtool/Makefile ] || exit 0; \ +clean-m4: + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13614,8 +13630,8 @@ clean-libtool: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in libtool" ; \ - (cd libtool && \ + echo "Doing clean in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13623,15 +13639,15 @@ clean-libtool: clean) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-distclean-libtool distclean-libtool -maybe-distclean-libtool: -@if libtool -maybe-distclean-libtool: distclean-libtool +.PHONY: maybe-distclean-m4 distclean-m4 +maybe-distclean-m4: +@if m4 +maybe-distclean-m4: distclean-m4 -distclean-libtool: - @[ -f ./libtool/Makefile ] || exit 0; \ +distclean-m4: + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13639,8 +13655,8 @@ distclean-libtool: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in libtool" ; \ - (cd libtool && \ + echo "Doing distclean in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13648,15 +13664,15 @@ distclean-libtool: distclean) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool -maybe-maintainer-clean-libtool: -@if libtool -maybe-maintainer-clean-libtool: maintainer-clean-libtool +.PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 +maybe-maintainer-clean-m4: +@if m4 +maybe-maintainer-clean-m4: maintainer-clean-m4 -maintainer-clean-libtool: - @[ -f ./libtool/Makefile ] || exit 0; \ +maintainer-clean-m4: + @[ -f ./m4/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13664,8 +13680,8 @@ maintainer-clean-libtool: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in libtool" ; \ - (cd libtool && \ + echo "Doing maintainer-clean in m4" ; \ + (cd m4 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13673,87 +13689,87 @@ maintainer-clean-libtool: maintainer-clean) \ || exit 1 -@endif libtool +@endif m4 -.PHONY: configure-m4 maybe-configure-m4 -maybe-configure-m4: -@if m4 -maybe-configure-m4: configure-m4 -configure-m4: - @test ! -f m4/Makefile || exit 0; \ - [ -d m4 ] || mkdir m4; \ +.PHONY: configure-make maybe-configure-make +maybe-configure-make: +@if make +maybe-configure-make: configure-make +configure-make: + @test ! -f make/Makefile || exit 0; \ + [ -d make ] || mkdir make; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in m4; \ - cd m4 || exit 1; \ + echo Configuring in make; \ + cd make || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/m4"; \ - libsrcdir="$$s/m4";; \ + srcdiroption="--srcdir=$(srcdir)/make"; \ + libsrcdir="$$s/make";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/m4"; \ - libsrcdir="$$s/m4";; \ + srcdiroption="--srcdir=../$(srcdir)/make"; \ + libsrcdir="$$s/make";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif m4 +@endif make -.PHONY: all-m4 maybe-all-m4 -maybe-all-m4: -@if m4 -maybe-all-m4: all-m4 -all-m4: configure-m4 +.PHONY: all-make maybe-all-make +maybe-all-make: +@if make +maybe-all-make: all-make +all-make: configure-make @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all) -@endif m4 + (cd make && $(MAKE) $(FLAGS_TO_PASS) all) +@endif make -.PHONY: check-m4 maybe-check-m4 -maybe-check-m4: -@if m4 -maybe-check-m4: check-m4 +.PHONY: check-make maybe-check-make +maybe-check-make: +@if make +maybe-check-make: check-make -check-m4: +check-make: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check) + (cd make && $(MAKE) $(FLAGS_TO_PASS) check) -@endif m4 +@endif make -.PHONY: install-m4 maybe-install-m4 -maybe-install-m4: -@if m4 -maybe-install-m4: install-m4 +.PHONY: install-make maybe-install-make +maybe-install-make: +@if make +maybe-install-make: install-make -install-m4: installdirs +install-make: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install) + (cd make && $(MAKE) $(FLAGS_TO_PASS) install) -@endif m4 +@endif make # Other targets (info, dvi, etc.) -.PHONY: maybe-info-m4 info-m4 -maybe-info-m4: -@if m4 -maybe-info-m4: info-m4 +.PHONY: maybe-info-make info-make +maybe-info-make: +@if make +maybe-info-make: info-make -info-m4: \ - configure-m4 - @[ -f ./m4/Makefile ] || exit 0; \ +info-make: \ + configure-make + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13761,8 +13777,8 @@ info-m4: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in m4" ; \ - (cd m4 && \ + echo "Doing info in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13770,16 +13786,16 @@ info-m4: \ info) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-dvi-m4 dvi-m4 -maybe-dvi-m4: -@if m4 -maybe-dvi-m4: dvi-m4 +.PHONY: maybe-dvi-make dvi-make +maybe-dvi-make: +@if make +maybe-dvi-make: dvi-make -dvi-m4: \ - configure-m4 - @[ -f ./m4/Makefile ] || exit 0; \ +dvi-make: \ + configure-make + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13787,8 +13803,8 @@ dvi-m4: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in m4" ; \ - (cd m4 && \ + echo "Doing dvi in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13796,16 +13812,16 @@ dvi-m4: \ dvi) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-TAGS-m4 TAGS-m4 -maybe-TAGS-m4: -@if m4 -maybe-TAGS-m4: TAGS-m4 +.PHONY: maybe-TAGS-make TAGS-make +maybe-TAGS-make: +@if make +maybe-TAGS-make: TAGS-make -TAGS-m4: \ - configure-m4 - @[ -f ./m4/Makefile ] || exit 0; \ +TAGS-make: \ + configure-make + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13813,8 +13829,8 @@ TAGS-m4: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in m4" ; \ - (cd m4 && \ + echo "Doing TAGS in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13822,17 +13838,17 @@ TAGS-m4: \ TAGS) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-install-info-m4 install-info-m4 -maybe-install-info-m4: -@if m4 -maybe-install-info-m4: install-info-m4 +.PHONY: maybe-install-info-make install-info-make +maybe-install-info-make: +@if make +maybe-install-info-make: install-info-make -install-info-m4: \ - configure-m4 \ - info-m4 - @[ -f ./m4/Makefile ] || exit 0; \ +install-info-make: \ + configure-make \ + info-make + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13840,8 +13856,8 @@ install-info-m4: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in m4" ; \ - (cd m4 && \ + echo "Doing install-info in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13849,16 +13865,16 @@ install-info-m4: \ install-info) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-installcheck-m4 installcheck-m4 -maybe-installcheck-m4: -@if m4 -maybe-installcheck-m4: installcheck-m4 +.PHONY: maybe-installcheck-make installcheck-make +maybe-installcheck-make: +@if make +maybe-installcheck-make: installcheck-make -installcheck-m4: \ - configure-m4 - @[ -f ./m4/Makefile ] || exit 0; \ +installcheck-make: \ + configure-make + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13866,8 +13882,8 @@ installcheck-m4: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in m4" ; \ - (cd m4 && \ + echo "Doing installcheck in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13875,15 +13891,15 @@ installcheck-m4: \ installcheck) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-mostlyclean-m4 mostlyclean-m4 -maybe-mostlyclean-m4: -@if m4 -maybe-mostlyclean-m4: mostlyclean-m4 +.PHONY: maybe-mostlyclean-make mostlyclean-make +maybe-mostlyclean-make: +@if make +maybe-mostlyclean-make: mostlyclean-make -mostlyclean-m4: - @[ -f ./m4/Makefile ] || exit 0; \ +mostlyclean-make: + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13891,8 +13907,8 @@ mostlyclean-m4: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in m4" ; \ - (cd m4 && \ + echo "Doing mostlyclean in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13900,15 +13916,15 @@ mostlyclean-m4: mostlyclean) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-clean-m4 clean-m4 -maybe-clean-m4: -@if m4 -maybe-clean-m4: clean-m4 +.PHONY: maybe-clean-make clean-make +maybe-clean-make: +@if make +maybe-clean-make: clean-make -clean-m4: - @[ -f ./m4/Makefile ] || exit 0; \ +clean-make: + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13916,8 +13932,8 @@ clean-m4: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in m4" ; \ - (cd m4 && \ + echo "Doing clean in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13925,15 +13941,15 @@ clean-m4: clean) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-distclean-m4 distclean-m4 -maybe-distclean-m4: -@if m4 -maybe-distclean-m4: distclean-m4 +.PHONY: maybe-distclean-make distclean-make +maybe-distclean-make: +@if make +maybe-distclean-make: distclean-make -distclean-m4: - @[ -f ./m4/Makefile ] || exit 0; \ +distclean-make: + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13941,8 +13957,8 @@ distclean-m4: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in m4" ; \ - (cd m4 && \ + echo "Doing distclean in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13950,15 +13966,15 @@ distclean-m4: distclean) \ || exit 1 -@endif m4 +@endif make -.PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 -maybe-maintainer-clean-m4: -@if m4 -maybe-maintainer-clean-m4: maintainer-clean-m4 +.PHONY: maybe-maintainer-clean-make maintainer-clean-make +maybe-maintainer-clean-make: +@if make +maybe-maintainer-clean-make: maintainer-clean-make -maintainer-clean-m4: - @[ -f ./m4/Makefile ] || exit 0; \ +maintainer-clean-make: + @[ -f ./make/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -13966,8 +13982,8 @@ maintainer-clean-m4: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in m4" ; \ - (cd m4 && \ + echo "Doing maintainer-clean in make" ; \ + (cd make && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -13975,87 +13991,82 @@ maintainer-clean-m4: maintainer-clean) \ || exit 1 -@endif m4 +@endif make -.PHONY: configure-make maybe-configure-make -maybe-configure-make: -@if make -maybe-configure-make: configure-make -configure-make: - @test ! -f make/Makefile || exit 0; \ - [ -d make ] || mkdir make; \ +.PHONY: configure-mmalloc maybe-configure-mmalloc +maybe-configure-mmalloc: +@if mmalloc +maybe-configure-mmalloc: configure-mmalloc +configure-mmalloc: + @test ! -f mmalloc/Makefile || exit 0; \ + [ -d mmalloc ] || mkdir mmalloc; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in make; \ - cd make || exit 1; \ + echo Configuring in mmalloc; \ + cd mmalloc || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/make"; \ - libsrcdir="$$s/make";; \ + srcdiroption="--srcdir=$(srcdir)/mmalloc"; \ + libsrcdir="$$s/mmalloc";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/make"; \ - libsrcdir="$$s/make";; \ + srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \ + libsrcdir="$$s/mmalloc";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif make +@endif mmalloc -.PHONY: all-make maybe-all-make -maybe-all-make: -@if make -maybe-all-make: all-make -all-make: configure-make +.PHONY: all-mmalloc maybe-all-mmalloc +maybe-all-mmalloc: +@if mmalloc +maybe-all-mmalloc: all-mmalloc +all-mmalloc: configure-mmalloc @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd make && $(MAKE) $(FLAGS_TO_PASS) all) -@endif make + (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all) +@endif mmalloc -.PHONY: check-make maybe-check-make -maybe-check-make: -@if make -maybe-check-make: check-make +.PHONY: check-mmalloc maybe-check-mmalloc +maybe-check-mmalloc: +@if mmalloc +maybe-check-mmalloc: check-mmalloc -check-make: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd make && $(MAKE) $(FLAGS_TO_PASS) check) +check-mmalloc: -@endif make +@endif mmalloc -.PHONY: install-make maybe-install-make -maybe-install-make: -@if make -maybe-install-make: install-make +.PHONY: install-mmalloc maybe-install-mmalloc +maybe-install-mmalloc: +@if mmalloc +maybe-install-mmalloc: install-mmalloc -install-make: installdirs +install-mmalloc: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd make && $(MAKE) $(FLAGS_TO_PASS) install) + (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install) -@endif make +@endif mmalloc # Other targets (info, dvi, etc.) -.PHONY: maybe-info-make info-make -maybe-info-make: -@if make -maybe-info-make: info-make +.PHONY: maybe-info-mmalloc info-mmalloc +maybe-info-mmalloc: +@if mmalloc +maybe-info-mmalloc: info-mmalloc -info-make: \ - configure-make - @[ -f ./make/Makefile ] || exit 0; \ +info-mmalloc: \ + configure-mmalloc + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14063,8 +14074,8 @@ info-make: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in make" ; \ - (cd make && \ + echo "Doing info in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14072,16 +14083,16 @@ info-make: \ info) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-dvi-make dvi-make -maybe-dvi-make: -@if make -maybe-dvi-make: dvi-make +.PHONY: maybe-dvi-mmalloc dvi-mmalloc +maybe-dvi-mmalloc: +@if mmalloc +maybe-dvi-mmalloc: dvi-mmalloc -dvi-make: \ - configure-make - @[ -f ./make/Makefile ] || exit 0; \ +dvi-mmalloc: \ + configure-mmalloc + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14089,8 +14100,8 @@ dvi-make: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in make" ; \ - (cd make && \ + echo "Doing dvi in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14098,16 +14109,16 @@ dvi-make: \ dvi) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-TAGS-make TAGS-make -maybe-TAGS-make: -@if make -maybe-TAGS-make: TAGS-make +.PHONY: maybe-TAGS-mmalloc TAGS-mmalloc +maybe-TAGS-mmalloc: +@if mmalloc +maybe-TAGS-mmalloc: TAGS-mmalloc -TAGS-make: \ - configure-make - @[ -f ./make/Makefile ] || exit 0; \ +TAGS-mmalloc: \ + configure-mmalloc + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14115,8 +14126,8 @@ TAGS-make: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in make" ; \ - (cd make && \ + echo "Doing TAGS in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14124,17 +14135,17 @@ TAGS-make: \ TAGS) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-install-info-make install-info-make -maybe-install-info-make: -@if make -maybe-install-info-make: install-info-make +.PHONY: maybe-install-info-mmalloc install-info-mmalloc +maybe-install-info-mmalloc: +@if mmalloc +maybe-install-info-mmalloc: install-info-mmalloc -install-info-make: \ - configure-make \ - info-make - @[ -f ./make/Makefile ] || exit 0; \ +install-info-mmalloc: \ + configure-mmalloc \ + info-mmalloc + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14142,8 +14153,8 @@ install-info-make: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in make" ; \ - (cd make && \ + echo "Doing install-info in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14151,16 +14162,16 @@ install-info-make: \ install-info) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-installcheck-make installcheck-make -maybe-installcheck-make: -@if make -maybe-installcheck-make: installcheck-make +.PHONY: maybe-installcheck-mmalloc installcheck-mmalloc +maybe-installcheck-mmalloc: +@if mmalloc +maybe-installcheck-mmalloc: installcheck-mmalloc -installcheck-make: \ - configure-make - @[ -f ./make/Makefile ] || exit 0; \ +installcheck-mmalloc: \ + configure-mmalloc + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14168,8 +14179,8 @@ installcheck-make: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in make" ; \ - (cd make && \ + echo "Doing installcheck in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14177,15 +14188,15 @@ installcheck-make: \ installcheck) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-mostlyclean-make mostlyclean-make -maybe-mostlyclean-make: -@if make -maybe-mostlyclean-make: mostlyclean-make +.PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc +maybe-mostlyclean-mmalloc: +@if mmalloc +maybe-mostlyclean-mmalloc: mostlyclean-mmalloc -mostlyclean-make: - @[ -f ./make/Makefile ] || exit 0; \ +mostlyclean-mmalloc: + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14193,8 +14204,8 @@ mostlyclean-make: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in make" ; \ - (cd make && \ + echo "Doing mostlyclean in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14202,15 +14213,15 @@ mostlyclean-make: mostlyclean) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-clean-make clean-make -maybe-clean-make: -@if make -maybe-clean-make: clean-make +.PHONY: maybe-clean-mmalloc clean-mmalloc +maybe-clean-mmalloc: +@if mmalloc +maybe-clean-mmalloc: clean-mmalloc -clean-make: - @[ -f ./make/Makefile ] || exit 0; \ +clean-mmalloc: + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14218,8 +14229,8 @@ clean-make: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in make" ; \ - (cd make && \ + echo "Doing clean in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14227,15 +14238,15 @@ clean-make: clean) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-distclean-make distclean-make -maybe-distclean-make: -@if make -maybe-distclean-make: distclean-make +.PHONY: maybe-distclean-mmalloc distclean-mmalloc +maybe-distclean-mmalloc: +@if mmalloc +maybe-distclean-mmalloc: distclean-mmalloc -distclean-make: - @[ -f ./make/Makefile ] || exit 0; \ +distclean-mmalloc: + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14243,8 +14254,8 @@ distclean-make: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in make" ; \ - (cd make && \ + echo "Doing distclean in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14252,15 +14263,15 @@ distclean-make: distclean) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: maybe-maintainer-clean-make maintainer-clean-make -maybe-maintainer-clean-make: -@if make -maybe-maintainer-clean-make: maintainer-clean-make +.PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc +maybe-maintainer-clean-mmalloc: +@if mmalloc +maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc -maintainer-clean-make: - @[ -f ./make/Makefile ] || exit 0; \ +maintainer-clean-mmalloc: + @[ -f ./mmalloc/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14268,8 +14279,8 @@ maintainer-clean-make: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in make" ; \ - (cd make && \ + echo "Doing maintainer-clean in mmalloc" ; \ + (cd mmalloc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14277,91 +14288,96 @@ maintainer-clean-make: maintainer-clean) \ || exit 1 -@endif make +@endif mmalloc -.PHONY: configure-mmalloc maybe-configure-mmalloc -maybe-configure-mmalloc: -@if mmalloc -maybe-configure-mmalloc: configure-mmalloc -configure-mmalloc: - @test ! -f mmalloc/Makefile || exit 0; \ - [ -d mmalloc ] || mkdir mmalloc; \ +.PHONY: configure-patch maybe-configure-patch +maybe-configure-patch: +@if patch +maybe-configure-patch: configure-patch +configure-patch: + @test ! -f patch/Makefile || exit 0; \ + [ -d patch ] || mkdir patch; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in mmalloc; \ - cd mmalloc || exit 1; \ + echo Configuring in patch; \ + cd patch || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/mmalloc"; \ - libsrcdir="$$s/mmalloc";; \ + srcdiroption="--srcdir=$(srcdir)/patch"; \ + libsrcdir="$$s/patch";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \ - libsrcdir="$$s/mmalloc";; \ + srcdiroption="--srcdir=../$(srcdir)/patch"; \ + libsrcdir="$$s/patch";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: all-mmalloc maybe-all-mmalloc -maybe-all-mmalloc: -@if mmalloc -maybe-all-mmalloc: all-mmalloc -all-mmalloc: configure-mmalloc +.PHONY: all-patch maybe-all-patch +maybe-all-patch: +@if patch +maybe-all-patch: all-patch +all-patch: configure-patch @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all) -@endif mmalloc + (cd patch && $(MAKE) $(FLAGS_TO_PASS) all) +@endif patch -.PHONY: check-mmalloc maybe-check-mmalloc -maybe-check-mmalloc: -@if mmalloc -maybe-check-mmalloc: check-mmalloc +.PHONY: check-patch maybe-check-patch +maybe-check-patch: +@if patch +maybe-check-patch: check-patch -check-mmalloc: +check-patch: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd patch && $(MAKE) $(FLAGS_TO_PASS) check) -@endif mmalloc +@endif patch -.PHONY: install-mmalloc maybe-install-mmalloc -maybe-install-mmalloc: -@if mmalloc -maybe-install-mmalloc: install-mmalloc +.PHONY: install-patch maybe-install-patch +maybe-install-patch: +@if patch +maybe-install-patch: install-patch -install-mmalloc: installdirs +install-patch: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install) + (cd patch && $(MAKE) $(FLAGS_TO_PASS) install) -@endif mmalloc +@endif patch # Other targets (info, dvi, etc.) -.PHONY: maybe-info-mmalloc info-mmalloc -maybe-info-mmalloc: -@if mmalloc -maybe-info-mmalloc: info-mmalloc +.PHONY: maybe-info-patch info-patch +maybe-info-patch: +@if patch +maybe-info-patch: info-patch -info-mmalloc: \ - configure-mmalloc - @[ -f ./mmalloc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ +info-patch: \ + configure-patch + @[ -f ./patch/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing info in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14369,16 +14385,16 @@ info-mmalloc: \ info) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-dvi-mmalloc dvi-mmalloc -maybe-dvi-mmalloc: -@if mmalloc -maybe-dvi-mmalloc: dvi-mmalloc +.PHONY: maybe-dvi-patch dvi-patch +maybe-dvi-patch: +@if patch +maybe-dvi-patch: dvi-patch -dvi-mmalloc: \ - configure-mmalloc - @[ -f ./mmalloc/Makefile ] || exit 0; \ +dvi-patch: \ + configure-patch + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14386,8 +14402,8 @@ dvi-mmalloc: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing dvi in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14395,16 +14411,16 @@ dvi-mmalloc: \ dvi) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-TAGS-mmalloc TAGS-mmalloc -maybe-TAGS-mmalloc: -@if mmalloc -maybe-TAGS-mmalloc: TAGS-mmalloc +.PHONY: maybe-TAGS-patch TAGS-patch +maybe-TAGS-patch: +@if patch +maybe-TAGS-patch: TAGS-patch -TAGS-mmalloc: \ - configure-mmalloc - @[ -f ./mmalloc/Makefile ] || exit 0; \ +TAGS-patch: \ + configure-patch + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14412,8 +14428,8 @@ TAGS-mmalloc: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing TAGS in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14421,17 +14437,17 @@ TAGS-mmalloc: \ TAGS) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-install-info-mmalloc install-info-mmalloc -maybe-install-info-mmalloc: -@if mmalloc -maybe-install-info-mmalloc: install-info-mmalloc +.PHONY: maybe-install-info-patch install-info-patch +maybe-install-info-patch: +@if patch +maybe-install-info-patch: install-info-patch -install-info-mmalloc: \ - configure-mmalloc \ - info-mmalloc - @[ -f ./mmalloc/Makefile ] || exit 0; \ +install-info-patch: \ + configure-patch \ + info-patch + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14439,8 +14455,8 @@ install-info-mmalloc: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing install-info in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14448,16 +14464,16 @@ install-info-mmalloc: \ install-info) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-installcheck-mmalloc installcheck-mmalloc -maybe-installcheck-mmalloc: -@if mmalloc -maybe-installcheck-mmalloc: installcheck-mmalloc +.PHONY: maybe-installcheck-patch installcheck-patch +maybe-installcheck-patch: +@if patch +maybe-installcheck-patch: installcheck-patch -installcheck-mmalloc: \ - configure-mmalloc - @[ -f ./mmalloc/Makefile ] || exit 0; \ +installcheck-patch: \ + configure-patch + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14465,8 +14481,8 @@ installcheck-mmalloc: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing installcheck in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14474,15 +14490,15 @@ installcheck-mmalloc: \ installcheck) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc -maybe-mostlyclean-mmalloc: -@if mmalloc -maybe-mostlyclean-mmalloc: mostlyclean-mmalloc +.PHONY: maybe-mostlyclean-patch mostlyclean-patch +maybe-mostlyclean-patch: +@if patch +maybe-mostlyclean-patch: mostlyclean-patch -mostlyclean-mmalloc: - @[ -f ./mmalloc/Makefile ] || exit 0; \ +mostlyclean-patch: + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14490,8 +14506,8 @@ mostlyclean-mmalloc: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing mostlyclean in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14499,15 +14515,15 @@ mostlyclean-mmalloc: mostlyclean) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-clean-mmalloc clean-mmalloc -maybe-clean-mmalloc: -@if mmalloc -maybe-clean-mmalloc: clean-mmalloc +.PHONY: maybe-clean-patch clean-patch +maybe-clean-patch: +@if patch +maybe-clean-patch: clean-patch -clean-mmalloc: - @[ -f ./mmalloc/Makefile ] || exit 0; \ +clean-patch: + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14515,8 +14531,8 @@ clean-mmalloc: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing clean in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14524,15 +14540,15 @@ clean-mmalloc: clean) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-distclean-mmalloc distclean-mmalloc -maybe-distclean-mmalloc: -@if mmalloc -maybe-distclean-mmalloc: distclean-mmalloc +.PHONY: maybe-distclean-patch distclean-patch +maybe-distclean-patch: +@if patch +maybe-distclean-patch: distclean-patch -distclean-mmalloc: - @[ -f ./mmalloc/Makefile ] || exit 0; \ +distclean-patch: + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14540,8 +14556,8 @@ distclean-mmalloc: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing distclean in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14549,15 +14565,15 @@ distclean-mmalloc: distclean) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc -maybe-maintainer-clean-mmalloc: -@if mmalloc -maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc +.PHONY: maybe-maintainer-clean-patch maintainer-clean-patch +maybe-maintainer-clean-patch: +@if patch +maybe-maintainer-clean-patch: maintainer-clean-patch -maintainer-clean-mmalloc: - @[ -f ./mmalloc/Makefile ] || exit 0; \ +maintainer-clean-patch: + @[ -f ./patch/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14565,8 +14581,8 @@ maintainer-clean-mmalloc: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in mmalloc" ; \ - (cd mmalloc && \ + echo "Doing maintainer-clean in patch" ; \ + (cd patch && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14574,87 +14590,87 @@ maintainer-clean-mmalloc: maintainer-clean) \ || exit 1 -@endif mmalloc +@endif patch -.PHONY: configure-patch maybe-configure-patch -maybe-configure-patch: -@if patch -maybe-configure-patch: configure-patch -configure-patch: - @test ! -f patch/Makefile || exit 0; \ - [ -d patch ] || mkdir patch; \ +.PHONY: configure-perl maybe-configure-perl +maybe-configure-perl: +@if perl +maybe-configure-perl: configure-perl +configure-perl: + @test ! -f perl/Makefile || exit 0; \ + [ -d perl ] || mkdir perl; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in patch; \ - cd patch || exit 1; \ + echo Configuring in perl; \ + cd perl || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/patch"; \ - libsrcdir="$$s/patch";; \ + srcdiroption="--srcdir=$(srcdir)/perl"; \ + libsrcdir="$$s/perl";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/patch"; \ - libsrcdir="$$s/patch";; \ + srcdiroption="--srcdir=../$(srcdir)/perl"; \ + libsrcdir="$$s/perl";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif patch +@endif perl -.PHONY: all-patch maybe-all-patch -maybe-all-patch: -@if patch -maybe-all-patch: all-patch -all-patch: configure-patch +.PHONY: all-perl maybe-all-perl +maybe-all-perl: +@if perl +maybe-all-perl: all-perl +all-perl: configure-perl @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd patch && $(MAKE) $(FLAGS_TO_PASS) all) -@endif patch + (cd perl && $(MAKE) $(FLAGS_TO_PASS) all) +@endif perl -.PHONY: check-patch maybe-check-patch -maybe-check-patch: -@if patch -maybe-check-patch: check-patch +.PHONY: check-perl maybe-check-perl +maybe-check-perl: +@if perl +maybe-check-perl: check-perl -check-patch: +check-perl: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd patch && $(MAKE) $(FLAGS_TO_PASS) check) + (cd perl && $(MAKE) $(FLAGS_TO_PASS) check) -@endif patch +@endif perl -.PHONY: install-patch maybe-install-patch -maybe-install-patch: -@if patch -maybe-install-patch: install-patch +.PHONY: install-perl maybe-install-perl +maybe-install-perl: +@if perl +maybe-install-perl: install-perl -install-patch: installdirs +install-perl: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd patch && $(MAKE) $(FLAGS_TO_PASS) install) + (cd perl && $(MAKE) $(FLAGS_TO_PASS) install) -@endif patch +@endif perl # Other targets (info, dvi, etc.) -.PHONY: maybe-info-patch info-patch -maybe-info-patch: -@if patch -maybe-info-patch: info-patch +.PHONY: maybe-info-perl info-perl +maybe-info-perl: +@if perl +maybe-info-perl: info-perl -info-patch: \ - configure-patch - @[ -f ./patch/Makefile ] || exit 0; \ +info-perl: \ + configure-perl + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14662,8 +14678,8 @@ info-patch: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in patch" ; \ - (cd patch && \ + echo "Doing info in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14671,16 +14687,16 @@ info-patch: \ info) \ || exit 1 -@endif patch - -.PHONY: maybe-dvi-patch dvi-patch -maybe-dvi-patch: -@if patch -maybe-dvi-patch: dvi-patch +@endif perl -dvi-patch: \ - configure-patch - @[ -f ./patch/Makefile ] || exit 0; \ +.PHONY: maybe-dvi-perl dvi-perl +maybe-dvi-perl: +@if perl +maybe-dvi-perl: dvi-perl + +dvi-perl: \ + configure-perl + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14688,8 +14704,8 @@ dvi-patch: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in patch" ; \ - (cd patch && \ + echo "Doing dvi in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14697,16 +14713,16 @@ dvi-patch: \ dvi) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-TAGS-patch TAGS-patch -maybe-TAGS-patch: -@if patch -maybe-TAGS-patch: TAGS-patch +.PHONY: maybe-TAGS-perl TAGS-perl +maybe-TAGS-perl: +@if perl +maybe-TAGS-perl: TAGS-perl -TAGS-patch: \ - configure-patch - @[ -f ./patch/Makefile ] || exit 0; \ +TAGS-perl: \ + configure-perl + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14714,8 +14730,8 @@ TAGS-patch: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in patch" ; \ - (cd patch && \ + echo "Doing TAGS in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14723,17 +14739,17 @@ TAGS-patch: \ TAGS) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-install-info-patch install-info-patch -maybe-install-info-patch: -@if patch -maybe-install-info-patch: install-info-patch +.PHONY: maybe-install-info-perl install-info-perl +maybe-install-info-perl: +@if perl +maybe-install-info-perl: install-info-perl -install-info-patch: \ - configure-patch \ - info-patch - @[ -f ./patch/Makefile ] || exit 0; \ +install-info-perl: \ + configure-perl \ + info-perl + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14741,8 +14757,8 @@ install-info-patch: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in patch" ; \ - (cd patch && \ + echo "Doing install-info in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14750,16 +14766,16 @@ install-info-patch: \ install-info) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-installcheck-patch installcheck-patch -maybe-installcheck-patch: -@if patch -maybe-installcheck-patch: installcheck-patch +.PHONY: maybe-installcheck-perl installcheck-perl +maybe-installcheck-perl: +@if perl +maybe-installcheck-perl: installcheck-perl -installcheck-patch: \ - configure-patch - @[ -f ./patch/Makefile ] || exit 0; \ +installcheck-perl: \ + configure-perl + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14767,8 +14783,8 @@ installcheck-patch: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in patch" ; \ - (cd patch && \ + echo "Doing installcheck in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14776,15 +14792,15 @@ installcheck-patch: \ installcheck) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-mostlyclean-patch mostlyclean-patch -maybe-mostlyclean-patch: -@if patch -maybe-mostlyclean-patch: mostlyclean-patch +.PHONY: maybe-mostlyclean-perl mostlyclean-perl +maybe-mostlyclean-perl: +@if perl +maybe-mostlyclean-perl: mostlyclean-perl -mostlyclean-patch: - @[ -f ./patch/Makefile ] || exit 0; \ +mostlyclean-perl: + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14792,8 +14808,8 @@ mostlyclean-patch: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in patch" ; \ - (cd patch && \ + echo "Doing mostlyclean in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14801,15 +14817,15 @@ mostlyclean-patch: mostlyclean) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-clean-patch clean-patch -maybe-clean-patch: -@if patch -maybe-clean-patch: clean-patch +.PHONY: maybe-clean-perl clean-perl +maybe-clean-perl: +@if perl +maybe-clean-perl: clean-perl -clean-patch: - @[ -f ./patch/Makefile ] || exit 0; \ +clean-perl: + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14817,8 +14833,8 @@ clean-patch: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in patch" ; \ - (cd patch && \ + echo "Doing clean in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14826,15 +14842,15 @@ clean-patch: clean) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-distclean-patch distclean-patch -maybe-distclean-patch: -@if patch -maybe-distclean-patch: distclean-patch +.PHONY: maybe-distclean-perl distclean-perl +maybe-distclean-perl: +@if perl +maybe-distclean-perl: distclean-perl -distclean-patch: - @[ -f ./patch/Makefile ] || exit 0; \ +distclean-perl: + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14842,8 +14858,8 @@ distclean-patch: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in patch" ; \ - (cd patch && \ + echo "Doing distclean in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14851,15 +14867,15 @@ distclean-patch: distclean) \ || exit 1 -@endif patch +@endif perl -.PHONY: maybe-maintainer-clean-patch maintainer-clean-patch -maybe-maintainer-clean-patch: -@if patch -maybe-maintainer-clean-patch: maintainer-clean-patch +.PHONY: maybe-maintainer-clean-perl maintainer-clean-perl +maybe-maintainer-clean-perl: +@if perl +maybe-maintainer-clean-perl: maintainer-clean-perl -maintainer-clean-patch: - @[ -f ./patch/Makefile ] || exit 0; \ +maintainer-clean-perl: + @[ -f ./perl/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14867,8 +14883,8 @@ maintainer-clean-patch: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in patch" ; \ - (cd patch && \ + echo "Doing maintainer-clean in perl" ; \ + (cd perl && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14876,87 +14892,87 @@ maintainer-clean-patch: maintainer-clean) \ || exit 1 -@endif patch +@endif perl -.PHONY: configure-perl maybe-configure-perl -maybe-configure-perl: -@if perl -maybe-configure-perl: configure-perl -configure-perl: - @test ! -f perl/Makefile || exit 0; \ - [ -d perl ] || mkdir perl; \ +.PHONY: configure-prms maybe-configure-prms +maybe-configure-prms: +@if prms +maybe-configure-prms: configure-prms +configure-prms: + @test ! -f prms/Makefile || exit 0; \ + [ -d prms ] || mkdir prms; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in perl; \ - cd perl || exit 1; \ + echo Configuring in prms; \ + cd prms || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/perl"; \ - libsrcdir="$$s/perl";; \ + srcdiroption="--srcdir=$(srcdir)/prms"; \ + libsrcdir="$$s/prms";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/perl"; \ - libsrcdir="$$s/perl";; \ + srcdiroption="--srcdir=../$(srcdir)/prms"; \ + libsrcdir="$$s/prms";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif perl +@endif prms -.PHONY: all-perl maybe-all-perl -maybe-all-perl: -@if perl -maybe-all-perl: all-perl -all-perl: configure-perl +.PHONY: all-prms maybe-all-prms +maybe-all-prms: +@if prms +maybe-all-prms: all-prms +all-prms: configure-prms @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd perl && $(MAKE) $(FLAGS_TO_PASS) all) -@endif perl + (cd prms && $(MAKE) $(FLAGS_TO_PASS) all) +@endif prms -.PHONY: check-perl maybe-check-perl -maybe-check-perl: -@if perl -maybe-check-perl: check-perl +.PHONY: check-prms maybe-check-prms +maybe-check-prms: +@if prms +maybe-check-prms: check-prms -check-perl: +check-prms: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd perl && $(MAKE) $(FLAGS_TO_PASS) check) + (cd prms && $(MAKE) $(FLAGS_TO_PASS) check) -@endif perl +@endif prms -.PHONY: install-perl maybe-install-perl -maybe-install-perl: -@if perl -maybe-install-perl: install-perl +.PHONY: install-prms maybe-install-prms +maybe-install-prms: +@if prms +maybe-install-prms: install-prms -install-perl: installdirs +install-prms: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd perl && $(MAKE) $(FLAGS_TO_PASS) install) + (cd prms && $(MAKE) $(FLAGS_TO_PASS) install) -@endif perl +@endif prms # Other targets (info, dvi, etc.) -.PHONY: maybe-info-perl info-perl -maybe-info-perl: -@if perl -maybe-info-perl: info-perl +.PHONY: maybe-info-prms info-prms +maybe-info-prms: +@if prms +maybe-info-prms: info-prms -info-perl: \ - configure-perl - @[ -f ./perl/Makefile ] || exit 0; \ +info-prms: \ + configure-prms + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14964,8 +14980,8 @@ info-perl: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in perl" ; \ - (cd perl && \ + echo "Doing info in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14973,16 +14989,16 @@ info-perl: \ info) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-dvi-perl dvi-perl -maybe-dvi-perl: -@if perl -maybe-dvi-perl: dvi-perl +.PHONY: maybe-dvi-prms dvi-prms +maybe-dvi-prms: +@if prms +maybe-dvi-prms: dvi-prms -dvi-perl: \ - configure-perl - @[ -f ./perl/Makefile ] || exit 0; \ +dvi-prms: \ + configure-prms + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -14990,8 +15006,8 @@ dvi-perl: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in perl" ; \ - (cd perl && \ + echo "Doing dvi in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -14999,16 +15015,16 @@ dvi-perl: \ dvi) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-TAGS-perl TAGS-perl -maybe-TAGS-perl: -@if perl -maybe-TAGS-perl: TAGS-perl +.PHONY: maybe-TAGS-prms TAGS-prms +maybe-TAGS-prms: +@if prms +maybe-TAGS-prms: TAGS-prms -TAGS-perl: \ - configure-perl - @[ -f ./perl/Makefile ] || exit 0; \ +TAGS-prms: \ + configure-prms + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15016,8 +15032,8 @@ TAGS-perl: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in perl" ; \ - (cd perl && \ + echo "Doing TAGS in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15025,17 +15041,17 @@ TAGS-perl: \ TAGS) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-install-info-perl install-info-perl -maybe-install-info-perl: -@if perl -maybe-install-info-perl: install-info-perl +.PHONY: maybe-install-info-prms install-info-prms +maybe-install-info-prms: +@if prms +maybe-install-info-prms: install-info-prms -install-info-perl: \ - configure-perl \ - info-perl - @[ -f ./perl/Makefile ] || exit 0; \ +install-info-prms: \ + configure-prms \ + info-prms + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15043,8 +15059,8 @@ install-info-perl: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in perl" ; \ - (cd perl && \ + echo "Doing install-info in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15052,16 +15068,16 @@ install-info-perl: \ install-info) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-installcheck-perl installcheck-perl -maybe-installcheck-perl: -@if perl -maybe-installcheck-perl: installcheck-perl +.PHONY: maybe-installcheck-prms installcheck-prms +maybe-installcheck-prms: +@if prms +maybe-installcheck-prms: installcheck-prms -installcheck-perl: \ - configure-perl - @[ -f ./perl/Makefile ] || exit 0; \ +installcheck-prms: \ + configure-prms + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15069,8 +15085,8 @@ installcheck-perl: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in perl" ; \ - (cd perl && \ + echo "Doing installcheck in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15078,15 +15094,15 @@ installcheck-perl: \ installcheck) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-mostlyclean-perl mostlyclean-perl -maybe-mostlyclean-perl: -@if perl -maybe-mostlyclean-perl: mostlyclean-perl +.PHONY: maybe-mostlyclean-prms mostlyclean-prms +maybe-mostlyclean-prms: +@if prms +maybe-mostlyclean-prms: mostlyclean-prms -mostlyclean-perl: - @[ -f ./perl/Makefile ] || exit 0; \ +mostlyclean-prms: + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15094,8 +15110,8 @@ mostlyclean-perl: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in perl" ; \ - (cd perl && \ + echo "Doing mostlyclean in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15103,15 +15119,15 @@ mostlyclean-perl: mostlyclean) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-clean-perl clean-perl -maybe-clean-perl: -@if perl -maybe-clean-perl: clean-perl +.PHONY: maybe-clean-prms clean-prms +maybe-clean-prms: +@if prms +maybe-clean-prms: clean-prms -clean-perl: - @[ -f ./perl/Makefile ] || exit 0; \ +clean-prms: + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15119,8 +15135,8 @@ clean-perl: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in perl" ; \ - (cd perl && \ + echo "Doing clean in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15128,15 +15144,15 @@ clean-perl: clean) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-distclean-perl distclean-perl -maybe-distclean-perl: -@if perl -maybe-distclean-perl: distclean-perl +.PHONY: maybe-distclean-prms distclean-prms +maybe-distclean-prms: +@if prms +maybe-distclean-prms: distclean-prms -distclean-perl: - @[ -f ./perl/Makefile ] || exit 0; \ +distclean-prms: + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15144,8 +15160,8 @@ distclean-perl: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in perl" ; \ - (cd perl && \ + echo "Doing distclean in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15153,15 +15169,15 @@ distclean-perl: distclean) \ || exit 1 -@endif perl +@endif prms -.PHONY: maybe-maintainer-clean-perl maintainer-clean-perl -maybe-maintainer-clean-perl: -@if perl -maybe-maintainer-clean-perl: maintainer-clean-perl +.PHONY: maybe-maintainer-clean-prms maintainer-clean-prms +maybe-maintainer-clean-prms: +@if prms +maybe-maintainer-clean-prms: maintainer-clean-prms -maintainer-clean-perl: - @[ -f ./perl/Makefile ] || exit 0; \ +maintainer-clean-prms: + @[ -f ./prms/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15169,8 +15185,8 @@ maintainer-clean-perl: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in perl" ; \ - (cd perl && \ + echo "Doing maintainer-clean in prms" ; \ + (cd prms && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15178,87 +15194,87 @@ maintainer-clean-perl: maintainer-clean) \ || exit 1 -@endif perl +@endif prms -.PHONY: configure-prms maybe-configure-prms -maybe-configure-prms: -@if prms -maybe-configure-prms: configure-prms -configure-prms: - @test ! -f prms/Makefile || exit 0; \ - [ -d prms ] || mkdir prms; \ +.PHONY: configure-rcs maybe-configure-rcs +maybe-configure-rcs: +@if rcs +maybe-configure-rcs: configure-rcs +configure-rcs: + @test ! -f rcs/Makefile || exit 0; \ + [ -d rcs ] || mkdir rcs; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in prms; \ - cd prms || exit 1; \ + echo Configuring in rcs; \ + cd rcs || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/prms"; \ - libsrcdir="$$s/prms";; \ + srcdiroption="--srcdir=$(srcdir)/rcs"; \ + libsrcdir="$$s/rcs";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/prms"; \ - libsrcdir="$$s/prms";; \ + srcdiroption="--srcdir=../$(srcdir)/rcs"; \ + libsrcdir="$$s/rcs";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif prms +@endif rcs -.PHONY: all-prms maybe-all-prms -maybe-all-prms: -@if prms -maybe-all-prms: all-prms -all-prms: configure-prms +.PHONY: all-rcs maybe-all-rcs +maybe-all-rcs: +@if rcs +maybe-all-rcs: all-rcs +all-rcs: configure-rcs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd prms && $(MAKE) $(FLAGS_TO_PASS) all) -@endif prms + (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all) +@endif rcs -.PHONY: check-prms maybe-check-prms -maybe-check-prms: -@if prms -maybe-check-prms: check-prms +.PHONY: check-rcs maybe-check-rcs +maybe-check-rcs: +@if rcs +maybe-check-rcs: check-rcs -check-prms: +check-rcs: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd prms && $(MAKE) $(FLAGS_TO_PASS) check) + (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check) -@endif prms +@endif rcs -.PHONY: install-prms maybe-install-prms -maybe-install-prms: -@if prms -maybe-install-prms: install-prms +.PHONY: install-rcs maybe-install-rcs +maybe-install-rcs: +@if rcs +maybe-install-rcs: install-rcs -install-prms: installdirs +install-rcs: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd prms && $(MAKE) $(FLAGS_TO_PASS) install) + (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install) -@endif prms +@endif rcs # Other targets (info, dvi, etc.) -.PHONY: maybe-info-prms info-prms -maybe-info-prms: -@if prms -maybe-info-prms: info-prms +.PHONY: maybe-info-rcs info-rcs +maybe-info-rcs: +@if rcs +maybe-info-rcs: info-rcs -info-prms: \ - configure-prms - @[ -f ./prms/Makefile ] || exit 0; \ +info-rcs: \ + configure-rcs + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15266,8 +15282,8 @@ info-prms: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in prms" ; \ - (cd prms && \ + echo "Doing info in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15275,16 +15291,16 @@ info-prms: \ info) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-dvi-prms dvi-prms -maybe-dvi-prms: -@if prms -maybe-dvi-prms: dvi-prms +.PHONY: maybe-dvi-rcs dvi-rcs +maybe-dvi-rcs: +@if rcs +maybe-dvi-rcs: dvi-rcs -dvi-prms: \ - configure-prms - @[ -f ./prms/Makefile ] || exit 0; \ +dvi-rcs: \ + configure-rcs + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15292,8 +15308,8 @@ dvi-prms: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in prms" ; \ - (cd prms && \ + echo "Doing dvi in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15301,16 +15317,16 @@ dvi-prms: \ dvi) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-TAGS-prms TAGS-prms -maybe-TAGS-prms: -@if prms -maybe-TAGS-prms: TAGS-prms +.PHONY: maybe-TAGS-rcs TAGS-rcs +maybe-TAGS-rcs: +@if rcs +maybe-TAGS-rcs: TAGS-rcs -TAGS-prms: \ - configure-prms - @[ -f ./prms/Makefile ] || exit 0; \ +TAGS-rcs: \ + configure-rcs + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15318,8 +15334,8 @@ TAGS-prms: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in prms" ; \ - (cd prms && \ + echo "Doing TAGS in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15327,17 +15343,17 @@ TAGS-prms: \ TAGS) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-install-info-prms install-info-prms -maybe-install-info-prms: -@if prms -maybe-install-info-prms: install-info-prms +.PHONY: maybe-install-info-rcs install-info-rcs +maybe-install-info-rcs: +@if rcs +maybe-install-info-rcs: install-info-rcs -install-info-prms: \ - configure-prms \ - info-prms - @[ -f ./prms/Makefile ] || exit 0; \ +install-info-rcs: \ + configure-rcs \ + info-rcs + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15345,8 +15361,8 @@ install-info-prms: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in prms" ; \ - (cd prms && \ + echo "Doing install-info in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15354,16 +15370,16 @@ install-info-prms: \ install-info) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-installcheck-prms installcheck-prms -maybe-installcheck-prms: -@if prms -maybe-installcheck-prms: installcheck-prms +.PHONY: maybe-installcheck-rcs installcheck-rcs +maybe-installcheck-rcs: +@if rcs +maybe-installcheck-rcs: installcheck-rcs -installcheck-prms: \ - configure-prms - @[ -f ./prms/Makefile ] || exit 0; \ +installcheck-rcs: \ + configure-rcs + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15371,8 +15387,8 @@ installcheck-prms: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in prms" ; \ - (cd prms && \ + echo "Doing installcheck in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15380,15 +15396,15 @@ installcheck-prms: \ installcheck) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-mostlyclean-prms mostlyclean-prms -maybe-mostlyclean-prms: -@if prms -maybe-mostlyclean-prms: mostlyclean-prms +.PHONY: maybe-mostlyclean-rcs mostlyclean-rcs +maybe-mostlyclean-rcs: +@if rcs +maybe-mostlyclean-rcs: mostlyclean-rcs -mostlyclean-prms: - @[ -f ./prms/Makefile ] || exit 0; \ +mostlyclean-rcs: + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15396,8 +15412,8 @@ mostlyclean-prms: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in prms" ; \ - (cd prms && \ + echo "Doing mostlyclean in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15405,15 +15421,15 @@ mostlyclean-prms: mostlyclean) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-clean-prms clean-prms -maybe-clean-prms: -@if prms -maybe-clean-prms: clean-prms +.PHONY: maybe-clean-rcs clean-rcs +maybe-clean-rcs: +@if rcs +maybe-clean-rcs: clean-rcs -clean-prms: - @[ -f ./prms/Makefile ] || exit 0; \ +clean-rcs: + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15421,8 +15437,8 @@ clean-prms: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in prms" ; \ - (cd prms && \ + echo "Doing clean in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15430,15 +15446,15 @@ clean-prms: clean) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-distclean-prms distclean-prms -maybe-distclean-prms: -@if prms -maybe-distclean-prms: distclean-prms +.PHONY: maybe-distclean-rcs distclean-rcs +maybe-distclean-rcs: +@if rcs +maybe-distclean-rcs: distclean-rcs -distclean-prms: - @[ -f ./prms/Makefile ] || exit 0; \ +distclean-rcs: + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15446,8 +15462,8 @@ distclean-prms: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in prms" ; \ - (cd prms && \ + echo "Doing distclean in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15455,15 +15471,15 @@ distclean-prms: distclean) \ || exit 1 -@endif prms +@endif rcs -.PHONY: maybe-maintainer-clean-prms maintainer-clean-prms -maybe-maintainer-clean-prms: -@if prms -maybe-maintainer-clean-prms: maintainer-clean-prms +.PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs +maybe-maintainer-clean-rcs: +@if rcs +maybe-maintainer-clean-rcs: maintainer-clean-rcs -maintainer-clean-prms: - @[ -f ./prms/Makefile ] || exit 0; \ +maintainer-clean-rcs: + @[ -f ./rcs/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15471,8 +15487,8 @@ maintainer-clean-prms: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in prms" ; \ - (cd prms && \ + echo "Doing maintainer-clean in rcs" ; \ + (cd rcs && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15480,87 +15496,87 @@ maintainer-clean-prms: maintainer-clean) \ || exit 1 -@endif prms +@endif rcs -.PHONY: configure-rcs maybe-configure-rcs -maybe-configure-rcs: -@if rcs -maybe-configure-rcs: configure-rcs -configure-rcs: - @test ! -f rcs/Makefile || exit 0; \ - [ -d rcs ] || mkdir rcs; \ +.PHONY: configure-readline maybe-configure-readline +maybe-configure-readline: +@if readline +maybe-configure-readline: configure-readline +configure-readline: + @test ! -f readline/Makefile || exit 0; \ + [ -d readline ] || mkdir readline; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in rcs; \ - cd rcs || exit 1; \ + echo Configuring in readline; \ + cd readline || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/rcs"; \ - libsrcdir="$$s/rcs";; \ + srcdiroption="--srcdir=$(srcdir)/readline"; \ + libsrcdir="$$s/readline";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/rcs"; \ - libsrcdir="$$s/rcs";; \ + srcdiroption="--srcdir=../$(srcdir)/readline"; \ + libsrcdir="$$s/readline";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif rcs +@endif readline -.PHONY: all-rcs maybe-all-rcs -maybe-all-rcs: -@if rcs -maybe-all-rcs: all-rcs -all-rcs: configure-rcs +.PHONY: all-readline maybe-all-readline +maybe-all-readline: +@if readline +maybe-all-readline: all-readline +all-readline: configure-readline @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all) -@endif rcs + (cd readline && $(MAKE) $(FLAGS_TO_PASS) all) +@endif readline -.PHONY: check-rcs maybe-check-rcs -maybe-check-rcs: -@if rcs -maybe-check-rcs: check-rcs +.PHONY: check-readline maybe-check-readline +maybe-check-readline: +@if readline +maybe-check-readline: check-readline -check-rcs: +check-readline: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check) + (cd readline && $(MAKE) $(FLAGS_TO_PASS) check) -@endif rcs +@endif readline -.PHONY: install-rcs maybe-install-rcs -maybe-install-rcs: -@if rcs -maybe-install-rcs: install-rcs +.PHONY: install-readline maybe-install-readline +maybe-install-readline: +@if readline +maybe-install-readline: install-readline -install-rcs: installdirs +install-readline: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install) + (cd readline && $(MAKE) $(FLAGS_TO_PASS) install) -@endif rcs +@endif readline # Other targets (info, dvi, etc.) -.PHONY: maybe-info-rcs info-rcs -maybe-info-rcs: -@if rcs -maybe-info-rcs: info-rcs +.PHONY: maybe-info-readline info-readline +maybe-info-readline: +@if readline +maybe-info-readline: info-readline -info-rcs: \ - configure-rcs - @[ -f ./rcs/Makefile ] || exit 0; \ +info-readline: \ + configure-readline + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15568,8 +15584,8 @@ info-rcs: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in rcs" ; \ - (cd rcs && \ + echo "Doing info in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15577,16 +15593,16 @@ info-rcs: \ info) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-dvi-rcs dvi-rcs -maybe-dvi-rcs: -@if rcs -maybe-dvi-rcs: dvi-rcs +.PHONY: maybe-dvi-readline dvi-readline +maybe-dvi-readline: +@if readline +maybe-dvi-readline: dvi-readline -dvi-rcs: \ - configure-rcs - @[ -f ./rcs/Makefile ] || exit 0; \ +dvi-readline: \ + configure-readline + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15594,8 +15610,8 @@ dvi-rcs: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in rcs" ; \ - (cd rcs && \ + echo "Doing dvi in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15603,16 +15619,16 @@ dvi-rcs: \ dvi) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-TAGS-rcs TAGS-rcs -maybe-TAGS-rcs: -@if rcs -maybe-TAGS-rcs: TAGS-rcs +.PHONY: maybe-TAGS-readline TAGS-readline +maybe-TAGS-readline: +@if readline +maybe-TAGS-readline: TAGS-readline -TAGS-rcs: \ - configure-rcs - @[ -f ./rcs/Makefile ] || exit 0; \ +TAGS-readline: \ + configure-readline + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15620,8 +15636,8 @@ TAGS-rcs: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in rcs" ; \ - (cd rcs && \ + echo "Doing TAGS in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15629,17 +15645,17 @@ TAGS-rcs: \ TAGS) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-install-info-rcs install-info-rcs -maybe-install-info-rcs: -@if rcs -maybe-install-info-rcs: install-info-rcs +.PHONY: maybe-install-info-readline install-info-readline +maybe-install-info-readline: +@if readline +maybe-install-info-readline: install-info-readline -install-info-rcs: \ - configure-rcs \ - info-rcs - @[ -f ./rcs/Makefile ] || exit 0; \ +install-info-readline: \ + configure-readline \ + info-readline + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15647,8 +15663,8 @@ install-info-rcs: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in rcs" ; \ - (cd rcs && \ + echo "Doing install-info in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15656,16 +15672,16 @@ install-info-rcs: \ install-info) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-installcheck-rcs installcheck-rcs -maybe-installcheck-rcs: -@if rcs -maybe-installcheck-rcs: installcheck-rcs +.PHONY: maybe-installcheck-readline installcheck-readline +maybe-installcheck-readline: +@if readline +maybe-installcheck-readline: installcheck-readline -installcheck-rcs: \ - configure-rcs - @[ -f ./rcs/Makefile ] || exit 0; \ +installcheck-readline: \ + configure-readline + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15673,8 +15689,8 @@ installcheck-rcs: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in rcs" ; \ - (cd rcs && \ + echo "Doing installcheck in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15682,15 +15698,15 @@ installcheck-rcs: \ installcheck) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-mostlyclean-rcs mostlyclean-rcs -maybe-mostlyclean-rcs: -@if rcs -maybe-mostlyclean-rcs: mostlyclean-rcs +.PHONY: maybe-mostlyclean-readline mostlyclean-readline +maybe-mostlyclean-readline: +@if readline +maybe-mostlyclean-readline: mostlyclean-readline -mostlyclean-rcs: - @[ -f ./rcs/Makefile ] || exit 0; \ +mostlyclean-readline: + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15698,8 +15714,8 @@ mostlyclean-rcs: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in rcs" ; \ - (cd rcs && \ + echo "Doing mostlyclean in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15707,15 +15723,15 @@ mostlyclean-rcs: mostlyclean) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-clean-rcs clean-rcs -maybe-clean-rcs: -@if rcs -maybe-clean-rcs: clean-rcs +.PHONY: maybe-clean-readline clean-readline +maybe-clean-readline: +@if readline +maybe-clean-readline: clean-readline -clean-rcs: - @[ -f ./rcs/Makefile ] || exit 0; \ +clean-readline: + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15723,8 +15739,8 @@ clean-rcs: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in rcs" ; \ - (cd rcs && \ + echo "Doing clean in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15732,15 +15748,15 @@ clean-rcs: clean) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-distclean-rcs distclean-rcs -maybe-distclean-rcs: -@if rcs -maybe-distclean-rcs: distclean-rcs +.PHONY: maybe-distclean-readline distclean-readline +maybe-distclean-readline: +@if readline +maybe-distclean-readline: distclean-readline -distclean-rcs: - @[ -f ./rcs/Makefile ] || exit 0; \ +distclean-readline: + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15748,8 +15764,8 @@ distclean-rcs: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in rcs" ; \ - (cd rcs && \ + echo "Doing distclean in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15757,15 +15773,15 @@ distclean-rcs: distclean) \ || exit 1 -@endif rcs +@endif readline -.PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs -maybe-maintainer-clean-rcs: -@if rcs -maybe-maintainer-clean-rcs: maintainer-clean-rcs +.PHONY: maybe-maintainer-clean-readline maintainer-clean-readline +maybe-maintainer-clean-readline: +@if readline +maybe-maintainer-clean-readline: maintainer-clean-readline -maintainer-clean-rcs: - @[ -f ./rcs/Makefile ] || exit 0; \ +maintainer-clean-readline: + @[ -f ./readline/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15773,8 +15789,8 @@ maintainer-clean-rcs: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in rcs" ; \ - (cd rcs && \ + echo "Doing maintainer-clean in readline" ; \ + (cd readline && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15782,87 +15798,77 @@ maintainer-clean-rcs: maintainer-clean) \ || exit 1 -@endif rcs +@endif readline -.PHONY: configure-readline maybe-configure-readline -maybe-configure-readline: -@if readline -maybe-configure-readline: configure-readline -configure-readline: - @test ! -f readline/Makefile || exit 0; \ - [ -d readline ] || mkdir readline; \ +.PHONY: configure-release maybe-configure-release +maybe-configure-release: +@if release +maybe-configure-release: configure-release +configure-release: + @test ! -f release/Makefile || exit 0; \ + [ -d release ] || mkdir release; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in readline; \ - cd readline || exit 1; \ + echo Configuring in release; \ + cd release || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/readline"; \ - libsrcdir="$$s/readline";; \ + srcdiroption="--srcdir=$(srcdir)/release"; \ + libsrcdir="$$s/release";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/readline"; \ - libsrcdir="$$s/readline";; \ + srcdiroption="--srcdir=../$(srcdir)/release"; \ + libsrcdir="$$s/release";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif readline +@endif release -.PHONY: all-readline maybe-all-readline -maybe-all-readline: -@if readline -maybe-all-readline: all-readline -all-readline: configure-readline +.PHONY: all-release maybe-all-release +maybe-all-release: +@if release +maybe-all-release: all-release +all-release: configure-release @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd readline && $(MAKE) $(FLAGS_TO_PASS) all) -@endif readline + (cd release && $(MAKE) $(FLAGS_TO_PASS) all) +@endif release -.PHONY: check-readline maybe-check-readline -maybe-check-readline: -@if readline -maybe-check-readline: check-readline +.PHONY: check-release maybe-check-release +maybe-check-release: +@if release +maybe-check-release: check-release -check-readline: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd readline && $(MAKE) $(FLAGS_TO_PASS) check) +check-release: -@endif readline +@endif release -.PHONY: install-readline maybe-install-readline -maybe-install-readline: -@if readline -maybe-install-readline: install-readline +.PHONY: install-release maybe-install-release +maybe-install-release: +@if release +maybe-install-release: install-release -install-readline: installdirs - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd readline && $(MAKE) $(FLAGS_TO_PASS) install) +install-release: -@endif readline +@endif release # Other targets (info, dvi, etc.) -.PHONY: maybe-info-readline info-readline -maybe-info-readline: -@if readline -maybe-info-readline: info-readline +.PHONY: maybe-info-release info-release +maybe-info-release: +@if release +maybe-info-release: info-release -info-readline: \ - configure-readline - @[ -f ./readline/Makefile ] || exit 0; \ +info-release: \ + configure-release + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15870,8 +15876,8 @@ info-readline: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in readline" ; \ - (cd readline && \ + echo "Doing info in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15879,16 +15885,16 @@ info-readline: \ info) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-dvi-readline dvi-readline -maybe-dvi-readline: -@if readline -maybe-dvi-readline: dvi-readline +.PHONY: maybe-dvi-release dvi-release +maybe-dvi-release: +@if release +maybe-dvi-release: dvi-release -dvi-readline: \ - configure-readline - @[ -f ./readline/Makefile ] || exit 0; \ +dvi-release: \ + configure-release + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15896,8 +15902,8 @@ dvi-readline: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in readline" ; \ - (cd readline && \ + echo "Doing dvi in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15905,16 +15911,16 @@ dvi-readline: \ dvi) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-TAGS-readline TAGS-readline -maybe-TAGS-readline: -@if readline -maybe-TAGS-readline: TAGS-readline +.PHONY: maybe-TAGS-release TAGS-release +maybe-TAGS-release: +@if release +maybe-TAGS-release: TAGS-release -TAGS-readline: \ - configure-readline - @[ -f ./readline/Makefile ] || exit 0; \ +TAGS-release: \ + configure-release + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15922,8 +15928,8 @@ TAGS-readline: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in readline" ; \ - (cd readline && \ + echo "Doing TAGS in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15931,17 +15937,17 @@ TAGS-readline: \ TAGS) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-install-info-readline install-info-readline -maybe-install-info-readline: -@if readline -maybe-install-info-readline: install-info-readline +.PHONY: maybe-install-info-release install-info-release +maybe-install-info-release: +@if release +maybe-install-info-release: install-info-release -install-info-readline: \ - configure-readline \ - info-readline - @[ -f ./readline/Makefile ] || exit 0; \ +install-info-release: \ + configure-release \ + info-release + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15949,25 +15955,25 @@ install-info-readline: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in readline" ; \ - (cd readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + echo "Doing install-info in release" ; \ + (cd release && \ + $(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 readline +@endif release -.PHONY: maybe-installcheck-readline installcheck-readline -maybe-installcheck-readline: -@if readline -maybe-installcheck-readline: installcheck-readline +.PHONY: maybe-installcheck-release installcheck-release +maybe-installcheck-release: +@if release +maybe-installcheck-release: installcheck-release -installcheck-readline: \ - configure-readline - @[ -f ./readline/Makefile ] || exit 0; \ +installcheck-release: \ + configure-release + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -15975,8 +15981,8 @@ installcheck-readline: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in readline" ; \ - (cd readline && \ + echo "Doing installcheck in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -15984,15 +15990,15 @@ installcheck-readline: \ installcheck) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-mostlyclean-readline mostlyclean-readline -maybe-mostlyclean-readline: -@if readline -maybe-mostlyclean-readline: mostlyclean-readline +.PHONY: maybe-mostlyclean-release mostlyclean-release +maybe-mostlyclean-release: +@if release +maybe-mostlyclean-release: mostlyclean-release -mostlyclean-readline: - @[ -f ./readline/Makefile ] || exit 0; \ +mostlyclean-release: + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16000,8 +16006,8 @@ mostlyclean-readline: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in readline" ; \ - (cd readline && \ + echo "Doing mostlyclean in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16009,15 +16015,15 @@ mostlyclean-readline: mostlyclean) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-clean-readline clean-readline -maybe-clean-readline: -@if readline -maybe-clean-readline: clean-readline +.PHONY: maybe-clean-release clean-release +maybe-clean-release: +@if release +maybe-clean-release: clean-release -clean-readline: - @[ -f ./readline/Makefile ] || exit 0; \ +clean-release: + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16025,8 +16031,8 @@ clean-readline: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in readline" ; \ - (cd readline && \ + echo "Doing clean in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16034,15 +16040,15 @@ clean-readline: clean) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-distclean-readline distclean-readline -maybe-distclean-readline: -@if readline -maybe-distclean-readline: distclean-readline +.PHONY: maybe-distclean-release distclean-release +maybe-distclean-release: +@if release +maybe-distclean-release: distclean-release -distclean-readline: - @[ -f ./readline/Makefile ] || exit 0; \ +distclean-release: + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16050,8 +16056,8 @@ distclean-readline: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in readline" ; \ - (cd readline && \ + echo "Doing distclean in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16059,15 +16065,15 @@ distclean-readline: distclean) \ || exit 1 -@endif readline +@endif release -.PHONY: maybe-maintainer-clean-readline maintainer-clean-readline -maybe-maintainer-clean-readline: -@if readline -maybe-maintainer-clean-readline: maintainer-clean-readline +.PHONY: maybe-maintainer-clean-release maintainer-clean-release +maybe-maintainer-clean-release: +@if release +maybe-maintainer-clean-release: maintainer-clean-release -maintainer-clean-readline: - @[ -f ./readline/Makefile ] || exit 0; \ +maintainer-clean-release: + @[ -f ./release/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16075,8 +16081,8 @@ maintainer-clean-readline: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in readline" ; \ - (cd readline && \ + echo "Doing maintainer-clean in release" ; \ + (cd release && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16084,77 +16090,87 @@ maintainer-clean-readline: maintainer-clean) \ || exit 1 -@endif readline +@endif release -.PHONY: configure-release maybe-configure-release -maybe-configure-release: -@if release -maybe-configure-release: configure-release -configure-release: - @test ! -f release/Makefile || exit 0; \ - [ -d release ] || mkdir release; \ +.PHONY: configure-recode maybe-configure-recode +maybe-configure-recode: +@if recode +maybe-configure-recode: configure-recode +configure-recode: + @test ! -f recode/Makefile || exit 0; \ + [ -d recode ] || mkdir recode; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in release; \ - cd release || exit 1; \ + echo Configuring in recode; \ + cd recode || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/release"; \ - libsrcdir="$$s/release";; \ + srcdiroption="--srcdir=$(srcdir)/recode"; \ + libsrcdir="$$s/recode";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/release"; \ - libsrcdir="$$s/release";; \ + srcdiroption="--srcdir=../$(srcdir)/recode"; \ + libsrcdir="$$s/recode";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif release +@endif recode -.PHONY: all-release maybe-all-release -maybe-all-release: -@if release -maybe-all-release: all-release -all-release: configure-release +.PHONY: all-recode maybe-all-recode +maybe-all-recode: +@if recode +maybe-all-recode: all-recode +all-recode: configure-recode @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd release && $(MAKE) $(FLAGS_TO_PASS) all) -@endif release + (cd recode && $(MAKE) $(FLAGS_TO_PASS) all) +@endif recode -.PHONY: check-release maybe-check-release -maybe-check-release: -@if release -maybe-check-release: check-release +.PHONY: check-recode maybe-check-recode +maybe-check-recode: +@if recode +maybe-check-recode: check-recode -check-release: +check-recode: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd recode && $(MAKE) $(FLAGS_TO_PASS) check) -@endif release +@endif recode -.PHONY: install-release maybe-install-release -maybe-install-release: -@if release -maybe-install-release: install-release +.PHONY: install-recode maybe-install-recode +maybe-install-recode: +@if recode +maybe-install-recode: install-recode -install-release: +install-recode: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd recode && $(MAKE) $(FLAGS_TO_PASS) install) -@endif release +@endif recode # Other targets (info, dvi, etc.) -.PHONY: maybe-info-release info-release -maybe-info-release: -@if release -maybe-info-release: info-release +.PHONY: maybe-info-recode info-recode +maybe-info-recode: +@if recode +maybe-info-recode: info-recode -info-release: \ - configure-release - @[ -f ./release/Makefile ] || exit 0; \ +info-recode: \ + configure-recode + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16162,8 +16178,8 @@ info-release: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in release" ; \ - (cd release && \ + echo "Doing info in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16171,16 +16187,16 @@ info-release: \ info) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-dvi-release dvi-release -maybe-dvi-release: -@if release -maybe-dvi-release: dvi-release +.PHONY: maybe-dvi-recode dvi-recode +maybe-dvi-recode: +@if recode +maybe-dvi-recode: dvi-recode -dvi-release: \ - configure-release - @[ -f ./release/Makefile ] || exit 0; \ +dvi-recode: \ + configure-recode + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16188,8 +16204,8 @@ dvi-release: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in release" ; \ - (cd release && \ + echo "Doing dvi in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16197,16 +16213,16 @@ dvi-release: \ dvi) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-TAGS-release TAGS-release -maybe-TAGS-release: -@if release -maybe-TAGS-release: TAGS-release +.PHONY: maybe-TAGS-recode TAGS-recode +maybe-TAGS-recode: +@if recode +maybe-TAGS-recode: TAGS-recode -TAGS-release: \ - configure-release - @[ -f ./release/Makefile ] || exit 0; \ +TAGS-recode: \ + configure-recode + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16214,8 +16230,8 @@ TAGS-release: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in release" ; \ - (cd release && \ + echo "Doing TAGS in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16223,17 +16239,17 @@ TAGS-release: \ TAGS) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-install-info-release install-info-release -maybe-install-info-release: -@if release -maybe-install-info-release: install-info-release +.PHONY: maybe-install-info-recode install-info-recode +maybe-install-info-recode: +@if recode +maybe-install-info-recode: install-info-recode -install-info-release: \ - configure-release \ - info-release - @[ -f ./release/Makefile ] || exit 0; \ +install-info-recode: \ + configure-recode \ + info-recode + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16241,8 +16257,8 @@ install-info-release: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in release" ; \ - (cd release && \ + echo "Doing install-info in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16250,16 +16266,16 @@ install-info-release: \ install-info) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-installcheck-release installcheck-release -maybe-installcheck-release: -@if release -maybe-installcheck-release: installcheck-release +.PHONY: maybe-installcheck-recode installcheck-recode +maybe-installcheck-recode: +@if recode +maybe-installcheck-recode: installcheck-recode -installcheck-release: \ - configure-release - @[ -f ./release/Makefile ] || exit 0; \ +installcheck-recode: \ + configure-recode + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16267,8 +16283,8 @@ installcheck-release: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in release" ; \ - (cd release && \ + echo "Doing installcheck in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16276,15 +16292,15 @@ installcheck-release: \ installcheck) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-mostlyclean-release mostlyclean-release -maybe-mostlyclean-release: -@if release -maybe-mostlyclean-release: mostlyclean-release +.PHONY: maybe-mostlyclean-recode mostlyclean-recode +maybe-mostlyclean-recode: +@if recode +maybe-mostlyclean-recode: mostlyclean-recode -mostlyclean-release: - @[ -f ./release/Makefile ] || exit 0; \ +mostlyclean-recode: + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16292,8 +16308,8 @@ mostlyclean-release: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in release" ; \ - (cd release && \ + echo "Doing mostlyclean in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16301,15 +16317,15 @@ mostlyclean-release: mostlyclean) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-clean-release clean-release -maybe-clean-release: -@if release -maybe-clean-release: clean-release +.PHONY: maybe-clean-recode clean-recode +maybe-clean-recode: +@if recode +maybe-clean-recode: clean-recode -clean-release: - @[ -f ./release/Makefile ] || exit 0; \ +clean-recode: + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16317,8 +16333,8 @@ clean-release: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in release" ; \ - (cd release && \ + echo "Doing clean in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16326,15 +16342,15 @@ clean-release: clean) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-distclean-release distclean-release -maybe-distclean-release: -@if release -maybe-distclean-release: distclean-release +.PHONY: maybe-distclean-recode distclean-recode +maybe-distclean-recode: +@if recode +maybe-distclean-recode: distclean-recode -distclean-release: - @[ -f ./release/Makefile ] || exit 0; \ +distclean-recode: + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16342,8 +16358,8 @@ distclean-release: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in release" ; \ - (cd release && \ + echo "Doing distclean in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16351,15 +16367,15 @@ distclean-release: distclean) \ || exit 1 -@endif release +@endif recode -.PHONY: maybe-maintainer-clean-release maintainer-clean-release -maybe-maintainer-clean-release: -@if release -maybe-maintainer-clean-release: maintainer-clean-release +.PHONY: maybe-maintainer-clean-recode maintainer-clean-recode +maybe-maintainer-clean-recode: +@if recode +maybe-maintainer-clean-recode: maintainer-clean-recode -maintainer-clean-release: - @[ -f ./release/Makefile ] || exit 0; \ +maintainer-clean-recode: + @[ -f ./recode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16367,8 +16383,8 @@ maintainer-clean-release: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in release" ; \ - (cd release && \ + echo "Doing maintainer-clean in recode" ; \ + (cd recode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16376,87 +16392,87 @@ maintainer-clean-release: maintainer-clean) \ || exit 1 -@endif release +@endif recode -.PHONY: configure-recode maybe-configure-recode -maybe-configure-recode: -@if recode -maybe-configure-recode: configure-recode -configure-recode: - @test ! -f recode/Makefile || exit 0; \ - [ -d recode ] || mkdir recode; \ +.PHONY: configure-sed maybe-configure-sed +maybe-configure-sed: +@if sed +maybe-configure-sed: configure-sed +configure-sed: + @test ! -f sed/Makefile || exit 0; \ + [ -d sed ] || mkdir sed; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in recode; \ - cd recode || exit 1; \ + echo Configuring in sed; \ + cd sed || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/recode"; \ - libsrcdir="$$s/recode";; \ + srcdiroption="--srcdir=$(srcdir)/sed"; \ + libsrcdir="$$s/sed";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/recode"; \ - libsrcdir="$$s/recode";; \ + srcdiroption="--srcdir=../$(srcdir)/sed"; \ + libsrcdir="$$s/sed";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif recode +@endif sed -.PHONY: all-recode maybe-all-recode -maybe-all-recode: -@if recode -maybe-all-recode: all-recode -all-recode: configure-recode +.PHONY: all-sed maybe-all-sed +maybe-all-sed: +@if sed +maybe-all-sed: all-sed +all-sed: configure-sed @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd recode && $(MAKE) $(FLAGS_TO_PASS) all) -@endif recode + (cd sed && $(MAKE) $(FLAGS_TO_PASS) all) +@endif sed -.PHONY: check-recode maybe-check-recode -maybe-check-recode: -@if recode -maybe-check-recode: check-recode +.PHONY: check-sed maybe-check-sed +maybe-check-sed: +@if sed +maybe-check-sed: check-sed -check-recode: +check-sed: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd recode && $(MAKE) $(FLAGS_TO_PASS) check) + (cd sed && $(MAKE) $(FLAGS_TO_PASS) check) -@endif recode +@endif sed -.PHONY: install-recode maybe-install-recode -maybe-install-recode: -@if recode -maybe-install-recode: install-recode +.PHONY: install-sed maybe-install-sed +maybe-install-sed: +@if sed +maybe-install-sed: install-sed -install-recode: installdirs +install-sed: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd recode && $(MAKE) $(FLAGS_TO_PASS) install) + (cd sed && $(MAKE) $(FLAGS_TO_PASS) install) -@endif recode +@endif sed # Other targets (info, dvi, etc.) -.PHONY: maybe-info-recode info-recode -maybe-info-recode: -@if recode -maybe-info-recode: info-recode +.PHONY: maybe-info-sed info-sed +maybe-info-sed: +@if sed +maybe-info-sed: info-sed -info-recode: \ - configure-recode - @[ -f ./recode/Makefile ] || exit 0; \ +info-sed: \ + configure-sed + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16464,8 +16480,8 @@ info-recode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in recode" ; \ - (cd recode && \ + echo "Doing info in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16473,16 +16489,16 @@ info-recode: \ info) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-dvi-recode dvi-recode -maybe-dvi-recode: -@if recode -maybe-dvi-recode: dvi-recode +.PHONY: maybe-dvi-sed dvi-sed +maybe-dvi-sed: +@if sed +maybe-dvi-sed: dvi-sed -dvi-recode: \ - configure-recode - @[ -f ./recode/Makefile ] || exit 0; \ +dvi-sed: \ + configure-sed + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16490,8 +16506,8 @@ dvi-recode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in recode" ; \ - (cd recode && \ + echo "Doing dvi in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16499,16 +16515,16 @@ dvi-recode: \ dvi) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-TAGS-recode TAGS-recode -maybe-TAGS-recode: -@if recode -maybe-TAGS-recode: TAGS-recode +.PHONY: maybe-TAGS-sed TAGS-sed +maybe-TAGS-sed: +@if sed +maybe-TAGS-sed: TAGS-sed -TAGS-recode: \ - configure-recode - @[ -f ./recode/Makefile ] || exit 0; \ +TAGS-sed: \ + configure-sed + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16516,8 +16532,8 @@ TAGS-recode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in recode" ; \ - (cd recode && \ + echo "Doing TAGS in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16525,17 +16541,17 @@ TAGS-recode: \ TAGS) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-install-info-recode install-info-recode -maybe-install-info-recode: -@if recode -maybe-install-info-recode: install-info-recode +.PHONY: maybe-install-info-sed install-info-sed +maybe-install-info-sed: +@if sed +maybe-install-info-sed: install-info-sed -install-info-recode: \ - configure-recode \ - info-recode - @[ -f ./recode/Makefile ] || exit 0; \ +install-info-sed: \ + configure-sed \ + info-sed + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16543,8 +16559,8 @@ install-info-recode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in recode" ; \ - (cd recode && \ + echo "Doing install-info in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16552,16 +16568,16 @@ install-info-recode: \ install-info) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-installcheck-recode installcheck-recode -maybe-installcheck-recode: -@if recode -maybe-installcheck-recode: installcheck-recode +.PHONY: maybe-installcheck-sed installcheck-sed +maybe-installcheck-sed: +@if sed +maybe-installcheck-sed: installcheck-sed -installcheck-recode: \ - configure-recode - @[ -f ./recode/Makefile ] || exit 0; \ +installcheck-sed: \ + configure-sed + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16569,8 +16585,8 @@ installcheck-recode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in recode" ; \ - (cd recode && \ + echo "Doing installcheck in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16578,15 +16594,15 @@ installcheck-recode: \ installcheck) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-mostlyclean-recode mostlyclean-recode -maybe-mostlyclean-recode: -@if recode -maybe-mostlyclean-recode: mostlyclean-recode +.PHONY: maybe-mostlyclean-sed mostlyclean-sed +maybe-mostlyclean-sed: +@if sed +maybe-mostlyclean-sed: mostlyclean-sed -mostlyclean-recode: - @[ -f ./recode/Makefile ] || exit 0; \ +mostlyclean-sed: + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16594,8 +16610,8 @@ mostlyclean-recode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in recode" ; \ - (cd recode && \ + echo "Doing mostlyclean in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16603,15 +16619,15 @@ mostlyclean-recode: mostlyclean) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-clean-recode clean-recode -maybe-clean-recode: -@if recode -maybe-clean-recode: clean-recode +.PHONY: maybe-clean-sed clean-sed +maybe-clean-sed: +@if sed +maybe-clean-sed: clean-sed -clean-recode: - @[ -f ./recode/Makefile ] || exit 0; \ +clean-sed: + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16619,8 +16635,8 @@ clean-recode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in recode" ; \ - (cd recode && \ + echo "Doing clean in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16628,15 +16644,15 @@ clean-recode: clean) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-distclean-recode distclean-recode -maybe-distclean-recode: -@if recode -maybe-distclean-recode: distclean-recode +.PHONY: maybe-distclean-sed distclean-sed +maybe-distclean-sed: +@if sed +maybe-distclean-sed: distclean-sed -distclean-recode: - @[ -f ./recode/Makefile ] || exit 0; \ +distclean-sed: + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16644,8 +16660,8 @@ distclean-recode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in recode" ; \ - (cd recode && \ + echo "Doing distclean in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16653,15 +16669,15 @@ distclean-recode: distclean) \ || exit 1 -@endif recode +@endif sed -.PHONY: maybe-maintainer-clean-recode maintainer-clean-recode -maybe-maintainer-clean-recode: -@if recode -maybe-maintainer-clean-recode: maintainer-clean-recode +.PHONY: maybe-maintainer-clean-sed maintainer-clean-sed +maybe-maintainer-clean-sed: +@if sed +maybe-maintainer-clean-sed: maintainer-clean-sed -maintainer-clean-recode: - @[ -f ./recode/Makefile ] || exit 0; \ +maintainer-clean-sed: + @[ -f ./sed/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16669,8 +16685,8 @@ maintainer-clean-recode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in recode" ; \ - (cd recode && \ + echo "Doing maintainer-clean in sed" ; \ + (cd sed && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16678,87 +16694,87 @@ maintainer-clean-recode: maintainer-clean) \ || exit 1 -@endif recode +@endif sed -.PHONY: configure-sed maybe-configure-sed -maybe-configure-sed: -@if sed -maybe-configure-sed: configure-sed -configure-sed: - @test ! -f sed/Makefile || exit 0; \ - [ -d sed ] || mkdir sed; \ +.PHONY: configure-send-pr maybe-configure-send-pr +maybe-configure-send-pr: +@if send-pr +maybe-configure-send-pr: configure-send-pr +configure-send-pr: + @test ! -f send-pr/Makefile || exit 0; \ + [ -d send-pr ] || mkdir send-pr; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in sed; \ - cd sed || exit 1; \ + echo Configuring in send-pr; \ + cd send-pr || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/sed"; \ - libsrcdir="$$s/sed";; \ + srcdiroption="--srcdir=$(srcdir)/send-pr"; \ + libsrcdir="$$s/send-pr";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/sed"; \ - libsrcdir="$$s/sed";; \ + srcdiroption="--srcdir=../$(srcdir)/send-pr"; \ + libsrcdir="$$s/send-pr";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif sed +@endif send-pr -.PHONY: all-sed maybe-all-sed -maybe-all-sed: -@if sed -maybe-all-sed: all-sed -all-sed: configure-sed +.PHONY: all-send-pr maybe-all-send-pr +maybe-all-send-pr: +@if send-pr +maybe-all-send-pr: all-send-pr +all-send-pr: configure-send-pr @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sed && $(MAKE) $(FLAGS_TO_PASS) all) -@endif sed + (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all) +@endif send-pr -.PHONY: check-sed maybe-check-sed -maybe-check-sed: -@if sed -maybe-check-sed: check-sed +.PHONY: check-send-pr maybe-check-send-pr +maybe-check-send-pr: +@if send-pr +maybe-check-send-pr: check-send-pr -check-sed: +check-send-pr: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sed && $(MAKE) $(FLAGS_TO_PASS) check) + (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check) -@endif sed +@endif send-pr -.PHONY: install-sed maybe-install-sed -maybe-install-sed: -@if sed -maybe-install-sed: install-sed +.PHONY: install-send-pr maybe-install-send-pr +maybe-install-send-pr: +@if send-pr +maybe-install-send-pr: install-send-pr -install-sed: installdirs +install-send-pr: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sed && $(MAKE) $(FLAGS_TO_PASS) install) + (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install) -@endif sed +@endif send-pr # Other targets (info, dvi, etc.) -.PHONY: maybe-info-sed info-sed -maybe-info-sed: -@if sed -maybe-info-sed: info-sed +.PHONY: maybe-info-send-pr info-send-pr +maybe-info-send-pr: +@if send-pr +maybe-info-send-pr: info-send-pr -info-sed: \ - configure-sed - @[ -f ./sed/Makefile ] || exit 0; \ +info-send-pr: \ + configure-send-pr + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16766,8 +16782,8 @@ info-sed: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in sed" ; \ - (cd sed && \ + echo "Doing info in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16775,16 +16791,16 @@ info-sed: \ info) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-dvi-sed dvi-sed -maybe-dvi-sed: -@if sed -maybe-dvi-sed: dvi-sed +.PHONY: maybe-dvi-send-pr dvi-send-pr +maybe-dvi-send-pr: +@if send-pr +maybe-dvi-send-pr: dvi-send-pr -dvi-sed: \ - configure-sed - @[ -f ./sed/Makefile ] || exit 0; \ +dvi-send-pr: \ + configure-send-pr + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16792,8 +16808,8 @@ dvi-sed: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in sed" ; \ - (cd sed && \ + echo "Doing dvi in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16801,16 +16817,16 @@ dvi-sed: \ dvi) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-TAGS-sed TAGS-sed -maybe-TAGS-sed: -@if sed -maybe-TAGS-sed: TAGS-sed +.PHONY: maybe-TAGS-send-pr TAGS-send-pr +maybe-TAGS-send-pr: +@if send-pr +maybe-TAGS-send-pr: TAGS-send-pr -TAGS-sed: \ - configure-sed - @[ -f ./sed/Makefile ] || exit 0; \ +TAGS-send-pr: \ + configure-send-pr + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16818,8 +16834,8 @@ TAGS-sed: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in sed" ; \ - (cd sed && \ + echo "Doing TAGS in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16827,17 +16843,17 @@ TAGS-sed: \ TAGS) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-install-info-sed install-info-sed -maybe-install-info-sed: -@if sed -maybe-install-info-sed: install-info-sed +.PHONY: maybe-install-info-send-pr install-info-send-pr +maybe-install-info-send-pr: +@if send-pr +maybe-install-info-send-pr: install-info-send-pr -install-info-sed: \ - configure-sed \ - info-sed - @[ -f ./sed/Makefile ] || exit 0; \ +install-info-send-pr: \ + configure-send-pr \ + info-send-pr + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16845,8 +16861,8 @@ install-info-sed: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in sed" ; \ - (cd sed && \ + echo "Doing install-info in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16854,16 +16870,16 @@ install-info-sed: \ install-info) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-installcheck-sed installcheck-sed -maybe-installcheck-sed: -@if sed -maybe-installcheck-sed: installcheck-sed +.PHONY: maybe-installcheck-send-pr installcheck-send-pr +maybe-installcheck-send-pr: +@if send-pr +maybe-installcheck-send-pr: installcheck-send-pr -installcheck-sed: \ - configure-sed - @[ -f ./sed/Makefile ] || exit 0; \ +installcheck-send-pr: \ + configure-send-pr + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16871,8 +16887,8 @@ installcheck-sed: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in sed" ; \ - (cd sed && \ + echo "Doing installcheck in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16880,15 +16896,15 @@ installcheck-sed: \ installcheck) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-mostlyclean-sed mostlyclean-sed -maybe-mostlyclean-sed: -@if sed -maybe-mostlyclean-sed: mostlyclean-sed +.PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr +maybe-mostlyclean-send-pr: +@if send-pr +maybe-mostlyclean-send-pr: mostlyclean-send-pr -mostlyclean-sed: - @[ -f ./sed/Makefile ] || exit 0; \ +mostlyclean-send-pr: + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16896,24 +16912,24 @@ mostlyclean-sed: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in sed" ; \ - (cd sed && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + echo "Doing mostlyclean in send-pr" ; \ + (cd send-pr && \ + $(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 sed +@endif send-pr -.PHONY: maybe-clean-sed clean-sed -maybe-clean-sed: -@if sed -maybe-clean-sed: clean-sed +.PHONY: maybe-clean-send-pr clean-send-pr +maybe-clean-send-pr: +@if send-pr +maybe-clean-send-pr: clean-send-pr -clean-sed: - @[ -f ./sed/Makefile ] || exit 0; \ +clean-send-pr: + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16921,8 +16937,8 @@ clean-sed: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in sed" ; \ - (cd sed && \ + echo "Doing clean in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16930,15 +16946,15 @@ clean-sed: clean) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-distclean-sed distclean-sed -maybe-distclean-sed: -@if sed -maybe-distclean-sed: distclean-sed +.PHONY: maybe-distclean-send-pr distclean-send-pr +maybe-distclean-send-pr: +@if send-pr +maybe-distclean-send-pr: distclean-send-pr -distclean-sed: - @[ -f ./sed/Makefile ] || exit 0; \ +distclean-send-pr: + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16946,8 +16962,8 @@ distclean-sed: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in sed" ; \ - (cd sed && \ + echo "Doing distclean in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16955,15 +16971,15 @@ distclean-sed: distclean) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: maybe-maintainer-clean-sed maintainer-clean-sed -maybe-maintainer-clean-sed: -@if sed -maybe-maintainer-clean-sed: maintainer-clean-sed +.PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr +maybe-maintainer-clean-send-pr: +@if send-pr +maybe-maintainer-clean-send-pr: maintainer-clean-send-pr -maintainer-clean-sed: - @[ -f ./sed/Makefile ] || exit 0; \ +maintainer-clean-send-pr: + @[ -f ./send-pr/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -16971,8 +16987,8 @@ maintainer-clean-sed: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in sed" ; \ - (cd sed && \ + echo "Doing maintainer-clean in send-pr" ; \ + (cd send-pr && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -16980,87 +16996,87 @@ maintainer-clean-sed: maintainer-clean) \ || exit 1 -@endif sed +@endif send-pr -.PHONY: configure-send-pr maybe-configure-send-pr -maybe-configure-send-pr: -@if send-pr -maybe-configure-send-pr: configure-send-pr -configure-send-pr: - @test ! -f send-pr/Makefile || exit 0; \ - [ -d send-pr ] || mkdir send-pr; \ +.PHONY: configure-shellutils maybe-configure-shellutils +maybe-configure-shellutils: +@if shellutils +maybe-configure-shellutils: configure-shellutils +configure-shellutils: + @test ! -f shellutils/Makefile || exit 0; \ + [ -d shellutils ] || mkdir shellutils; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in send-pr; \ - cd send-pr || exit 1; \ + echo Configuring in shellutils; \ + cd shellutils || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/send-pr"; \ - libsrcdir="$$s/send-pr";; \ + srcdiroption="--srcdir=$(srcdir)/shellutils"; \ + libsrcdir="$$s/shellutils";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/send-pr"; \ - libsrcdir="$$s/send-pr";; \ + srcdiroption="--srcdir=../$(srcdir)/shellutils"; \ + libsrcdir="$$s/shellutils";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: all-send-pr maybe-all-send-pr -maybe-all-send-pr: -@if send-pr -maybe-all-send-pr: all-send-pr -all-send-pr: configure-send-pr +.PHONY: all-shellutils maybe-all-shellutils +maybe-all-shellutils: +@if shellutils +maybe-all-shellutils: all-shellutils +all-shellutils: configure-shellutils @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all) -@endif send-pr + (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all) +@endif shellutils -.PHONY: check-send-pr maybe-check-send-pr -maybe-check-send-pr: -@if send-pr -maybe-check-send-pr: check-send-pr +.PHONY: check-shellutils maybe-check-shellutils +maybe-check-shellutils: +@if shellutils +maybe-check-shellutils: check-shellutils -check-send-pr: +check-shellutils: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check) + (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check) -@endif send-pr +@endif shellutils -.PHONY: install-send-pr maybe-install-send-pr -maybe-install-send-pr: -@if send-pr -maybe-install-send-pr: install-send-pr +.PHONY: install-shellutils maybe-install-shellutils +maybe-install-shellutils: +@if shellutils +maybe-install-shellutils: install-shellutils -install-send-pr: installdirs +install-shellutils: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install) + (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install) -@endif send-pr +@endif shellutils # Other targets (info, dvi, etc.) -.PHONY: maybe-info-send-pr info-send-pr -maybe-info-send-pr: -@if send-pr -maybe-info-send-pr: info-send-pr +.PHONY: maybe-info-shellutils info-shellutils +maybe-info-shellutils: +@if shellutils +maybe-info-shellutils: info-shellutils -info-send-pr: \ - configure-send-pr - @[ -f ./send-pr/Makefile ] || exit 0; \ +info-shellutils: \ + configure-shellutils + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17068,8 +17084,8 @@ info-send-pr: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in send-pr" ; \ - (cd send-pr && \ + echo "Doing info in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17077,16 +17093,16 @@ info-send-pr: \ info) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-dvi-send-pr dvi-send-pr -maybe-dvi-send-pr: -@if send-pr -maybe-dvi-send-pr: dvi-send-pr +.PHONY: maybe-dvi-shellutils dvi-shellutils +maybe-dvi-shellutils: +@if shellutils +maybe-dvi-shellutils: dvi-shellutils -dvi-send-pr: \ - configure-send-pr - @[ -f ./send-pr/Makefile ] || exit 0; \ +dvi-shellutils: \ + configure-shellutils + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17094,8 +17110,8 @@ dvi-send-pr: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in send-pr" ; \ - (cd send-pr && \ + echo "Doing dvi in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17103,16 +17119,16 @@ dvi-send-pr: \ dvi) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-TAGS-send-pr TAGS-send-pr -maybe-TAGS-send-pr: -@if send-pr -maybe-TAGS-send-pr: TAGS-send-pr +.PHONY: maybe-TAGS-shellutils TAGS-shellutils +maybe-TAGS-shellutils: +@if shellutils +maybe-TAGS-shellutils: TAGS-shellutils -TAGS-send-pr: \ - configure-send-pr - @[ -f ./send-pr/Makefile ] || exit 0; \ +TAGS-shellutils: \ + configure-shellutils + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17120,8 +17136,8 @@ TAGS-send-pr: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in send-pr" ; \ - (cd send-pr && \ + echo "Doing TAGS in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17129,17 +17145,17 @@ TAGS-send-pr: \ TAGS) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-install-info-send-pr install-info-send-pr -maybe-install-info-send-pr: -@if send-pr -maybe-install-info-send-pr: install-info-send-pr +.PHONY: maybe-install-info-shellutils install-info-shellutils +maybe-install-info-shellutils: +@if shellutils +maybe-install-info-shellutils: install-info-shellutils -install-info-send-pr: \ - configure-send-pr \ - info-send-pr - @[ -f ./send-pr/Makefile ] || exit 0; \ +install-info-shellutils: \ + configure-shellutils \ + info-shellutils + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17147,8 +17163,8 @@ install-info-send-pr: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in send-pr" ; \ - (cd send-pr && \ + echo "Doing install-info in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17156,16 +17172,16 @@ install-info-send-pr: \ install-info) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-installcheck-send-pr installcheck-send-pr -maybe-installcheck-send-pr: -@if send-pr -maybe-installcheck-send-pr: installcheck-send-pr +.PHONY: maybe-installcheck-shellutils installcheck-shellutils +maybe-installcheck-shellutils: +@if shellutils +maybe-installcheck-shellutils: installcheck-shellutils -installcheck-send-pr: \ - configure-send-pr - @[ -f ./send-pr/Makefile ] || exit 0; \ +installcheck-shellutils: \ + configure-shellutils + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17173,8 +17189,8 @@ installcheck-send-pr: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in send-pr" ; \ - (cd send-pr && \ + echo "Doing installcheck in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17182,15 +17198,15 @@ installcheck-send-pr: \ installcheck) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr -maybe-mostlyclean-send-pr: -@if send-pr -maybe-mostlyclean-send-pr: mostlyclean-send-pr +.PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils +maybe-mostlyclean-shellutils: +@if shellutils +maybe-mostlyclean-shellutils: mostlyclean-shellutils -mostlyclean-send-pr: - @[ -f ./send-pr/Makefile ] || exit 0; \ +mostlyclean-shellutils: + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17198,8 +17214,8 @@ mostlyclean-send-pr: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in send-pr" ; \ - (cd send-pr && \ + echo "Doing mostlyclean in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17207,24 +17223,24 @@ mostlyclean-send-pr: mostlyclean) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-clean-send-pr clean-send-pr -maybe-clean-send-pr: -@if send-pr -maybe-clean-send-pr: clean-send-pr +.PHONY: maybe-clean-shellutils clean-shellutils +maybe-clean-shellutils: +@if shellutils +maybe-clean-shellutils: clean-shellutils -clean-send-pr: - @[ -f ./send-pr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ +clean-shellutils: + @[ -f ./shellutils/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in send-pr" ; \ - (cd send-pr && \ + echo "Doing clean in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17232,15 +17248,15 @@ clean-send-pr: clean) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-distclean-send-pr distclean-send-pr -maybe-distclean-send-pr: -@if send-pr -maybe-distclean-send-pr: distclean-send-pr +.PHONY: maybe-distclean-shellutils distclean-shellutils +maybe-distclean-shellutils: +@if shellutils +maybe-distclean-shellutils: distclean-shellutils -distclean-send-pr: - @[ -f ./send-pr/Makefile ] || exit 0; \ +distclean-shellutils: + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17248,8 +17264,8 @@ distclean-send-pr: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in send-pr" ; \ - (cd send-pr && \ + echo "Doing distclean in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17257,15 +17273,15 @@ distclean-send-pr: distclean) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr -maybe-maintainer-clean-send-pr: -@if send-pr -maybe-maintainer-clean-send-pr: maintainer-clean-send-pr +.PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils +maybe-maintainer-clean-shellutils: +@if shellutils +maybe-maintainer-clean-shellutils: maintainer-clean-shellutils -maintainer-clean-send-pr: - @[ -f ./send-pr/Makefile ] || exit 0; \ +maintainer-clean-shellutils: + @[ -f ./shellutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17273,8 +17289,8 @@ maintainer-clean-send-pr: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in send-pr" ; \ - (cd send-pr && \ + echo "Doing maintainer-clean in shellutils" ; \ + (cd shellutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17282,87 +17298,87 @@ maintainer-clean-send-pr: maintainer-clean) \ || exit 1 -@endif send-pr +@endif shellutils -.PHONY: configure-shellutils maybe-configure-shellutils -maybe-configure-shellutils: -@if shellutils -maybe-configure-shellutils: configure-shellutils -configure-shellutils: - @test ! -f shellutils/Makefile || exit 0; \ - [ -d shellutils ] || mkdir shellutils; \ +.PHONY: configure-sid maybe-configure-sid +maybe-configure-sid: +@if sid +maybe-configure-sid: configure-sid +configure-sid: + @test ! -f sid/Makefile || exit 0; \ + [ -d sid ] || mkdir sid; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in shellutils; \ - cd shellutils || exit 1; \ + echo Configuring in sid; \ + cd sid || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/shellutils"; \ - libsrcdir="$$s/shellutils";; \ + srcdiroption="--srcdir=$(srcdir)/sid"; \ + libsrcdir="$$s/sid";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/shellutils"; \ - libsrcdir="$$s/shellutils";; \ + srcdiroption="--srcdir=../$(srcdir)/sid"; \ + libsrcdir="$$s/sid";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif shellutils +@endif sid -.PHONY: all-shellutils maybe-all-shellutils -maybe-all-shellutils: -@if shellutils -maybe-all-shellutils: all-shellutils -all-shellutils: configure-shellutils +.PHONY: all-sid maybe-all-sid +maybe-all-sid: +@if sid +maybe-all-sid: all-sid +all-sid: configure-sid @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all) -@endif shellutils + (cd sid && $(MAKE) $(FLAGS_TO_PASS) all) +@endif sid -.PHONY: check-shellutils maybe-check-shellutils -maybe-check-shellutils: -@if shellutils -maybe-check-shellutils: check-shellutils +.PHONY: check-sid maybe-check-sid +maybe-check-sid: +@if sid +maybe-check-sid: check-sid -check-shellutils: +check-sid: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check) + (cd sid && $(MAKE) $(FLAGS_TO_PASS) check) -@endif shellutils +@endif sid -.PHONY: install-shellutils maybe-install-shellutils -maybe-install-shellutils: -@if shellutils -maybe-install-shellutils: install-shellutils +.PHONY: install-sid maybe-install-sid +maybe-install-sid: +@if sid +maybe-install-sid: install-sid -install-shellutils: installdirs +install-sid: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install) + (cd sid && $(MAKE) $(FLAGS_TO_PASS) install) -@endif shellutils +@endif sid # Other targets (info, dvi, etc.) -.PHONY: maybe-info-shellutils info-shellutils -maybe-info-shellutils: -@if shellutils -maybe-info-shellutils: info-shellutils +.PHONY: maybe-info-sid info-sid +maybe-info-sid: +@if sid +maybe-info-sid: info-sid -info-shellutils: \ - configure-shellutils - @[ -f ./shellutils/Makefile ] || exit 0; \ +info-sid: \ + configure-sid + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17370,8 +17386,8 @@ info-shellutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in shellutils" ; \ - (cd shellutils && \ + echo "Doing info in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17379,16 +17395,16 @@ info-shellutils: \ info) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-dvi-shellutils dvi-shellutils -maybe-dvi-shellutils: -@if shellutils -maybe-dvi-shellutils: dvi-shellutils +.PHONY: maybe-dvi-sid dvi-sid +maybe-dvi-sid: +@if sid +maybe-dvi-sid: dvi-sid -dvi-shellutils: \ - configure-shellutils - @[ -f ./shellutils/Makefile ] || exit 0; \ +dvi-sid: \ + configure-sid + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17396,8 +17412,8 @@ dvi-shellutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in shellutils" ; \ - (cd shellutils && \ + echo "Doing dvi in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17405,16 +17421,16 @@ dvi-shellutils: \ dvi) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-TAGS-shellutils TAGS-shellutils -maybe-TAGS-shellutils: -@if shellutils -maybe-TAGS-shellutils: TAGS-shellutils +.PHONY: maybe-TAGS-sid TAGS-sid +maybe-TAGS-sid: +@if sid +maybe-TAGS-sid: TAGS-sid -TAGS-shellutils: \ - configure-shellutils - @[ -f ./shellutils/Makefile ] || exit 0; \ +TAGS-sid: \ + configure-sid + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17422,8 +17438,8 @@ TAGS-shellutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in shellutils" ; \ - (cd shellutils && \ + echo "Doing TAGS in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17431,17 +17447,17 @@ TAGS-shellutils: \ TAGS) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-install-info-shellutils install-info-shellutils -maybe-install-info-shellutils: -@if shellutils -maybe-install-info-shellutils: install-info-shellutils +.PHONY: maybe-install-info-sid install-info-sid +maybe-install-info-sid: +@if sid +maybe-install-info-sid: install-info-sid -install-info-shellutils: \ - configure-shellutils \ - info-shellutils - @[ -f ./shellutils/Makefile ] || exit 0; \ +install-info-sid: \ + configure-sid \ + info-sid + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17449,8 +17465,8 @@ install-info-shellutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in shellutils" ; \ - (cd shellutils && \ + echo "Doing install-info in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17458,16 +17474,16 @@ install-info-shellutils: \ install-info) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-installcheck-shellutils installcheck-shellutils -maybe-installcheck-shellutils: -@if shellutils -maybe-installcheck-shellutils: installcheck-shellutils +.PHONY: maybe-installcheck-sid installcheck-sid +maybe-installcheck-sid: +@if sid +maybe-installcheck-sid: installcheck-sid -installcheck-shellutils: \ - configure-shellutils - @[ -f ./shellutils/Makefile ] || exit 0; \ +installcheck-sid: \ + configure-sid + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17475,8 +17491,8 @@ installcheck-shellutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in shellutils" ; \ - (cd shellutils && \ + echo "Doing installcheck in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17484,15 +17500,15 @@ installcheck-shellutils: \ installcheck) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils -maybe-mostlyclean-shellutils: -@if shellutils -maybe-mostlyclean-shellutils: mostlyclean-shellutils +.PHONY: maybe-mostlyclean-sid mostlyclean-sid +maybe-mostlyclean-sid: +@if sid +maybe-mostlyclean-sid: mostlyclean-sid -mostlyclean-shellutils: - @[ -f ./shellutils/Makefile ] || exit 0; \ +mostlyclean-sid: + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17500,8 +17516,8 @@ mostlyclean-shellutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in shellutils" ; \ - (cd shellutils && \ + echo "Doing mostlyclean in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17509,15 +17525,15 @@ mostlyclean-shellutils: mostlyclean) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-clean-shellutils clean-shellutils -maybe-clean-shellutils: -@if shellutils -maybe-clean-shellutils: clean-shellutils +.PHONY: maybe-clean-sid clean-sid +maybe-clean-sid: +@if sid +maybe-clean-sid: clean-sid -clean-shellutils: - @[ -f ./shellutils/Makefile ] || exit 0; \ +clean-sid: + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17525,8 +17541,8 @@ clean-shellutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in shellutils" ; \ - (cd shellutils && \ + echo "Doing clean in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17534,15 +17550,15 @@ clean-shellutils: clean) \ || exit 1 -@endif shellutils - -.PHONY: maybe-distclean-shellutils distclean-shellutils -maybe-distclean-shellutils: -@if shellutils -maybe-distclean-shellutils: distclean-shellutils +@endif sid -distclean-shellutils: - @[ -f ./shellutils/Makefile ] || exit 0; \ +.PHONY: maybe-distclean-sid distclean-sid +maybe-distclean-sid: +@if sid +maybe-distclean-sid: distclean-sid + +distclean-sid: + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17550,8 +17566,8 @@ distclean-shellutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in shellutils" ; \ - (cd shellutils && \ + echo "Doing distclean in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17559,15 +17575,15 @@ distclean-shellutils: distclean) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils -maybe-maintainer-clean-shellutils: -@if shellutils -maybe-maintainer-clean-shellutils: maintainer-clean-shellutils +.PHONY: maybe-maintainer-clean-sid maintainer-clean-sid +maybe-maintainer-clean-sid: +@if sid +maybe-maintainer-clean-sid: maintainer-clean-sid -maintainer-clean-shellutils: - @[ -f ./shellutils/Makefile ] || exit 0; \ +maintainer-clean-sid: + @[ -f ./sid/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17575,8 +17591,8 @@ maintainer-clean-shellutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in shellutils" ; \ - (cd shellutils && \ + echo "Doing maintainer-clean in sid" ; \ + (cd sid && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17584,87 +17600,87 @@ maintainer-clean-shellutils: maintainer-clean) \ || exit 1 -@endif shellutils +@endif sid -.PHONY: configure-sid maybe-configure-sid -maybe-configure-sid: -@if sid -maybe-configure-sid: configure-sid -configure-sid: - @test ! -f sid/Makefile || exit 0; \ - [ -d sid ] || mkdir sid; \ +.PHONY: configure-sim maybe-configure-sim +maybe-configure-sim: +@if sim +maybe-configure-sim: configure-sim +configure-sim: + @test ! -f sim/Makefile || exit 0; \ + [ -d sim ] || mkdir sim; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in sid; \ - cd sid || exit 1; \ + echo Configuring in sim; \ + cd sim || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/sid"; \ - libsrcdir="$$s/sid";; \ + srcdiroption="--srcdir=$(srcdir)/sim"; \ + libsrcdir="$$s/sim";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/sid"; \ - libsrcdir="$$s/sid";; \ + srcdiroption="--srcdir=../$(srcdir)/sim"; \ + libsrcdir="$$s/sim";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif sid +@endif sim -.PHONY: all-sid maybe-all-sid -maybe-all-sid: -@if sid -maybe-all-sid: all-sid -all-sid: configure-sid +.PHONY: all-sim maybe-all-sim +maybe-all-sim: +@if sim +maybe-all-sim: all-sim +all-sim: configure-sim @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sid && $(MAKE) $(FLAGS_TO_PASS) all) -@endif sid + (cd sim && $(MAKE) $(FLAGS_TO_PASS) all) +@endif sim -.PHONY: check-sid maybe-check-sid -maybe-check-sid: -@if sid -maybe-check-sid: check-sid +.PHONY: check-sim maybe-check-sim +maybe-check-sim: +@if sim +maybe-check-sim: check-sim -check-sid: +check-sim: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sid && $(MAKE) $(FLAGS_TO_PASS) check) + (cd sim && $(MAKE) $(FLAGS_TO_PASS) check) -@endif sid +@endif sim -.PHONY: install-sid maybe-install-sid -maybe-install-sid: -@if sid -maybe-install-sid: install-sid +.PHONY: install-sim maybe-install-sim +maybe-install-sim: +@if sim +maybe-install-sim: install-sim -install-sid: installdirs +install-sim: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sid && $(MAKE) $(FLAGS_TO_PASS) install) + (cd sim && $(MAKE) $(FLAGS_TO_PASS) install) -@endif sid +@endif sim # Other targets (info, dvi, etc.) -.PHONY: maybe-info-sid info-sid -maybe-info-sid: -@if sid -maybe-info-sid: info-sid +.PHONY: maybe-info-sim info-sim +maybe-info-sim: +@if sim +maybe-info-sim: info-sim -info-sid: \ - configure-sid - @[ -f ./sid/Makefile ] || exit 0; \ +info-sim: \ + configure-sim + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17672,8 +17688,8 @@ info-sid: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in sid" ; \ - (cd sid && \ + echo "Doing info in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17681,16 +17697,16 @@ info-sid: \ info) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-dvi-sid dvi-sid -maybe-dvi-sid: -@if sid -maybe-dvi-sid: dvi-sid +.PHONY: maybe-dvi-sim dvi-sim +maybe-dvi-sim: +@if sim +maybe-dvi-sim: dvi-sim -dvi-sid: \ - configure-sid - @[ -f ./sid/Makefile ] || exit 0; \ +dvi-sim: \ + configure-sim + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17698,8 +17714,8 @@ dvi-sid: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in sid" ; \ - (cd sid && \ + echo "Doing dvi in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17707,16 +17723,16 @@ dvi-sid: \ dvi) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-TAGS-sid TAGS-sid -maybe-TAGS-sid: -@if sid -maybe-TAGS-sid: TAGS-sid +.PHONY: maybe-TAGS-sim TAGS-sim +maybe-TAGS-sim: +@if sim +maybe-TAGS-sim: TAGS-sim -TAGS-sid: \ - configure-sid - @[ -f ./sid/Makefile ] || exit 0; \ +TAGS-sim: \ + configure-sim + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17724,8 +17740,8 @@ TAGS-sid: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in sid" ; \ - (cd sid && \ + echo "Doing TAGS in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17733,17 +17749,17 @@ TAGS-sid: \ TAGS) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-install-info-sid install-info-sid -maybe-install-info-sid: -@if sid -maybe-install-info-sid: install-info-sid +.PHONY: maybe-install-info-sim install-info-sim +maybe-install-info-sim: +@if sim +maybe-install-info-sim: install-info-sim -install-info-sid: \ - configure-sid \ - info-sid - @[ -f ./sid/Makefile ] || exit 0; \ +install-info-sim: \ + configure-sim \ + info-sim + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17751,8 +17767,8 @@ install-info-sid: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in sid" ; \ - (cd sid && \ + echo "Doing install-info in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17760,16 +17776,16 @@ install-info-sid: \ install-info) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-installcheck-sid installcheck-sid -maybe-installcheck-sid: -@if sid -maybe-installcheck-sid: installcheck-sid +.PHONY: maybe-installcheck-sim installcheck-sim +maybe-installcheck-sim: +@if sim +maybe-installcheck-sim: installcheck-sim -installcheck-sid: \ - configure-sid - @[ -f ./sid/Makefile ] || exit 0; \ +installcheck-sim: \ + configure-sim + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17777,8 +17793,8 @@ installcheck-sid: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in sid" ; \ - (cd sid && \ + echo "Doing installcheck in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17786,15 +17802,15 @@ installcheck-sid: \ installcheck) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-mostlyclean-sid mostlyclean-sid -maybe-mostlyclean-sid: -@if sid -maybe-mostlyclean-sid: mostlyclean-sid +.PHONY: maybe-mostlyclean-sim mostlyclean-sim +maybe-mostlyclean-sim: +@if sim +maybe-mostlyclean-sim: mostlyclean-sim -mostlyclean-sid: - @[ -f ./sid/Makefile ] || exit 0; \ +mostlyclean-sim: + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17802,8 +17818,8 @@ mostlyclean-sid: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in sid" ; \ - (cd sid && \ + echo "Doing mostlyclean in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17811,15 +17827,15 @@ mostlyclean-sid: mostlyclean) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-clean-sid clean-sid -maybe-clean-sid: -@if sid -maybe-clean-sid: clean-sid +.PHONY: maybe-clean-sim clean-sim +maybe-clean-sim: +@if sim +maybe-clean-sim: clean-sim -clean-sid: - @[ -f ./sid/Makefile ] || exit 0; \ +clean-sim: + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17827,8 +17843,8 @@ clean-sid: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in sid" ; \ - (cd sid && \ + echo "Doing clean in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17836,15 +17852,15 @@ clean-sid: clean) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-distclean-sid distclean-sid -maybe-distclean-sid: -@if sid -maybe-distclean-sid: distclean-sid +.PHONY: maybe-distclean-sim distclean-sim +maybe-distclean-sim: +@if sim +maybe-distclean-sim: distclean-sim -distclean-sid: - @[ -f ./sid/Makefile ] || exit 0; \ +distclean-sim: + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17852,8 +17868,8 @@ distclean-sid: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in sid" ; \ - (cd sid && \ + echo "Doing distclean in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17861,15 +17877,15 @@ distclean-sid: distclean) \ || exit 1 -@endif sid +@endif sim -.PHONY: maybe-maintainer-clean-sid maintainer-clean-sid -maybe-maintainer-clean-sid: -@if sid -maybe-maintainer-clean-sid: maintainer-clean-sid +.PHONY: maybe-maintainer-clean-sim maintainer-clean-sim +maybe-maintainer-clean-sim: +@if sim +maybe-maintainer-clean-sim: maintainer-clean-sim -maintainer-clean-sid: - @[ -f ./sid/Makefile ] || exit 0; \ +maintainer-clean-sim: + @[ -f ./sim/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17877,8 +17893,8 @@ maintainer-clean-sid: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in sid" ; \ - (cd sid && \ + echo "Doing maintainer-clean in sim" ; \ + (cd sim && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17886,87 +17902,87 @@ maintainer-clean-sid: maintainer-clean) \ || exit 1 -@endif sid +@endif sim -.PHONY: configure-sim maybe-configure-sim -maybe-configure-sim: -@if sim -maybe-configure-sim: configure-sim -configure-sim: - @test ! -f sim/Makefile || exit 0; \ - [ -d sim ] || mkdir sim; \ +.PHONY: configure-tar maybe-configure-tar +maybe-configure-tar: +@if tar +maybe-configure-tar: configure-tar +configure-tar: + @test ! -f tar/Makefile || exit 0; \ + [ -d tar ] || mkdir tar; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in sim; \ - cd sim || exit 1; \ + echo Configuring in tar; \ + cd tar || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/sim"; \ - libsrcdir="$$s/sim";; \ + srcdiroption="--srcdir=$(srcdir)/tar"; \ + libsrcdir="$$s/tar";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/sim"; \ - libsrcdir="$$s/sim";; \ + srcdiroption="--srcdir=../$(srcdir)/tar"; \ + libsrcdir="$$s/tar";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif sim +@endif tar -.PHONY: all-sim maybe-all-sim -maybe-all-sim: -@if sim -maybe-all-sim: all-sim -all-sim: configure-sim +.PHONY: all-tar maybe-all-tar +maybe-all-tar: +@if tar +maybe-all-tar: all-tar +all-tar: configure-tar @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sim && $(MAKE) $(FLAGS_TO_PASS) all) -@endif sim + (cd tar && $(MAKE) $(FLAGS_TO_PASS) all) +@endif tar -.PHONY: check-sim maybe-check-sim -maybe-check-sim: -@if sim -maybe-check-sim: check-sim +.PHONY: check-tar maybe-check-tar +maybe-check-tar: +@if tar +maybe-check-tar: check-tar -check-sim: +check-tar: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sim && $(MAKE) $(FLAGS_TO_PASS) check) + (cd tar && $(MAKE) $(FLAGS_TO_PASS) check) -@endif sim +@endif tar -.PHONY: install-sim maybe-install-sim -maybe-install-sim: -@if sim -maybe-install-sim: install-sim +.PHONY: install-tar maybe-install-tar +maybe-install-tar: +@if tar +maybe-install-tar: install-tar -install-sim: installdirs +install-tar: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd sim && $(MAKE) $(FLAGS_TO_PASS) install) + (cd tar && $(MAKE) $(FLAGS_TO_PASS) install) -@endif sim +@endif tar # Other targets (info, dvi, etc.) -.PHONY: maybe-info-sim info-sim -maybe-info-sim: -@if sim -maybe-info-sim: info-sim +.PHONY: maybe-info-tar info-tar +maybe-info-tar: +@if tar +maybe-info-tar: info-tar -info-sim: \ - configure-sim - @[ -f ./sim/Makefile ] || exit 0; \ +info-tar: \ + configure-tar + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -17974,8 +17990,8 @@ info-sim: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in sim" ; \ - (cd sim && \ + echo "Doing info in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -17983,16 +17999,16 @@ info-sim: \ info) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-dvi-sim dvi-sim -maybe-dvi-sim: -@if sim -maybe-dvi-sim: dvi-sim +.PHONY: maybe-dvi-tar dvi-tar +maybe-dvi-tar: +@if tar +maybe-dvi-tar: dvi-tar -dvi-sim: \ - configure-sim - @[ -f ./sim/Makefile ] || exit 0; \ +dvi-tar: \ + configure-tar + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18000,8 +18016,8 @@ dvi-sim: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in sim" ; \ - (cd sim && \ + echo "Doing dvi in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18009,16 +18025,16 @@ dvi-sim: \ dvi) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-TAGS-sim TAGS-sim -maybe-TAGS-sim: -@if sim -maybe-TAGS-sim: TAGS-sim +.PHONY: maybe-TAGS-tar TAGS-tar +maybe-TAGS-tar: +@if tar +maybe-TAGS-tar: TAGS-tar -TAGS-sim: \ - configure-sim - @[ -f ./sim/Makefile ] || exit 0; \ +TAGS-tar: \ + configure-tar + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18026,8 +18042,8 @@ TAGS-sim: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in sim" ; \ - (cd sim && \ + echo "Doing TAGS in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18035,17 +18051,17 @@ TAGS-sim: \ TAGS) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-install-info-sim install-info-sim -maybe-install-info-sim: -@if sim -maybe-install-info-sim: install-info-sim +.PHONY: maybe-install-info-tar install-info-tar +maybe-install-info-tar: +@if tar +maybe-install-info-tar: install-info-tar -install-info-sim: \ - configure-sim \ - info-sim - @[ -f ./sim/Makefile ] || exit 0; \ +install-info-tar: \ + configure-tar \ + info-tar + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18053,8 +18069,8 @@ install-info-sim: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in sim" ; \ - (cd sim && \ + echo "Doing install-info in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18062,16 +18078,16 @@ install-info-sim: \ install-info) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-installcheck-sim installcheck-sim -maybe-installcheck-sim: -@if sim -maybe-installcheck-sim: installcheck-sim +.PHONY: maybe-installcheck-tar installcheck-tar +maybe-installcheck-tar: +@if tar +maybe-installcheck-tar: installcheck-tar -installcheck-sim: \ - configure-sim - @[ -f ./sim/Makefile ] || exit 0; \ +installcheck-tar: \ + configure-tar + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18079,8 +18095,8 @@ installcheck-sim: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in sim" ; \ - (cd sim && \ + echo "Doing installcheck in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18088,15 +18104,15 @@ installcheck-sim: \ installcheck) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-mostlyclean-sim mostlyclean-sim -maybe-mostlyclean-sim: -@if sim -maybe-mostlyclean-sim: mostlyclean-sim +.PHONY: maybe-mostlyclean-tar mostlyclean-tar +maybe-mostlyclean-tar: +@if tar +maybe-mostlyclean-tar: mostlyclean-tar -mostlyclean-sim: - @[ -f ./sim/Makefile ] || exit 0; \ +mostlyclean-tar: + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18104,8 +18120,8 @@ mostlyclean-sim: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in sim" ; \ - (cd sim && \ + echo "Doing mostlyclean in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18113,15 +18129,15 @@ mostlyclean-sim: mostlyclean) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-clean-sim clean-sim -maybe-clean-sim: -@if sim -maybe-clean-sim: clean-sim +.PHONY: maybe-clean-tar clean-tar +maybe-clean-tar: +@if tar +maybe-clean-tar: clean-tar -clean-sim: - @[ -f ./sim/Makefile ] || exit 0; \ +clean-tar: + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18129,8 +18145,8 @@ clean-sim: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in sim" ; \ - (cd sim && \ + echo "Doing clean in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18138,15 +18154,15 @@ clean-sim: clean) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-distclean-sim distclean-sim -maybe-distclean-sim: -@if sim -maybe-distclean-sim: distclean-sim +.PHONY: maybe-distclean-tar distclean-tar +maybe-distclean-tar: +@if tar +maybe-distclean-tar: distclean-tar -distclean-sim: - @[ -f ./sim/Makefile ] || exit 0; \ +distclean-tar: + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18154,8 +18170,8 @@ distclean-sim: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in sim" ; \ - (cd sim && \ + echo "Doing distclean in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18163,15 +18179,15 @@ distclean-sim: distclean) \ || exit 1 -@endif sim +@endif tar -.PHONY: maybe-maintainer-clean-sim maintainer-clean-sim -maybe-maintainer-clean-sim: -@if sim -maybe-maintainer-clean-sim: maintainer-clean-sim +.PHONY: maybe-maintainer-clean-tar maintainer-clean-tar +maybe-maintainer-clean-tar: +@if tar +maybe-maintainer-clean-tar: maintainer-clean-tar -maintainer-clean-sim: - @[ -f ./sim/Makefile ] || exit 0; \ +maintainer-clean-tar: + @[ -f ./tar/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18179,8 +18195,8 @@ maintainer-clean-sim: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in sim" ; \ - (cd sim && \ + echo "Doing maintainer-clean in tar" ; \ + (cd tar && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18188,87 +18204,82 @@ maintainer-clean-sim: maintainer-clean) \ || exit 1 -@endif sim +@endif tar -.PHONY: configure-tar maybe-configure-tar -maybe-configure-tar: -@if tar -maybe-configure-tar: configure-tar -configure-tar: - @test ! -f tar/Makefile || exit 0; \ - [ -d tar ] || mkdir tar; \ +.PHONY: configure-texinfo maybe-configure-texinfo +maybe-configure-texinfo: +@if texinfo +maybe-configure-texinfo: configure-texinfo +configure-texinfo: + @test ! -f texinfo/Makefile || exit 0; \ + [ -d texinfo ] || mkdir texinfo; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in tar; \ - cd tar || exit 1; \ + echo Configuring in texinfo; \ + cd texinfo || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/tar"; \ - libsrcdir="$$s/tar";; \ + srcdiroption="--srcdir=$(srcdir)/texinfo"; \ + libsrcdir="$$s/texinfo";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/tar"; \ - libsrcdir="$$s/tar";; \ + srcdiroption="--srcdir=../$(srcdir)/texinfo"; \ + libsrcdir="$$s/texinfo";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif tar +@endif texinfo -.PHONY: all-tar maybe-all-tar -maybe-all-tar: -@if tar -maybe-all-tar: all-tar -all-tar: configure-tar +.PHONY: all-texinfo maybe-all-texinfo +maybe-all-texinfo: +@if texinfo +maybe-all-texinfo: all-texinfo +all-texinfo: configure-texinfo @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd tar && $(MAKE) $(FLAGS_TO_PASS) all) -@endif tar + (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all) +@endif texinfo -.PHONY: check-tar maybe-check-tar -maybe-check-tar: -@if tar -maybe-check-tar: check-tar +.PHONY: check-texinfo maybe-check-texinfo +maybe-check-texinfo: +@if texinfo +maybe-check-texinfo: check-texinfo -check-tar: +check-texinfo: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd tar && $(MAKE) $(FLAGS_TO_PASS) check) + (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check) -@endif tar +@endif texinfo -.PHONY: install-tar maybe-install-tar -maybe-install-tar: -@if tar -maybe-install-tar: install-tar +.PHONY: install-texinfo maybe-install-texinfo +maybe-install-texinfo: +@if texinfo +maybe-install-texinfo: install-texinfo -install-tar: installdirs - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd tar && $(MAKE) $(FLAGS_TO_PASS) install) +install-texinfo: -@endif tar +@endif texinfo # Other targets (info, dvi, etc.) -.PHONY: maybe-info-tar info-tar -maybe-info-tar: -@if tar -maybe-info-tar: info-tar +.PHONY: maybe-info-texinfo info-texinfo +maybe-info-texinfo: +@if texinfo +maybe-info-texinfo: info-texinfo -info-tar: \ - configure-tar - @[ -f ./tar/Makefile ] || exit 0; \ +info-texinfo: \ + configure-texinfo + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18276,8 +18287,8 @@ info-tar: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in tar" ; \ - (cd tar && \ + echo "Doing info in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18285,16 +18296,16 @@ info-tar: \ info) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-dvi-tar dvi-tar -maybe-dvi-tar: -@if tar -maybe-dvi-tar: dvi-tar +.PHONY: maybe-dvi-texinfo dvi-texinfo +maybe-dvi-texinfo: +@if texinfo +maybe-dvi-texinfo: dvi-texinfo -dvi-tar: \ - configure-tar - @[ -f ./tar/Makefile ] || exit 0; \ +dvi-texinfo: \ + configure-texinfo + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18302,8 +18313,8 @@ dvi-tar: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in tar" ; \ - (cd tar && \ + echo "Doing dvi in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18311,16 +18322,16 @@ dvi-tar: \ dvi) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-TAGS-tar TAGS-tar -maybe-TAGS-tar: -@if tar -maybe-TAGS-tar: TAGS-tar +.PHONY: maybe-TAGS-texinfo TAGS-texinfo +maybe-TAGS-texinfo: +@if texinfo +maybe-TAGS-texinfo: TAGS-texinfo -TAGS-tar: \ - configure-tar - @[ -f ./tar/Makefile ] || exit 0; \ +TAGS-texinfo: \ + configure-texinfo + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18328,8 +18339,8 @@ TAGS-tar: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in tar" ; \ - (cd tar && \ + echo "Doing TAGS in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18337,17 +18348,17 @@ TAGS-tar: \ TAGS) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-install-info-tar install-info-tar -maybe-install-info-tar: -@if tar -maybe-install-info-tar: install-info-tar +.PHONY: maybe-install-info-texinfo install-info-texinfo +maybe-install-info-texinfo: +@if texinfo +maybe-install-info-texinfo: install-info-texinfo -install-info-tar: \ - configure-tar \ - info-tar - @[ -f ./tar/Makefile ] || exit 0; \ +install-info-texinfo: \ + configure-texinfo \ + info-texinfo + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18355,8 +18366,8 @@ install-info-tar: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in tar" ; \ - (cd tar && \ + echo "Doing install-info in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18364,16 +18375,16 @@ install-info-tar: \ install-info) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-installcheck-tar installcheck-tar -maybe-installcheck-tar: -@if tar -maybe-installcheck-tar: installcheck-tar +.PHONY: maybe-installcheck-texinfo installcheck-texinfo +maybe-installcheck-texinfo: +@if texinfo +maybe-installcheck-texinfo: installcheck-texinfo -installcheck-tar: \ - configure-tar - @[ -f ./tar/Makefile ] || exit 0; \ +installcheck-texinfo: \ + configure-texinfo + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18381,8 +18392,8 @@ installcheck-tar: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in tar" ; \ - (cd tar && \ + echo "Doing installcheck in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18390,15 +18401,15 @@ installcheck-tar: \ installcheck) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-mostlyclean-tar mostlyclean-tar -maybe-mostlyclean-tar: -@if tar -maybe-mostlyclean-tar: mostlyclean-tar +.PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo +maybe-mostlyclean-texinfo: +@if texinfo +maybe-mostlyclean-texinfo: mostlyclean-texinfo -mostlyclean-tar: - @[ -f ./tar/Makefile ] || exit 0; \ +mostlyclean-texinfo: + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18406,8 +18417,8 @@ mostlyclean-tar: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in tar" ; \ - (cd tar && \ + echo "Doing mostlyclean in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18415,15 +18426,15 @@ mostlyclean-tar: mostlyclean) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-clean-tar clean-tar -maybe-clean-tar: -@if tar -maybe-clean-tar: clean-tar +.PHONY: maybe-clean-texinfo clean-texinfo +maybe-clean-texinfo: +@if texinfo +maybe-clean-texinfo: clean-texinfo -clean-tar: - @[ -f ./tar/Makefile ] || exit 0; \ +clean-texinfo: + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18431,8 +18442,8 @@ clean-tar: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in tar" ; \ - (cd tar && \ + echo "Doing clean in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18440,15 +18451,15 @@ clean-tar: clean) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-distclean-tar distclean-tar -maybe-distclean-tar: -@if tar -maybe-distclean-tar: distclean-tar +.PHONY: maybe-distclean-texinfo distclean-texinfo +maybe-distclean-texinfo: +@if texinfo +maybe-distclean-texinfo: distclean-texinfo -distclean-tar: - @[ -f ./tar/Makefile ] || exit 0; \ +distclean-texinfo: + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18456,8 +18467,8 @@ distclean-tar: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in tar" ; \ - (cd tar && \ + echo "Doing distclean in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18465,15 +18476,15 @@ distclean-tar: distclean) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: maybe-maintainer-clean-tar maintainer-clean-tar -maybe-maintainer-clean-tar: -@if tar -maybe-maintainer-clean-tar: maintainer-clean-tar +.PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo +maybe-maintainer-clean-texinfo: +@if texinfo +maybe-maintainer-clean-texinfo: maintainer-clean-texinfo -maintainer-clean-tar: - @[ -f ./tar/Makefile ] || exit 0; \ +maintainer-clean-texinfo: + @[ -f ./texinfo/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18481,8 +18492,8 @@ maintainer-clean-tar: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in tar" ; \ - (cd tar && \ + echo "Doing maintainer-clean in texinfo" ; \ + (cd texinfo && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18490,82 +18501,87 @@ maintainer-clean-tar: maintainer-clean) \ || exit 1 -@endif tar +@endif texinfo -.PHONY: configure-texinfo maybe-configure-texinfo -maybe-configure-texinfo: -@if texinfo -maybe-configure-texinfo: configure-texinfo -configure-texinfo: - @test ! -f texinfo/Makefile || exit 0; \ - [ -d texinfo ] || mkdir texinfo; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring in texinfo; \ - cd texinfo || exit 1; \ - case $(srcdir) in \ +.PHONY: configure-textutils maybe-configure-textutils +maybe-configure-textutils: +@if textutils +maybe-configure-textutils: configure-textutils +configure-textutils: + @test ! -f textutils/Makefile || exit 0; \ + [ -d textutils ] || mkdir textutils; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring in textutils; \ + cd textutils || exit 1; \ + case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/texinfo"; \ - libsrcdir="$$s/texinfo";; \ + srcdiroption="--srcdir=$(srcdir)/textutils"; \ + libsrcdir="$$s/textutils";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/texinfo"; \ - libsrcdir="$$s/texinfo";; \ + srcdiroption="--srcdir=../$(srcdir)/textutils"; \ + libsrcdir="$$s/textutils";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: all-texinfo maybe-all-texinfo -maybe-all-texinfo: -@if texinfo -maybe-all-texinfo: all-texinfo -all-texinfo: configure-texinfo +.PHONY: all-textutils maybe-all-textutils +maybe-all-textutils: +@if textutils +maybe-all-textutils: all-textutils +all-textutils: configure-textutils @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all) -@endif texinfo + (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all) +@endif textutils -.PHONY: check-texinfo maybe-check-texinfo -maybe-check-texinfo: -@if texinfo -maybe-check-texinfo: check-texinfo +.PHONY: check-textutils maybe-check-textutils +maybe-check-textutils: +@if textutils +maybe-check-textutils: check-textutils -check-texinfo: +check-textutils: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check) + (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check) -@endif texinfo +@endif textutils -.PHONY: install-texinfo maybe-install-texinfo -maybe-install-texinfo: -@if texinfo -maybe-install-texinfo: install-texinfo +.PHONY: install-textutils maybe-install-textutils +maybe-install-textutils: +@if textutils +maybe-install-textutils: install-textutils -install-texinfo: +install-textutils: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install) -@endif texinfo +@endif textutils # Other targets (info, dvi, etc.) -.PHONY: maybe-info-texinfo info-texinfo -maybe-info-texinfo: -@if texinfo -maybe-info-texinfo: info-texinfo +.PHONY: maybe-info-textutils info-textutils +maybe-info-textutils: +@if textutils +maybe-info-textutils: info-textutils -info-texinfo: \ - configure-texinfo - @[ -f ./texinfo/Makefile ] || exit 0; \ +info-textutils: \ + configure-textutils + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18573,8 +18589,8 @@ info-texinfo: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in texinfo" ; \ - (cd texinfo && \ + echo "Doing info in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18582,16 +18598,16 @@ info-texinfo: \ info) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-dvi-texinfo dvi-texinfo -maybe-dvi-texinfo: -@if texinfo -maybe-dvi-texinfo: dvi-texinfo +.PHONY: maybe-dvi-textutils dvi-textutils +maybe-dvi-textutils: +@if textutils +maybe-dvi-textutils: dvi-textutils -dvi-texinfo: \ - configure-texinfo - @[ -f ./texinfo/Makefile ] || exit 0; \ +dvi-textutils: \ + configure-textutils + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18599,8 +18615,8 @@ dvi-texinfo: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in texinfo" ; \ - (cd texinfo && \ + echo "Doing dvi in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18608,16 +18624,16 @@ dvi-texinfo: \ dvi) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-TAGS-texinfo TAGS-texinfo -maybe-TAGS-texinfo: -@if texinfo -maybe-TAGS-texinfo: TAGS-texinfo +.PHONY: maybe-TAGS-textutils TAGS-textutils +maybe-TAGS-textutils: +@if textutils +maybe-TAGS-textutils: TAGS-textutils -TAGS-texinfo: \ - configure-texinfo - @[ -f ./texinfo/Makefile ] || exit 0; \ +TAGS-textutils: \ + configure-textutils + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18625,8 +18641,8 @@ TAGS-texinfo: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in texinfo" ; \ - (cd texinfo && \ + echo "Doing TAGS in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18634,17 +18650,17 @@ TAGS-texinfo: \ TAGS) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-install-info-texinfo install-info-texinfo -maybe-install-info-texinfo: -@if texinfo -maybe-install-info-texinfo: install-info-texinfo +.PHONY: maybe-install-info-textutils install-info-textutils +maybe-install-info-textutils: +@if textutils +maybe-install-info-textutils: install-info-textutils -install-info-texinfo: \ - configure-texinfo \ - info-texinfo - @[ -f ./texinfo/Makefile ] || exit 0; \ +install-info-textutils: \ + configure-textutils \ + info-textutils + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18652,8 +18668,8 @@ install-info-texinfo: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in texinfo" ; \ - (cd texinfo && \ + echo "Doing install-info in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18661,16 +18677,16 @@ install-info-texinfo: \ install-info) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-installcheck-texinfo installcheck-texinfo -maybe-installcheck-texinfo: -@if texinfo -maybe-installcheck-texinfo: installcheck-texinfo +.PHONY: maybe-installcheck-textutils installcheck-textutils +maybe-installcheck-textutils: +@if textutils +maybe-installcheck-textutils: installcheck-textutils -installcheck-texinfo: \ - configure-texinfo - @[ -f ./texinfo/Makefile ] || exit 0; \ +installcheck-textutils: \ + configure-textutils + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18678,8 +18694,8 @@ installcheck-texinfo: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in texinfo" ; \ - (cd texinfo && \ + echo "Doing installcheck in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18687,15 +18703,15 @@ installcheck-texinfo: \ installcheck) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo -maybe-mostlyclean-texinfo: -@if texinfo -maybe-mostlyclean-texinfo: mostlyclean-texinfo +.PHONY: maybe-mostlyclean-textutils mostlyclean-textutils +maybe-mostlyclean-textutils: +@if textutils +maybe-mostlyclean-textutils: mostlyclean-textutils -mostlyclean-texinfo: - @[ -f ./texinfo/Makefile ] || exit 0; \ +mostlyclean-textutils: + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18703,8 +18719,8 @@ mostlyclean-texinfo: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in texinfo" ; \ - (cd texinfo && \ + echo "Doing mostlyclean in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18712,15 +18728,15 @@ mostlyclean-texinfo: mostlyclean) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-clean-texinfo clean-texinfo -maybe-clean-texinfo: -@if texinfo -maybe-clean-texinfo: clean-texinfo +.PHONY: maybe-clean-textutils clean-textutils +maybe-clean-textutils: +@if textutils +maybe-clean-textutils: clean-textutils -clean-texinfo: - @[ -f ./texinfo/Makefile ] || exit 0; \ +clean-textutils: + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18728,8 +18744,8 @@ clean-texinfo: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in texinfo" ; \ - (cd texinfo && \ + echo "Doing clean in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18737,15 +18753,15 @@ clean-texinfo: clean) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-distclean-texinfo distclean-texinfo -maybe-distclean-texinfo: -@if texinfo -maybe-distclean-texinfo: distclean-texinfo +.PHONY: maybe-distclean-textutils distclean-textutils +maybe-distclean-textutils: +@if textutils +maybe-distclean-textutils: distclean-textutils -distclean-texinfo: - @[ -f ./texinfo/Makefile ] || exit 0; \ +distclean-textutils: + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18753,8 +18769,8 @@ distclean-texinfo: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in texinfo" ; \ - (cd texinfo && \ + echo "Doing distclean in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18762,15 +18778,15 @@ distclean-texinfo: distclean) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo -maybe-maintainer-clean-texinfo: -@if texinfo -maybe-maintainer-clean-texinfo: maintainer-clean-texinfo +.PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils +maybe-maintainer-clean-textutils: +@if textutils +maybe-maintainer-clean-textutils: maintainer-clean-textutils -maintainer-clean-texinfo: - @[ -f ./texinfo/Makefile ] || exit 0; \ +maintainer-clean-textutils: + @[ -f ./textutils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18778,8 +18794,8 @@ maintainer-clean-texinfo: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in texinfo" ; \ - (cd texinfo && \ + echo "Doing maintainer-clean in textutils" ; \ + (cd textutils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18787,87 +18803,87 @@ maintainer-clean-texinfo: maintainer-clean) \ || exit 1 -@endif texinfo +@endif textutils -.PHONY: configure-textutils maybe-configure-textutils -maybe-configure-textutils: -@if textutils -maybe-configure-textutils: configure-textutils -configure-textutils: - @test ! -f textutils/Makefile || exit 0; \ - [ -d textutils ] || mkdir textutils; \ +.PHONY: configure-time maybe-configure-time +maybe-configure-time: +@if time +maybe-configure-time: configure-time +configure-time: + @test ! -f time/Makefile || exit 0; \ + [ -d time ] || mkdir time; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in textutils; \ - cd textutils || exit 1; \ - case $(srcdir) in \ + echo Configuring in time; \ + cd time || exit 1; \ + case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/textutils"; \ - libsrcdir="$$s/textutils";; \ + srcdiroption="--srcdir=$(srcdir)/time"; \ + libsrcdir="$$s/time";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/textutils"; \ - libsrcdir="$$s/textutils";; \ + srcdiroption="--srcdir=../$(srcdir)/time"; \ + libsrcdir="$$s/time";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif textutils +@endif time -.PHONY: all-textutils maybe-all-textutils -maybe-all-textutils: -@if textutils -maybe-all-textutils: all-textutils -all-textutils: configure-textutils +.PHONY: all-time maybe-all-time +maybe-all-time: +@if time +maybe-all-time: all-time +all-time: configure-time @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all) -@endif textutils + (cd time && $(MAKE) $(FLAGS_TO_PASS) all) +@endif time -.PHONY: check-textutils maybe-check-textutils -maybe-check-textutils: -@if textutils -maybe-check-textutils: check-textutils +.PHONY: check-time maybe-check-time +maybe-check-time: +@if time +maybe-check-time: check-time -check-textutils: +check-time: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check) + (cd time && $(MAKE) $(FLAGS_TO_PASS) check) -@endif textutils +@endif time -.PHONY: install-textutils maybe-install-textutils -maybe-install-textutils: -@if textutils -maybe-install-textutils: install-textutils +.PHONY: install-time maybe-install-time +maybe-install-time: +@if time +maybe-install-time: install-time -install-textutils: installdirs +install-time: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install) + (cd time && $(MAKE) $(FLAGS_TO_PASS) install) -@endif textutils +@endif time # Other targets (info, dvi, etc.) -.PHONY: maybe-info-textutils info-textutils -maybe-info-textutils: -@if textutils -maybe-info-textutils: info-textutils +.PHONY: maybe-info-time info-time +maybe-info-time: +@if time +maybe-info-time: info-time -info-textutils: \ - configure-textutils - @[ -f ./textutils/Makefile ] || exit 0; \ +info-time: \ + configure-time + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18875,8 +18891,8 @@ info-textutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in textutils" ; \ - (cd textutils && \ + echo "Doing info in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18884,16 +18900,16 @@ info-textutils: \ info) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-dvi-textutils dvi-textutils -maybe-dvi-textutils: -@if textutils -maybe-dvi-textutils: dvi-textutils +.PHONY: maybe-dvi-time dvi-time +maybe-dvi-time: +@if time +maybe-dvi-time: dvi-time -dvi-textutils: \ - configure-textutils - @[ -f ./textutils/Makefile ] || exit 0; \ +dvi-time: \ + configure-time + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18901,8 +18917,8 @@ dvi-textutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in textutils" ; \ - (cd textutils && \ + echo "Doing dvi in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18910,16 +18926,16 @@ dvi-textutils: \ dvi) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-TAGS-textutils TAGS-textutils -maybe-TAGS-textutils: -@if textutils -maybe-TAGS-textutils: TAGS-textutils +.PHONY: maybe-TAGS-time TAGS-time +maybe-TAGS-time: +@if time +maybe-TAGS-time: TAGS-time -TAGS-textutils: \ - configure-textutils - @[ -f ./textutils/Makefile ] || exit 0; \ +TAGS-time: \ + configure-time + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18927,8 +18943,8 @@ TAGS-textutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in textutils" ; \ - (cd textutils && \ + echo "Doing TAGS in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18936,17 +18952,17 @@ TAGS-textutils: \ TAGS) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-install-info-textutils install-info-textutils -maybe-install-info-textutils: -@if textutils -maybe-install-info-textutils: install-info-textutils +.PHONY: maybe-install-info-time install-info-time +maybe-install-info-time: +@if time +maybe-install-info-time: install-info-time -install-info-textutils: \ - configure-textutils \ - info-textutils - @[ -f ./textutils/Makefile ] || exit 0; \ +install-info-time: \ + configure-time \ + info-time + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18954,8 +18970,8 @@ install-info-textutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in textutils" ; \ - (cd textutils && \ + echo "Doing install-info in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18963,16 +18979,16 @@ install-info-textutils: \ install-info) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-installcheck-textutils installcheck-textutils -maybe-installcheck-textutils: -@if textutils -maybe-installcheck-textutils: installcheck-textutils +.PHONY: maybe-installcheck-time installcheck-time +maybe-installcheck-time: +@if time +maybe-installcheck-time: installcheck-time -installcheck-textutils: \ - configure-textutils - @[ -f ./textutils/Makefile ] || exit 0; \ +installcheck-time: \ + configure-time + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -18980,8 +18996,8 @@ installcheck-textutils: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in textutils" ; \ - (cd textutils && \ + echo "Doing installcheck in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -18989,15 +19005,15 @@ installcheck-textutils: \ installcheck) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-mostlyclean-textutils mostlyclean-textutils -maybe-mostlyclean-textutils: -@if textutils -maybe-mostlyclean-textutils: mostlyclean-textutils +.PHONY: maybe-mostlyclean-time mostlyclean-time +maybe-mostlyclean-time: +@if time +maybe-mostlyclean-time: mostlyclean-time -mostlyclean-textutils: - @[ -f ./textutils/Makefile ] || exit 0; \ +mostlyclean-time: + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19005,8 +19021,8 @@ mostlyclean-textutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in textutils" ; \ - (cd textutils && \ + echo "Doing mostlyclean in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19014,15 +19030,15 @@ mostlyclean-textutils: mostlyclean) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-clean-textutils clean-textutils -maybe-clean-textutils: -@if textutils -maybe-clean-textutils: clean-textutils +.PHONY: maybe-clean-time clean-time +maybe-clean-time: +@if time +maybe-clean-time: clean-time -clean-textutils: - @[ -f ./textutils/Makefile ] || exit 0; \ +clean-time: + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19030,8 +19046,8 @@ clean-textutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in textutils" ; \ - (cd textutils && \ + echo "Doing clean in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19039,15 +19055,15 @@ clean-textutils: clean) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-distclean-textutils distclean-textutils -maybe-distclean-textutils: -@if textutils -maybe-distclean-textutils: distclean-textutils +.PHONY: maybe-distclean-time distclean-time +maybe-distclean-time: +@if time +maybe-distclean-time: distclean-time -distclean-textutils: - @[ -f ./textutils/Makefile ] || exit 0; \ +distclean-time: + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19055,8 +19071,8 @@ distclean-textutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in textutils" ; \ - (cd textutils && \ + echo "Doing distclean in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19064,15 +19080,15 @@ distclean-textutils: distclean) \ || exit 1 -@endif textutils +@endif time -.PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils -maybe-maintainer-clean-textutils: -@if textutils -maybe-maintainer-clean-textutils: maintainer-clean-textutils +.PHONY: maybe-maintainer-clean-time maintainer-clean-time +maybe-maintainer-clean-time: +@if time +maybe-maintainer-clean-time: maintainer-clean-time -maintainer-clean-textutils: - @[ -f ./textutils/Makefile ] || exit 0; \ +maintainer-clean-time: + @[ -f ./time/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19080,8 +19096,8 @@ maintainer-clean-textutils: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in textutils" ; \ - (cd textutils && \ + echo "Doing maintainer-clean in time" ; \ + (cd time && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19089,87 +19105,87 @@ maintainer-clean-textutils: maintainer-clean) \ || exit 1 -@endif textutils +@endif time -.PHONY: configure-time maybe-configure-time -maybe-configure-time: -@if time -maybe-configure-time: configure-time -configure-time: - @test ! -f time/Makefile || exit 0; \ - [ -d time ] || mkdir time; \ +.PHONY: configure-uudecode maybe-configure-uudecode +maybe-configure-uudecode: +@if uudecode +maybe-configure-uudecode: configure-uudecode +configure-uudecode: + @test ! -f uudecode/Makefile || exit 0; \ + [ -d uudecode ] || mkdir uudecode; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in time; \ - cd time || exit 1; \ + echo Configuring in uudecode; \ + cd uudecode || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/time"; \ - libsrcdir="$$s/time";; \ + srcdiroption="--srcdir=$(srcdir)/uudecode"; \ + libsrcdir="$$s/uudecode";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/time"; \ - libsrcdir="$$s/time";; \ + srcdiroption="--srcdir=../$(srcdir)/uudecode"; \ + libsrcdir="$$s/uudecode";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif time +@endif uudecode -.PHONY: all-time maybe-all-time -maybe-all-time: -@if time -maybe-all-time: all-time -all-time: configure-time +.PHONY: all-uudecode maybe-all-uudecode +maybe-all-uudecode: +@if uudecode +maybe-all-uudecode: all-uudecode +all-uudecode: configure-uudecode @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd time && $(MAKE) $(FLAGS_TO_PASS) all) -@endif time + (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all) +@endif uudecode -.PHONY: check-time maybe-check-time -maybe-check-time: -@if time -maybe-check-time: check-time +.PHONY: check-uudecode maybe-check-uudecode +maybe-check-uudecode: +@if uudecode +maybe-check-uudecode: check-uudecode -check-time: +check-uudecode: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd time && $(MAKE) $(FLAGS_TO_PASS) check) + (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check) -@endif time +@endif uudecode -.PHONY: install-time maybe-install-time -maybe-install-time: -@if time -maybe-install-time: install-time +.PHONY: install-uudecode maybe-install-uudecode +maybe-install-uudecode: +@if uudecode +maybe-install-uudecode: install-uudecode -install-time: installdirs +install-uudecode: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd time && $(MAKE) $(FLAGS_TO_PASS) install) + (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install) -@endif time +@endif uudecode # Other targets (info, dvi, etc.) -.PHONY: maybe-info-time info-time -maybe-info-time: -@if time -maybe-info-time: info-time +.PHONY: maybe-info-uudecode info-uudecode +maybe-info-uudecode: +@if uudecode +maybe-info-uudecode: info-uudecode -info-time: \ - configure-time - @[ -f ./time/Makefile ] || exit 0; \ +info-uudecode: \ + configure-uudecode + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19177,8 +19193,8 @@ info-time: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in time" ; \ - (cd time && \ + echo "Doing info in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19186,16 +19202,16 @@ info-time: \ info) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-dvi-time dvi-time -maybe-dvi-time: -@if time -maybe-dvi-time: dvi-time +.PHONY: maybe-dvi-uudecode dvi-uudecode +maybe-dvi-uudecode: +@if uudecode +maybe-dvi-uudecode: dvi-uudecode -dvi-time: \ - configure-time - @[ -f ./time/Makefile ] || exit 0; \ +dvi-uudecode: \ + configure-uudecode + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19203,8 +19219,8 @@ dvi-time: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in time" ; \ - (cd time && \ + echo "Doing dvi in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19212,16 +19228,16 @@ dvi-time: \ dvi) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-TAGS-time TAGS-time -maybe-TAGS-time: -@if time -maybe-TAGS-time: TAGS-time +.PHONY: maybe-TAGS-uudecode TAGS-uudecode +maybe-TAGS-uudecode: +@if uudecode +maybe-TAGS-uudecode: TAGS-uudecode -TAGS-time: \ - configure-time - @[ -f ./time/Makefile ] || exit 0; \ +TAGS-uudecode: \ + configure-uudecode + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19229,8 +19245,8 @@ TAGS-time: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in time" ; \ - (cd time && \ + echo "Doing TAGS in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19238,17 +19254,17 @@ TAGS-time: \ TAGS) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-install-info-time install-info-time -maybe-install-info-time: -@if time -maybe-install-info-time: install-info-time +.PHONY: maybe-install-info-uudecode install-info-uudecode +maybe-install-info-uudecode: +@if uudecode +maybe-install-info-uudecode: install-info-uudecode -install-info-time: \ - configure-time \ - info-time - @[ -f ./time/Makefile ] || exit 0; \ +install-info-uudecode: \ + configure-uudecode \ + info-uudecode + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19256,8 +19272,8 @@ install-info-time: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in time" ; \ - (cd time && \ + echo "Doing install-info in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19265,16 +19281,16 @@ install-info-time: \ install-info) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-installcheck-time installcheck-time -maybe-installcheck-time: -@if time -maybe-installcheck-time: installcheck-time +.PHONY: maybe-installcheck-uudecode installcheck-uudecode +maybe-installcheck-uudecode: +@if uudecode +maybe-installcheck-uudecode: installcheck-uudecode -installcheck-time: \ - configure-time - @[ -f ./time/Makefile ] || exit 0; \ +installcheck-uudecode: \ + configure-uudecode + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19282,8 +19298,8 @@ installcheck-time: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in time" ; \ - (cd time && \ + echo "Doing installcheck in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19291,15 +19307,15 @@ installcheck-time: \ installcheck) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-mostlyclean-time mostlyclean-time -maybe-mostlyclean-time: -@if time -maybe-mostlyclean-time: mostlyclean-time +.PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode +maybe-mostlyclean-uudecode: +@if uudecode +maybe-mostlyclean-uudecode: mostlyclean-uudecode -mostlyclean-time: - @[ -f ./time/Makefile ] || exit 0; \ +mostlyclean-uudecode: + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19307,8 +19323,8 @@ mostlyclean-time: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in time" ; \ - (cd time && \ + echo "Doing mostlyclean in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19316,15 +19332,15 @@ mostlyclean-time: mostlyclean) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-clean-time clean-time -maybe-clean-time: -@if time -maybe-clean-time: clean-time +.PHONY: maybe-clean-uudecode clean-uudecode +maybe-clean-uudecode: +@if uudecode +maybe-clean-uudecode: clean-uudecode -clean-time: - @[ -f ./time/Makefile ] || exit 0; \ +clean-uudecode: + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19332,8 +19348,8 @@ clean-time: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in time" ; \ - (cd time && \ + echo "Doing clean in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19341,15 +19357,15 @@ clean-time: clean) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-distclean-time distclean-time -maybe-distclean-time: -@if time -maybe-distclean-time: distclean-time +.PHONY: maybe-distclean-uudecode distclean-uudecode +maybe-distclean-uudecode: +@if uudecode +maybe-distclean-uudecode: distclean-uudecode -distclean-time: - @[ -f ./time/Makefile ] || exit 0; \ +distclean-uudecode: + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19357,8 +19373,8 @@ distclean-time: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in time" ; \ - (cd time && \ + echo "Doing distclean in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19366,15 +19382,15 @@ distclean-time: distclean) \ || exit 1 -@endif time +@endif uudecode -.PHONY: maybe-maintainer-clean-time maintainer-clean-time -maybe-maintainer-clean-time: -@if time -maybe-maintainer-clean-time: maintainer-clean-time +.PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode +maybe-maintainer-clean-uudecode: +@if uudecode +maybe-maintainer-clean-uudecode: maintainer-clean-uudecode -maintainer-clean-time: - @[ -f ./time/Makefile ] || exit 0; \ +maintainer-clean-uudecode: + @[ -f ./uudecode/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19382,8 +19398,8 @@ maintainer-clean-time: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in time" ; \ - (cd time && \ + echo "Doing maintainer-clean in uudecode" ; \ + (cd uudecode && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19391,87 +19407,87 @@ maintainer-clean-time: maintainer-clean) \ || exit 1 -@endif time +@endif uudecode -.PHONY: configure-uudecode maybe-configure-uudecode -maybe-configure-uudecode: -@if uudecode -maybe-configure-uudecode: configure-uudecode -configure-uudecode: - @test ! -f uudecode/Makefile || exit 0; \ - [ -d uudecode ] || mkdir uudecode; \ +.PHONY: configure-wdiff maybe-configure-wdiff +maybe-configure-wdiff: +@if wdiff +maybe-configure-wdiff: configure-wdiff +configure-wdiff: + @test ! -f wdiff/Makefile || exit 0; \ + [ -d wdiff ] || mkdir wdiff; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in uudecode; \ - cd uudecode || exit 1; \ + echo Configuring in wdiff; \ + cd wdiff || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/uudecode"; \ - libsrcdir="$$s/uudecode";; \ + srcdiroption="--srcdir=$(srcdir)/wdiff"; \ + libsrcdir="$$s/wdiff";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/uudecode"; \ - libsrcdir="$$s/uudecode";; \ + srcdiroption="--srcdir=../$(srcdir)/wdiff"; \ + libsrcdir="$$s/wdiff";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: all-uudecode maybe-all-uudecode -maybe-all-uudecode: -@if uudecode -maybe-all-uudecode: all-uudecode -all-uudecode: configure-uudecode +.PHONY: all-wdiff maybe-all-wdiff +maybe-all-wdiff: +@if wdiff +maybe-all-wdiff: all-wdiff +all-wdiff: configure-wdiff @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all) -@endif uudecode - -.PHONY: check-uudecode maybe-check-uudecode -maybe-check-uudecode: -@if uudecode -maybe-check-uudecode: check-uudecode + (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all) +@endif wdiff -check-uudecode: +.PHONY: check-wdiff maybe-check-wdiff +maybe-check-wdiff: +@if wdiff +maybe-check-wdiff: check-wdiff + +check-wdiff: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check) + (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check) -@endif uudecode +@endif wdiff -.PHONY: install-uudecode maybe-install-uudecode -maybe-install-uudecode: -@if uudecode -maybe-install-uudecode: install-uudecode +.PHONY: install-wdiff maybe-install-wdiff +maybe-install-wdiff: +@if wdiff +maybe-install-wdiff: install-wdiff -install-uudecode: installdirs +install-wdiff: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install) + (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install) -@endif uudecode +@endif wdiff # Other targets (info, dvi, etc.) -.PHONY: maybe-info-uudecode info-uudecode -maybe-info-uudecode: -@if uudecode -maybe-info-uudecode: info-uudecode +.PHONY: maybe-info-wdiff info-wdiff +maybe-info-wdiff: +@if wdiff +maybe-info-wdiff: info-wdiff -info-uudecode: \ - configure-uudecode - @[ -f ./uudecode/Makefile ] || exit 0; \ +info-wdiff: \ + configure-wdiff + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19479,8 +19495,8 @@ info-uudecode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in uudecode" ; \ - (cd uudecode && \ + echo "Doing info in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19488,16 +19504,16 @@ info-uudecode: \ info) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-dvi-uudecode dvi-uudecode -maybe-dvi-uudecode: -@if uudecode -maybe-dvi-uudecode: dvi-uudecode +.PHONY: maybe-dvi-wdiff dvi-wdiff +maybe-dvi-wdiff: +@if wdiff +maybe-dvi-wdiff: dvi-wdiff -dvi-uudecode: \ - configure-uudecode - @[ -f ./uudecode/Makefile ] || exit 0; \ +dvi-wdiff: \ + configure-wdiff + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19505,8 +19521,8 @@ dvi-uudecode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in uudecode" ; \ - (cd uudecode && \ + echo "Doing dvi in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19514,16 +19530,16 @@ dvi-uudecode: \ dvi) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-TAGS-uudecode TAGS-uudecode -maybe-TAGS-uudecode: -@if uudecode -maybe-TAGS-uudecode: TAGS-uudecode +.PHONY: maybe-TAGS-wdiff TAGS-wdiff +maybe-TAGS-wdiff: +@if wdiff +maybe-TAGS-wdiff: TAGS-wdiff -TAGS-uudecode: \ - configure-uudecode - @[ -f ./uudecode/Makefile ] || exit 0; \ +TAGS-wdiff: \ + configure-wdiff + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19531,8 +19547,8 @@ TAGS-uudecode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in uudecode" ; \ - (cd uudecode && \ + echo "Doing TAGS in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19540,17 +19556,17 @@ TAGS-uudecode: \ TAGS) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-install-info-uudecode install-info-uudecode -maybe-install-info-uudecode: -@if uudecode -maybe-install-info-uudecode: install-info-uudecode +.PHONY: maybe-install-info-wdiff install-info-wdiff +maybe-install-info-wdiff: +@if wdiff +maybe-install-info-wdiff: install-info-wdiff -install-info-uudecode: \ - configure-uudecode \ - info-uudecode - @[ -f ./uudecode/Makefile ] || exit 0; \ +install-info-wdiff: \ + configure-wdiff \ + info-wdiff + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19558,8 +19574,8 @@ install-info-uudecode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in uudecode" ; \ - (cd uudecode && \ + echo "Doing install-info in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19567,16 +19583,16 @@ install-info-uudecode: \ install-info) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-installcheck-uudecode installcheck-uudecode -maybe-installcheck-uudecode: -@if uudecode -maybe-installcheck-uudecode: installcheck-uudecode +.PHONY: maybe-installcheck-wdiff installcheck-wdiff +maybe-installcheck-wdiff: +@if wdiff +maybe-installcheck-wdiff: installcheck-wdiff -installcheck-uudecode: \ - configure-uudecode - @[ -f ./uudecode/Makefile ] || exit 0; \ +installcheck-wdiff: \ + configure-wdiff + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19584,8 +19600,8 @@ installcheck-uudecode: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in uudecode" ; \ - (cd uudecode && \ + echo "Doing installcheck in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19593,15 +19609,15 @@ installcheck-uudecode: \ installcheck) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode -maybe-mostlyclean-uudecode: -@if uudecode -maybe-mostlyclean-uudecode: mostlyclean-uudecode +.PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff +maybe-mostlyclean-wdiff: +@if wdiff +maybe-mostlyclean-wdiff: mostlyclean-wdiff -mostlyclean-uudecode: - @[ -f ./uudecode/Makefile ] || exit 0; \ +mostlyclean-wdiff: + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19609,8 +19625,8 @@ mostlyclean-uudecode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in uudecode" ; \ - (cd uudecode && \ + echo "Doing mostlyclean in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19618,15 +19634,15 @@ mostlyclean-uudecode: mostlyclean) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-clean-uudecode clean-uudecode -maybe-clean-uudecode: -@if uudecode -maybe-clean-uudecode: clean-uudecode +.PHONY: maybe-clean-wdiff clean-wdiff +maybe-clean-wdiff: +@if wdiff +maybe-clean-wdiff: clean-wdiff -clean-uudecode: - @[ -f ./uudecode/Makefile ] || exit 0; \ +clean-wdiff: + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19634,8 +19650,8 @@ clean-uudecode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in uudecode" ; \ - (cd uudecode && \ + echo "Doing clean in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19643,15 +19659,15 @@ clean-uudecode: clean) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-distclean-uudecode distclean-uudecode -maybe-distclean-uudecode: -@if uudecode -maybe-distclean-uudecode: distclean-uudecode +.PHONY: maybe-distclean-wdiff distclean-wdiff +maybe-distclean-wdiff: +@if wdiff +maybe-distclean-wdiff: distclean-wdiff -distclean-uudecode: - @[ -f ./uudecode/Makefile ] || exit 0; \ +distclean-wdiff: + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19659,8 +19675,8 @@ distclean-uudecode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in uudecode" ; \ - (cd uudecode && \ + echo "Doing distclean in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19668,15 +19684,15 @@ distclean-uudecode: distclean) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode -maybe-maintainer-clean-uudecode: -@if uudecode -maybe-maintainer-clean-uudecode: maintainer-clean-uudecode +.PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff +maybe-maintainer-clean-wdiff: +@if wdiff +maybe-maintainer-clean-wdiff: maintainer-clean-wdiff -maintainer-clean-uudecode: - @[ -f ./uudecode/Makefile ] || exit 0; \ +maintainer-clean-wdiff: + @[ -f ./wdiff/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19684,8 +19700,8 @@ maintainer-clean-uudecode: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in uudecode" ; \ - (cd uudecode && \ + echo "Doing maintainer-clean in wdiff" ; \ + (cd wdiff && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19693,87 +19709,90 @@ maintainer-clean-uudecode: maintainer-clean) \ || exit 1 -@endif uudecode +@endif wdiff -.PHONY: configure-wdiff maybe-configure-wdiff -maybe-configure-wdiff: -@if wdiff -maybe-configure-wdiff: configure-wdiff -configure-wdiff: - @test ! -f wdiff/Makefile || exit 0; \ - [ -d wdiff ] || mkdir wdiff; \ +.PHONY: configure-zip maybe-configure-zip +maybe-configure-zip: +@if zip +maybe-configure-zip: configure-zip +configure-zip: + @test ! -f zip/Makefile || exit 0; \ + [ -d zip ] || mkdir zip; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in wdiff; \ - cd wdiff || exit 1; \ + echo Configuring in zip; \ + cd zip || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/wdiff"; \ - libsrcdir="$$s/wdiff";; \ + srcdiroption="--srcdir=$(srcdir)/zip"; \ + libsrcdir="$$s/zip";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/wdiff"; \ - libsrcdir="$$s/wdiff";; \ + srcdiroption="--srcdir=../$(srcdir)/zip"; \ + libsrcdir="$$s/zip";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif wdiff - -.PHONY: all-wdiff maybe-all-wdiff -maybe-all-wdiff: -@if wdiff -maybe-all-wdiff: all-wdiff -all-wdiff: configure-wdiff - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all) -@endif wdiff - -.PHONY: check-wdiff maybe-check-wdiff -maybe-check-wdiff: -@if wdiff -maybe-check-wdiff: check-wdiff +@endif zip -check-wdiff: +.PHONY: all-zip maybe-all-zip +maybe-all-zip: +@if zip +maybe-all-zip: all-zip +all-zip: configure-zip @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check) + (cd zip && $(MAKE) $(FLAGS_TO_PASS) all) +@endif zip -@endif wdiff +.PHONY: check-zip maybe-check-zip +maybe-check-zip: +@if zip +maybe-check-zip: check-zip -.PHONY: install-wdiff maybe-install-wdiff -maybe-install-wdiff: -@if wdiff -maybe-install-wdiff: install-wdiff +# This module is only tested in a native toolchain. +check-zip: + @if [ '$(host)' = '$(target)' ] ; then \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \ + fi -install-wdiff: installdirs +@endif zip + +.PHONY: install-zip maybe-install-zip +maybe-install-zip: +@if zip +maybe-install-zip: install-zip + +install-zip: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install) + (cd zip && $(MAKE) $(FLAGS_TO_PASS) install) -@endif wdiff +@endif zip # Other targets (info, dvi, etc.) -.PHONY: maybe-info-wdiff info-wdiff -maybe-info-wdiff: -@if wdiff -maybe-info-wdiff: info-wdiff +.PHONY: maybe-info-zip info-zip +maybe-info-zip: +@if zip +maybe-info-zip: info-zip -info-wdiff: \ - configure-wdiff - @[ -f ./wdiff/Makefile ] || exit 0; \ +info-zip: \ + configure-zip + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19781,8 +19800,8 @@ info-wdiff: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in wdiff" ; \ - (cd wdiff && \ + echo "Doing info in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19790,16 +19809,16 @@ info-wdiff: \ info) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-dvi-wdiff dvi-wdiff -maybe-dvi-wdiff: -@if wdiff -maybe-dvi-wdiff: dvi-wdiff +.PHONY: maybe-dvi-zip dvi-zip +maybe-dvi-zip: +@if zip +maybe-dvi-zip: dvi-zip -dvi-wdiff: \ - configure-wdiff - @[ -f ./wdiff/Makefile ] || exit 0; \ +dvi-zip: \ + configure-zip + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19807,8 +19826,8 @@ dvi-wdiff: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in wdiff" ; \ - (cd wdiff && \ + echo "Doing dvi in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19816,16 +19835,16 @@ dvi-wdiff: \ dvi) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-TAGS-wdiff TAGS-wdiff -maybe-TAGS-wdiff: -@if wdiff -maybe-TAGS-wdiff: TAGS-wdiff +.PHONY: maybe-TAGS-zip TAGS-zip +maybe-TAGS-zip: +@if zip +maybe-TAGS-zip: TAGS-zip -TAGS-wdiff: \ - configure-wdiff - @[ -f ./wdiff/Makefile ] || exit 0; \ +TAGS-zip: \ + configure-zip + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19833,8 +19852,8 @@ TAGS-wdiff: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in wdiff" ; \ - (cd wdiff && \ + echo "Doing TAGS in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19842,17 +19861,17 @@ TAGS-wdiff: \ TAGS) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-install-info-wdiff install-info-wdiff -maybe-install-info-wdiff: -@if wdiff -maybe-install-info-wdiff: install-info-wdiff +.PHONY: maybe-install-info-zip install-info-zip +maybe-install-info-zip: +@if zip +maybe-install-info-zip: install-info-zip -install-info-wdiff: \ - configure-wdiff \ - info-wdiff - @[ -f ./wdiff/Makefile ] || exit 0; \ +install-info-zip: \ + configure-zip \ + info-zip + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19860,8 +19879,8 @@ install-info-wdiff: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in wdiff" ; \ - (cd wdiff && \ + echo "Doing install-info in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19869,16 +19888,16 @@ install-info-wdiff: \ install-info) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-installcheck-wdiff installcheck-wdiff -maybe-installcheck-wdiff: -@if wdiff -maybe-installcheck-wdiff: installcheck-wdiff +.PHONY: maybe-installcheck-zip installcheck-zip +maybe-installcheck-zip: +@if zip +maybe-installcheck-zip: installcheck-zip -installcheck-wdiff: \ - configure-wdiff - @[ -f ./wdiff/Makefile ] || exit 0; \ +installcheck-zip: \ + configure-zip + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19886,8 +19905,8 @@ installcheck-wdiff: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in wdiff" ; \ - (cd wdiff && \ + echo "Doing installcheck in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19895,15 +19914,15 @@ installcheck-wdiff: \ installcheck) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff -maybe-mostlyclean-wdiff: -@if wdiff -maybe-mostlyclean-wdiff: mostlyclean-wdiff +.PHONY: maybe-mostlyclean-zip mostlyclean-zip +maybe-mostlyclean-zip: +@if zip +maybe-mostlyclean-zip: mostlyclean-zip -mostlyclean-wdiff: - @[ -f ./wdiff/Makefile ] || exit 0; \ +mostlyclean-zip: + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19911,8 +19930,8 @@ mostlyclean-wdiff: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in wdiff" ; \ - (cd wdiff && \ + echo "Doing mostlyclean in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19920,15 +19939,15 @@ mostlyclean-wdiff: mostlyclean) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-clean-wdiff clean-wdiff -maybe-clean-wdiff: -@if wdiff -maybe-clean-wdiff: clean-wdiff +.PHONY: maybe-clean-zip clean-zip +maybe-clean-zip: +@if zip +maybe-clean-zip: clean-zip -clean-wdiff: - @[ -f ./wdiff/Makefile ] || exit 0; \ +clean-zip: + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19936,8 +19955,8 @@ clean-wdiff: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in wdiff" ; \ - (cd wdiff && \ + echo "Doing clean in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19945,15 +19964,15 @@ clean-wdiff: clean) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-distclean-wdiff distclean-wdiff -maybe-distclean-wdiff: -@if wdiff -maybe-distclean-wdiff: distclean-wdiff +.PHONY: maybe-distclean-zip distclean-zip +maybe-distclean-zip: +@if zip +maybe-distclean-zip: distclean-zip -distclean-wdiff: - @[ -f ./wdiff/Makefile ] || exit 0; \ +distclean-zip: + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19961,8 +19980,8 @@ distclean-wdiff: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in wdiff" ; \ - (cd wdiff && \ + echo "Doing distclean in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19970,15 +19989,15 @@ distclean-wdiff: distclean) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff -maybe-maintainer-clean-wdiff: -@if wdiff -maybe-maintainer-clean-wdiff: maintainer-clean-wdiff +.PHONY: maybe-maintainer-clean-zip maintainer-clean-zip +maybe-maintainer-clean-zip: +@if zip +maybe-maintainer-clean-zip: maintainer-clean-zip -maintainer-clean-wdiff: - @[ -f ./wdiff/Makefile ] || exit 0; \ +maintainer-clean-zip: + @[ -f ./zip/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -19986,8 +20005,8 @@ maintainer-clean-wdiff: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in wdiff" ; \ - (cd wdiff && \ + echo "Doing maintainer-clean in zip" ; \ + (cd zip && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -19995,90 +20014,79 @@ maintainer-clean-wdiff: maintainer-clean) \ || exit 1 -@endif wdiff +@endif zip -.PHONY: configure-zip maybe-configure-zip -maybe-configure-zip: -@if zip -maybe-configure-zip: configure-zip -configure-zip: - @test ! -f zip/Makefile || exit 0; \ - [ -d zip ] || mkdir zip; \ +.PHONY: configure-zlib maybe-configure-zlib +maybe-configure-zlib: +@if zlib +maybe-configure-zlib: configure-zlib +configure-zlib: + @test -f stage_last && exit 0; \ + test ! -f zlib/Makefile || exit 0; \ + [ -d zlib ] || mkdir zlib; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in zip; \ - cd zip || exit 1; \ + echo Configuring in zlib; \ + cd zlib || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/zip"; \ - libsrcdir="$$s/zip";; \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/zip"; \ - libsrcdir="$$s/zip";; \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif zip +@endif zlib -.PHONY: all-zip maybe-all-zip -maybe-all-zip: -@if zip -maybe-all-zip: all-zip -all-zip: configure-zip - @r=`${PWD_COMMAND}`; export r; \ +.PHONY: all-zlib maybe-all-zlib +maybe-all-zlib: +@if zlib +maybe-all-zlib: all-zlib +all-zlib: configure-zlib + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd zip && $(MAKE) $(FLAGS_TO_PASS) all) -@endif zip + (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all) +@endif zlib -.PHONY: check-zip maybe-check-zip -maybe-check-zip: -@if zip -maybe-check-zip: check-zip +.PHONY: check-zlib maybe-check-zlib +maybe-check-zlib: +@if zlib +maybe-check-zlib: check-zlib -# This module is only tested in a native toolchain. -check-zip: - @if [ '$(host)' = '$(target)' ] ; then \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \ - fi +check-zlib: -@endif zip +@endif zlib -.PHONY: install-zip maybe-install-zip -maybe-install-zip: -@if zip -maybe-install-zip: install-zip +.PHONY: install-zlib maybe-install-zlib +maybe-install-zlib: +@if zlib +maybe-install-zlib: install-zlib -install-zip: installdirs - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd zip && $(MAKE) $(FLAGS_TO_PASS) install) +install-zlib: -@endif zip +@endif zlib # Other targets (info, dvi, etc.) -.PHONY: maybe-info-zip info-zip -maybe-info-zip: -@if zip -maybe-info-zip: info-zip +.PHONY: maybe-info-zlib info-zlib +maybe-info-zlib: +@if zlib +maybe-info-zlib: info-zlib -info-zip: \ - configure-zip - @[ -f ./zip/Makefile ] || exit 0; \ +info-zlib: \ + configure-zlib + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20086,8 +20094,8 @@ info-zip: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in zip" ; \ - (cd zip && \ + echo "Doing info in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20095,16 +20103,16 @@ info-zip: \ info) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-dvi-zip dvi-zip -maybe-dvi-zip: -@if zip -maybe-dvi-zip: dvi-zip +.PHONY: maybe-dvi-zlib dvi-zlib +maybe-dvi-zlib: +@if zlib +maybe-dvi-zlib: dvi-zlib -dvi-zip: \ - configure-zip - @[ -f ./zip/Makefile ] || exit 0; \ +dvi-zlib: \ + configure-zlib + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20112,8 +20120,8 @@ dvi-zip: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in zip" ; \ - (cd zip && \ + echo "Doing dvi in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20121,16 +20129,16 @@ dvi-zip: \ dvi) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-TAGS-zip TAGS-zip -maybe-TAGS-zip: -@if zip -maybe-TAGS-zip: TAGS-zip +.PHONY: maybe-TAGS-zlib TAGS-zlib +maybe-TAGS-zlib: +@if zlib +maybe-TAGS-zlib: TAGS-zlib -TAGS-zip: \ - configure-zip - @[ -f ./zip/Makefile ] || exit 0; \ +TAGS-zlib: \ + configure-zlib + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20138,8 +20146,8 @@ TAGS-zip: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in zip" ; \ - (cd zip && \ + echo "Doing TAGS in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20147,17 +20155,17 @@ TAGS-zip: \ TAGS) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-install-info-zip install-info-zip -maybe-install-info-zip: -@if zip -maybe-install-info-zip: install-info-zip +.PHONY: maybe-install-info-zlib install-info-zlib +maybe-install-info-zlib: +@if zlib +maybe-install-info-zlib: install-info-zlib -install-info-zip: \ - configure-zip \ - info-zip - @[ -f ./zip/Makefile ] || exit 0; \ +install-info-zlib: \ + configure-zlib \ + info-zlib + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20165,8 +20173,8 @@ install-info-zip: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in zip" ; \ - (cd zip && \ + echo "Doing install-info in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20174,16 +20182,16 @@ install-info-zip: \ install-info) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-installcheck-zip installcheck-zip -maybe-installcheck-zip: -@if zip -maybe-installcheck-zip: installcheck-zip +.PHONY: maybe-installcheck-zlib installcheck-zlib +maybe-installcheck-zlib: +@if zlib +maybe-installcheck-zlib: installcheck-zlib -installcheck-zip: \ - configure-zip - @[ -f ./zip/Makefile ] || exit 0; \ +installcheck-zlib: \ + configure-zlib + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20191,8 +20199,8 @@ installcheck-zip: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in zip" ; \ - (cd zip && \ + echo "Doing installcheck in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20200,15 +20208,15 @@ installcheck-zip: \ installcheck) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-mostlyclean-zip mostlyclean-zip -maybe-mostlyclean-zip: -@if zip -maybe-mostlyclean-zip: mostlyclean-zip +.PHONY: maybe-mostlyclean-zlib mostlyclean-zlib +maybe-mostlyclean-zlib: +@if zlib +maybe-mostlyclean-zlib: mostlyclean-zlib -mostlyclean-zip: - @[ -f ./zip/Makefile ] || exit 0; \ +mostlyclean-zlib: + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20216,8 +20224,8 @@ mostlyclean-zip: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in zip" ; \ - (cd zip && \ + echo "Doing mostlyclean in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20225,15 +20233,15 @@ mostlyclean-zip: mostlyclean) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-clean-zip clean-zip -maybe-clean-zip: -@if zip -maybe-clean-zip: clean-zip +.PHONY: maybe-clean-zlib clean-zlib +maybe-clean-zlib: +@if zlib +maybe-clean-zlib: clean-zlib -clean-zip: - @[ -f ./zip/Makefile ] || exit 0; \ +clean-zlib: + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20241,8 +20249,8 @@ clean-zip: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in zip" ; \ - (cd zip && \ + echo "Doing clean in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20250,15 +20258,15 @@ clean-zip: clean) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-distclean-zip distclean-zip -maybe-distclean-zip: -@if zip -maybe-distclean-zip: distclean-zip +.PHONY: maybe-distclean-zlib distclean-zlib +maybe-distclean-zlib: +@if zlib +maybe-distclean-zlib: distclean-zlib -distclean-zip: - @[ -f ./zip/Makefile ] || exit 0; \ +distclean-zlib: + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20266,8 +20274,8 @@ distclean-zip: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in zip" ; \ - (cd zip && \ + echo "Doing distclean in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20275,15 +20283,15 @@ distclean-zip: distclean) \ || exit 1 -@endif zip +@endif zlib -.PHONY: maybe-maintainer-clean-zip maintainer-clean-zip -maybe-maintainer-clean-zip: -@if zip -maybe-maintainer-clean-zip: maintainer-clean-zip +.PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib +maybe-maintainer-clean-zlib: +@if zlib +maybe-maintainer-clean-zlib: maintainer-clean-zlib -maintainer-clean-zip: - @[ -f ./zip/Makefile ] || exit 0; \ +maintainer-clean-zlib: + @[ -f ./zlib/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -20291,8 +20299,8 @@ maintainer-clean-zip: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in zip" ; \ - (cd zip && \ + echo "Doing maintainer-clean in zlib" ; \ + (cd zlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20300,86 +20308,96 @@ maintainer-clean-zip: maintainer-clean) \ || exit 1 -@endif zip +@endif zlib -.PHONY: configure-zlib maybe-configure-zlib -maybe-configure-zlib: -@if zlib -maybe-configure-zlib: configure-zlib -configure-zlib: - @test ! -f zlib/Makefile || exit 0; \ - [ -d zlib ] || mkdir zlib; \ +.PHONY: configure-gdb maybe-configure-gdb +maybe-configure-gdb: +@if gdb +maybe-configure-gdb: configure-gdb +configure-gdb: + @test ! -f gdb/Makefile || exit 0; \ + [ -d gdb ] || mkdir gdb; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in zlib; \ - cd zlib || exit 1; \ + echo Configuring in gdb; \ + cd gdb || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/zlib"; \ - libsrcdir="$$s/zlib";; \ + srcdiroption="--srcdir=$(srcdir)/gdb"; \ + libsrcdir="$$s/gdb";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/zlib"; \ - libsrcdir="$$s/zlib";; \ + srcdiroption="--srcdir=../$(srcdir)/gdb"; \ + libsrcdir="$$s/gdb";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif zlib +@endif gdb -.PHONY: all-zlib maybe-all-zlib -maybe-all-zlib: -@if zlib -maybe-all-zlib: all-zlib -all-zlib: configure-zlib +.PHONY: all-gdb maybe-all-gdb +maybe-all-gdb: +@if gdb +maybe-all-gdb: all-gdb +all-gdb: configure-gdb @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all) -@endif zlib + (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) +@endif gdb -.PHONY: check-zlib maybe-check-zlib -maybe-check-zlib: -@if zlib -maybe-check-zlib: check-zlib +.PHONY: check-gdb maybe-check-gdb +maybe-check-gdb: +@if gdb +maybe-check-gdb: check-gdb -check-zlib: +check-gdb: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check) -@endif zlib +@endif gdb -.PHONY: install-zlib maybe-install-zlib -maybe-install-zlib: -@if zlib -maybe-install-zlib: install-zlib +.PHONY: install-gdb maybe-install-gdb +maybe-install-gdb: +@if gdb +maybe-install-gdb: install-gdb -install-zlib: +install-gdb: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install) -@endif zlib +@endif gdb # Other targets (info, dvi, etc.) -.PHONY: maybe-info-zlib info-zlib -maybe-info-zlib: -@if zlib -maybe-info-zlib: info-zlib +.PHONY: maybe-info-gdb info-gdb +maybe-info-gdb: +@if gdb +maybe-info-gdb: info-gdb -info-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ +info-gdb: \ + configure-gdb + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in zlib" ; \ - (cd zlib && \ + echo "Doing info in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20387,25 +20405,25 @@ info-zlib: \ info) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-dvi-zlib dvi-zlib -maybe-dvi-zlib: -@if zlib -maybe-dvi-zlib: dvi-zlib +.PHONY: maybe-dvi-gdb dvi-gdb +maybe-dvi-gdb: +@if gdb +maybe-dvi-gdb: dvi-gdb -dvi-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ +dvi-gdb: \ + configure-gdb + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in zlib" ; \ - (cd zlib && \ + echo "Doing dvi in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20413,25 +20431,25 @@ dvi-zlib: \ dvi) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-TAGS-zlib TAGS-zlib -maybe-TAGS-zlib: -@if zlib -maybe-TAGS-zlib: TAGS-zlib +.PHONY: maybe-TAGS-gdb TAGS-gdb +maybe-TAGS-gdb: +@if gdb +maybe-TAGS-gdb: TAGS-gdb -TAGS-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ +TAGS-gdb: \ + configure-gdb + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in zlib" ; \ - (cd zlib && \ + echo "Doing TAGS in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20439,26 +20457,26 @@ TAGS-zlib: \ TAGS) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-install-info-zlib install-info-zlib -maybe-install-info-zlib: -@if zlib -maybe-install-info-zlib: install-info-zlib +.PHONY: maybe-install-info-gdb install-info-gdb +maybe-install-info-gdb: +@if gdb +maybe-install-info-gdb: install-info-gdb -install-info-zlib: \ - configure-zlib \ - info-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ +install-info-gdb: \ + configure-gdb \ + info-gdb + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in zlib" ; \ - (cd zlib && \ + echo "Doing install-info in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20466,25 +20484,25 @@ install-info-zlib: \ install-info) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-installcheck-zlib installcheck-zlib -maybe-installcheck-zlib: -@if zlib -maybe-installcheck-zlib: installcheck-zlib +.PHONY: maybe-installcheck-gdb installcheck-gdb +maybe-installcheck-gdb: +@if gdb +maybe-installcheck-gdb: installcheck-gdb -installcheck-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ +installcheck-gdb: \ + configure-gdb + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in zlib" ; \ - (cd zlib && \ + echo "Doing installcheck in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20492,24 +20510,24 @@ installcheck-zlib: \ installcheck) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-mostlyclean-zlib mostlyclean-zlib -maybe-mostlyclean-zlib: -@if zlib -maybe-mostlyclean-zlib: mostlyclean-zlib +.PHONY: maybe-mostlyclean-gdb mostlyclean-gdb +maybe-mostlyclean-gdb: +@if gdb +maybe-mostlyclean-gdb: mostlyclean-gdb -mostlyclean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ +mostlyclean-gdb: + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in zlib" ; \ - (cd zlib && \ + echo "Doing mostlyclean in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20517,24 +20535,24 @@ mostlyclean-zlib: mostlyclean) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-clean-zlib clean-zlib -maybe-clean-zlib: -@if zlib -maybe-clean-zlib: clean-zlib +.PHONY: maybe-clean-gdb clean-gdb +maybe-clean-gdb: +@if gdb +maybe-clean-gdb: clean-gdb -clean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ +clean-gdb: + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in zlib" ; \ - (cd zlib && \ + echo "Doing clean in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20542,24 +20560,24 @@ clean-zlib: clean) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-distclean-zlib distclean-zlib -maybe-distclean-zlib: -@if zlib -maybe-distclean-zlib: distclean-zlib +.PHONY: maybe-distclean-gdb distclean-gdb +maybe-distclean-gdb: +@if gdb +maybe-distclean-gdb: distclean-gdb -distclean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ +distclean-gdb: + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in zlib" ; \ - (cd zlib && \ + echo "Doing distclean in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20567,24 +20585,24 @@ distclean-zlib: distclean) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib -maybe-maintainer-clean-zlib: -@if zlib -maybe-maintainer-clean-zlib: maintainer-clean-zlib +.PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb +maybe-maintainer-clean-gdb: +@if gdb +maybe-maintainer-clean-gdb: maintainer-clean-gdb -maintainer-clean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ +maintainer-clean-gdb: + @[ -f ./gdb/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in zlib" ; \ - (cd zlib && \ + echo "Doing maintainer-clean in gdb" ; \ + (cd gdb && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20592,96 +20610,96 @@ maintainer-clean-zlib: maintainer-clean) \ || exit 1 -@endif zlib +@endif gdb -.PHONY: configure-gdb maybe-configure-gdb -maybe-configure-gdb: -@if gdb -maybe-configure-gdb: configure-gdb -configure-gdb: - @test ! -f gdb/Makefile || exit 0; \ - [ -d gdb ] || mkdir gdb; \ +.PHONY: configure-expect maybe-configure-expect +maybe-configure-expect: +@if expect +maybe-configure-expect: configure-expect +configure-expect: + @test ! -f expect/Makefile || exit 0; \ + [ -d expect ] || mkdir expect; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in gdb; \ - cd gdb || exit 1; \ + echo Configuring in expect; \ + cd expect || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/gdb"; \ - libsrcdir="$$s/gdb";; \ + srcdiroption="--srcdir=$(srcdir)/expect"; \ + libsrcdir="$$s/expect";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/gdb"; \ - libsrcdir="$$s/gdb";; \ + srcdiroption="--srcdir=../$(srcdir)/expect"; \ + libsrcdir="$$s/expect";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif gdb +@endif expect -.PHONY: all-gdb maybe-all-gdb -maybe-all-gdb: -@if gdb -maybe-all-gdb: all-gdb -all-gdb: configure-gdb +.PHONY: all-expect maybe-all-expect +maybe-all-expect: +@if expect +maybe-all-expect: all-expect +all-expect: configure-expect @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) -@endif gdb + (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) +@endif expect -.PHONY: check-gdb maybe-check-gdb -maybe-check-gdb: -@if gdb -maybe-check-gdb: check-gdb +.PHONY: check-expect maybe-check-expect +maybe-check-expect: +@if expect +maybe-check-expect: check-expect -check-gdb: +check-expect: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) + (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check) -@endif gdb +@endif expect -.PHONY: install-gdb maybe-install-gdb -maybe-install-gdb: -@if gdb -maybe-install-gdb: install-gdb +.PHONY: install-expect maybe-install-expect +maybe-install-expect: +@if expect +maybe-install-expect: install-expect -install-gdb: installdirs +install-expect: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) + (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install) -@endif gdb +@endif expect # Other targets (info, dvi, etc.) -.PHONY: maybe-info-gdb info-gdb -maybe-info-gdb: -@if gdb -maybe-info-gdb: info-gdb +.PHONY: maybe-info-expect info-expect +maybe-info-expect: +@if expect +maybe-info-expect: info-expect -info-gdb: \ - configure-gdb - @[ -f ./gdb/Makefile ] || exit 0; \ +info-expect: \ + configure-expect + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in gdb" ; \ - (cd gdb && \ + echo "Doing info in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20689,25 +20707,25 @@ info-gdb: \ info) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-dvi-gdb dvi-gdb -maybe-dvi-gdb: -@if gdb -maybe-dvi-gdb: dvi-gdb +.PHONY: maybe-dvi-expect dvi-expect +maybe-dvi-expect: +@if expect +maybe-dvi-expect: dvi-expect -dvi-gdb: \ - configure-gdb - @[ -f ./gdb/Makefile ] || exit 0; \ +dvi-expect: \ + configure-expect + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in gdb" ; \ - (cd gdb && \ + echo "Doing dvi in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20715,25 +20733,25 @@ dvi-gdb: \ dvi) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-TAGS-gdb TAGS-gdb -maybe-TAGS-gdb: -@if gdb -maybe-TAGS-gdb: TAGS-gdb +.PHONY: maybe-TAGS-expect TAGS-expect +maybe-TAGS-expect: +@if expect +maybe-TAGS-expect: TAGS-expect -TAGS-gdb: \ - configure-gdb - @[ -f ./gdb/Makefile ] || exit 0; \ +TAGS-expect: \ + configure-expect + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in gdb" ; \ - (cd gdb && \ + echo "Doing TAGS in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20741,26 +20759,26 @@ TAGS-gdb: \ TAGS) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-install-info-gdb install-info-gdb -maybe-install-info-gdb: -@if gdb -maybe-install-info-gdb: install-info-gdb +.PHONY: maybe-install-info-expect install-info-expect +maybe-install-info-expect: +@if expect +maybe-install-info-expect: install-info-expect -install-info-gdb: \ - configure-gdb \ - info-gdb - @[ -f ./gdb/Makefile ] || exit 0; \ +install-info-expect: \ + configure-expect \ + info-expect + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in gdb" ; \ - (cd gdb && \ + echo "Doing install-info in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20768,25 +20786,25 @@ install-info-gdb: \ install-info) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-installcheck-gdb installcheck-gdb -maybe-installcheck-gdb: -@if gdb -maybe-installcheck-gdb: installcheck-gdb +.PHONY: maybe-installcheck-expect installcheck-expect +maybe-installcheck-expect: +@if expect +maybe-installcheck-expect: installcheck-expect -installcheck-gdb: \ - configure-gdb - @[ -f ./gdb/Makefile ] || exit 0; \ +installcheck-expect: \ + configure-expect + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in gdb" ; \ - (cd gdb && \ + echo "Doing installcheck in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20794,24 +20812,24 @@ installcheck-gdb: \ installcheck) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-mostlyclean-gdb mostlyclean-gdb -maybe-mostlyclean-gdb: -@if gdb -maybe-mostlyclean-gdb: mostlyclean-gdb +.PHONY: maybe-mostlyclean-expect mostlyclean-expect +maybe-mostlyclean-expect: +@if expect +maybe-mostlyclean-expect: mostlyclean-expect -mostlyclean-gdb: - @[ -f ./gdb/Makefile ] || exit 0; \ +mostlyclean-expect: + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in gdb" ; \ - (cd gdb && \ + echo "Doing mostlyclean in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20819,24 +20837,24 @@ mostlyclean-gdb: mostlyclean) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-clean-gdb clean-gdb -maybe-clean-gdb: -@if gdb -maybe-clean-gdb: clean-gdb +.PHONY: maybe-clean-expect clean-expect +maybe-clean-expect: +@if expect +maybe-clean-expect: clean-expect -clean-gdb: - @[ -f ./gdb/Makefile ] || exit 0; \ +clean-expect: + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in gdb" ; \ - (cd gdb && \ + echo "Doing clean in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20844,24 +20862,24 @@ clean-gdb: clean) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-distclean-gdb distclean-gdb -maybe-distclean-gdb: -@if gdb -maybe-distclean-gdb: distclean-gdb +.PHONY: maybe-distclean-expect distclean-expect +maybe-distclean-expect: +@if expect +maybe-distclean-expect: distclean-expect -distclean-gdb: - @[ -f ./gdb/Makefile ] || exit 0; \ +distclean-expect: + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in gdb" ; \ - (cd gdb && \ + echo "Doing distclean in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20869,24 +20887,24 @@ distclean-gdb: distclean) \ || exit 1 -@endif gdb +@endif expect -.PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb -maybe-maintainer-clean-gdb: -@if gdb -maybe-maintainer-clean-gdb: maintainer-clean-gdb +.PHONY: maybe-maintainer-clean-expect maintainer-clean-expect +maybe-maintainer-clean-expect: +@if expect +maybe-maintainer-clean-expect: maintainer-clean-expect -maintainer-clean-gdb: - @[ -f ./gdb/Makefile ] || exit 0; \ +maintainer-clean-expect: + @[ -f ./expect/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in gdb" ; \ - (cd gdb && \ + echo "Doing maintainer-clean in expect" ; \ + (cd expect && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20894,96 +20912,96 @@ maintainer-clean-gdb: maintainer-clean) \ || exit 1 -@endif gdb +@endif expect -.PHONY: configure-expect maybe-configure-expect -maybe-configure-expect: -@if expect -maybe-configure-expect: configure-expect -configure-expect: - @test ! -f expect/Makefile || exit 0; \ - [ -d expect ] || mkdir expect; \ +.PHONY: configure-guile maybe-configure-guile +maybe-configure-guile: +@if guile +maybe-configure-guile: configure-guile +configure-guile: + @test ! -f guile/Makefile || exit 0; \ + [ -d guile ] || mkdir guile; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in expect; \ - cd expect || exit 1; \ + echo Configuring in guile; \ + cd guile || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/expect"; \ - libsrcdir="$$s/expect";; \ + srcdiroption="--srcdir=$(srcdir)/guile"; \ + libsrcdir="$$s/guile";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/expect"; \ - libsrcdir="$$s/expect";; \ + srcdiroption="--srcdir=../$(srcdir)/guile"; \ + libsrcdir="$$s/guile";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif expect +@endif guile -.PHONY: all-expect maybe-all-expect -maybe-all-expect: -@if expect -maybe-all-expect: all-expect -all-expect: configure-expect +.PHONY: all-guile maybe-all-guile +maybe-all-guile: +@if guile +maybe-all-guile: all-guile +all-guile: configure-guile @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) -@endif expect + (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) +@endif guile -.PHONY: check-expect maybe-check-expect -maybe-check-expect: -@if expect -maybe-check-expect: check-expect +.PHONY: check-guile maybe-check-guile +maybe-check-guile: +@if guile +maybe-check-guile: check-guile -check-expect: +check-guile: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) + (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check) -@endif expect +@endif guile -.PHONY: install-expect maybe-install-expect -maybe-install-expect: -@if expect -maybe-install-expect: install-expect +.PHONY: install-guile maybe-install-guile +maybe-install-guile: +@if guile +maybe-install-guile: install-guile -install-expect: installdirs +install-guile: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) + (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install) -@endif expect +@endif guile # Other targets (info, dvi, etc.) -.PHONY: maybe-info-expect info-expect -maybe-info-expect: -@if expect -maybe-info-expect: info-expect +.PHONY: maybe-info-guile info-guile +maybe-info-guile: +@if guile +maybe-info-guile: info-guile -info-expect: \ - configure-expect - @[ -f ./expect/Makefile ] || exit 0; \ +info-guile: \ + configure-guile + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in expect" ; \ - (cd expect && \ + echo "Doing info in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -20991,25 +21009,25 @@ info-expect: \ info) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-dvi-expect dvi-expect -maybe-dvi-expect: -@if expect -maybe-dvi-expect: dvi-expect +.PHONY: maybe-dvi-guile dvi-guile +maybe-dvi-guile: +@if guile +maybe-dvi-guile: dvi-guile -dvi-expect: \ - configure-expect - @[ -f ./expect/Makefile ] || exit 0; \ +dvi-guile: \ + configure-guile + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in expect" ; \ - (cd expect && \ + echo "Doing dvi in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21017,25 +21035,25 @@ dvi-expect: \ dvi) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-TAGS-expect TAGS-expect -maybe-TAGS-expect: -@if expect -maybe-TAGS-expect: TAGS-expect +.PHONY: maybe-TAGS-guile TAGS-guile +maybe-TAGS-guile: +@if guile +maybe-TAGS-guile: TAGS-guile -TAGS-expect: \ - configure-expect - @[ -f ./expect/Makefile ] || exit 0; \ +TAGS-guile: \ + configure-guile + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in expect" ; \ - (cd expect && \ + echo "Doing TAGS in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21043,26 +21061,26 @@ TAGS-expect: \ TAGS) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-install-info-expect install-info-expect -maybe-install-info-expect: -@if expect -maybe-install-info-expect: install-info-expect +.PHONY: maybe-install-info-guile install-info-guile +maybe-install-info-guile: +@if guile +maybe-install-info-guile: install-info-guile -install-info-expect: \ - configure-expect \ - info-expect - @[ -f ./expect/Makefile ] || exit 0; \ +install-info-guile: \ + configure-guile \ + info-guile + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in expect" ; \ - (cd expect && \ + echo "Doing install-info in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21070,25 +21088,25 @@ install-info-expect: \ install-info) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-installcheck-expect installcheck-expect -maybe-installcheck-expect: -@if expect -maybe-installcheck-expect: installcheck-expect +.PHONY: maybe-installcheck-guile installcheck-guile +maybe-installcheck-guile: +@if guile +maybe-installcheck-guile: installcheck-guile -installcheck-expect: \ - configure-expect - @[ -f ./expect/Makefile ] || exit 0; \ +installcheck-guile: \ + configure-guile + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in expect" ; \ - (cd expect && \ + echo "Doing installcheck in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21096,24 +21114,24 @@ installcheck-expect: \ installcheck) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-mostlyclean-expect mostlyclean-expect -maybe-mostlyclean-expect: -@if expect -maybe-mostlyclean-expect: mostlyclean-expect +.PHONY: maybe-mostlyclean-guile mostlyclean-guile +maybe-mostlyclean-guile: +@if guile +maybe-mostlyclean-guile: mostlyclean-guile -mostlyclean-expect: - @[ -f ./expect/Makefile ] || exit 0; \ +mostlyclean-guile: + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in expect" ; \ - (cd expect && \ + echo "Doing mostlyclean in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21121,24 +21139,24 @@ mostlyclean-expect: mostlyclean) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-clean-expect clean-expect -maybe-clean-expect: -@if expect -maybe-clean-expect: clean-expect +.PHONY: maybe-clean-guile clean-guile +maybe-clean-guile: +@if guile +maybe-clean-guile: clean-guile -clean-expect: - @[ -f ./expect/Makefile ] || exit 0; \ +clean-guile: + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in expect" ; \ - (cd expect && \ + echo "Doing clean in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21146,24 +21164,24 @@ clean-expect: clean) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-distclean-expect distclean-expect -maybe-distclean-expect: -@if expect -maybe-distclean-expect: distclean-expect +.PHONY: maybe-distclean-guile distclean-guile +maybe-distclean-guile: +@if guile +maybe-distclean-guile: distclean-guile -distclean-expect: - @[ -f ./expect/Makefile ] || exit 0; \ +distclean-guile: + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in expect" ; \ - (cd expect && \ + echo "Doing distclean in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21171,24 +21189,24 @@ distclean-expect: distclean) \ || exit 1 -@endif expect +@endif guile -.PHONY: maybe-maintainer-clean-expect maintainer-clean-expect -maybe-maintainer-clean-expect: -@if expect -maybe-maintainer-clean-expect: maintainer-clean-expect +.PHONY: maybe-maintainer-clean-guile maintainer-clean-guile +maybe-maintainer-clean-guile: +@if guile +maybe-maintainer-clean-guile: maintainer-clean-guile -maintainer-clean-expect: - @[ -f ./expect/Makefile ] || exit 0; \ +maintainer-clean-guile: + @[ -f ./guile/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in expect" ; \ - (cd expect && \ + echo "Doing maintainer-clean in guile" ; \ + (cd guile && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21196,96 +21214,96 @@ maintainer-clean-expect: maintainer-clean) \ || exit 1 -@endif expect +@endif guile -.PHONY: configure-guile maybe-configure-guile -maybe-configure-guile: -@if guile -maybe-configure-guile: configure-guile -configure-guile: - @test ! -f guile/Makefile || exit 0; \ - [ -d guile ] || mkdir guile; \ +.PHONY: configure-tk maybe-configure-tk +maybe-configure-tk: +@if tk +maybe-configure-tk: configure-tk +configure-tk: + @test ! -f tk/Makefile || exit 0; \ + [ -d tk ] || mkdir tk; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in guile; \ - cd guile || exit 1; \ + echo Configuring in tk; \ + cd tk || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/guile"; \ - libsrcdir="$$s/guile";; \ + srcdiroption="--srcdir=$(srcdir)/tk"; \ + libsrcdir="$$s/tk";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/guile"; \ - libsrcdir="$$s/guile";; \ + srcdiroption="--srcdir=../$(srcdir)/tk"; \ + libsrcdir="$$s/tk";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif guile +@endif tk -.PHONY: all-guile maybe-all-guile -maybe-all-guile: -@if guile -maybe-all-guile: all-guile -all-guile: configure-guile +.PHONY: all-tk maybe-all-tk +maybe-all-tk: +@if tk +maybe-all-tk: all-tk +all-tk: configure-tk @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) -@endif guile + (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) +@endif tk -.PHONY: check-guile maybe-check-guile -maybe-check-guile: -@if guile -maybe-check-guile: check-guile +.PHONY: check-tk maybe-check-tk +maybe-check-tk: +@if tk +maybe-check-tk: check-tk -check-guile: +check-tk: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) + (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check) -@endif guile +@endif tk -.PHONY: install-guile maybe-install-guile -maybe-install-guile: -@if guile -maybe-install-guile: install-guile +.PHONY: install-tk maybe-install-tk +maybe-install-tk: +@if tk +maybe-install-tk: install-tk -install-guile: installdirs +install-tk: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) + (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install) -@endif guile +@endif tk # Other targets (info, dvi, etc.) -.PHONY: maybe-info-guile info-guile -maybe-info-guile: -@if guile -maybe-info-guile: info-guile +.PHONY: maybe-info-tk info-tk +maybe-info-tk: +@if tk +maybe-info-tk: info-tk -info-guile: \ - configure-guile - @[ -f ./guile/Makefile ] || exit 0; \ +info-tk: \ + configure-tk + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in guile" ; \ - (cd guile && \ + echo "Doing info in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21293,25 +21311,25 @@ info-guile: \ info) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-dvi-guile dvi-guile -maybe-dvi-guile: -@if guile -maybe-dvi-guile: dvi-guile +.PHONY: maybe-dvi-tk dvi-tk +maybe-dvi-tk: +@if tk +maybe-dvi-tk: dvi-tk -dvi-guile: \ - configure-guile - @[ -f ./guile/Makefile ] || exit 0; \ +dvi-tk: \ + configure-tk + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in guile" ; \ - (cd guile && \ + echo "Doing dvi in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21319,25 +21337,25 @@ dvi-guile: \ dvi) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-TAGS-guile TAGS-guile -maybe-TAGS-guile: -@if guile -maybe-TAGS-guile: TAGS-guile +.PHONY: maybe-TAGS-tk TAGS-tk +maybe-TAGS-tk: +@if tk +maybe-TAGS-tk: TAGS-tk -TAGS-guile: \ - configure-guile - @[ -f ./guile/Makefile ] || exit 0; \ +TAGS-tk: \ + configure-tk + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in guile" ; \ - (cd guile && \ + echo "Doing TAGS in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21345,26 +21363,26 @@ TAGS-guile: \ TAGS) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-install-info-guile install-info-guile -maybe-install-info-guile: -@if guile -maybe-install-info-guile: install-info-guile +.PHONY: maybe-install-info-tk install-info-tk +maybe-install-info-tk: +@if tk +maybe-install-info-tk: install-info-tk -install-info-guile: \ - configure-guile \ - info-guile - @[ -f ./guile/Makefile ] || exit 0; \ +install-info-tk: \ + configure-tk \ + info-tk + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in guile" ; \ - (cd guile && \ + echo "Doing install-info in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21372,25 +21390,25 @@ install-info-guile: \ install-info) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-installcheck-guile installcheck-guile -maybe-installcheck-guile: -@if guile -maybe-installcheck-guile: installcheck-guile +.PHONY: maybe-installcheck-tk installcheck-tk +maybe-installcheck-tk: +@if tk +maybe-installcheck-tk: installcheck-tk -installcheck-guile: \ - configure-guile - @[ -f ./guile/Makefile ] || exit 0; \ +installcheck-tk: \ + configure-tk + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in guile" ; \ - (cd guile && \ + echo "Doing installcheck in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21398,24 +21416,24 @@ installcheck-guile: \ installcheck) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-mostlyclean-guile mostlyclean-guile -maybe-mostlyclean-guile: -@if guile -maybe-mostlyclean-guile: mostlyclean-guile +.PHONY: maybe-mostlyclean-tk mostlyclean-tk +maybe-mostlyclean-tk: +@if tk +maybe-mostlyclean-tk: mostlyclean-tk -mostlyclean-guile: - @[ -f ./guile/Makefile ] || exit 0; \ +mostlyclean-tk: + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in guile" ; \ - (cd guile && \ + echo "Doing mostlyclean in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21423,24 +21441,24 @@ mostlyclean-guile: mostlyclean) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-clean-guile clean-guile -maybe-clean-guile: -@if guile -maybe-clean-guile: clean-guile +.PHONY: maybe-clean-tk clean-tk +maybe-clean-tk: +@if tk +maybe-clean-tk: clean-tk -clean-guile: - @[ -f ./guile/Makefile ] || exit 0; \ +clean-tk: + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in guile" ; \ - (cd guile && \ + echo "Doing clean in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21448,24 +21466,24 @@ clean-guile: clean) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-distclean-guile distclean-guile -maybe-distclean-guile: -@if guile -maybe-distclean-guile: distclean-guile +.PHONY: maybe-distclean-tk distclean-tk +maybe-distclean-tk: +@if tk +maybe-distclean-tk: distclean-tk -distclean-guile: - @[ -f ./guile/Makefile ] || exit 0; \ +distclean-tk: + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in guile" ; \ - (cd guile && \ + echo "Doing distclean in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21473,24 +21491,24 @@ distclean-guile: distclean) \ || exit 1 -@endif guile +@endif tk -.PHONY: maybe-maintainer-clean-guile maintainer-clean-guile -maybe-maintainer-clean-guile: -@if guile -maybe-maintainer-clean-guile: maintainer-clean-guile +.PHONY: maybe-maintainer-clean-tk maintainer-clean-tk +maybe-maintainer-clean-tk: +@if tk +maybe-maintainer-clean-tk: maintainer-clean-tk -maintainer-clean-guile: - @[ -f ./guile/Makefile ] || exit 0; \ +maintainer-clean-tk: + @[ -f ./tk/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in guile" ; \ - (cd guile && \ + echo "Doing maintainer-clean in tk" ; \ + (cd tk && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21498,87 +21516,82 @@ maintainer-clean-guile: maintainer-clean) \ || exit 1 -@endif guile +@endif tk -.PHONY: configure-tk maybe-configure-tk -maybe-configure-tk: -@if tk -maybe-configure-tk: configure-tk -configure-tk: - @test ! -f tk/Makefile || exit 0; \ - [ -d tk ] || mkdir tk; \ +.PHONY: configure-libtermcap maybe-configure-libtermcap +maybe-configure-libtermcap: +@if libtermcap +maybe-configure-libtermcap: configure-libtermcap +configure-libtermcap: + @test ! -f libtermcap/Makefile || exit 0; \ + [ -d libtermcap ] || mkdir libtermcap; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - echo Configuring in tk; \ - cd tk || exit 1; \ + echo Configuring in libtermcap; \ + cd libtermcap || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/tk"; \ - libsrcdir="$$s/tk";; \ + srcdiroption="--srcdir=$(srcdir)/libtermcap"; \ + libsrcdir="$$s/libtermcap";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/tk"; \ - libsrcdir="$$s/tk";; \ + srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \ + libsrcdir="$$s/libtermcap";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -@endif tk +@endif libtermcap -.PHONY: all-tk maybe-all-tk -maybe-all-tk: -@if tk -maybe-all-tk: all-tk -all-tk: configure-tk +.PHONY: all-libtermcap maybe-all-libtermcap +maybe-all-libtermcap: +@if libtermcap +maybe-all-libtermcap: all-libtermcap +all-libtermcap: configure-libtermcap @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) -@endif tk + (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all) +@endif libtermcap -.PHONY: check-tk maybe-check-tk -maybe-check-tk: -@if tk -maybe-check-tk: check-tk +.PHONY: check-libtermcap maybe-check-libtermcap +maybe-check-libtermcap: +@if libtermcap +maybe-check-libtermcap: check-libtermcap -check-tk: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) +check-libtermcap: -@endif tk +@endif libtermcap -.PHONY: install-tk maybe-install-tk -maybe-install-tk: -@if tk -maybe-install-tk: install-tk +.PHONY: install-libtermcap maybe-install-libtermcap +maybe-install-libtermcap: +@if libtermcap +maybe-install-libtermcap: install-libtermcap -install-tk: installdirs +install-libtermcap: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) + (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install) -@endif tk +@endif libtermcap # Other targets (info, dvi, etc.) -.PHONY: maybe-info-tk info-tk -maybe-info-tk: -@if tk -maybe-info-tk: info-tk +.PHONY: maybe-info-libtermcap info-libtermcap +maybe-info-libtermcap: +@if libtermcap +maybe-info-libtermcap: info-libtermcap -info-tk: \ - configure-tk - @[ -f ./tk/Makefile ] || exit 0; \ +info-libtermcap: \ + configure-libtermcap + @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21586,8 +21599,8 @@ info-tk: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in tk" ; \ - (cd tk && \ + echo "Doing info in libtermcap" ; \ + (cd libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21595,16 +21608,16 @@ info-tk: \ info) \ || exit 1 -@endif tk +@endif libtermcap -.PHONY: maybe-dvi-tk dvi-tk -maybe-dvi-tk: -@if tk -maybe-dvi-tk: dvi-tk +.PHONY: maybe-dvi-libtermcap dvi-libtermcap +maybe-dvi-libtermcap: +@if libtermcap +maybe-dvi-libtermcap: dvi-libtermcap -dvi-tk: \ - configure-tk - @[ -f ./tk/Makefile ] || exit 0; \ +dvi-libtermcap: \ + configure-libtermcap + @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21612,8 +21625,8 @@ dvi-tk: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in tk" ; \ - (cd tk && \ + echo "Doing dvi in libtermcap" ; \ + (cd libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21621,16 +21634,16 @@ dvi-tk: \ dvi) \ || exit 1 -@endif tk +@endif libtermcap -.PHONY: maybe-TAGS-tk TAGS-tk -maybe-TAGS-tk: -@if tk -maybe-TAGS-tk: TAGS-tk +.PHONY: maybe-TAGS-libtermcap TAGS-libtermcap +maybe-TAGS-libtermcap: +@if libtermcap +maybe-TAGS-libtermcap: TAGS-libtermcap -TAGS-tk: \ - configure-tk - @[ -f ./tk/Makefile ] || exit 0; \ +TAGS-libtermcap: \ + configure-libtermcap + @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21638,8 +21651,8 @@ TAGS-tk: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in tk" ; \ - (cd tk && \ + echo "Doing TAGS in libtermcap" ; \ + (cd libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21647,17 +21660,17 @@ TAGS-tk: \ TAGS) \ || exit 1 -@endif tk +@endif libtermcap -.PHONY: maybe-install-info-tk install-info-tk -maybe-install-info-tk: -@if tk -maybe-install-info-tk: install-info-tk +.PHONY: maybe-install-info-libtermcap install-info-libtermcap +maybe-install-info-libtermcap: +@if libtermcap +maybe-install-info-libtermcap: install-info-libtermcap -install-info-tk: \ - configure-tk \ - info-tk - @[ -f ./tk/Makefile ] || exit 0; \ +install-info-libtermcap: \ + configure-libtermcap \ + info-libtermcap + @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21665,8 +21678,8 @@ install-info-tk: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in tk" ; \ - (cd tk && \ + echo "Doing install-info in libtermcap" ; \ + (cd libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21674,16 +21687,16 @@ install-info-tk: \ install-info) \ || exit 1 -@endif tk +@endif libtermcap -.PHONY: maybe-installcheck-tk installcheck-tk -maybe-installcheck-tk: -@if tk -maybe-installcheck-tk: installcheck-tk +.PHONY: maybe-installcheck-libtermcap installcheck-libtermcap +maybe-installcheck-libtermcap: +@if libtermcap +maybe-installcheck-libtermcap: installcheck-libtermcap -installcheck-tk: \ - configure-tk - @[ -f ./tk/Makefile ] || exit 0; \ +installcheck-libtermcap: \ + configure-libtermcap + @[ -f ./libtermcap/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21691,8 +21704,8 @@ installcheck-tk: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in tk" ; \ - (cd tk && \ + echo "Doing installcheck in libtermcap" ; \ + (cd libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -21700,40 +21713,122 @@ installcheck-tk: \ installcheck) \ || exit 1 -@endif tk +@endif libtermcap -.PHONY: maybe-mostlyclean-tk mostlyclean-tk -maybe-mostlyclean-tk: -@if tk -maybe-mostlyclean-tk: mostlyclean-tk +.PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap +maybe-mostlyclean-libtermcap: +@if libtermcap +maybe-mostlyclean-libtermcap: mostlyclean-libtermcap -mostlyclean-tk: - @[ -f ./tk/Makefile ] || exit 0; \ +# libtermcap doesn't support mostlyclean. +mostlyclean-libtermcap: + +@endif libtermcap + +.PHONY: maybe-clean-libtermcap clean-libtermcap +maybe-clean-libtermcap: +@if libtermcap +maybe-clean-libtermcap: clean-libtermcap + +# libtermcap doesn't support clean. +clean-libtermcap: + +@endif libtermcap + +.PHONY: maybe-distclean-libtermcap distclean-libtermcap +maybe-distclean-libtermcap: +@if libtermcap +maybe-distclean-libtermcap: distclean-libtermcap + +# libtermcap doesn't support distclean. +distclean-libtermcap: + +@endif libtermcap + +.PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap +maybe-maintainer-clean-libtermcap: +@if libtermcap +maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap + +# libtermcap doesn't support maintainer-clean. +maintainer-clean-libtermcap: + +@endif libtermcap + + +.PHONY: configure-utils maybe-configure-utils +maybe-configure-utils: +@if utils +maybe-configure-utils: configure-utils +configure-utils: + @test ! -f utils/Makefile || exit 0; \ + [ -d utils ] || mkdir utils; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in tk" ; \ - (cd tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - mostlyclean) \ + echo Configuring in utils; \ + cd utils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/utils"; \ + libsrcdir="$$s/utils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/utils"; \ + libsrcdir="$$s/utils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 +@endif utils -@endif tk +.PHONY: all-utils maybe-all-utils +maybe-all-utils: +@if utils +maybe-all-utils: all-utils +all-utils: configure-utils + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd utils && $(MAKE) $(FLAGS_TO_PASS) all) +@endif utils -.PHONY: maybe-clean-tk clean-tk -maybe-clean-tk: -@if tk -maybe-clean-tk: clean-tk +.PHONY: check-utils maybe-check-utils +maybe-check-utils: +@if utils +maybe-check-utils: check-utils -clean-tk: - @[ -f ./tk/Makefile ] || exit 0; \ +check-utils: + +@endif utils + +.PHONY: install-utils maybe-install-utils +maybe-install-utils: +@if utils +maybe-install-utils: install-utils + +install-utils: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(HOST_EXPORTS) \ + (cd utils && $(MAKE) $(FLAGS_TO_PASS) install) + +@endif utils + +# Other targets (info, dvi, etc.) + +.PHONY: maybe-info-utils info-utils +maybe-info-utils: +@if utils +maybe-info-utils: info-utils + +info-utils: \ + configure-utils + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21741,24 +21836,25 @@ clean-tk: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in tk" ; \ - (cd tk && \ + echo "Doing info in utils" ; \ + (cd utils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - clean) \ + info) \ || exit 1 -@endif tk +@endif utils -.PHONY: maybe-distclean-tk distclean-tk -maybe-distclean-tk: -@if tk -maybe-distclean-tk: distclean-tk +.PHONY: maybe-dvi-utils dvi-utils +maybe-dvi-utils: +@if utils +maybe-dvi-utils: dvi-utils -distclean-tk: - @[ -f ./tk/Makefile ] || exit 0; \ +dvi-utils: \ + configure-utils + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21766,24 +21862,25 @@ distclean-tk: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in tk" ; \ - (cd tk && \ + echo "Doing dvi in utils" ; \ + (cd utils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - distclean) \ + dvi) \ || exit 1 -@endif tk +@endif utils -.PHONY: maybe-maintainer-clean-tk maintainer-clean-tk -maybe-maintainer-clean-tk: -@if tk -maybe-maintainer-clean-tk: maintainer-clean-tk +.PHONY: maybe-TAGS-utils TAGS-utils +maybe-TAGS-utils: +@if utils +maybe-TAGS-utils: TAGS-utils -maintainer-clean-tk: - @[ -f ./tk/Makefile ] || exit 0; \ +TAGS-utils: \ + configure-utils + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21791,91 +21888,52 @@ maintainer-clean-tk: for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in tk" ; \ - (cd tk && \ + echo "Doing TAGS in utils" ; \ + (cd utils && \ $(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) \ + TAGS) \ || exit 1 -@endif tk +@endif utils +.PHONY: maybe-install-info-utils install-info-utils +maybe-install-info-utils: +@if utils +maybe-install-info-utils: install-info-utils -.PHONY: configure-libtermcap maybe-configure-libtermcap -maybe-configure-libtermcap: -@if libtermcap -maybe-configure-libtermcap: configure-libtermcap -configure-libtermcap: - @test ! -f libtermcap/Makefile || exit 0; \ - [ -d libtermcap ] || mkdir libtermcap; \ +install-info-utils: \ + configure-utils \ + info-utils + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring in libtermcap; \ - cd libtermcap || exit 1; \ - case $(srcdir) in \ - \.) \ - srcdiroption="--srcdir=."; \ - libsrcdir=".";; \ - /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/libtermcap"; \ - libsrcdir="$$s/libtermcap";; \ - *) \ - srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \ - libsrcdir="$$s/libtermcap";; \ - esac; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - || exit 1 -@endif libtermcap - -.PHONY: all-libtermcap maybe-all-libtermcap -maybe-all-libtermcap: -@if libtermcap -maybe-all-libtermcap: all-libtermcap -all-libtermcap: configure-libtermcap - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all) -@endif libtermcap - -.PHONY: check-libtermcap maybe-check-libtermcap -maybe-check-libtermcap: -@if libtermcap -maybe-check-libtermcap: check-libtermcap - -check-libtermcap: - -@endif libtermcap - -.PHONY: install-libtermcap maybe-install-libtermcap -maybe-install-libtermcap: -@if libtermcap -maybe-install-libtermcap: install-libtermcap - -install-libtermcap: installdirs - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(HOST_EXPORTS) \ - (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libtermcap + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-info in utils" ; \ + (cd utils && \ + $(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 -# Other targets (info, dvi, etc.) +@endif utils -.PHONY: maybe-info-libtermcap info-libtermcap -maybe-info-libtermcap: -@if libtermcap -maybe-info-libtermcap: info-libtermcap +.PHONY: maybe-installcheck-utils installcheck-utils +maybe-installcheck-utils: +@if utils +maybe-installcheck-utils: installcheck-utils -info-libtermcap: \ - configure-libtermcap - @[ -f ./libtermcap/Makefile ] || exit 0; \ +installcheck-utils: \ + configure-utils + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21883,25 +21941,24 @@ info-libtermcap: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in libtermcap" ; \ - (cd libtermcap && \ + echo "Doing installcheck in utils" ; \ + (cd utils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - info) \ + installcheck) \ || exit 1 -@endif libtermcap +@endif utils -.PHONY: maybe-dvi-libtermcap dvi-libtermcap -maybe-dvi-libtermcap: -@if libtermcap -maybe-dvi-libtermcap: dvi-libtermcap +.PHONY: maybe-mostlyclean-utils mostlyclean-utils +maybe-mostlyclean-utils: +@if utils +maybe-mostlyclean-utils: mostlyclean-utils -dvi-libtermcap: \ - configure-libtermcap - @[ -f ./libtermcap/Makefile ] || exit 0; \ +mostlyclean-utils: + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21909,25 +21966,24 @@ dvi-libtermcap: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in libtermcap" ; \ - (cd libtermcap && \ + echo "Doing mostlyclean in utils" ; \ + (cd utils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - dvi) \ + mostlyclean) \ || exit 1 -@endif libtermcap +@endif utils -.PHONY: maybe-TAGS-libtermcap TAGS-libtermcap -maybe-TAGS-libtermcap: -@if libtermcap -maybe-TAGS-libtermcap: TAGS-libtermcap +.PHONY: maybe-clean-utils clean-utils +maybe-clean-utils: +@if utils +maybe-clean-utils: clean-utils -TAGS-libtermcap: \ - configure-libtermcap - @[ -f ./libtermcap/Makefile ] || exit 0; \ +clean-utils: + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21935,26 +21991,24 @@ TAGS-libtermcap: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in libtermcap" ; \ - (cd libtermcap && \ + echo "Doing clean in utils" ; \ + (cd utils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - TAGS) \ + clean) \ || exit 1 -@endif libtermcap +@endif utils -.PHONY: maybe-install-info-libtermcap install-info-libtermcap -maybe-install-info-libtermcap: -@if libtermcap -maybe-install-info-libtermcap: install-info-libtermcap +.PHONY: maybe-distclean-utils distclean-utils +maybe-distclean-utils: +@if utils +maybe-distclean-utils: distclean-utils -install-info-libtermcap: \ - configure-libtermcap \ - info-libtermcap - @[ -f ./libtermcap/Makefile ] || exit 0; \ +distclean-utils: + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21962,25 +22016,24 @@ install-info-libtermcap: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in libtermcap" ; \ - (cd libtermcap && \ + echo "Doing distclean in utils" ; \ + (cd utils && \ $(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) \ + distclean) \ || exit 1 -@endif libtermcap +@endif utils -.PHONY: maybe-installcheck-libtermcap installcheck-libtermcap -maybe-installcheck-libtermcap: -@if libtermcap -maybe-installcheck-libtermcap: installcheck-libtermcap +.PHONY: maybe-maintainer-clean-utils maintainer-clean-utils +maybe-maintainer-clean-utils: +@if utils +maybe-maintainer-clean-utils: maintainer-clean-utils -installcheck-libtermcap: \ - configure-libtermcap - @[ -f ./libtermcap/Makefile ] || exit 0; \ +maintainer-clean-utils: + @[ -f ./utils/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -21988,380 +22041,359 @@ installcheck-libtermcap: \ for flag in $(EXTRA_HOST_FLAGS) ; do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in libtermcap" ; \ - (cd libtermcap && \ + echo "Doing maintainer-clean in utils" ; \ + (cd utils && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - installcheck) \ + maintainer-clean) \ || exit 1 -@endif libtermcap - -.PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap -maybe-mostlyclean-libtermcap: -@if libtermcap -maybe-mostlyclean-libtermcap: mostlyclean-libtermcap - -# libtermcap doesn't support mostlyclean. -mostlyclean-libtermcap: - -@endif libtermcap - -.PHONY: maybe-clean-libtermcap clean-libtermcap -maybe-clean-libtermcap: -@if libtermcap -maybe-clean-libtermcap: clean-libtermcap - -# libtermcap doesn't support clean. -clean-libtermcap: - -@endif libtermcap - -.PHONY: maybe-distclean-libtermcap distclean-libtermcap -maybe-distclean-libtermcap: -@if libtermcap -maybe-distclean-libtermcap: distclean-libtermcap - -# libtermcap doesn't support distclean. -distclean-libtermcap: +@endif utils -@endif libtermcap -.PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap -maybe-maintainer-clean-libtermcap: -@if libtermcap -maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap -# libtermcap doesn't support maintainer-clean. -maintainer-clean-libtermcap: +# --------------------------------------- +# Modules which run on the target machine +# --------------------------------------- -@endif libtermcap +.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 +# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. +$(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 -.PHONY: configure-utils maybe-configure-utils -maybe-configure-utils: -@if utils -maybe-configure-utils: configure-utils -configure-utils: - @test ! -f utils/Makefile || exit 0; \ - [ -d utils ] || mkdir utils; \ +configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out + @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring in utils; \ - cd utils || exit 1; \ + $(SET_LIB_PATH) \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ + cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ case $(srcdir) in \ - \.) \ - srcdiroption="--srcdir=."; \ - libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/utils"; \ - libsrcdir="$$s/utils";; \ + topdir=$(srcdir) ;; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/utils"; \ - libsrcdir="$$s/utils";; \ + case "$(TARGET_SUBDIR)" in \ + .) topdir="../$(srcdir)" ;; \ + *) topdir="../../$(srcdir)" ;; \ + esac ;; \ esac; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ + srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ + libsrcdir="$$s/libstdc++-v3"; \ + rm -f no-such-file || : ; \ + CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ + $(TARGET_CONFIGARGS) $${srcdiroption} \ + --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: all-utils maybe-all-utils -maybe-all-utils: -@if utils -maybe-all-utils: all-utils -all-utils: configure-utils +.PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 +maybe-all-target-libstdc++-v3: +@if 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 @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd utils && $(MAKE) $(FLAGS_TO_PASS) all) -@endif utils + $(RAW_CXX_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3)) +@endif target-libstdc++-v3 -.PHONY: check-utils maybe-check-utils -maybe-check-utils: -@if utils -maybe-check-utils: check-utils +.PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 +maybe-check-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-check-target-libstdc++-v3: check-target-libstdc++-v3 -check-utils: +check-target-libstdc++-v3: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(RAW_CXX_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) -@endif utils +@endif target-libstdc++-v3 -.PHONY: install-utils maybe-install-utils -maybe-install-utils: -@if utils -maybe-install-utils: install-utils +.PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 +maybe-install-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-install-target-libstdc++-v3: install-target-libstdc++-v3 -install-utils: installdirs +install-target-libstdc++-v3: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - (cd utils && $(MAKE) $(FLAGS_TO_PASS) install) + $(RAW_CXX_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif utils +@endif target-libstdc++-v3 # Other targets (info, dvi, etc.) -.PHONY: maybe-info-utils info-utils -maybe-info-utils: -@if utils -maybe-info-utils: info-utils +.PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 +maybe-info-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-info-target-libstdc++-v3: info-target-libstdc++-v3 -info-utils: \ - configure-utils - @[ -f ./utils/Makefile ] || exit 0; \ +info-target-libstdc++-v3: \ + configure-target-libstdc++-v3 + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing info in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - info) \ + info) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-dvi-utils dvi-utils -maybe-dvi-utils: -@if utils -maybe-dvi-utils: dvi-utils +.PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 +maybe-dvi-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3 -dvi-utils: \ - configure-utils - @[ -f ./utils/Makefile ] || exit 0; \ +dvi-target-libstdc++-v3: \ + configure-target-libstdc++-v3 + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing dvi in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - dvi) \ + dvi) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-TAGS-utils TAGS-utils -maybe-TAGS-utils: -@if utils -maybe-TAGS-utils: TAGS-utils +.PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 +maybe-TAGS-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3 -TAGS-utils: \ - configure-utils - @[ -f ./utils/Makefile ] || exit 0; \ +TAGS-target-libstdc++-v3: \ + configure-target-libstdc++-v3 + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing TAGS in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - TAGS) \ + TAGS) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-install-info-utils install-info-utils -maybe-install-info-utils: -@if utils -maybe-install-info-utils: install-info-utils +.PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 +maybe-install-info-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3 -install-info-utils: \ - configure-utils \ - info-utils - @[ -f ./utils/Makefile ] || exit 0; \ +install-info-target-libstdc++-v3: \ + configure-target-libstdc++-v3 \ + info-target-libstdc++-v3 + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing install-info in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(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) \ + install-info) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-installcheck-utils installcheck-utils -maybe-installcheck-utils: -@if utils -maybe-installcheck-utils: installcheck-utils +.PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 +maybe-installcheck-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3 -installcheck-utils: \ - configure-utils - @[ -f ./utils/Makefile ] || exit 0; \ +installcheck-target-libstdc++-v3: \ + configure-target-libstdc++-v3 + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing installcheck in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - installcheck) \ + installcheck) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-mostlyclean-utils mostlyclean-utils -maybe-mostlyclean-utils: -@if utils -maybe-mostlyclean-utils: mostlyclean-utils +.PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 +maybe-mostlyclean-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3 -mostlyclean-utils: - @[ -f ./utils/Makefile ] || exit 0; \ +mostlyclean-target-libstdc++-v3: + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing mostlyclean in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - mostlyclean) \ + mostlyclean) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-clean-utils clean-utils -maybe-clean-utils: -@if utils -maybe-clean-utils: clean-utils +.PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 +maybe-clean-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3 -clean-utils: - @[ -f ./utils/Makefile ] || exit 0; \ +clean-target-libstdc++-v3: + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing clean in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - clean) \ + clean) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-distclean-utils distclean-utils -maybe-distclean-utils: -@if utils -maybe-distclean-utils: distclean-utils +.PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 +maybe-distclean-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3 -distclean-utils: - @[ -f ./utils/Makefile ] || exit 0; \ +distclean-target-libstdc++-v3: + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing distclean in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - distclean) \ + distclean) \ || exit 1 -@endif utils +@endif target-libstdc++-v3 -.PHONY: maybe-maintainer-clean-utils maintainer-clean-utils -maybe-maintainer-clean-utils: -@if utils -maybe-maintainer-clean-utils: maintainer-clean-utils +.PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 +maybe-maintainer-clean-target-libstdc++-v3: +@if target-libstdc++-v3 +maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3 -maintainer-clean-utils: - @[ -f ./utils/Makefile ] || exit 0; \ +maintainer-clean-target-libstdc++-v3: + @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - echo "Doing maintainer-clean in utils" ; \ - (cd utils && \ + (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ $(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) \ + maintainer-clean) \ || exit 1 -@endif utils - - +@endif target-libstdc++-v3 -# --------------------------------------- -# Modules which run on the target machine -# --------------------------------------- -.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 +.PHONY: configure-target-libmudflap maybe-configure-target-libmudflap +maybe-configure-target-libmudflap: +@if target-libmudflap +maybe-configure-target-libmudflap: configure-target-libmudflap # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 +$(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 -configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out - @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ +configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out + @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ - cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ + $(NORMAL_TARGET_EXPORTS) \ + echo Configuring in $(TARGET_SUBDIR)/libmudflap; \ + cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) \ topdir=$(srcdir) ;; \ @@ -22371,77 +22403,78 @@ configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out *) topdir="../../$(srcdir)" ;; \ esac ;; \ esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ + srcdiroption="--srcdir=$${topdir}/libmudflap"; \ + libsrcdir="$$s/libmudflap"; \ rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 -maybe-all-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-all-target-libstdc++-v3: all-target-libstdc++-v3 -all-target-libstdc++-v3: configure-target-libstdc++-v3 +.PHONY: all-target-libmudflap maybe-all-target-libmudflap +maybe-all-target-libmudflap: +@if target-libmudflap +TARGET-target-libmudflap=all +maybe-all-target-libmudflap: all-target-libmudflap +all-target-libmudflap: configure-target-libmudflap @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) -@endif target-libstdc++-v3 + $(NORMAL_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/libmudflap && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap)) +@endif target-libmudflap -.PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 -maybe-check-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-check-target-libstdc++-v3: check-target-libstdc++-v3 +.PHONY: check-target-libmudflap maybe-check-target-libmudflap +maybe-check-target-libmudflap: +@if target-libmudflap +maybe-check-target-libmudflap: check-target-libmudflap -check-target-libstdc++-v3: +check-target-libmudflap: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) + $(NORMAL_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/libmudflap && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) check) -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 -maybe-install-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-target-libstdc++-v3: install-target-libstdc++-v3 +.PHONY: install-target-libmudflap maybe-install-target-libmudflap +maybe-install-target-libmudflap: +@if target-libmudflap +maybe-install-target-libmudflap: install-target-libmudflap -install-target-libstdc++-v3: installdirs +install-target-libmudflap: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + $(NORMAL_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif target-libstdc++-v3 +@endif target-libmudflap # Other targets (info, dvi, etc.) -.PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 -maybe-info-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-info-target-libstdc++-v3: info-target-libstdc++-v3 +.PHONY: maybe-info-target-libmudflap info-target-libmudflap +maybe-info-target-libmudflap: +@if target-libmudflap +maybe-info-target-libmudflap: info-target-libmudflap -info-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +info-target-libmudflap: \ + configure-target-libmudflap + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22449,25 +22482,25 @@ info-target-libstdc++-v3: \ info) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 -maybe-dvi-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3 +.PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap +maybe-dvi-target-libmudflap: +@if target-libmudflap +maybe-dvi-target-libmudflap: dvi-target-libmudflap -dvi-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +dvi-target-libmudflap: \ + configure-target-libmudflap + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22475,25 +22508,25 @@ dvi-target-libstdc++-v3: \ dvi) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 -maybe-TAGS-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3 +.PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap +maybe-TAGS-target-libmudflap: +@if target-libmudflap +maybe-TAGS-target-libmudflap: TAGS-target-libmudflap -TAGS-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +TAGS-target-libmudflap: \ + configure-target-libmudflap + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22501,26 +22534,26 @@ TAGS-target-libstdc++-v3: \ TAGS) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 -maybe-install-info-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3 +.PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap +maybe-install-info-target-libmudflap: +@if target-libmudflap +maybe-install-info-target-libmudflap: install-info-target-libmudflap -install-info-target-libstdc++-v3: \ - configure-target-libstdc++-v3 \ - info-target-libstdc++-v3 - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +install-info-target-libmudflap: \ + configure-target-libmudflap \ + info-target-libmudflap + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22528,25 +22561,25 @@ install-info-target-libstdc++-v3: \ install-info) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 -maybe-installcheck-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3 +.PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap +maybe-installcheck-target-libmudflap: +@if target-libmudflap +maybe-installcheck-target-libmudflap: installcheck-target-libmudflap -installcheck-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +installcheck-target-libmudflap: \ + configure-target-libmudflap + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22554,24 +22587,24 @@ installcheck-target-libstdc++-v3: \ installcheck) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 -maybe-mostlyclean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3 +.PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap +maybe-mostlyclean-target-libmudflap: +@if target-libmudflap +maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap -mostlyclean-target-libstdc++-v3: - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +mostlyclean-target-libmudflap: + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \ + for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22579,24 +22612,24 @@ mostlyclean-target-libstdc++-v3: mostlyclean) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 -maybe-clean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3 +.PHONY: maybe-clean-target-libmudflap clean-target-libmudflap +maybe-clean-target-libmudflap: +@if target-libmudflap +maybe-clean-target-libmudflap: clean-target-libmudflap -clean-target-libstdc++-v3: - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +clean-target-libmudflap: + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22604,24 +22637,24 @@ clean-target-libstdc++-v3: clean) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 -maybe-distclean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3 +.PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap +maybe-distclean-target-libmudflap: +@if target-libmudflap +maybe-distclean-target-libmudflap: distclean-target-libmudflap -distclean-target-libstdc++-v3: - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +distclean-target-libmudflap: + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22629,24 +22662,24 @@ distclean-target-libstdc++-v3: distclean) \ || exit 1 -@endif target-libstdc++-v3 +@endif target-libmudflap -.PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 -maybe-maintainer-clean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3 +.PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap +maybe-maintainer-clean-target-libmudflap: +@if target-libmudflap +maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap -maintainer-clean-target-libstdc++-v3: - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ +maintainer-clean-target-libmudflap: + @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ + $(NORMAL_TARGET_EXPORTS) \ + echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ + (cd $(TARGET_SUBDIR)/libmudflap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22654,29 +22687,29 @@ maintainer-clean-target-libstdc++-v3: maintainer-clean) \ || exit 1 -@endif target-libstdc++-v3 +@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 +.PHONY: configure-target-newlib maybe-configure-target-newlib +maybe-configure-target-newlib: +@if target-newlib +maybe-configure-target-newlib: configure-target-newlib # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 +$(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 -configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out - @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ +configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out + @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libmudflap; \ - cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \ + echo Configuring in $(TARGET_SUBDIR)/newlib; \ + cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) \ topdir=$(srcdir) ;; \ @@ -22686,77 +22719,78 @@ configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out *) topdir="../../$(srcdir)" ;; \ esac ;; \ esac; \ - srcdiroption="--srcdir=$${topdir}/libmudflap"; \ - libsrcdir="$$s/libmudflap"; \ + srcdiroption="--srcdir=$${topdir}/newlib"; \ + libsrcdir="$$s/newlib"; \ rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: all-target-libmudflap maybe-all-target-libmudflap -maybe-all-target-libmudflap: -@if target-libmudflap -maybe-all-target-libmudflap: all-target-libmudflap -all-target-libmudflap: configure-target-libmudflap +.PHONY: all-target-newlib maybe-all-target-newlib +maybe-all-target-newlib: +@if target-newlib +TARGET-target-newlib=all +maybe-all-target-newlib: all-target-newlib +all-target-newlib: configure-target-newlib @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) -@endif target-libmudflap + (cd $(TARGET_SUBDIR)/newlib && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib)) +@endif target-newlib -.PHONY: check-target-libmudflap maybe-check-target-libmudflap -maybe-check-target-libmudflap: -@if target-libmudflap -maybe-check-target-libmudflap: check-target-libmudflap +.PHONY: check-target-newlib maybe-check-target-newlib +maybe-check-target-newlib: +@if target-newlib +maybe-check-target-newlib: check-target-newlib -check-target-libmudflap: +check-target-newlib: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) check) -@endif target-libmudflap +@endif target-newlib -.PHONY: install-target-libmudflap maybe-install-target-libmudflap -maybe-install-target-libmudflap: -@if target-libmudflap -maybe-install-target-libmudflap: install-target-libmudflap +.PHONY: install-target-newlib maybe-install-target-newlib +maybe-install-target-newlib: +@if target-newlib +maybe-install-target-newlib: install-target-newlib -install-target-libmudflap: installdirs +install-target-newlib: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif target-libmudflap +@endif target-newlib # Other targets (info, dvi, etc.) -.PHONY: maybe-info-target-libmudflap info-target-libmudflap -maybe-info-target-libmudflap: -@if target-libmudflap -maybe-info-target-libmudflap: info-target-libmudflap +.PHONY: maybe-info-target-newlib info-target-newlib +maybe-info-target-newlib: +@if target-newlib +maybe-info-target-newlib: info-target-newlib -info-target-libmudflap: \ - configure-target-libmudflap - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +info-target-newlib: \ + configure-target-newlib + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22764,25 +22798,25 @@ info-target-libmudflap: \ info) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap -maybe-dvi-target-libmudflap: -@if target-libmudflap -maybe-dvi-target-libmudflap: dvi-target-libmudflap +.PHONY: maybe-dvi-target-newlib dvi-target-newlib +maybe-dvi-target-newlib: +@if target-newlib +maybe-dvi-target-newlib: dvi-target-newlib -dvi-target-libmudflap: \ - configure-target-libmudflap - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +dvi-target-newlib: \ + configure-target-newlib + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22790,25 +22824,25 @@ dvi-target-libmudflap: \ dvi) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap -maybe-TAGS-target-libmudflap: -@if target-libmudflap -maybe-TAGS-target-libmudflap: TAGS-target-libmudflap +.PHONY: maybe-TAGS-target-newlib TAGS-target-newlib +maybe-TAGS-target-newlib: +@if target-newlib +maybe-TAGS-target-newlib: TAGS-target-newlib -TAGS-target-libmudflap: \ - configure-target-libmudflap - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +TAGS-target-newlib: \ + configure-target-newlib + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22816,26 +22850,26 @@ TAGS-target-libmudflap: \ TAGS) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap -maybe-install-info-target-libmudflap: -@if target-libmudflap -maybe-install-info-target-libmudflap: install-info-target-libmudflap +.PHONY: maybe-install-info-target-newlib install-info-target-newlib +maybe-install-info-target-newlib: +@if target-newlib +maybe-install-info-target-newlib: install-info-target-newlib -install-info-target-libmudflap: \ - configure-target-libmudflap \ - info-target-libmudflap - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +install-info-target-newlib: \ + configure-target-newlib \ + info-target-newlib + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22843,25 +22877,25 @@ install-info-target-libmudflap: \ install-info) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap -maybe-installcheck-target-libmudflap: -@if target-libmudflap -maybe-installcheck-target-libmudflap: installcheck-target-libmudflap +.PHONY: maybe-installcheck-target-newlib installcheck-target-newlib +maybe-installcheck-target-newlib: +@if target-newlib +maybe-installcheck-target-newlib: installcheck-target-newlib -installcheck-target-libmudflap: \ - configure-target-libmudflap - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +installcheck-target-newlib: \ + configure-target-newlib + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22869,24 +22903,24 @@ installcheck-target-libmudflap: \ installcheck) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap -maybe-mostlyclean-target-libmudflap: -@if target-libmudflap -maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap +.PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib +maybe-mostlyclean-target-newlib: +@if target-newlib +maybe-mostlyclean-target-newlib: mostlyclean-target-newlib -mostlyclean-target-libmudflap: - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +mostlyclean-target-newlib: + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22894,24 +22928,24 @@ mostlyclean-target-libmudflap: mostlyclean) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-clean-target-libmudflap clean-target-libmudflap -maybe-clean-target-libmudflap: -@if target-libmudflap -maybe-clean-target-libmudflap: clean-target-libmudflap +.PHONY: maybe-clean-target-newlib clean-target-newlib +maybe-clean-target-newlib: +@if target-newlib +maybe-clean-target-newlib: clean-target-newlib -clean-target-libmudflap: - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +clean-target-newlib: + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22919,24 +22953,24 @@ clean-target-libmudflap: clean) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap -maybe-distclean-target-libmudflap: -@if target-libmudflap -maybe-distclean-target-libmudflap: distclean-target-libmudflap +.PHONY: maybe-distclean-target-newlib distclean-target-newlib +maybe-distclean-target-newlib: +@if target-newlib +maybe-distclean-target-newlib: distclean-target-newlib -distclean-target-libmudflap: - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +distclean-target-newlib: + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22944,24 +22978,24 @@ distclean-target-libmudflap: distclean) \ || exit 1 -@endif target-libmudflap +@endif target-newlib -.PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap -maybe-maintainer-clean-target-libmudflap: -@if target-libmudflap -maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap +.PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib +maybe-maintainer-clean-target-newlib: +@if target-newlib +maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib -maintainer-clean-target-libmudflap: - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ +maintainer-clean-target-newlib: + @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \ + echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ + (cd $(TARGET_SUBDIR)/newlib && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -22969,29 +23003,29 @@ maintainer-clean-target-libmudflap: maintainer-clean) \ || exit 1 -@endif target-libmudflap +@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 +.PHONY: configure-target-libgfortran maybe-configure-target-libgfortran +maybe-configure-target-libgfortran: +@if target-libgfortran +maybe-configure-target-libgfortran: configure-target-libgfortran # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 +$(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 -configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out - @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ +configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out + @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/newlib; \ - cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ + echo Configuring in $(TARGET_SUBDIR)/libgfortran; \ + cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) \ topdir=$(srcdir) ;; \ @@ -23001,77 +23035,78 @@ configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out *) topdir="../../$(srcdir)" ;; \ esac ;; \ esac; \ - srcdiroption="--srcdir=$${topdir}/newlib"; \ - libsrcdir="$$s/newlib"; \ + srcdiroption="--srcdir=$${topdir}/libgfortran"; \ + libsrcdir="$$s/libgfortran"; \ rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: all-target-newlib maybe-all-target-newlib -maybe-all-target-newlib: -@if target-newlib -maybe-all-target-newlib: all-target-newlib -all-target-newlib: configure-target-newlib +.PHONY: all-target-libgfortran maybe-all-target-libgfortran +maybe-all-target-libgfortran: +@if target-libgfortran +TARGET-target-libgfortran=all +maybe-all-target-libgfortran: all-target-libgfortran +all-target-libgfortran: configure-target-libgfortran @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) -@endif target-newlib + (cd $(TARGET_SUBDIR)/libgfortran && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran)) +@endif target-libgfortran -.PHONY: check-target-newlib maybe-check-target-newlib -maybe-check-target-newlib: -@if target-newlib -maybe-check-target-newlib: check-target-newlib +.PHONY: check-target-libgfortran maybe-check-target-libgfortran +maybe-check-target-libgfortran: +@if target-libgfortran +maybe-check-target-libgfortran: check-target-libgfortran -check-target-newlib: +check-target-libgfortran: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) check) -@endif target-newlib +@endif target-libgfortran -.PHONY: install-target-newlib maybe-install-target-newlib -maybe-install-target-newlib: -@if target-newlib -maybe-install-target-newlib: install-target-newlib +.PHONY: install-target-libgfortran maybe-install-target-libgfortran +maybe-install-target-libgfortran: +@if target-libgfortran +maybe-install-target-libgfortran: install-target-libgfortran -install-target-newlib: installdirs +install-target-libgfortran: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif target-newlib +@endif target-libgfortran # Other targets (info, dvi, etc.) -.PHONY: maybe-info-target-newlib info-target-newlib -maybe-info-target-newlib: -@if target-newlib -maybe-info-target-newlib: info-target-newlib +.PHONY: maybe-info-target-libgfortran info-target-libgfortran +maybe-info-target-libgfortran: +@if target-libgfortran +maybe-info-target-libgfortran: info-target-libgfortran -info-target-newlib: \ - configure-target-newlib - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +info-target-libgfortran: \ + configure-target-libgfortran + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23079,25 +23114,25 @@ info-target-newlib: \ info) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-dvi-target-newlib dvi-target-newlib -maybe-dvi-target-newlib: -@if target-newlib -maybe-dvi-target-newlib: dvi-target-newlib +.PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran +maybe-dvi-target-libgfortran: +@if target-libgfortran +maybe-dvi-target-libgfortran: dvi-target-libgfortran -dvi-target-newlib: \ - configure-target-newlib - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +dvi-target-libgfortran: \ + configure-target-libgfortran + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23105,25 +23140,25 @@ dvi-target-newlib: \ dvi) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-TAGS-target-newlib TAGS-target-newlib -maybe-TAGS-target-newlib: -@if target-newlib -maybe-TAGS-target-newlib: TAGS-target-newlib +.PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran +maybe-TAGS-target-libgfortran: +@if target-libgfortran +maybe-TAGS-target-libgfortran: TAGS-target-libgfortran -TAGS-target-newlib: \ - configure-target-newlib - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +TAGS-target-libgfortran: \ + configure-target-libgfortran + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23131,26 +23166,26 @@ TAGS-target-newlib: \ TAGS) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-install-info-target-newlib install-info-target-newlib -maybe-install-info-target-newlib: -@if target-newlib -maybe-install-info-target-newlib: install-info-target-newlib +.PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran +maybe-install-info-target-libgfortran: +@if target-libgfortran +maybe-install-info-target-libgfortran: install-info-target-libgfortran -install-info-target-newlib: \ - configure-target-newlib \ - info-target-newlib - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +install-info-target-libgfortran: \ + configure-target-libgfortran \ + info-target-libgfortran + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23158,25 +23193,25 @@ install-info-target-newlib: \ install-info) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-installcheck-target-newlib installcheck-target-newlib -maybe-installcheck-target-newlib: -@if target-newlib -maybe-installcheck-target-newlib: installcheck-target-newlib +.PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran +maybe-installcheck-target-libgfortran: +@if target-libgfortran +maybe-installcheck-target-libgfortran: installcheck-target-libgfortran -installcheck-target-newlib: \ - configure-target-newlib - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +installcheck-target-libgfortran: \ + configure-target-libgfortran + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23184,24 +23219,24 @@ installcheck-target-newlib: \ installcheck) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib -maybe-mostlyclean-target-newlib: -@if target-newlib -maybe-mostlyclean-target-newlib: mostlyclean-target-newlib +.PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran +maybe-mostlyclean-target-libgfortran: +@if target-libgfortran +maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran -mostlyclean-target-newlib: - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +mostlyclean-target-libgfortran: + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23209,24 +23244,24 @@ mostlyclean-target-newlib: mostlyclean) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-clean-target-newlib clean-target-newlib -maybe-clean-target-newlib: -@if target-newlib -maybe-clean-target-newlib: clean-target-newlib +.PHONY: maybe-clean-target-libgfortran clean-target-libgfortran +maybe-clean-target-libgfortran: +@if target-libgfortran +maybe-clean-target-libgfortran: clean-target-libgfortran -clean-target-newlib: - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +clean-target-libgfortran: + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23234,24 +23269,24 @@ clean-target-newlib: clean) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-distclean-target-newlib distclean-target-newlib -maybe-distclean-target-newlib: -@if target-newlib -maybe-distclean-target-newlib: distclean-target-newlib +.PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran +maybe-distclean-target-libgfortran: +@if target-libgfortran +maybe-distclean-target-libgfortran: distclean-target-libgfortran -distclean-target-newlib: - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +distclean-target-libgfortran: + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23259,24 +23294,24 @@ distclean-target-newlib: distclean) \ || exit 1 -@endif target-newlib +@endif target-libgfortran -.PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib -maybe-maintainer-clean-target-newlib: -@if target-newlib -maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib +.PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran +maybe-maintainer-clean-target-libgfortran: +@if target-libgfortran +maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran -maintainer-clean-target-newlib: - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ +maintainer-clean-target-libgfortran: + @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ + echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/newlib && \ + (cd $(TARGET_SUBDIR)/libgfortran && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23284,29 +23319,29 @@ maintainer-clean-target-newlib: maintainer-clean) \ || exit 1 -@endif target-newlib +@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 +.PHONY: configure-target-libobjc maybe-configure-target-libobjc +maybe-configure-target-libobjc: +@if target-libobjc +maybe-configure-target-libobjc: configure-target-libobjc # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 +$(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 -configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out - @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ +configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out + @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libgfortran; \ - cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \ + echo Configuring in $(TARGET_SUBDIR)/libobjc; \ + cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) \ topdir=$(srcdir) ;; \ @@ -23316,77 +23351,78 @@ configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out *) topdir="../../$(srcdir)" ;; \ esac ;; \ esac; \ - srcdiroption="--srcdir=$${topdir}/libgfortran"; \ - libsrcdir="$$s/libgfortran"; \ + srcdiroption="--srcdir=$${topdir}/libobjc"; \ + libsrcdir="$$s/libobjc"; \ rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: all-target-libgfortran maybe-all-target-libgfortran -maybe-all-target-libgfortran: -@if target-libgfortran -maybe-all-target-libgfortran: all-target-libgfortran -all-target-libgfortran: configure-target-libgfortran +.PHONY: all-target-libobjc maybe-all-target-libobjc +maybe-all-target-libobjc: +@if target-libobjc +TARGET-target-libobjc=all +maybe-all-target-libobjc: all-target-libobjc +all-target-libobjc: configure-target-libobjc @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) -@endif target-libgfortran + (cd $(TARGET_SUBDIR)/libobjc && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc)) +@endif target-libobjc -.PHONY: check-target-libgfortran maybe-check-target-libgfortran -maybe-check-target-libgfortran: -@if target-libgfortran -maybe-check-target-libgfortran: check-target-libgfortran +.PHONY: check-target-libobjc maybe-check-target-libobjc +maybe-check-target-libobjc: +@if target-libobjc +maybe-check-target-libobjc: check-target-libobjc -check-target-libgfortran: +check-target-libobjc: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) check) -@endif target-libgfortran +@endif target-libobjc -.PHONY: install-target-libgfortran maybe-install-target-libgfortran -maybe-install-target-libgfortran: -@if target-libgfortran -maybe-install-target-libgfortran: install-target-libgfortran +.PHONY: install-target-libobjc maybe-install-target-libobjc +maybe-install-target-libobjc: +@if target-libobjc +maybe-install-target-libobjc: install-target-libobjc -install-target-libgfortran: installdirs +install-target-libobjc: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif target-libgfortran +@endif target-libobjc # Other targets (info, dvi, etc.) -.PHONY: maybe-info-target-libgfortran info-target-libgfortran -maybe-info-target-libgfortran: -@if target-libgfortran -maybe-info-target-libgfortran: info-target-libgfortran +.PHONY: maybe-info-target-libobjc info-target-libobjc +maybe-info-target-libobjc: +@if target-libobjc +maybe-info-target-libobjc: info-target-libobjc -info-target-libgfortran: \ - configure-target-libgfortran - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +info-target-libobjc: \ + configure-target-libobjc + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23394,25 +23430,25 @@ info-target-libgfortran: \ info) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran -maybe-dvi-target-libgfortran: -@if target-libgfortran -maybe-dvi-target-libgfortran: dvi-target-libgfortran +.PHONY: maybe-dvi-target-libobjc dvi-target-libobjc +maybe-dvi-target-libobjc: +@if target-libobjc +maybe-dvi-target-libobjc: dvi-target-libobjc -dvi-target-libgfortran: \ - configure-target-libgfortran - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +dvi-target-libobjc: \ + configure-target-libobjc + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23420,25 +23456,25 @@ dvi-target-libgfortran: \ dvi) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran -maybe-TAGS-target-libgfortran: -@if target-libgfortran -maybe-TAGS-target-libgfortran: TAGS-target-libgfortran +.PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc +maybe-TAGS-target-libobjc: +@if target-libobjc +maybe-TAGS-target-libobjc: TAGS-target-libobjc -TAGS-target-libgfortran: \ - configure-target-libgfortran - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +TAGS-target-libobjc: \ + configure-target-libobjc + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23446,26 +23482,26 @@ TAGS-target-libgfortran: \ TAGS) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran -maybe-install-info-target-libgfortran: -@if target-libgfortran -maybe-install-info-target-libgfortran: install-info-target-libgfortran +.PHONY: maybe-install-info-target-libobjc install-info-target-libobjc +maybe-install-info-target-libobjc: +@if target-libobjc +maybe-install-info-target-libobjc: install-info-target-libobjc -install-info-target-libgfortran: \ - configure-target-libgfortran \ - info-target-libgfortran - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +install-info-target-libobjc: \ + configure-target-libobjc \ + info-target-libobjc + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23473,25 +23509,25 @@ install-info-target-libgfortran: \ install-info) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran -maybe-installcheck-target-libgfortran: -@if target-libgfortran -maybe-installcheck-target-libgfortran: installcheck-target-libgfortran +.PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc +maybe-installcheck-target-libobjc: +@if target-libobjc +maybe-installcheck-target-libobjc: installcheck-target-libobjc -installcheck-target-libgfortran: \ - configure-target-libgfortran - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +installcheck-target-libobjc: \ + configure-target-libobjc + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23499,24 +23535,24 @@ installcheck-target-libgfortran: \ installcheck) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran -maybe-mostlyclean-target-libgfortran: -@if target-libgfortran -maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran +.PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc +maybe-mostlyclean-target-libobjc: +@if target-libobjc +maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc -mostlyclean-target-libgfortran: - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +mostlyclean-target-libobjc: + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23524,24 +23560,24 @@ mostlyclean-target-libgfortran: mostlyclean) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-clean-target-libgfortran clean-target-libgfortran -maybe-clean-target-libgfortran: -@if target-libgfortran -maybe-clean-target-libgfortran: clean-target-libgfortran +.PHONY: maybe-clean-target-libobjc clean-target-libobjc +maybe-clean-target-libobjc: +@if target-libobjc +maybe-clean-target-libobjc: clean-target-libobjc -clean-target-libgfortran: - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ +clean-target-libobjc: + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23549,24 +23585,24 @@ clean-target-libgfortran: clean) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran -maybe-distclean-target-libgfortran: -@if target-libgfortran -maybe-distclean-target-libgfortran: distclean-target-libgfortran +.PHONY: maybe-distclean-target-libobjc distclean-target-libobjc +maybe-distclean-target-libobjc: +@if target-libobjc +maybe-distclean-target-libobjc: distclean-target-libobjc -distclean-target-libgfortran: - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +distclean-target-libobjc: + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23574,24 +23610,24 @@ distclean-target-libgfortran: distclean) \ || exit 1 -@endif target-libgfortran +@endif target-libobjc -.PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran -maybe-maintainer-clean-target-libgfortran: -@if target-libgfortran -maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran +.PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc +maybe-maintainer-clean-target-libobjc: +@if target-libobjc +maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc -maintainer-clean-target-libgfortran: - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ +maintainer-clean-target-libobjc: + @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \ + echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ + (cd $(TARGET_SUBDIR)/libobjc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23599,29 +23635,29 @@ maintainer-clean-target-libgfortran: maintainer-clean) \ || exit 1 -@endif target-libgfortran +@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 +.PHONY: configure-target-libtermcap maybe-configure-target-libtermcap +maybe-configure-target-libtermcap: +@if target-libtermcap +maybe-configure-target-libtermcap: configure-target-libtermcap # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 +$(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 -configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out - @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ +configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out + @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libobjc; \ - cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ + echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ + cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) \ topdir=$(srcdir) ;; \ @@ -23631,77 +23667,95 @@ configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out *) topdir="../../$(srcdir)" ;; \ esac ;; \ esac; \ - srcdiroption="--srcdir=$${topdir}/libobjc"; \ - libsrcdir="$$s/libobjc"; \ + if [ "$(srcdir)" = "." ] ; then \ + if [ "$(TARGET_SUBDIR)" != "." ] ; then \ + if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \ + if [ -f Makefile ]; then \ + if $(MAKE) distclean; then \ + true; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ + srcdiroption="--srcdir=."; \ + libsrcdir="."; \ + else \ + srcdiroption="--srcdir=$${topdir}/libtermcap"; \ + libsrcdir="$$s/libtermcap"; \ + fi; \ rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif target-libobjc +@endif target-libtermcap -.PHONY: all-target-libobjc maybe-all-target-libobjc -maybe-all-target-libobjc: -@if target-libobjc -maybe-all-target-libobjc: all-target-libobjc -all-target-libobjc: configure-target-libobjc +.PHONY: all-target-libtermcap maybe-all-target-libtermcap +maybe-all-target-libtermcap: +@if target-libtermcap +TARGET-target-libtermcap=all +maybe-all-target-libtermcap: all-target-libtermcap +all-target-libtermcap: configure-target-libtermcap @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) -@endif target-libobjc + (cd $(TARGET_SUBDIR)/libtermcap && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap)) +@endif target-libtermcap -.PHONY: check-target-libobjc maybe-check-target-libobjc -maybe-check-target-libobjc: -@if target-libobjc -maybe-check-target-libobjc: check-target-libobjc +.PHONY: check-target-libtermcap maybe-check-target-libtermcap +maybe-check-target-libtermcap: +@if target-libtermcap +maybe-check-target-libtermcap: check-target-libtermcap -check-target-libobjc: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) +# Dummy target for uncheckable module. +check-target-libtermcap: -@endif target-libobjc +@endif target-libtermcap -.PHONY: install-target-libobjc maybe-install-target-libobjc -maybe-install-target-libobjc: -@if target-libobjc -maybe-install-target-libobjc: install-target-libobjc +.PHONY: install-target-libtermcap maybe-install-target-libtermcap +maybe-install-target-libtermcap: +@if target-libtermcap +maybe-install-target-libtermcap: install-target-libtermcap -install-target-libobjc: installdirs +install-target-libtermcap: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ + (cd $(TARGET_SUBDIR)/libtermcap && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif target-libobjc +@endif target-libtermcap # Other targets (info, dvi, etc.) -.PHONY: maybe-info-target-libobjc info-target-libobjc -maybe-info-target-libobjc: -@if target-libobjc -maybe-info-target-libobjc: info-target-libobjc +.PHONY: maybe-info-target-libtermcap info-target-libtermcap +maybe-info-target-libtermcap: +@if target-libtermcap +maybe-info-target-libtermcap: info-target-libtermcap -info-target-libobjc: \ - configure-target-libobjc - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ +info-target-libtermcap: \ + configure-target-libtermcap + @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ + echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ + (cd $(TARGET_SUBDIR)/libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23709,25 +23763,25 @@ info-target-libobjc: \ info) \ || exit 1 -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-dvi-target-libobjc dvi-target-libobjc -maybe-dvi-target-libobjc: -@if target-libobjc -maybe-dvi-target-libobjc: dvi-target-libobjc +.PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap +maybe-dvi-target-libtermcap: +@if target-libtermcap +maybe-dvi-target-libtermcap: dvi-target-libtermcap -dvi-target-libobjc: \ - configure-target-libobjc - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ +dvi-target-libtermcap: \ + configure-target-libtermcap + @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ + echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ + (cd $(TARGET_SUBDIR)/libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23735,25 +23789,25 @@ dvi-target-libobjc: \ dvi) \ || exit 1 -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc -maybe-TAGS-target-libobjc: -@if target-libobjc -maybe-TAGS-target-libobjc: TAGS-target-libobjc +.PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap +maybe-TAGS-target-libtermcap: +@if target-libtermcap +maybe-TAGS-target-libtermcap: TAGS-target-libtermcap -TAGS-target-libobjc: \ - configure-target-libobjc - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ +TAGS-target-libtermcap: \ + configure-target-libtermcap + @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ + echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ + (cd $(TARGET_SUBDIR)/libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23761,26 +23815,26 @@ TAGS-target-libobjc: \ TAGS) \ || exit 1 -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-install-info-target-libobjc install-info-target-libobjc -maybe-install-info-target-libobjc: -@if target-libobjc -maybe-install-info-target-libobjc: install-info-target-libobjc +.PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap +maybe-install-info-target-libtermcap: +@if target-libtermcap +maybe-install-info-target-libtermcap: install-info-target-libtermcap -install-info-target-libobjc: \ - configure-target-libobjc \ - info-target-libobjc - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ +install-info-target-libtermcap: \ + configure-target-libtermcap \ + info-target-libtermcap + @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ + echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ + (cd $(TARGET_SUBDIR)/libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23788,25 +23842,25 @@ install-info-target-libobjc: \ install-info) \ || exit 1 -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc -maybe-installcheck-target-libobjc: -@if target-libobjc -maybe-installcheck-target-libobjc: installcheck-target-libobjc +.PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap +maybe-installcheck-target-libtermcap: +@if target-libtermcap +maybe-installcheck-target-libtermcap: installcheck-target-libtermcap -installcheck-target-libobjc: \ - configure-target-libobjc - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ +installcheck-target-libtermcap: \ + configure-target-libtermcap + @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ + echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ + (cd $(TARGET_SUBDIR)/libtermcap && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -23814,129 +23868,69 @@ installcheck-target-libobjc: \ installcheck) \ || exit 1 -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc -maybe-mostlyclean-target-libobjc: -@if target-libobjc -maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc +.PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap +maybe-mostlyclean-target-libtermcap: +@if target-libtermcap +maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap -mostlyclean-target-libobjc: - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(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 +# libtermcap doesn't support mostlyclean. +mostlyclean-target-libtermcap: -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-clean-target-libobjc clean-target-libobjc -maybe-clean-target-libobjc: -@if target-libobjc -maybe-clean-target-libobjc: clean-target-libobjc +.PHONY: maybe-clean-target-libtermcap clean-target-libtermcap +maybe-clean-target-libtermcap: +@if target-libtermcap +maybe-clean-target-libtermcap: clean-target-libtermcap -clean-target-libobjc: - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(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 +# libtermcap doesn't support clean. +clean-target-libtermcap: -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-distclean-target-libobjc distclean-target-libobjc -maybe-distclean-target-libobjc: -@if target-libobjc -maybe-distclean-target-libobjc: distclean-target-libobjc +.PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap +maybe-distclean-target-libtermcap: +@if target-libtermcap +maybe-distclean-target-libtermcap: distclean-target-libtermcap -distclean-target-libobjc: - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(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 +# libtermcap doesn't support distclean. +distclean-target-libtermcap: -@endif target-libobjc +@endif target-libtermcap -.PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc -maybe-maintainer-clean-target-libobjc: -@if target-libobjc -maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc +.PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap +maybe-maintainer-clean-target-libtermcap: +@if target-libtermcap +maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap -maintainer-clean-target-libobjc: - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(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 +# libtermcap doesn't support maintainer-clean. +maintainer-clean-target-libtermcap: -@endif target-libobjc +@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 +.PHONY: configure-target-winsup maybe-configure-target-winsup +maybe-configure-target-winsup: +@if target-winsup +maybe-configure-target-winsup: configure-target-winsup # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 +$(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 -configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out - @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ +configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out + @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ - cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ + echo Configuring in $(TARGET_SUBDIR)/winsup; \ + cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\\/]*) \ topdir=$(srcdir) ;; \ @@ -23946,94 +23940,78 @@ configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out *) topdir="../../$(srcdir)" ;; \ esac ;; \ esac; \ - if [ "$(srcdir)" = "." ] ; then \ - if [ "$(TARGET_SUBDIR)" != "." ] ; then \ - if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \ - if [ -f Makefile ]; then \ - if $(MAKE) distclean; then \ - true; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ - fi; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ - fi; \ - srcdiroption="--srcdir=."; \ - libsrcdir="."; \ - else \ - srcdiroption="--srcdir=$${topdir}/libtermcap"; \ - libsrcdir="$$s/libtermcap"; \ - fi; \ + srcdiroption="--srcdir=$${topdir}/winsup"; \ + libsrcdir="$$s/winsup"; \ rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ --with-target-subdir="$(TARGET_SUBDIR)" \ || exit 1 -@endif target-libtermcap +@endif target-winsup -.PHONY: all-target-libtermcap maybe-all-target-libtermcap -maybe-all-target-libtermcap: -@if target-libtermcap -maybe-all-target-libtermcap: all-target-libtermcap -all-target-libtermcap: configure-target-libtermcap +.PHONY: all-target-winsup maybe-all-target-winsup +maybe-all-target-winsup: +@if target-winsup +TARGET-target-winsup=all +maybe-all-target-winsup: all-target-winsup +all-target-winsup: configure-target-winsup @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) -@endif target-libtermcap + (cd $(TARGET_SUBDIR)/winsup && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup)) +@endif target-winsup -.PHONY: check-target-libtermcap maybe-check-target-libtermcap -maybe-check-target-libtermcap: -@if target-libtermcap -maybe-check-target-libtermcap: check-target-libtermcap +.PHONY: check-target-winsup maybe-check-target-winsup +maybe-check-target-winsup: +@if target-winsup +maybe-check-target-winsup: check-target-winsup -# Dummy target for uncheckable module. -check-target-libtermcap: +check-target-winsup: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + $(NORMAL_TARGET_EXPORTS) \ + (cd $(TARGET_SUBDIR)/winsup && \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) check) -@endif target-libtermcap +@endif target-winsup -.PHONY: install-target-libtermcap maybe-install-target-libtermcap -maybe-install-target-libtermcap: -@if target-libtermcap -maybe-install-target-libtermcap: install-target-libtermcap +.PHONY: install-target-winsup maybe-install-target-winsup +maybe-install-target-winsup: +@if target-winsup +maybe-install-target-winsup: install-target-winsup -install-target-libtermcap: installdirs +install-target-winsup: installdirs @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libtermcap && \ + (cd $(TARGET_SUBDIR)/winsup && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) -@endif target-libtermcap +@endif target-winsup # Other targets (info, dvi, etc.) -.PHONY: maybe-info-target-libtermcap info-target-libtermcap -maybe-info-target-libtermcap: -@if target-libtermcap -maybe-info-target-libtermcap: info-target-libtermcap +.PHONY: maybe-info-target-winsup info-target-winsup +maybe-info-target-winsup: +@if target-winsup +maybe-info-target-winsup: info-target-winsup -info-target-libtermcap: \ - configure-target-libtermcap - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ +info-target-winsup: \ + configure-target-winsup + @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ + echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ + (cd $(TARGET_SUBDIR)/winsup && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -24041,25 +24019,25 @@ info-target-libtermcap: \ info) \ || exit 1 -@endif target-libtermcap +@endif target-winsup -.PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap -maybe-dvi-target-libtermcap: -@if target-libtermcap -maybe-dvi-target-libtermcap: dvi-target-libtermcap +.PHONY: maybe-dvi-target-winsup dvi-target-winsup +maybe-dvi-target-winsup: +@if target-winsup +maybe-dvi-target-winsup: dvi-target-winsup -dvi-target-libtermcap: \ - configure-target-libtermcap - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ +dvi-target-winsup: \ + configure-target-winsup + @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ + echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ for flag in $(EXTRA_TARGET_FLAGS); do \ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ + (cd $(TARGET_SUBDIR)/winsup && \ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ "RANLIB=$${RANLIB}" \ @@ -24067,262 +24045,7 @@ dvi-target-libtermcap: \ dvi) \ || exit 1 -@endif target-libtermcap - -.PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap -maybe-TAGS-target-libtermcap: -@if target-libtermcap -maybe-TAGS-target-libtermcap: TAGS-target-libtermcap - -TAGS-target-libtermcap: \ - configure-target-libtermcap - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(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 target-libtermcap - -.PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap -maybe-install-info-target-libtermcap: -@if target-libtermcap -maybe-install-info-target-libtermcap: install-info-target-libtermcap - -install-info-target-libtermcap: \ - configure-target-libtermcap \ - info-target-libtermcap - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(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 target-libtermcap - -.PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap -maybe-installcheck-target-libtermcap: -@if target-libtermcap -maybe-installcheck-target-libtermcap: installcheck-target-libtermcap - -installcheck-target-libtermcap: \ - configure-target-libtermcap - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(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 target-libtermcap - -.PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap -maybe-mostlyclean-target-libtermcap: -@if target-libtermcap -maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap - -# libtermcap doesn't support mostlyclean. -mostlyclean-target-libtermcap: - -@endif target-libtermcap - -.PHONY: maybe-clean-target-libtermcap clean-target-libtermcap -maybe-clean-target-libtermcap: -@if target-libtermcap -maybe-clean-target-libtermcap: clean-target-libtermcap - -# libtermcap doesn't support clean. -clean-target-libtermcap: - -@endif target-libtermcap - -.PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap -maybe-distclean-target-libtermcap: -@if target-libtermcap -maybe-distclean-target-libtermcap: distclean-target-libtermcap - -# libtermcap doesn't support distclean. -distclean-target-libtermcap: - -@endif target-libtermcap - -.PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap -maybe-maintainer-clean-target-libtermcap: -@if target-libtermcap -maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap - -# libtermcap doesn't support maintainer-clean. -maintainer-clean-target-libtermcap: - -@endif target-libtermcap - - -.PHONY: configure-target-winsup maybe-configure-target-winsup -maybe-configure-target-winsup: -@if target-winsup -maybe-configure-target-winsup: configure-target-winsup - -# There's only one multilib.out. Cleverer subdirs shouldn't need it copied. -$(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 - -configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out - @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/winsup; \ - cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) \ - topdir=$(srcdir) ;; \ - *) \ - case "$(TARGET_SUBDIR)" in \ - .) topdir="../$(srcdir)" ;; \ - *) topdir="../../$(srcdir)" ;; \ - esac ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/winsup"; \ - libsrcdir="$$s/winsup"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) $${srcdiroption} \ - --with-target-subdir="$(TARGET_SUBDIR)" \ - || exit 1 -@endif target-winsup - -.PHONY: all-target-winsup maybe-all-target-winsup -maybe-all-target-winsup: -@if target-winsup -maybe-all-target-winsup: all-target-winsup -all-target-winsup: configure-target-winsup - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) -@endif target-winsup - -.PHONY: check-target-winsup maybe-check-target-winsup -maybe-check-target-winsup: -@if target-winsup -maybe-check-target-winsup: check-target-winsup - -check-target-winsup: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-winsup - -.PHONY: install-target-winsup maybe-install-target-winsup -maybe-install-target-winsup: -@if target-winsup -maybe-install-target-winsup: install-target-winsup - -install-target-winsup: installdirs - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-winsup - -# Other targets (info, dvi, etc.) - -.PHONY: maybe-info-target-winsup info-target-winsup -maybe-info-target-winsup: -@if target-winsup -maybe-info-target-winsup: info-target-winsup - -info-target-winsup: \ - configure-target-winsup - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(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 target-winsup - -.PHONY: maybe-dvi-target-winsup dvi-target-winsup -maybe-dvi-target-winsup: -@if target-winsup -maybe-dvi-target-winsup: dvi-target-winsup - -dvi-target-winsup: \ - configure-target-winsup - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(SET_LIB_PATH) \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(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 target-winsup +@endif target-winsup .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup maybe-TAGS-target-winsup: @@ -24545,6 +24268,7 @@ configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out .PHONY: all-target-libgloss maybe-all-target-libgloss maybe-all-target-libgloss: @if target-libgloss +TARGET-target-libgloss=all maybe-all-target-libgloss: all-target-libgloss all-target-libgloss: configure-target-libgloss @r=`${PWD_COMMAND}`; export r; \ @@ -24552,7 +24276,7 @@ all-target-libgloss: configure-target-libgloss $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss)) @endif target-libgloss .PHONY: check-target-libgloss maybe-check-target-libgloss @@ -24855,6 +24579,7 @@ configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out .PHONY: all-target-libiberty maybe-all-target-libiberty maybe-all-target-libiberty: @if target-libiberty +TARGET-target-libiberty=all maybe-all-target-libiberty: all-target-libiberty all-target-libiberty: configure-target-libiberty @r=`${PWD_COMMAND}`; export r; \ @@ -24862,7 +24587,7 @@ all-target-libiberty: configure-target-libiberty $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/libiberty && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty)) @endif target-libiberty .PHONY: check-target-libiberty maybe-check-target-libiberty @@ -25170,6 +24895,7 @@ configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out .PHONY: all-target-gperf maybe-all-target-gperf maybe-all-target-gperf: @if target-gperf +TARGET-target-gperf=all maybe-all-target-gperf: all-target-gperf all-target-gperf: configure-target-gperf @r=`${PWD_COMMAND}`; export r; \ @@ -25177,7 +24903,7 @@ all-target-gperf: configure-target-gperf $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/gperf && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf)) @endif target-gperf .PHONY: check-target-gperf maybe-check-target-gperf @@ -25485,6 +25211,7 @@ configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out .PHONY: all-target-examples maybe-all-target-examples maybe-all-target-examples: @if target-examples +TARGET-target-examples=all maybe-all-target-examples: all-target-examples all-target-examples: configure-target-examples @r=`${PWD_COMMAND}`; export r; \ @@ -25492,7 +25219,7 @@ all-target-examples: configure-target-examples $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/examples && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples)) @endif target-examples .PHONY: check-target-examples maybe-check-target-examples @@ -25790,6 +25517,7 @@ configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out .PHONY: all-target-libffi maybe-all-target-libffi maybe-all-target-libffi: @if target-libffi +TARGET-target-libffi=all maybe-all-target-libffi: all-target-libffi all-target-libffi: configure-target-libffi @r=`${PWD_COMMAND}`; export r; \ @@ -25797,7 +25525,7 @@ all-target-libffi: configure-target-libffi $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi)) @endif target-libffi .PHONY: check-target-libffi maybe-check-target-libffi @@ -26105,6 +25833,7 @@ configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out .PHONY: all-target-libjava maybe-all-target-libjava maybe-all-target-libjava: @if target-libjava +TARGET-target-libjava=all maybe-all-target-libjava: all-target-libjava all-target-libjava: configure-target-libjava @r=`${PWD_COMMAND}`; export r; \ @@ -26112,7 +25841,7 @@ all-target-libjava: configure-target-libjava $(SET_LIB_PATH) \ $(RAW_CXX_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava)) @endif target-libjava .PHONY: check-target-libjava maybe-check-target-libjava @@ -26442,6 +26171,7 @@ configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out .PHONY: all-target-zlib maybe-all-target-zlib maybe-all-target-zlib: @if target-zlib +TARGET-target-zlib=all maybe-all-target-zlib: all-target-zlib all-target-zlib: configure-target-zlib @r=`${PWD_COMMAND}`; export r; \ @@ -26449,7 +26179,7 @@ all-target-zlib: configure-target-zlib $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib)) @endif target-zlib .PHONY: check-target-zlib maybe-check-target-zlib @@ -26757,6 +26487,7 @@ configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc maybe-all-target-boehm-gc: @if 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 @r=`${PWD_COMMAND}`; export r; \ @@ -26764,7 +26495,7 @@ all-target-boehm-gc: configure-target-boehm-gc $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc)) @endif target-boehm-gc .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc @@ -27072,6 +26803,7 @@ configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out .PHONY: all-target-qthreads maybe-all-target-qthreads maybe-all-target-qthreads: @if target-qthreads +TARGET-target-qthreads=all maybe-all-target-qthreads: all-target-qthreads all-target-qthreads: configure-target-qthreads @r=`${PWD_COMMAND}`; export r; \ @@ -27079,7 +26811,7 @@ all-target-qthreads: configure-target-qthreads $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/qthreads && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads)) @endif target-qthreads .PHONY: check-target-qthreads maybe-check-target-qthreads @@ -27387,6 +27119,7 @@ configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out .PHONY: all-target-rda maybe-all-target-rda maybe-all-target-rda: @if target-rda +TARGET-target-rda=all maybe-all-target-rda: all-target-rda all-target-rda: configure-target-rda @r=`${PWD_COMMAND}`; export r; \ @@ -27394,7 +27127,7 @@ all-target-rda: configure-target-rda $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda)) @endif target-rda .PHONY: check-target-rda maybe-check-target-rda @@ -27702,6 +27435,7 @@ configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out .PHONY: all-target-libada maybe-all-target-libada maybe-all-target-libada: @if target-libada +TARGET-target-libada=all maybe-all-target-libada: all-target-libada all-target-libada: configure-target-libada @r=`${PWD_COMMAND}`; export r; \ @@ -27709,7 +27443,7 @@ all-target-libada: configure-target-libada $(SET_LIB_PATH) \ $(NORMAL_TARGET_EXPORTS) \ (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all) + $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada)) @endif target-libada .PHONY: check-target-libada maybe-check-target-libada @@ -28041,7 +27775,7 @@ profiledbootstrap: all-prebootstrap configure-gcc $(MAKE) $(RECURSE_FLAGS_TO_PASS) all .PHONY: cross -cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld +cross: all-build all-gas all-ld @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -28114,7 +27848,6 @@ stage: @$(MAKE) `cat stage_current`-end @endif gcc-bootstrap -@if gcc-bootstrap # We name the build directories for the various stages "stage1-gcc", # "stage2-gcc","stage3-gcc", etc. @@ -28135,7 +27868,9 @@ stage: # (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 almost certainly not parallel-make safe. +# 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 > @@ -28152,14 +27887,7 @@ STAGE1_LANGUAGES=@stage1_languages@ # We only want to compare .o files, so set this! objext = .o -# Real targets act phony if they depend on phony targets; this hack -# prevents gratuitous rebuilding of stage 1. -prebootstrap: - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap - $(STAMP) prebootstrap - # Flags to pass to stage2 and later makes. -BOOT_CFLAGS= -g -O2 POSTSTAGE1_FLAGS_TO_PASS = \ CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ STAGE_PREFIX=$$r/stage-gcc/ \ @@ -28179,252 +27907,3995 @@ POSTSTAGE1_FLAGS_TO_PASS = \ .PHONY: stage1-start stage1-end stage1-start:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stage1 > stage_current ; \ - echo stage1 > stage_last ; \ - [ -d stage1-gcc ] || mkdir stage1-gcc; \ - set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@ - -stage1-end:: - rm -f stage_current ; \ - set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ - + echo stage1 > stage_last +@if bfd + @[ -d stage1-bfd ] || mkdir stage1-bfd; \ + set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \ + set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @[ -d stage1-binutils ] || mkdir stage1-binutils; \ + set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @[ -d stage1-gas ] || mkdir stage1-gas; \ + set stage1-gas gas ; @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @[ -d stage1-gcc ] || mkdir stage1-gcc; \ + set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @[ -d stage1-intl ] || mkdir stage1-intl; \ + set stage1-intl intl ; @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @[ -d stage1-ld ] || mkdir stage1-ld; \ + set stage1-ld ld ; @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \ + set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \ + set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @[ -d stage1-zlib ] || mkdir stage1-zlib; \ + set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@ +@endif zlib + +stage1-end:: + @rm -f stage_current +@if bfd + @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @set gas stage1-gas ; @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @set intl stage1-intl ; @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @set ld stage1-ld ; @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ +@endif zlib + # 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 [ -f all-stage1-gcc ] ; then \ - echo Remaking stage 1 ; \ - rm -f all-stage1-gcc ; \ - fi ; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc + @if test -f stage1-lean ; then \ + echo Skipping rebuild of stage1 ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \ + fi + +.PHONY: all-stage1 clean-stage1 +all-stage1: \ + maybe-all-stage1-bfd \ + maybe-all-stage1-opcodes \ + maybe-all-stage1-binutils \ + maybe-all-stage1-gas \ + maybe-all-stage1-gcc \ + maybe-all-stage1-intl \ + maybe-all-stage1-ld \ + maybe-all-stage1-libcpp \ + maybe-all-stage1-libiberty \ + maybe-all-stage1-zlib + +do-clean: clean-stage1 +clean-stage1: \ + maybe-clean-stage1-bfd \ + maybe-clean-stage1-opcodes \ + maybe-clean-stage1-binutils \ + maybe-clean-stage1-gas \ + maybe-clean-stage1-gcc \ + maybe-clean-stage1-intl \ + maybe-clean-stage1-ld \ + maybe-clean-stage1-libcpp \ + maybe-clean-stage1-libiberty \ + maybe-clean-stage1-zlib + + +.PHONY: configure-stage1-bfd maybe-configure-stage1-bfd +.PHONY: all-stage1-bfd maybe-all-stage1-bfd +.PHONY: clean-stage1-bfd maybe-clean-stage1-bfd + +maybe-configure-stage1-bfd: +maybe-all-stage1-bfd: +maybe-clean-stage1-bfd: + +@if bfd-bootstrap +maybe-configure-stage1-bfd: configure-stage1-bfd +configure-stage1-bfd: + @$(MAKE) stage1-start + @[ -f bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in bfd ; \ + cd bfd || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-bfd: all-stage1-bfd +all-stage1-bfd: configure-stage1-bfd + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-bfd: clean-stage1-bfd +clean-stage1-bfd: + @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \ + || exit 0 ; \ + [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif bfd-bootstrap + + +.PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes +.PHONY: all-stage1-opcodes maybe-all-stage1-opcodes +.PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes + +maybe-configure-stage1-opcodes: +maybe-all-stage1-opcodes: +maybe-clean-stage1-opcodes: + +@if opcodes-bootstrap +maybe-configure-stage1-opcodes: configure-stage1-opcodes +configure-stage1-opcodes: + @$(MAKE) stage1-start + @[ -f opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in opcodes ; \ + cd opcodes || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-opcodes: all-stage1-opcodes +all-stage1-opcodes: configure-stage1-opcodes + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-opcodes: clean-stage1-opcodes +clean-stage1-opcodes: + @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif opcodes-bootstrap + + +.PHONY: configure-stage1-binutils maybe-configure-stage1-binutils +.PHONY: all-stage1-binutils maybe-all-stage1-binutils +.PHONY: clean-stage1-binutils maybe-clean-stage1-binutils + +maybe-configure-stage1-binutils: +maybe-all-stage1-binutils: +maybe-clean-stage1-binutils: + +@if binutils-bootstrap +maybe-configure-stage1-binutils: configure-stage1-binutils +configure-stage1-binutils: + @$(MAKE) stage1-start + @[ -f binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in binutils ; \ + cd binutils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-binutils: all-stage1-binutils +all-stage1-binutils: configure-stage1-binutils + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-binutils: clean-stage1-binutils +clean-stage1-binutils: + @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \ + || exit 0 ; \ + [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif binutils-bootstrap + + +.PHONY: configure-stage1-gas maybe-configure-stage1-gas +.PHONY: all-stage1-gas maybe-all-stage1-gas +.PHONY: clean-stage1-gas maybe-clean-stage1-gas + +maybe-configure-stage1-gas: +maybe-all-stage1-gas: +maybe-clean-stage1-gas: + +@if gas-bootstrap +maybe-configure-stage1-gas: configure-stage1-gas +configure-stage1-gas: + @$(MAKE) stage1-start + @[ -f gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in gas ; \ + cd gas || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-gas: all-stage1-gas +all-stage1-gas: configure-stage1-gas + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-gas: clean-stage1-gas +clean-stage1-gas: + @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \ + || exit 0 ; \ + [ -f gas/Makefile ] || $(MAKE) stage1-start ; \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif gas-bootstrap + + +.PHONY: configure-stage1-gcc maybe-configure-stage1-gcc +.PHONY: all-stage1-gcc maybe-all-stage1-gcc +.PHONY: clean-stage1-gcc maybe-clean-stage1-gcc + +maybe-configure-stage1-gcc: +maybe-all-stage1-gcc: +maybe-clean-stage1-gcc: + +@if gcc-bootstrap +maybe-configure-stage1-gcc: configure-stage1-gcc +configure-stage1-gcc: + @$(MAKE) stage1-start + @[ -f gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in gcc ; \ + cd gcc || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-gcc: all-stage1-gcc +all-stage1-gcc: configure-stage1-gcc + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) + +maybe-clean-stage1-gcc: clean-stage1-gcc +clean-stage1-gcc: + @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \ + || exit 0 ; \ + [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: configure-stage1-intl maybe-configure-stage1-intl +.PHONY: all-stage1-intl maybe-all-stage1-intl +.PHONY: clean-stage1-intl maybe-clean-stage1-intl + +maybe-configure-stage1-intl: +maybe-all-stage1-intl: +maybe-clean-stage1-intl: + +@if intl-bootstrap +maybe-configure-stage1-intl: configure-stage1-intl +configure-stage1-intl: + @$(MAKE) stage1-start + @[ -f intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in intl ; \ + cd intl || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-intl: all-stage1-intl +all-stage1-intl: configure-stage1-intl + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-intl: clean-stage1-intl +clean-stage1-intl: + @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \ + || exit 0 ; \ + [ -f intl/Makefile ] || $(MAKE) stage1-start ; \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif intl-bootstrap + + +.PHONY: configure-stage1-ld maybe-configure-stage1-ld +.PHONY: all-stage1-ld maybe-all-stage1-ld +.PHONY: clean-stage1-ld maybe-clean-stage1-ld + +maybe-configure-stage1-ld: +maybe-all-stage1-ld: +maybe-clean-stage1-ld: + +@if ld-bootstrap +maybe-configure-stage1-ld: configure-stage1-ld +configure-stage1-ld: + @$(MAKE) stage1-start + @[ -f ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in ld ; \ + cd ld || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-ld: all-stage1-ld +all-stage1-ld: configure-stage1-ld + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-ld: clean-stage1-ld +clean-stage1-ld: + @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \ + || exit 0 ; \ + [ -f ld/Makefile ] || $(MAKE) stage1-start ; \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif ld-bootstrap + + +.PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp +.PHONY: all-stage1-libcpp maybe-all-stage1-libcpp +.PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp + +maybe-configure-stage1-libcpp: +maybe-all-stage1-libcpp: +maybe-clean-stage1-libcpp: + +@if libcpp-bootstrap +maybe-configure-stage1-libcpp: configure-stage1-libcpp +configure-stage1-libcpp: + @$(MAKE) stage1-start + @[ -f libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in libcpp ; \ + cd libcpp || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-libcpp: all-stage1-libcpp +all-stage1-libcpp: configure-stage1-libcpp + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-libcpp: clean-stage1-libcpp +clean-stage1-libcpp: + @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif libcpp-bootstrap + + +.PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty +.PHONY: all-stage1-libiberty maybe-all-stage1-libiberty +.PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty + +maybe-configure-stage1-libiberty: +maybe-all-stage1-libiberty: +maybe-clean-stage1-libiberty: + +@if libiberty-bootstrap +maybe-configure-stage1-libiberty: configure-stage1-libiberty +configure-stage1-libiberty: + @$(MAKE) stage1-start + @[ -f libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in libiberty ; \ + cd libiberty || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-libiberty: all-stage1-libiberty +all-stage1-libiberty: configure-stage1-libiberty + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-libiberty: clean-stage1-libiberty +clean-stage1-libiberty: + @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif libiberty-bootstrap + + +.PHONY: configure-stage1-zlib maybe-configure-stage1-zlib +.PHONY: all-stage1-zlib maybe-all-stage1-zlib +.PHONY: clean-stage1-zlib maybe-clean-stage1-zlib + +maybe-configure-stage1-zlib: +maybe-all-stage1-zlib: +maybe-clean-stage1-zlib: + +@if zlib-bootstrap +maybe-configure-stage1-zlib: configure-stage1-zlib +configure-stage1-zlib: + @$(MAKE) stage1-start + @[ -f zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in zlib ; \ + cd zlib || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + +maybe-all-stage1-zlib: all-stage1-zlib +all-stage1-zlib: configure-stage1-zlib + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-zlib: clean-stage1-zlib +clean-stage1-zlib: + @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \ + || exit 0 ; \ + [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif zlib-bootstrap + + + +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap + + + + +# Rules to wipe a stage and all the following ones, also used for cleanstrap + +.PHONY: distclean-stage1 +distclean-stage1:: + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + rm -rf stage1-* + + +@endif gcc-bootstrap + + +.PHONY: stage2-start stage2-end + +stage2-start:: + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + echo stage2 > stage_current ; \ + echo stage2 > stage_last +@if bfd + @[ -d stage2-bfd ] || mkdir stage2-bfd; \ + set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \ + set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @[ -d stage2-binutils ] || mkdir stage2-binutils; \ + set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @[ -d stage2-gas ] || mkdir stage2-gas; \ + set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @[ -d stage2-gcc ] || mkdir stage2-gcc; \ + set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @[ -d stage2-intl ] || mkdir stage2-intl; \ + set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @[ -d stage2-ld ] || mkdir stage2-ld; \ + set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \ + set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \ + set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @[ -d stage2-zlib ] || mkdir stage2-zlib; \ + set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ +@endif zlib + +stage2-end:: + @rm -f stage_current +@if bfd + @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ +@endif zlib + +# 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 \ + echo Skipping rebuild of stage2 ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \ + fi + +.PHONY: all-stage2 clean-stage2 +all-stage2: \ + maybe-all-stage2-bfd \ + maybe-all-stage2-opcodes \ + maybe-all-stage2-binutils \ + maybe-all-stage2-gas \ + maybe-all-stage2-gcc \ + maybe-all-stage2-intl \ + maybe-all-stage2-ld \ + maybe-all-stage2-libcpp \ + maybe-all-stage2-libiberty \ + maybe-all-stage2-zlib + +do-clean: clean-stage2 +clean-stage2: \ + maybe-clean-stage2-bfd \ + maybe-clean-stage2-opcodes \ + maybe-clean-stage2-binutils \ + maybe-clean-stage2-gas \ + maybe-clean-stage2-gcc \ + maybe-clean-stage2-intl \ + maybe-clean-stage2-ld \ + maybe-clean-stage2-libcpp \ + maybe-clean-stage2-libiberty \ + maybe-clean-stage2-zlib + + +.PHONY: configure-stage2-bfd maybe-configure-stage2-bfd +.PHONY: all-stage2-bfd maybe-all-stage2-bfd +.PHONY: clean-stage2-bfd maybe-clean-stage2-bfd + +maybe-configure-stage2-bfd: +maybe-all-stage2-bfd: +maybe-clean-stage2-bfd: + +@if bfd-bootstrap +maybe-configure-stage2-bfd: configure-stage2-bfd +configure-stage2-bfd: + @$(MAKE) stage2-start + @[ -f bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in bfd ; \ + cd bfd || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-bfd: all-stage2-bfd +all-stage2-bfd: configure-stage2-bfd + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-bfd: clean-stage2-bfd +clean-stage2-bfd: + @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \ + || exit 0 ; \ + [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif bfd-bootstrap + + +.PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes +.PHONY: all-stage2-opcodes maybe-all-stage2-opcodes +.PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes + +maybe-configure-stage2-opcodes: +maybe-all-stage2-opcodes: +maybe-clean-stage2-opcodes: + +@if opcodes-bootstrap +maybe-configure-stage2-opcodes: configure-stage2-opcodes +configure-stage2-opcodes: + @$(MAKE) stage2-start + @[ -f opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in opcodes ; \ + cd opcodes || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-opcodes: all-stage2-opcodes +all-stage2-opcodes: configure-stage2-opcodes + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-opcodes: clean-stage2-opcodes +clean-stage2-opcodes: + @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif opcodes-bootstrap + + +.PHONY: configure-stage2-binutils maybe-configure-stage2-binutils +.PHONY: all-stage2-binutils maybe-all-stage2-binutils +.PHONY: clean-stage2-binutils maybe-clean-stage2-binutils + +maybe-configure-stage2-binutils: +maybe-all-stage2-binutils: +maybe-clean-stage2-binutils: + +@if binutils-bootstrap +maybe-configure-stage2-binutils: configure-stage2-binutils +configure-stage2-binutils: + @$(MAKE) stage2-start + @[ -f binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in binutils ; \ + cd binutils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-binutils: all-stage2-binutils +all-stage2-binutils: configure-stage2-binutils + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-binutils: clean-stage2-binutils +clean-stage2-binutils: + @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \ + || exit 0 ; \ + [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif binutils-bootstrap + + +.PHONY: configure-stage2-gas maybe-configure-stage2-gas +.PHONY: all-stage2-gas maybe-all-stage2-gas +.PHONY: clean-stage2-gas maybe-clean-stage2-gas + +maybe-configure-stage2-gas: +maybe-all-stage2-gas: +maybe-clean-stage2-gas: + +@if gas-bootstrap +maybe-configure-stage2-gas: configure-stage2-gas +configure-stage2-gas: + @$(MAKE) stage2-start + @[ -f gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in gas ; \ + cd gas || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-gas: all-stage2-gas +all-stage2-gas: configure-stage2-gas + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-gas: clean-stage2-gas +clean-stage2-gas: + @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \ + || exit 0 ; \ + [ -f gas/Makefile ] || $(MAKE) stage2-start ; \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif gas-bootstrap + + +.PHONY: configure-stage2-gcc maybe-configure-stage2-gcc +.PHONY: all-stage2-gcc maybe-all-stage2-gcc +.PHONY: clean-stage2-gcc maybe-clean-stage2-gcc + +maybe-configure-stage2-gcc: +maybe-all-stage2-gcc: +maybe-clean-stage2-gcc: + +@if gcc-bootstrap +maybe-configure-stage2-gcc: configure-stage2-gcc +configure-stage2-gcc: + @$(MAKE) stage2-start + @[ -f gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in gcc ; \ + cd gcc || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-gcc: all-stage2-gcc +all-stage2-gcc: configure-stage2-gcc + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) + +maybe-clean-stage2-gcc: clean-stage2-gcc +clean-stage2-gcc: + @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \ + || exit 0 ; \ + [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: configure-stage2-intl maybe-configure-stage2-intl +.PHONY: all-stage2-intl maybe-all-stage2-intl +.PHONY: clean-stage2-intl maybe-clean-stage2-intl + +maybe-configure-stage2-intl: +maybe-all-stage2-intl: +maybe-clean-stage2-intl: + +@if intl-bootstrap +maybe-configure-stage2-intl: configure-stage2-intl +configure-stage2-intl: + @$(MAKE) stage2-start + @[ -f intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in intl ; \ + cd intl || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-intl: all-stage2-intl +all-stage2-intl: configure-stage2-intl + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-intl: clean-stage2-intl +clean-stage2-intl: + @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \ + || exit 0 ; \ + [ -f intl/Makefile ] || $(MAKE) stage2-start ; \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif intl-bootstrap + + +.PHONY: configure-stage2-ld maybe-configure-stage2-ld +.PHONY: all-stage2-ld maybe-all-stage2-ld +.PHONY: clean-stage2-ld maybe-clean-stage2-ld + +maybe-configure-stage2-ld: +maybe-all-stage2-ld: +maybe-clean-stage2-ld: + +@if ld-bootstrap +maybe-configure-stage2-ld: configure-stage2-ld +configure-stage2-ld: + @$(MAKE) stage2-start + @[ -f ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in ld ; \ + cd ld || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-ld: all-stage2-ld +all-stage2-ld: configure-stage2-ld + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-ld: clean-stage2-ld +clean-stage2-ld: + @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \ + || exit 0 ; \ + [ -f ld/Makefile ] || $(MAKE) stage2-start ; \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif ld-bootstrap + + +.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp +.PHONY: all-stage2-libcpp maybe-all-stage2-libcpp +.PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp + +maybe-configure-stage2-libcpp: +maybe-all-stage2-libcpp: +maybe-clean-stage2-libcpp: + +@if libcpp-bootstrap +maybe-configure-stage2-libcpp: configure-stage2-libcpp +configure-stage2-libcpp: + @$(MAKE) stage2-start + @[ -f libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in libcpp ; \ + cd libcpp || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-libcpp: all-stage2-libcpp +all-stage2-libcpp: configure-stage2-libcpp + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-libcpp: clean-stage2-libcpp +clean-stage2-libcpp: + @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libcpp-bootstrap + + +.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty +.PHONY: all-stage2-libiberty maybe-all-stage2-libiberty +.PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty + +maybe-configure-stage2-libiberty: +maybe-all-stage2-libiberty: +maybe-clean-stage2-libiberty: + +@if libiberty-bootstrap +maybe-configure-stage2-libiberty: configure-stage2-libiberty +configure-stage2-libiberty: + @$(MAKE) stage2-start + @[ -f libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in libiberty ; \ + cd libiberty || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-libiberty: all-stage2-libiberty +all-stage2-libiberty: configure-stage2-libiberty + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-libiberty: clean-stage2-libiberty +clean-stage2-libiberty: + @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libiberty-bootstrap + + +.PHONY: configure-stage2-zlib maybe-configure-stage2-zlib +.PHONY: all-stage2-zlib maybe-all-stage2-zlib +.PHONY: clean-stage2-zlib maybe-clean-stage2-zlib + +maybe-configure-stage2-zlib: +maybe-all-stage2-zlib: +maybe-clean-stage2-zlib: + +@if zlib-bootstrap +maybe-configure-stage2-zlib: configure-stage2-zlib +configure-stage2-zlib: + @$(MAKE) stage2-start + @[ -f zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 2 in zlib ; \ + cd zlib || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage2-zlib: all-stage2-zlib +all-stage2-zlib: configure-stage2-zlib + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage2-zlib: clean-stage2-zlib +clean-stage2-zlib: + @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \ + || exit 0 ; \ + [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif zlib-bootstrap + + + +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap + + + +.PHONY: bootstrap2 +bootstrap2: stage2-bubble all + + +# 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 || : + rm -rf stage2-* + + +@endif gcc-bootstrap + + +.PHONY: stage3-start stage3-end + +stage3-start:: + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + echo stage3 > stage_current ; \ + echo stage3 > stage_last +@if bfd + @[ -d stage3-bfd ] || mkdir stage3-bfd; \ + set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \ + set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @[ -d stage3-binutils ] || mkdir stage3-binutils; \ + set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @[ -d stage3-gas ] || mkdir stage3-gas; \ + set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @[ -d stage3-gcc ] || mkdir stage3-gcc; \ + set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @[ -d stage3-intl ] || mkdir stage3-intl; \ + set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @[ -d stage3-ld ] || mkdir stage3-ld; \ + set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \ + set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \ + set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @[ -d stage3-zlib ] || mkdir stage3-zlib; \ + set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \ + set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ +@endif zlib + +stage3-end:: + @rm -f stage_current +@if bfd + @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ +@endif zlib + +# 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 \ + echo Skipping rebuild of stage3 ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \ + fi + +.PHONY: all-stage3 clean-stage3 +all-stage3: \ + maybe-all-stage3-bfd \ + maybe-all-stage3-opcodes \ + maybe-all-stage3-binutils \ + maybe-all-stage3-gas \ + maybe-all-stage3-gcc \ + maybe-all-stage3-intl \ + maybe-all-stage3-ld \ + maybe-all-stage3-libcpp \ + maybe-all-stage3-libiberty \ + maybe-all-stage3-zlib + +do-clean: clean-stage3 +clean-stage3: \ + maybe-clean-stage3-bfd \ + maybe-clean-stage3-opcodes \ + maybe-clean-stage3-binutils \ + maybe-clean-stage3-gas \ + maybe-clean-stage3-gcc \ + maybe-clean-stage3-intl \ + maybe-clean-stage3-ld \ + maybe-clean-stage3-libcpp \ + maybe-clean-stage3-libiberty \ + maybe-clean-stage3-zlib + + +.PHONY: configure-stage3-bfd maybe-configure-stage3-bfd +.PHONY: all-stage3-bfd maybe-all-stage3-bfd +.PHONY: clean-stage3-bfd maybe-clean-stage3-bfd + +maybe-configure-stage3-bfd: +maybe-all-stage3-bfd: +maybe-clean-stage3-bfd: + +@if bfd-bootstrap +maybe-configure-stage3-bfd: configure-stage3-bfd +configure-stage3-bfd: + @$(MAKE) stage3-start + @[ -f bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in bfd ; \ + cd bfd || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-bfd: all-stage3-bfd +all-stage3-bfd: configure-stage3-bfd + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-bfd: clean-stage3-bfd +clean-stage3-bfd: + @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \ + || exit 0 ; \ + [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif bfd-bootstrap + + +.PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes +.PHONY: all-stage3-opcodes maybe-all-stage3-opcodes +.PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes + +maybe-configure-stage3-opcodes: +maybe-all-stage3-opcodes: +maybe-clean-stage3-opcodes: + +@if opcodes-bootstrap +maybe-configure-stage3-opcodes: configure-stage3-opcodes +configure-stage3-opcodes: + @$(MAKE) stage3-start + @[ -f opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in opcodes ; \ + cd opcodes || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-opcodes: all-stage3-opcodes +all-stage3-opcodes: configure-stage3-opcodes + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-opcodes: clean-stage3-opcodes +clean-stage3-opcodes: + @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif opcodes-bootstrap + + +.PHONY: configure-stage3-binutils maybe-configure-stage3-binutils +.PHONY: all-stage3-binutils maybe-all-stage3-binutils +.PHONY: clean-stage3-binutils maybe-clean-stage3-binutils + +maybe-configure-stage3-binutils: +maybe-all-stage3-binutils: +maybe-clean-stage3-binutils: + +@if binutils-bootstrap +maybe-configure-stage3-binutils: configure-stage3-binutils +configure-stage3-binutils: + @$(MAKE) stage3-start + @[ -f binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in binutils ; \ + cd binutils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-binutils: all-stage3-binutils +all-stage3-binutils: configure-stage3-binutils + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-binutils: clean-stage3-binutils +clean-stage3-binutils: + @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \ + || exit 0 ; \ + [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif binutils-bootstrap + + +.PHONY: configure-stage3-gas maybe-configure-stage3-gas +.PHONY: all-stage3-gas maybe-all-stage3-gas +.PHONY: clean-stage3-gas maybe-clean-stage3-gas + +maybe-configure-stage3-gas: +maybe-all-stage3-gas: +maybe-clean-stage3-gas: + +@if gas-bootstrap +maybe-configure-stage3-gas: configure-stage3-gas +configure-stage3-gas: + @$(MAKE) stage3-start + @[ -f gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in gas ; \ + cd gas || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-gas: all-stage3-gas +all-stage3-gas: configure-stage3-gas + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-gas: clean-stage3-gas +clean-stage3-gas: + @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \ + || exit 0 ; \ + [ -f gas/Makefile ] || $(MAKE) stage3-start ; \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif gas-bootstrap + + +.PHONY: configure-stage3-gcc maybe-configure-stage3-gcc +.PHONY: all-stage3-gcc maybe-all-stage3-gcc +.PHONY: clean-stage3-gcc maybe-clean-stage3-gcc + +maybe-configure-stage3-gcc: +maybe-all-stage3-gcc: +maybe-clean-stage3-gcc: + +@if gcc-bootstrap +maybe-configure-stage3-gcc: configure-stage3-gcc +configure-stage3-gcc: + @$(MAKE) stage3-start + @[ -f gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in gcc ; \ + cd gcc || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-gcc: all-stage3-gcc +all-stage3-gcc: configure-stage3-gcc + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) + +maybe-clean-stage3-gcc: clean-stage3-gcc +clean-stage3-gcc: + @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \ + || exit 0 ; \ + [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: configure-stage3-intl maybe-configure-stage3-intl +.PHONY: all-stage3-intl maybe-all-stage3-intl +.PHONY: clean-stage3-intl maybe-clean-stage3-intl + +maybe-configure-stage3-intl: +maybe-all-stage3-intl: +maybe-clean-stage3-intl: + +@if intl-bootstrap +maybe-configure-stage3-intl: configure-stage3-intl +configure-stage3-intl: + @$(MAKE) stage3-start + @[ -f intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in intl ; \ + cd intl || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-intl: all-stage3-intl +all-stage3-intl: configure-stage3-intl + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-intl: clean-stage3-intl +clean-stage3-intl: + @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \ + || exit 0 ; \ + [ -f intl/Makefile ] || $(MAKE) stage3-start ; \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif intl-bootstrap + + +.PHONY: configure-stage3-ld maybe-configure-stage3-ld +.PHONY: all-stage3-ld maybe-all-stage3-ld +.PHONY: clean-stage3-ld maybe-clean-stage3-ld + +maybe-configure-stage3-ld: +maybe-all-stage3-ld: +maybe-clean-stage3-ld: + +@if ld-bootstrap +maybe-configure-stage3-ld: configure-stage3-ld +configure-stage3-ld: + @$(MAKE) stage3-start + @[ -f ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in ld ; \ + cd ld || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-ld: all-stage3-ld +all-stage3-ld: configure-stage3-ld + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-ld: clean-stage3-ld +clean-stage3-ld: + @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \ + || exit 0 ; \ + [ -f ld/Makefile ] || $(MAKE) stage3-start ; \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif ld-bootstrap + + +.PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp +.PHONY: all-stage3-libcpp maybe-all-stage3-libcpp +.PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp + +maybe-configure-stage3-libcpp: +maybe-all-stage3-libcpp: +maybe-clean-stage3-libcpp: + +@if libcpp-bootstrap +maybe-configure-stage3-libcpp: configure-stage3-libcpp +configure-stage3-libcpp: + @$(MAKE) stage3-start + @[ -f libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in libcpp ; \ + cd libcpp || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-libcpp: all-stage3-libcpp +all-stage3-libcpp: configure-stage3-libcpp + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-libcpp: clean-stage3-libcpp +clean-stage3-libcpp: + @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libcpp-bootstrap + + +.PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty +.PHONY: all-stage3-libiberty maybe-all-stage3-libiberty +.PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty + +maybe-configure-stage3-libiberty: +maybe-all-stage3-libiberty: +maybe-clean-stage3-libiberty: + +@if libiberty-bootstrap +maybe-configure-stage3-libiberty: configure-stage3-libiberty +configure-stage3-libiberty: + @$(MAKE) stage3-start + @[ -f libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in libiberty ; \ + cd libiberty || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-libiberty: all-stage3-libiberty +all-stage3-libiberty: configure-stage3-libiberty + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-libiberty: clean-stage3-libiberty +clean-stage3-libiberty: + @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libiberty-bootstrap + + +.PHONY: configure-stage3-zlib maybe-configure-stage3-zlib +.PHONY: all-stage3-zlib maybe-all-stage3-zlib +.PHONY: clean-stage3-zlib maybe-clean-stage3-zlib + +maybe-configure-stage3-zlib: +maybe-all-stage3-zlib: +maybe-clean-stage3-zlib: + +@if zlib-bootstrap +maybe-configure-stage3-zlib: configure-stage3-zlib +configure-stage3-zlib: + @$(MAKE) stage3-start + @[ -f zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 3 in zlib ; \ + cd zlib || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage3-zlib: all-stage3-zlib +all-stage3-zlib: configure-stage3-zlib + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage3-zlib: clean-stage3-zlib +clean-stage3-zlib: + @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \ + || exit 0 ; \ + [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif zlib-bootstrap + + + +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap + +compare: + @if test -f stage2-lean; then \ + echo Cannot compare object files as stage 2 was deleted. ; \ + exit 0 ; \ + fi; \ + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + rm -f .bad_compare ; \ + cd stage3-gcc; \ + files=`find . -name "*$(objext)" -print` ; \ + cd .. ; \ + 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; \ + done ; \ + if [ -f .bad_compare ]; then \ + echo "Bootstrap comparison failure!"; \ + cat .bad_compare; \ + exit 1; \ + else \ + true; \ + fi ; \ + $(STAMP) compare + @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean + + + +.PHONY: bootstrap +bootstrap: stage3-bubble compare all + + +# 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 || : + rm -rf stage3-* compare + + +.PHONY: cleanstrap +cleanstrap: distclean bootstrap + +@endif gcc-bootstrap + + +.PHONY: stage4-start stage4-end + +stage4-start:: + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + echo stage4 > stage_current ; \ + echo stage4 > stage_last +@if bfd + @[ -d stage4-bfd ] || mkdir stage4-bfd; \ + set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \ + set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @[ -d stage4-binutils ] || mkdir stage4-binutils; \ + set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @[ -d stage4-gas ] || mkdir stage4-gas; \ + set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @[ -d stage4-gcc ] || mkdir stage4-gcc; \ + set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @[ -d stage4-intl ] || mkdir stage4-intl; \ + set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @[ -d stage4-ld ] || mkdir stage4-ld; \ + set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \ + set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \ + set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @[ -d stage4-zlib ] || mkdir stage4-zlib; \ + set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \ + set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ +@endif zlib + +stage4-end:: + @rm -f stage_current +@if bfd + @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ +@endif zlib + +# 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 \ + echo Skipping rebuild of stage4 ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \ + fi + +.PHONY: all-stage4 clean-stage4 +all-stage4: \ + maybe-all-stage4-bfd \ + maybe-all-stage4-opcodes \ + maybe-all-stage4-binutils \ + maybe-all-stage4-gas \ + maybe-all-stage4-gcc \ + maybe-all-stage4-intl \ + maybe-all-stage4-ld \ + maybe-all-stage4-libcpp \ + maybe-all-stage4-libiberty \ + maybe-all-stage4-zlib + +do-clean: clean-stage4 +clean-stage4: \ + maybe-clean-stage4-bfd \ + maybe-clean-stage4-opcodes \ + maybe-clean-stage4-binutils \ + maybe-clean-stage4-gas \ + maybe-clean-stage4-gcc \ + maybe-clean-stage4-intl \ + maybe-clean-stage4-ld \ + maybe-clean-stage4-libcpp \ + maybe-clean-stage4-libiberty \ + maybe-clean-stage4-zlib + + +.PHONY: configure-stage4-bfd maybe-configure-stage4-bfd +.PHONY: all-stage4-bfd maybe-all-stage4-bfd +.PHONY: clean-stage4-bfd maybe-clean-stage4-bfd + +maybe-configure-stage4-bfd: +maybe-all-stage4-bfd: +maybe-clean-stage4-bfd: + +@if bfd-bootstrap +maybe-configure-stage4-bfd: configure-stage4-bfd +configure-stage4-bfd: + @$(MAKE) stage4-start + @[ -f bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in bfd ; \ + cd bfd || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-bfd: all-stage4-bfd +all-stage4-bfd: configure-stage4-bfd + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-bfd: clean-stage4-bfd +clean-stage4-bfd: + @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \ + || exit 0 ; \ + [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif bfd-bootstrap + + +.PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes +.PHONY: all-stage4-opcodes maybe-all-stage4-opcodes +.PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes + +maybe-configure-stage4-opcodes: +maybe-all-stage4-opcodes: +maybe-clean-stage4-opcodes: + +@if opcodes-bootstrap +maybe-configure-stage4-opcodes: configure-stage4-opcodes +configure-stage4-opcodes: + @$(MAKE) stage4-start + @[ -f opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in opcodes ; \ + cd opcodes || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-opcodes: all-stage4-opcodes +all-stage4-opcodes: configure-stage4-opcodes + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-opcodes: clean-stage4-opcodes +clean-stage4-opcodes: + @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif opcodes-bootstrap + + +.PHONY: configure-stage4-binutils maybe-configure-stage4-binutils +.PHONY: all-stage4-binutils maybe-all-stage4-binutils +.PHONY: clean-stage4-binutils maybe-clean-stage4-binutils + +maybe-configure-stage4-binutils: +maybe-all-stage4-binutils: +maybe-clean-stage4-binutils: + +@if binutils-bootstrap +maybe-configure-stage4-binutils: configure-stage4-binutils +configure-stage4-binutils: + @$(MAKE) stage4-start + @[ -f binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in binutils ; \ + cd binutils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-binutils: all-stage4-binutils +all-stage4-binutils: configure-stage4-binutils + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-binutils: clean-stage4-binutils +clean-stage4-binutils: + @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \ + || exit 0 ; \ + [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif binutils-bootstrap + + +.PHONY: configure-stage4-gas maybe-configure-stage4-gas +.PHONY: all-stage4-gas maybe-all-stage4-gas +.PHONY: clean-stage4-gas maybe-clean-stage4-gas + +maybe-configure-stage4-gas: +maybe-all-stage4-gas: +maybe-clean-stage4-gas: + +@if gas-bootstrap +maybe-configure-stage4-gas: configure-stage4-gas +configure-stage4-gas: + @$(MAKE) stage4-start + @[ -f gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in gas ; \ + cd gas || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-gas: all-stage4-gas +all-stage4-gas: configure-stage4-gas + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-gas: clean-stage4-gas +clean-stage4-gas: + @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \ + || exit 0 ; \ + [ -f gas/Makefile ] || $(MAKE) stage4-start ; \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif gas-bootstrap + + +.PHONY: configure-stage4-gcc maybe-configure-stage4-gcc +.PHONY: all-stage4-gcc maybe-all-stage4-gcc +.PHONY: clean-stage4-gcc maybe-clean-stage4-gcc + +maybe-configure-stage4-gcc: +maybe-all-stage4-gcc: +maybe-clean-stage4-gcc: + +@if gcc-bootstrap +maybe-configure-stage4-gcc: configure-stage4-gcc +configure-stage4-gcc: + @$(MAKE) stage4-start + @[ -f gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in gcc ; \ + cd gcc || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-gcc: all-stage4-gcc +all-stage4-gcc: configure-stage4-gcc + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) + +maybe-clean-stage4-gcc: clean-stage4-gcc +clean-stage4-gcc: + @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \ + || exit 0 ; \ + [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: configure-stage4-intl maybe-configure-stage4-intl +.PHONY: all-stage4-intl maybe-all-stage4-intl +.PHONY: clean-stage4-intl maybe-clean-stage4-intl + +maybe-configure-stage4-intl: +maybe-all-stage4-intl: +maybe-clean-stage4-intl: + +@if intl-bootstrap +maybe-configure-stage4-intl: configure-stage4-intl +configure-stage4-intl: + @$(MAKE) stage4-start + @[ -f intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in intl ; \ + cd intl || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-intl: all-stage4-intl +all-stage4-intl: configure-stage4-intl + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-intl: clean-stage4-intl +clean-stage4-intl: + @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \ + || exit 0 ; \ + [ -f intl/Makefile ] || $(MAKE) stage4-start ; \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif intl-bootstrap + + +.PHONY: configure-stage4-ld maybe-configure-stage4-ld +.PHONY: all-stage4-ld maybe-all-stage4-ld +.PHONY: clean-stage4-ld maybe-clean-stage4-ld + +maybe-configure-stage4-ld: +maybe-all-stage4-ld: +maybe-clean-stage4-ld: + +@if ld-bootstrap +maybe-configure-stage4-ld: configure-stage4-ld +configure-stage4-ld: + @$(MAKE) stage4-start + @[ -f ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in ld ; \ + cd ld || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-ld: all-stage4-ld +all-stage4-ld: configure-stage4-ld + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-ld: clean-stage4-ld +clean-stage4-ld: + @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \ + || exit 0 ; \ + [ -f ld/Makefile ] || $(MAKE) stage4-start ; \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif ld-bootstrap + + +.PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp +.PHONY: all-stage4-libcpp maybe-all-stage4-libcpp +.PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp + +maybe-configure-stage4-libcpp: +maybe-all-stage4-libcpp: +maybe-clean-stage4-libcpp: + +@if libcpp-bootstrap +maybe-configure-stage4-libcpp: configure-stage4-libcpp +configure-stage4-libcpp: + @$(MAKE) stage4-start + @[ -f libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in libcpp ; \ + cd libcpp || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-libcpp: all-stage4-libcpp +all-stage4-libcpp: configure-stage4-libcpp + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-libcpp: clean-stage4-libcpp +clean-stage4-libcpp: + @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libcpp-bootstrap + + +.PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty +.PHONY: all-stage4-libiberty maybe-all-stage4-libiberty +.PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty + +maybe-configure-stage4-libiberty: +maybe-all-stage4-libiberty: +maybe-clean-stage4-libiberty: + +@if libiberty-bootstrap +maybe-configure-stage4-libiberty: configure-stage4-libiberty +configure-stage4-libiberty: + @$(MAKE) stage4-start + @[ -f libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in libiberty ; \ + cd libiberty || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-libiberty: all-stage4-libiberty +all-stage4-libiberty: configure-stage4-libiberty + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-libiberty: clean-stage4-libiberty +clean-stage4-libiberty: + @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libiberty-bootstrap + + +.PHONY: configure-stage4-zlib maybe-configure-stage4-zlib +.PHONY: all-stage4-zlib maybe-all-stage4-zlib +.PHONY: clean-stage4-zlib maybe-clean-stage4-zlib + +maybe-configure-stage4-zlib: +maybe-all-stage4-zlib: +maybe-clean-stage4-zlib: + +@if zlib-bootstrap +maybe-configure-stage4-zlib: configure-stage4-zlib +configure-stage4-zlib: + @$(MAKE) stage4-start + @[ -f zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage 4 in zlib ; \ + cd zlib || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stage4-zlib: all-stage4-zlib +all-stage4-zlib: configure-stage4-zlib + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + + +maybe-clean-stage4-zlib: clean-stage4-zlib +clean-stage4-zlib: + @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \ + || exit 0 ; \ + [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif zlib-bootstrap + + + +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap + +compare3: + @if test -f stage3-lean; then \ + echo Cannot compare object files as stage 3 was deleted. ; \ + exit 0 ; \ + fi; \ + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + rm -f .bad_compare ; \ + cd stage4-gcc; \ + files=`find . -name "*$(objext)" -print` ; \ + cd .. ; \ + 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; \ + done ; \ + if [ -f .bad_compare ]; then \ + echo "Bootstrap comparison failure!"; \ + cat .bad_compare; \ + exit 1; \ + else \ + true; \ + fi ; \ + $(STAMP) compare3 + @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean + + + +.PHONY: bootstrap4 +bootstrap4: stage4-bubble compare3 all + + +# 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 || : + rm -rf stage4-* compare3 + + +@endif gcc-bootstrap + + +.PHONY: stageprofile-start stageprofile-end + +stageprofile-start:: + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + echo stageprofile > stage_current ; \ + echo stageprofile > stage_last +@if bfd + @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \ + set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \ + set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \ + set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \ + set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \ + set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \ + set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \ + set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \ + set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \ + set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \ + set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ +@endif zlib + +stageprofile-end:: + @rm -f stage_current +@if bfd + @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ +@endif zlib + +# 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 \ + echo Skipping rebuild of stageprofile ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \ + fi + +.PHONY: all-stageprofile clean-stageprofile +all-stageprofile: \ + maybe-all-stageprofile-bfd \ + maybe-all-stageprofile-opcodes \ + maybe-all-stageprofile-binutils \ + maybe-all-stageprofile-gas \ + maybe-all-stageprofile-gcc \ + maybe-all-stageprofile-intl \ + maybe-all-stageprofile-ld \ + maybe-all-stageprofile-libcpp \ + maybe-all-stageprofile-libiberty \ + maybe-all-stageprofile-zlib + +do-clean: clean-stageprofile +clean-stageprofile: \ + maybe-clean-stageprofile-bfd \ + maybe-clean-stageprofile-opcodes \ + maybe-clean-stageprofile-binutils \ + maybe-clean-stageprofile-gas \ + maybe-clean-stageprofile-gcc \ + maybe-clean-stageprofile-intl \ + maybe-clean-stageprofile-ld \ + maybe-clean-stageprofile-libcpp \ + maybe-clean-stageprofile-libiberty \ + maybe-clean-stageprofile-zlib + + +.PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd +.PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd +.PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd + +maybe-configure-stageprofile-bfd: +maybe-all-stageprofile-bfd: +maybe-clean-stageprofile-bfd: + +@if bfd-bootstrap +maybe-configure-stageprofile-bfd: configure-stageprofile-bfd +configure-stageprofile-bfd: + @$(MAKE) stageprofile-start + @[ -f bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in bfd ; \ + cd bfd || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-bfd: all-stageprofile-bfd +all-stageprofile-bfd: configure-stageprofile-bfd + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-bfd: clean-stageprofile-bfd +clean-stageprofile-bfd: + @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \ + || exit 0 ; \ + [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif bfd-bootstrap + + +.PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes +.PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes +.PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes + +maybe-configure-stageprofile-opcodes: +maybe-all-stageprofile-opcodes: +maybe-clean-stageprofile-opcodes: + +@if opcodes-bootstrap +maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes +configure-stageprofile-opcodes: + @$(MAKE) stageprofile-start + @[ -f opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in opcodes ; \ + cd opcodes || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-opcodes: all-stageprofile-opcodes +all-stageprofile-opcodes: configure-stageprofile-opcodes + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes +clean-stageprofile-opcodes: + @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif opcodes-bootstrap + + +.PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils +.PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils +.PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils + +maybe-configure-stageprofile-binutils: +maybe-all-stageprofile-binutils: +maybe-clean-stageprofile-binutils: + +@if binutils-bootstrap +maybe-configure-stageprofile-binutils: configure-stageprofile-binutils +configure-stageprofile-binutils: + @$(MAKE) stageprofile-start + @[ -f binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in binutils ; \ + cd binutils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-binutils: all-stageprofile-binutils +all-stageprofile-binutils: configure-stageprofile-binutils + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-binutils: clean-stageprofile-binutils +clean-stageprofile-binutils: + @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \ + || exit 0 ; \ + [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif binutils-bootstrap + + +.PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas +.PHONY: all-stageprofile-gas maybe-all-stageprofile-gas +.PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas + +maybe-configure-stageprofile-gas: +maybe-all-stageprofile-gas: +maybe-clean-stageprofile-gas: + +@if gas-bootstrap +maybe-configure-stageprofile-gas: configure-stageprofile-gas +configure-stageprofile-gas: + @$(MAKE) stageprofile-start + @[ -f gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in gas ; \ + cd gas || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-gas: all-stageprofile-gas +all-stageprofile-gas: configure-stageprofile-gas + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-gas: clean-stageprofile-gas +clean-stageprofile-gas: + @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \ + || exit 0 ; \ + [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif gas-bootstrap + + +.PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc +.PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc +.PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc + +maybe-configure-stageprofile-gcc: +maybe-all-stageprofile-gcc: +maybe-clean-stageprofile-gcc: + +@if gcc-bootstrap +maybe-configure-stageprofile-gcc: configure-stageprofile-gcc +configure-stageprofile-gcc: + @$(MAKE) stageprofile-start + @[ -f gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in gcc ; \ + cd gcc || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gcc"; \ + libsrcdir="$$s/gcc";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-gcc: all-stageprofile-gcc +all-stageprofile-gcc: configure-stageprofile-gcc + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) + +maybe-clean-stageprofile-gcc: clean-stageprofile-gcc +clean-stageprofile-gcc: + @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \ + || exit 0 ; \ + [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl +.PHONY: all-stageprofile-intl maybe-all-stageprofile-intl +.PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl + +maybe-configure-stageprofile-intl: +maybe-all-stageprofile-intl: +maybe-clean-stageprofile-intl: + +@if intl-bootstrap +maybe-configure-stageprofile-intl: configure-stageprofile-intl +configure-stageprofile-intl: + @$(MAKE) stageprofile-start + @[ -f intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in intl ; \ + cd intl || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-intl: all-stageprofile-intl +all-stageprofile-intl: configure-stageprofile-intl + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-intl: clean-stageprofile-intl +clean-stageprofile-intl: + @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \ + || exit 0 ; \ + [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif intl-bootstrap + + +.PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld +.PHONY: all-stageprofile-ld maybe-all-stageprofile-ld +.PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld + +maybe-configure-stageprofile-ld: +maybe-all-stageprofile-ld: +maybe-clean-stageprofile-ld: + +@if ld-bootstrap +maybe-configure-stageprofile-ld: configure-stageprofile-ld +configure-stageprofile-ld: + @$(MAKE) stageprofile-start + @[ -f ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in ld ; \ + cd ld || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ + +maybe-all-stageprofile-ld: all-stageprofile-ld +all-stageprofile-ld: configure-stageprofile-ld + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-ld: clean-stageprofile-ld +clean-stageprofile-ld: + @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \ + || exit 0 ; \ + [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif ld-bootstrap +.PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp +.PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp +.PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp -configure-stage1-gcc: prebootstrap - $(MAKE) stage1-start - @if [ -f stage1-gcc/Makefile ] ; then \ - $(STAMP) configure-stage1-gcc ; \ - exit 0; \ - else \ - true ; \ - fi ; \ +maybe-configure-stageprofile-libcpp: +maybe-all-stageprofile-libcpp: +maybe-clean-stageprofile-libcpp: + +@if libcpp-bootstrap +maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp +configure-stageprofile-libcpp: + @$(MAKE) stageprofile-start + @[ -f libcpp/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in gcc ; \ - cd gcc || exit 1; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in libcpp ; \ + cd libcpp || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \ - $(STAMP) ../configure-stage1-gcc + @stage2_werror_flag@ -all-stage1-gcc: configure-stage1-gcc - $(MAKE) stage1-start +maybe-all-stageprofile-libcpp: all-stageprofile-libcpp +all-stageprofile-libcpp: configure-stageprofile-libcpp + @$(MAKE) stageprofile-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc + $(STAGE_HOST_EXPORTS) \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp +clean-stageprofile-libcpp: + @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif libcpp-bootstrap + +.PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty +.PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty +.PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty +maybe-configure-stageprofile-libiberty: +maybe-all-stageprofile-libiberty: +maybe-clean-stageprofile-libiberty: +@if libiberty-bootstrap +maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty +configure-stageprofile-libiberty: + @$(MAKE) stageprofile-start + @[ -f libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in libiberty ; \ + cd libiberty || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +maybe-all-stageprofile-libiberty: all-stageprofile-libiberty +all-stageprofile-libiberty: configure-stageprofile-libiberty + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty +clean-stageprofile-libiberty: + @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif libiberty-bootstrap -.PHONY: restage1 touch-stage1 distclean-stage1 -# Rules to wipe a stage and all the following ones, used for cleanstrap +.PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib +.PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib +.PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib -distclean-stage1:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc +maybe-configure-stageprofile-zlib: +maybe-all-stageprofile-zlib: +maybe-clean-stageprofile-zlib: -# Rules to renew the timestamp on a stage and all the following ones +@if zlib-bootstrap +maybe-configure-stageprofile-zlib: configure-stageprofile-zlib +configure-stageprofile-zlib: + @$(MAKE) stageprofile-start + @[ -f zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage profile in zlib ; \ + cd zlib || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ -touch-stage1:: - @[ -f configure-stage1-gcc ] && \ - echo '$(STAMP) configure-stage1-gcc' && \ - $(STAMP) configure-stage1-gcc; \ - [ -f all-stage1-gcc ] && \ - echo '$(STAMP) all-stage1-gcc' && \ - $(STAMP) all-stage1-gcc; \ - : +maybe-all-stageprofile-zlib: all-stageprofile-zlib +all-stageprofile-zlib: configure-stageprofile-zlib + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-zlib: clean-stageprofile-zlib +clean-stageprofile-zlib: + @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \ + || exit 0 ; \ + [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif zlib-bootstrap -# After building a stage, touch the following ones -restage1:: - rm -rf all-stage1-gcc - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap -.PHONY: stage2-start stage2-end -stage2-start:: +# Rules to wipe a stage and all the following ones, also used for cleanstrap +distclean-stage1:: distclean-stageprofile +.PHONY: distclean-stageprofile +distclean-stageprofile:: [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - echo stage2 > stage_current ; \ - echo stage2 > stage_last ; \ - [ -d stage2-gcc ] || mkdir stage2-gcc; \ - set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ + rm -rf stageprofile-* + + +@endif gcc-bootstrap + + +.PHONY: stagefeedback-start stagefeedback-end + +stagefeedback-start:: + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + echo stagefeedback > stage_current ; \ + echo stagefeedback > stage_last +@if bfd + @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \ + set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \ + set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \ + set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \ + set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \ + set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \ + set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \ + set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \ + set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \ + set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \ + set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \ + set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ +@endif zlib -stage2-end:: - rm -f stage_current ; \ - set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \ +stagefeedback-end:: + @rm -f stage_current +@if bfd + @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \ set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ +@endif zlib -# Bubble a bugfix through all the stages up to stage 2. They +# 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: stage2-bubble -stage2-bubble:: stage1-bubble - @if [ -f all-stage2-gcc ] ; then \ - echo Remaking stage 2 ; \ - rm -f all-stage2-gcc ; \ - fi ; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc - - -stage1-bubble:: - @if [ -f configure-stage2-gcc ] ; then \ - $(STAMP) configure-stage2-gcc ; \ +.PHONY: stagefeedback-bubble +stagefeedback-bubble:: stage1-bubble + @if test -f stagefeedback-lean || test -f stage1-lean ; then \ + echo Skipping rebuild of stagefeedback ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \ fi - -configure-stage2-gcc: all-stage1-gcc - $(MAKE) stage2-start - @if [ -f stage2-gcc/Makefile ] ; then \ - $(STAMP) configure-stage2-gcc ; \ - exit 0; \ - else \ - true ; \ - fi ; \ +.PHONY: all-stagefeedback clean-stagefeedback +all-stagefeedback: \ + maybe-all-stagefeedback-bfd \ + maybe-all-stagefeedback-opcodes \ + maybe-all-stagefeedback-binutils \ + maybe-all-stagefeedback-gas \ + maybe-all-stagefeedback-gcc \ + maybe-all-stagefeedback-intl \ + maybe-all-stagefeedback-ld \ + maybe-all-stagefeedback-libcpp \ + maybe-all-stagefeedback-libiberty \ + maybe-all-stagefeedback-zlib + +do-clean: clean-stagefeedback +clean-stagefeedback: \ + maybe-clean-stagefeedback-bfd \ + maybe-clean-stagefeedback-opcodes \ + maybe-clean-stagefeedback-binutils \ + maybe-clean-stagefeedback-gas \ + maybe-clean-stagefeedback-gcc \ + maybe-clean-stagefeedback-intl \ + maybe-clean-stagefeedback-ld \ + maybe-clean-stagefeedback-libcpp \ + maybe-clean-stagefeedback-libiberty \ + maybe-clean-stagefeedback-zlib + + +.PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd +.PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd +.PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd + +maybe-configure-stagefeedback-bfd: +maybe-all-stagefeedback-bfd: +maybe-clean-stagefeedback-bfd: + +@if bfd-bootstrap +maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd +configure-stagefeedback-bfd: + @$(MAKE) stagefeedback-start + @[ -f bfd/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in gcc ; \ - cd gcc || exit 1; \ + echo Configuring stage feedback in bfd ; \ + cd bfd || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=../$(srcdir)/bfd"; \ + libsrcdir="$$s/bfd";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ && \ - $(STAMP) ../configure-stage2-gcc + @stage2_werror_flag@ -all-stage2-gcc: configure-stage2-gcc - $(MAKE) stage2-start +maybe-all-stagefeedback-bfd: all-stagefeedback-bfd +all-stagefeedback-bfd: configure-stagefeedback-bfd + @$(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - cd gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ - && $(STAMP) ../all-stage2-gcc - + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd +clean-stagefeedback-bfd: + @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \ + || exit 0 ; \ + [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif bfd-bootstrap +.PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes +.PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes +.PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes -.PHONY: bootstrap2 -bootstrap2: - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble all +maybe-configure-stagefeedback-opcodes: +maybe-all-stagefeedback-opcodes: +maybe-clean-stagefeedback-opcodes: +@if opcodes-bootstrap +maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes +configure-stagefeedback-opcodes: + @$(MAKE) stagefeedback-start + @[ -f opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage feedback in opcodes ; \ + cd opcodes || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ + libsrcdir="$$s/opcodes";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ -.PHONY: restage2 touch-stage2 distclean-stage2 +maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes +all-stagefeedback-opcodes: configure-stagefeedback-opcodes + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes +clean-stagefeedback-opcodes: + @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif opcodes-bootstrap -# Rules to wipe a stage and all the following ones, used for cleanstrap -distclean-stage1:: distclean-stage2 -distclean-stage2:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc -# Rules to renew the timestamp on a stage and all the following ones -touch-stage1:: touch-stage2 -touch-stage2:: - @[ -f configure-stage2-gcc ] && \ - echo '$(STAMP) configure-stage2-gcc' && \ - $(STAMP) configure-stage2-gcc; \ - [ -f all-stage2-gcc ] && \ - echo '$(STAMP) all-stage2-gcc' && \ - $(STAMP) all-stage2-gcc; \ - : +.PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils +.PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils +.PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils -# After building a stage, touch the following ones -restage1:: touch-stage2 -restage2:: - rm -rf all-stage2-gcc - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc +maybe-configure-stagefeedback-binutils: +maybe-all-stagefeedback-binutils: +maybe-clean-stagefeedback-binutils: +@if binutils-bootstrap +maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils +configure-stagefeedback-binutils: + @$(MAKE) stagefeedback-start + @[ -f binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage feedback in binutils ; \ + cd binutils || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/binutils"; \ + libsrcdir="$$s/binutils";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +maybe-all-stagefeedback-binutils: all-stagefeedback-binutils +all-stagefeedback-binutils: configure-stagefeedback-binutils + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils +clean-stagefeedback-binutils: + @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \ + || exit 0 ; \ + [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif binutils-bootstrap -.PHONY: stage3-start stage3-end +.PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas +.PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas +.PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas -stage3-start:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - echo stage3 > stage_current ; \ - echo stage3 > stage_last ; \ - [ -d stage3-gcc ] || mkdir stage3-gcc; \ - set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ - set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +maybe-configure-stagefeedback-gas: +maybe-all-stagefeedback-gas: +maybe-clean-stagefeedback-gas: -stage3-end:: - rm -f stage_current ; \ - set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ +@if gas-bootstrap +maybe-configure-stagefeedback-gas: configure-stagefeedback-gas +configure-stagefeedback-gas: + @$(MAKE) stagefeedback-start + @[ -f gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage feedback in gas ; \ + cd gas || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/gas"; \ + libsrcdir="$$s/gas";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ -# 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 - @if [ -f all-stage3-gcc ] ; then \ - echo Remaking stage 3 ; \ - rm -f all-stage3-gcc ; \ - fi ; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc +maybe-all-stagefeedback-gas: all-stagefeedback-gas +all-stagefeedback-gas: configure-stagefeedback-gas + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-gas: clean-stagefeedback-gas +clean-stagefeedback-gas: + @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \ + || exit 0 ; \ + [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif gas-bootstrap -stage2-bubble:: - @if [ -f configure-stage3-gcc ] ; then \ - $(STAMP) configure-stage3-gcc ; \ - fi +.PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc +.PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc +.PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc +maybe-configure-stagefeedback-gcc: +maybe-all-stagefeedback-gcc: +maybe-clean-stagefeedback-gcc: -configure-stage3-gcc: all-stage2-gcc - $(MAKE) stage3-start - @if [ -f stage3-gcc/Makefile ] ; then \ - $(STAMP) configure-stage3-gcc ; \ - exit 0; \ - else \ - true ; \ - fi ; \ +@if gcc-bootstrap +maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc +configure-stagefeedback-gcc: + @$(MAKE) stagefeedback-start + @[ -f gcc/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in gcc ; \ + echo Configuring stage feedback in gcc ; \ cd gcc || exit 1; \ case $(srcdir) in \ \.) \ @@ -28439,416 +31910,328 @@ configure-stage3-gcc: all-stage2-gcc esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ && \ - $(STAMP) ../configure-stage3-gcc + @stage2_werror_flag@ -all-stage3-gcc: configure-stage3-gcc - $(MAKE) stage3-start +maybe-all-stagefeedback-gcc: all-stagefeedback-gcc +all-stagefeedback-gcc: configure-stagefeedback-gcc + @$(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ cd gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) \ + $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ - && $(STAMP) ../all-stage3-gcc - - -compare: all-stage3-gcc - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - rm -f .bad_compare ; \ - cd stage3-gcc; \ - files=`find . -name "*$(objext)" -print` ; \ - cd .. ; \ - 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; \ - done ; \ - if [ -f .bad_compare ]; then \ - echo "Bootstrap comparison failure!"; \ - cat .bad_compare; \ - exit 1; \ - else \ - true; \ - fi ; \ - $(STAMP) compare - - - -.PHONY: bootstrap -bootstrap: - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare all - - -.PHONY: restage3 touch-stage3 distclean-stage3 - -# Rules to wipe a stage and all the following ones, used for cleanstrap -distclean-stage2:: distclean-stage3 -distclean-stage3:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare - -# Rules to renew the timestamp on a stage and all the following ones -touch-stage2:: touch-stage3 -touch-stage3:: - @[ -f configure-stage3-gcc ] && \ - echo '$(STAMP) configure-stage3-gcc' && \ - $(STAMP) configure-stage3-gcc; \ - [ -f all-stage3-gcc ] && \ - echo '$(STAMP) all-stage3-gcc' && \ - $(STAMP) all-stage3-gcc; \ - : - -# After building a stage, touch the following ones -restage2:: touch-stage3 -restage3:: - rm -rf all-stage3-gcc compare - $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare - - -.PHONY: cleanstrap -cleanstrap: distclean-stage1 bootstrap + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) +maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc +clean-stagefeedback-gcc: + @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \ + || exit 0 ; \ + [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap -.PHONY: stage4-start stage4-end - -stage4-start:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - echo stage4 > stage_current ; \ - echo stage4 > stage_last ; \ - [ -d stage4-gcc ] || mkdir stage4-gcc; \ - set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ - set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ - -stage4-end:: - rm -f stage_current ; \ - set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ - -# 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 - @if [ -f all-stage4-gcc ] ; then \ - echo Remaking stage 4 ; \ - rm -f all-stage4-gcc ; \ - fi ; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc - - -stage3-bubble:: - @if [ -f configure-stage4-gcc ] ; then \ - $(STAMP) configure-stage4-gcc ; \ - fi +.PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl +.PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl +.PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl +maybe-configure-stagefeedback-intl: +maybe-all-stagefeedback-intl: +maybe-clean-stagefeedback-intl: -configure-stage4-gcc: all-stage3-gcc - $(MAKE) stage4-start - @if [ -f stage4-gcc/Makefile ] ; then \ - $(STAMP) configure-stage4-gcc ; \ - exit 0; \ - else \ - true ; \ - fi ; \ +@if intl-bootstrap +maybe-configure-stagefeedback-intl: configure-stagefeedback-intl +configure-stagefeedback-intl: + @$(MAKE) stagefeedback-start + @[ -f intl/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in gcc ; \ - cd gcc || exit 1; \ + echo Configuring stage feedback in intl ; \ + cd intl || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=../$(srcdir)/intl"; \ + libsrcdir="$$s/intl";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ && \ - $(STAMP) ../configure-stage4-gcc + @stage2_werror_flag@ -all-stage4-gcc: configure-stage4-gcc - $(MAKE) stage4-start +maybe-all-stagefeedback-intl: all-stagefeedback-intl +all-stagefeedback-intl: configure-stagefeedback-intl + @$(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - cd gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ - && $(STAMP) ../all-stage4-gcc - - -compare3: all-stage4-gcc - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - rm -f .bad_compare ; \ - cd stage4-gcc; \ - files=`find . -name "*$(objext)" -print` ; \ - cd .. ; \ - 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; \ - done ; \ - if [ -f .bad_compare ]; then \ - echo "Bootstrap comparison failure!"; \ - cat .bad_compare; \ - exit 1; \ - else \ - true; \ - fi ; \ - $(STAMP) compare3 - - - -.PHONY: bootstrap4 -bootstrap4: - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 all - - -.PHONY: restage4 touch-stage4 distclean-stage4 - -# Rules to wipe a stage and all the following ones, used for cleanstrap -distclean-stage3:: distclean-stage4 -distclean-stage4:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3 - -# Rules to renew the timestamp on a stage and all the following ones -touch-stage3:: touch-stage4 -touch-stage4:: - @[ -f configure-stage4-gcc ] && \ - echo '$(STAMP) configure-stage4-gcc' && \ - $(STAMP) configure-stage4-gcc; \ - [ -f all-stage4-gcc ] && \ - echo '$(STAMP) all-stage4-gcc' && \ - $(STAMP) all-stage4-gcc; \ - : - -# After building a stage, touch the following ones -restage3:: touch-stage4 -restage4:: - rm -rf all-stage4-gcc compare3 - $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3 - - - - -.PHONY: stageprofile-start stageprofile-end - -stageprofile-start:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - echo stageprofile > stage_current ; \ - echo stageprofile > stage_last ; \ - [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \ - set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ - set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ - -stageprofile-end:: - rm -f stage_current ; \ - set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ - -# 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 [ -f all-stageprofile-gcc ] ; then \ - echo Remaking stage profile ; \ - rm -f all-stageprofile-gcc ; \ - fi ; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-intl: clean-stagefeedback-intl +clean-stagefeedback-intl: + @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \ + || exit 0 ; \ + [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif intl-bootstrap -stage1-bubble:: - @if [ -f configure-stageprofile-gcc ] ; then \ - $(STAMP) configure-stageprofile-gcc ; \ - fi +.PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld +.PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld +.PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld +maybe-configure-stagefeedback-ld: +maybe-all-stagefeedback-ld: +maybe-clean-stagefeedback-ld: -configure-stageprofile-gcc: all-stage1-gcc - $(MAKE) stageprofile-start - @if [ -f stageprofile-gcc/Makefile ] ; then \ - $(STAMP) configure-stageprofile-gcc ; \ - exit 0; \ - else \ - true ; \ - fi ; \ +@if ld-bootstrap +maybe-configure-stagefeedback-ld: configure-stagefeedback-ld +configure-stagefeedback-ld: + @$(MAKE) stagefeedback-start + @[ -f ld/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in gcc ; \ - cd gcc || exit 1; \ + echo Configuring stage feedback in ld ; \ + cd ld || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=../$(srcdir)/ld"; \ + libsrcdir="$$s/ld";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ && \ - $(STAMP) ../configure-stageprofile-gcc + @stage2_werror_flag@ -all-stageprofile-gcc: configure-stageprofile-gcc - $(MAKE) stageprofile-start +maybe-all-stagefeedback-ld: all-stagefeedback-ld +all-stagefeedback-ld: configure-stagefeedback-ld + @$(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - cd gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc - - - - - -.PHONY: restageprofile touch-stageprofile distclean-stageprofile + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-ld: clean-stagefeedback-ld +clean-stagefeedback-ld: + @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \ + || exit 0 ; \ + [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif ld-bootstrap -# Rules to wipe a stage and all the following ones, used for cleanstrap -distclean-stage1:: distclean-stageprofile -distclean-stageprofile:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc -# Rules to renew the timestamp on a stage and all the following ones -touch-stage1:: touch-stageprofile -touch-stageprofile:: - @[ -f configure-stageprofile-gcc ] && \ - echo '$(STAMP) configure-stageprofile-gcc' && \ - $(STAMP) configure-stageprofile-gcc; \ - [ -f all-stageprofile-gcc ] && \ - echo '$(STAMP) all-stageprofile-gcc' && \ - $(STAMP) all-stageprofile-gcc; \ - : +.PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp +.PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp +.PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp -# After building a stage, touch the following ones -restage1:: touch-stageprofile -restageprofile:: - rm -rf all-stageprofile-gcc - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc +maybe-configure-stagefeedback-libcpp: +maybe-all-stagefeedback-libcpp: +maybe-clean-stagefeedback-libcpp: +@if libcpp-bootstrap +maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp +configure-stagefeedback-libcpp: + @$(MAKE) stagefeedback-start + @[ -f libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage feedback in libcpp ; \ + cd libcpp || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp +all-stagefeedback-libcpp: configure-stagefeedback-libcpp + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp +clean-stagefeedback-libcpp: + @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif libcpp-bootstrap -.PHONY: stagefeedback-start stagefeedback-end +.PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty +.PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty +.PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty -stagefeedback-start:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - echo stagefeedback > stage_current ; \ - echo stagefeedback > stage_last ; \ - [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \ - set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \ - set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ +maybe-configure-stagefeedback-libiberty: +maybe-all-stagefeedback-libiberty: +maybe-clean-stagefeedback-libiberty: -stagefeedback-end:: - rm -f stage_current ; \ - set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ +@if libiberty-bootstrap +maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty +configure-stagefeedback-libiberty: + @$(MAKE) stagefeedback-start + @[ -f libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + echo Configuring stage feedback in libiberty ; \ + cd libiberty || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ + libsrcdir="$$s/libiberty";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ -# 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:: stage1-bubble - @if [ -f all-stagefeedback-gcc ] ; then \ - echo Remaking stage feedback ; \ - rm -f all-stagefeedback-gcc ; \ - fi ; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc +maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty +all-stagefeedback-libiberty: configure-stagefeedback-libiberty + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(STAGE_HOST_EXPORTS) \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty +clean-stagefeedback-libiberty: + @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif libiberty-bootstrap -stage1-bubble:: - @if [ -f configure-stagefeedback-gcc ] ; then \ - $(STAMP) configure-stagefeedback-gcc ; \ - fi +.PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib +.PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib +.PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib +maybe-configure-stagefeedback-zlib: +maybe-all-stagefeedback-zlib: +maybe-clean-stagefeedback-zlib: -configure-stagefeedback-gcc: all-stage1-gcc - $(MAKE) stagefeedback-start - @if [ -f stagefeedback-gcc/Makefile ] ; then \ - $(STAMP) configure-stagefeedback-gcc ; \ - exit 0; \ - else \ - true ; \ - fi ; \ +@if zlib-bootstrap +maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib +configure-stagefeedback-zlib: + @$(MAKE) stagefeedback-start + @[ -f zlib/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in gcc ; \ - cd gcc || exit 1; \ + echo Configuring stage feedback in zlib ; \ + cd zlib || exit 1; \ case $(srcdir) in \ \.) \ srcdiroption="--srcdir=."; \ libsrcdir=".";; \ /* | [A-Za-z]:[\\/]*) \ - srcdiroption="--srcdir=$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ *) \ - srcdiroption="--srcdir=../$(srcdir)/gcc"; \ - libsrcdir="$$s/gcc";; \ + srcdiroption="--srcdir=../$(srcdir)/zlib"; \ + libsrcdir="$$s/zlib";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ && \ - $(STAMP) ../configure-stagefeedback-gcc + @stage2_werror_flag@ -all-stagefeedback-gcc: configure-stagefeedback-gcc - $(MAKE) stagefeedback-start +maybe-all-stagefeedback-zlib: all-stagefeedback-zlib +all-stagefeedback-zlib: configure-stagefeedback-zlib + @$(MAKE) stagefeedback-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(STAGE_HOST_EXPORTS) \ - cd gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib +clean-stagefeedback-zlib: + @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \ + || exit 0 ; \ + [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif zlib-bootstrap +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap + -.PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback -# Rules to wipe a stage and all the following ones, used for cleanstrap +# Rules to wipe a stage and all the following ones, also used for cleanstrap distclean-stage1:: distclean-stagefeedback +.PHONY: distclean-stagefeedback distclean-stagefeedback:: [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc - -# Rules to renew the timestamp on a stage and all the following ones -touch-stage1:: touch-stagefeedback -touch-stagefeedback:: - @[ -f configure-stagefeedback-gcc ] && \ - echo '$(STAMP) configure-stagefeedback-gcc' && \ - $(STAMP) configure-stagefeedback-gcc; \ - [ -f all-stagefeedback-gcc ] && \ - echo '$(STAMP) all-stagefeedback-gcc' && \ - $(STAMP) all-stagefeedback-gcc; \ - : - -# After building a stage, touch the following ones -restage1:: touch-stagefeedback -restagefeedback:: - rm -rf all-stagefeedback-gcc - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc + rm -rf stagefeedback-* +@endif gcc-bootstrap @@ -28859,7 +32242,10 @@ stagefeedback-start:: { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \ { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); } -profiledbootstrap: all-prebootstrap configure-gcc +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap +profiledbootstrap: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(SET_LIB_PATH) \ @@ -28877,7 +32263,12 @@ profiledbootstrap: all-prebootstrap configure-gcc $(HOST_EXPORTS) \ echo "Building feedback based compiler"; \ $(MAKE) stagefeedback-bubble stagefeedback-end +@endif gcc-bootstrap +@if gcc-bootstrap +NOTPARALLEL = .NOTPARALLEL +$(NOTPARALLEL): +do-distclean: distclean-stage1 @endif gcc-bootstrap # -------------------------------------- @@ -28979,6 +32370,7 @@ all-build-flex: maybe-all-build-byacc all-build-flex: maybe-all-build-m4 all-build-libiberty: maybe-all-build-texinfo all-build-m4: maybe-all-build-texinfo +all-build-fixincludes: maybe-all-build-libiberty configure-gcc: maybe-configure-intl configure-stage1-gcc: maybe-configure-stage1-intl @@ -29011,8 +32403,6 @@ configure-stage3-gcc: maybe-configure-stage3-ld configure-stage4-gcc: maybe-configure-stage4-ld configure-stageprofile-gcc: maybe-configure-stageprofile-ld configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld -configure-gcc: maybe-configure-bison -configure-gcc: maybe-configure-flex all-gcc: all-libiberty all-stage1-gcc: all-stage1-libiberty @@ -29029,10 +32419,60 @@ all-stage3-gcc: maybe-all-stage3-intl all-stage4-gcc: maybe-all-stage4-intl all-stageprofile-gcc: maybe-all-stageprofile-intl all-stagefeedback-gcc: maybe-all-stagefeedback-intl -all-gcc: maybe-all-texinfo -all-gcc: maybe-all-bison -all-gcc: maybe-all-byacc -all-gcc: maybe-all-flex +all-gcc: maybe-all-build-texinfo + +all-stage1-gcc: maybe-all-build-texinfo +all-stage2-gcc: maybe-all-build-texinfo +all-stage3-gcc: maybe-all-build-texinfo +all-stage4-gcc: maybe-all-build-texinfo +all-stageprofile-gcc: maybe-all-build-texinfo +all-stagefeedback-gcc: maybe-all-build-texinfo +all-prebootstrap: maybe-all-build-texinfo +all-gcc: maybe-all-build-bison + +all-stage1-gcc: maybe-all-build-bison +all-stage2-gcc: maybe-all-build-bison +all-stage3-gcc: maybe-all-build-bison +all-stage4-gcc: maybe-all-build-bison +all-stageprofile-gcc: maybe-all-build-bison +all-stagefeedback-gcc: maybe-all-build-bison +all-prebootstrap: maybe-all-build-bison +all-gcc: maybe-all-build-byacc + +all-stage1-gcc: maybe-all-build-byacc +all-stage2-gcc: maybe-all-build-byacc +all-stage3-gcc: maybe-all-build-byacc +all-stage4-gcc: maybe-all-build-byacc +all-stageprofile-gcc: maybe-all-build-byacc +all-stagefeedback-gcc: maybe-all-build-byacc +all-prebootstrap: maybe-all-build-byacc +all-gcc: maybe-all-build-flex + +all-stage1-gcc: maybe-all-build-flex +all-stage2-gcc: maybe-all-build-flex +all-stage3-gcc: maybe-all-build-flex +all-stage4-gcc: maybe-all-build-flex +all-stageprofile-gcc: maybe-all-build-flex +all-stagefeedback-gcc: maybe-all-build-flex +all-prebootstrap: maybe-all-build-flex +all-gcc: maybe-all-build-libiberty + +all-stage1-gcc: maybe-all-build-libiberty +all-stage2-gcc: maybe-all-build-libiberty +all-stage3-gcc: maybe-all-build-libiberty +all-stage4-gcc: maybe-all-build-libiberty +all-stageprofile-gcc: maybe-all-build-libiberty +all-stagefeedback-gcc: maybe-all-build-libiberty +all-prebootstrap: maybe-all-build-libiberty +all-gcc: maybe-all-build-fixincludes + +all-stage1-gcc: maybe-all-build-fixincludes +all-stage2-gcc: maybe-all-build-fixincludes +all-stage3-gcc: maybe-all-build-fixincludes +all-stage4-gcc: maybe-all-build-fixincludes +all-stageprofile-gcc: maybe-all-build-fixincludes +all-stagefeedback-gcc: maybe-all-build-fixincludes +all-prebootstrap: maybe-all-build-fixincludes all-gcc: maybe-all-binutils all-stage1-gcc: maybe-all-stage1-binutils @@ -29065,14 +32505,6 @@ all-stage3-gcc: maybe-all-stage3-zlib all-stage4-gcc: maybe-all-stage4-zlib all-stageprofile-gcc: maybe-all-stageprofile-zlib all-stagefeedback-gcc: maybe-all-stagefeedback-zlib -all-gcc: maybe-all-libbanshee - -all-stage1-gcc: maybe-all-stage1-libbanshee -all-stage2-gcc: maybe-all-stage2-libbanshee -all-stage3-gcc: maybe-all-stage3-libbanshee -all-stage4-gcc: maybe-all-stage4-libbanshee -all-stageprofile-gcc: maybe-all-stageprofile-libbanshee -all-stagefeedback-gcc: maybe-all-stagefeedback-libbanshee all-gcc: all-libcpp all-stage1-gcc: all-stage1-libcpp @@ -29082,6 +32514,14 @@ all-stage4-gcc: all-stage4-libcpp all-stageprofile-gcc: all-stageprofile-libcpp all-stagefeedback-gcc: all-stagefeedback-libcpp all-gcc: maybe-all-build-libiberty + +all-stage1-gcc: maybe-all-build-libiberty +all-stage2-gcc: maybe-all-build-libiberty +all-stage3-gcc: maybe-all-build-libiberty +all-stage4-gcc: maybe-all-build-libiberty +all-stageprofile-gcc: maybe-all-build-libiberty +all-stagefeedback-gcc: maybe-all-build-libiberty +all-prebootstrap: maybe-all-build-libiberty configure-libcpp: configure-libiberty configure-stage1-libcpp: configure-stage1-libiberty @@ -29122,8 +32562,8 @@ all-gdb: maybe-all-libiberty all-gdb: maybe-all-opcodes all-gdb: maybe-all-bfd all-gdb: maybe-all-readline -all-gdb: maybe-all-bison -all-gdb: maybe-all-byacc +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 @@ -29182,9 +32622,33 @@ all-stage3-binutils: maybe-all-stage3-bfd all-stage4-binutils: maybe-all-stage4-bfd all-stageprofile-binutils: maybe-all-stageprofile-bfd all-stagefeedback-binutils: maybe-all-stagefeedback-bfd -all-binutils: maybe-all-flex -all-binutils: maybe-all-bison -all-binutils: maybe-all-byacc +all-binutils: maybe-all-build-flex + +all-stage1-binutils: maybe-all-build-flex +all-stage2-binutils: maybe-all-build-flex +all-stage3-binutils: maybe-all-build-flex +all-stage4-binutils: maybe-all-build-flex +all-stageprofile-binutils: maybe-all-build-flex +all-stagefeedback-binutils: maybe-all-build-flex +all-prebootstrap: maybe-all-build-flex +all-binutils: maybe-all-build-bison + +all-stage1-binutils: maybe-all-build-bison +all-stage2-binutils: maybe-all-build-bison +all-stage3-binutils: maybe-all-build-bison +all-stage4-binutils: maybe-all-build-bison +all-stageprofile-binutils: maybe-all-build-bison +all-stagefeedback-binutils: maybe-all-build-bison +all-prebootstrap: maybe-all-build-bison +all-binutils: maybe-all-build-byacc + +all-stage1-binutils: maybe-all-build-byacc +all-stage2-binutils: maybe-all-build-byacc +all-stage3-binutils: maybe-all-build-byacc +all-stage4-binutils: maybe-all-build-byacc +all-stageprofile-binutils: maybe-all-build-byacc +all-stagefeedback-binutils: maybe-all-build-byacc +all-prebootstrap: maybe-all-build-byacc all-binutils: maybe-all-intl all-stage1-binutils: maybe-all-stage1-intl @@ -29255,9 +32719,33 @@ all-stage3-ld: maybe-all-stage3-opcodes all-stage4-ld: maybe-all-stage4-opcodes all-stageprofile-ld: maybe-all-stageprofile-opcodes all-stagefeedback-ld: maybe-all-stagefeedback-opcodes -all-ld: maybe-all-bison -all-ld: maybe-all-byacc -all-ld: maybe-all-flex +all-ld: maybe-all-build-bison + +all-stage1-ld: maybe-all-build-bison +all-stage2-ld: maybe-all-build-bison +all-stage3-ld: maybe-all-build-bison +all-stage4-ld: maybe-all-build-bison +all-stageprofile-ld: maybe-all-build-bison +all-stagefeedback-ld: maybe-all-build-bison +all-prebootstrap: maybe-all-build-bison +all-ld: maybe-all-build-byacc + +all-stage1-ld: maybe-all-build-byacc +all-stage2-ld: maybe-all-build-byacc +all-stage3-ld: maybe-all-build-byacc +all-stage4-ld: maybe-all-build-byacc +all-stageprofile-ld: maybe-all-build-byacc +all-stagefeedback-ld: maybe-all-build-byacc +all-prebootstrap: maybe-all-build-byacc +all-ld: maybe-all-build-flex + +all-stage1-ld: maybe-all-build-flex +all-stage2-ld: maybe-all-build-flex +all-stage3-ld: maybe-all-build-flex +all-stage4-ld: maybe-all-build-flex +all-stageprofile-ld: maybe-all-build-flex +all-stagefeedback-ld: maybe-all-build-flex +all-prebootstrap: maybe-all-build-flex all-ld: maybe-all-intl all-stage1-ld: maybe-all-stage1-intl @@ -29309,41 +32797,41 @@ all-sim: maybe-all-opcodes all-sim: maybe-all-readline all-sim: maybe-configure-gdb all-fastjar: maybe-all-zlib -all-fastjar: maybe-all-texinfo +all-fastjar: maybe-all-build-texinfo all-fastjar: maybe-all-libiberty all-autoconf: maybe-all-m4 -all-autoconf: maybe-all-texinfo +all-autoconf: maybe-all-build-texinfo all-automake: maybe-all-m4 -all-automake: maybe-all-texinfo +all-automake: maybe-all-build-texinfo all-automake: maybe-all-autoconf all-bison: maybe-all-intl -all-bison: maybe-all-texinfo +all-bison: maybe-all-build-texinfo all-diff: maybe-all-intl -all-diff: maybe-all-texinfo +all-diff: maybe-all-build-texinfo all-fileutils: maybe-all-intl -all-fileutils: maybe-all-texinfo -all-flex: maybe-all-bison -all-flex: maybe-all-byacc +all-fileutils: maybe-all-build-texinfo +all-flex: maybe-all-build-bison +all-flex: maybe-all-build-byacc all-flex: maybe-all-intl all-flex: maybe-all-m4 -all-flex: maybe-all-texinfo +all-flex: maybe-all-build-texinfo all-gzip: maybe-all-intl all-gzip: maybe-all-zlib -all-gzip: maybe-all-texinfo +all-gzip: maybe-all-build-texinfo all-hello: maybe-all-intl -all-hello: maybe-all-texinfo +all-hello: maybe-all-build-texinfo all-m4: maybe-all-intl -all-m4: maybe-all-texinfo +all-m4: maybe-all-build-texinfo all-make: maybe-all-intl -all-make: maybe-all-texinfo -all-patch: maybe-all-texinfo -all-make: maybe-all-texinfo +all-make: maybe-all-build-texinfo +all-patch: maybe-all-build-texinfo +all-make: maybe-all-build-texinfo all-prms: maybe-all-libiberty -all-recode: maybe-all-texinfo -all-sed: maybe-all-texinfo +all-recode: maybe-all-build-texinfo +all-sed: maybe-all-build-texinfo all-send-pr: maybe-all-prms -all-tar: maybe-all-texinfo -all-uudecode: maybe-all-texinfo +all-tar: maybe-all-build-texinfo +all-uudecode: maybe-all-build-texinfo configure-target-boehm-gc: maybe-configure-target-qthreads configure-target-fastjar: maybe-configure-target-zlib all-target-fastjar: maybe-all-target-zlib @@ -29364,16 +32852,8 @@ all-target-winsup: maybe-all-target-libiberty all-target-winsup: maybe-all-target-libtermcap -# Now build the prebootstrap dependencies. - -all-prebootstrap: maybe-all-bison -all-prebootstrap: maybe-all-byacc -all-prebootstrap: maybe-all-flex -all-prebootstrap: maybe-all-texinfo - -# Unless toplevel bootstrap is going, bootstrapped packages are actually -# prebootstrapped, with the exception of gcc. Another wart that will go -# away with toplevel bootstrap. +# Non-toplevel bootstrap rules must depend on several packages, to be built +# before gcc. Another wart that will go away, hopefully soon. @if gcc-no-bootstrap all-prebootstrap: maybe-all-bfd @@ -29383,7 +32863,6 @@ all-prebootstrap: maybe-all-gas all-prebootstrap: maybe-all-intl all-prebootstrap: maybe-all-ld all-prebootstrap: maybe-all-libcpp -all-prebootstrap: maybe-all-libbanshee all-prebootstrap: maybe-all-libiberty all-prebootstrap: maybe-all-zlib @endif gcc-no-bootstrap