This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[toplevel] Macroize the configure and all targets
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Mar 2005 12:19:19 +0200
- Subject: [toplevel] Macroize the configure and all targets
This is another step towards bootstrappable target modules. (The next
one is to move the toplevel bootstrap rules into these macros).
There are small changes in the generated file, but they are all for the
better. To ease review, I include a -wbB (i.e. ignore any whitespace
change) diff of Makefile.in.
Tested on an uberbaum i686-pc-linux-gnu build, with multilibs enabled,
all languages including Ada. Ok for gcc and src?
Paolo
2005-03-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
(TARGET_CONFIGARGS): Include --with-target-configargs.
(configure, all): New macros. Use them throughout.
Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.129
diff -p -u -w -b -B -r1.129 Makefile.tpl
--- Makefile.tpl 30 Mar 2005 08:17:47 -0000 1.129
+++ Makefile.tpl 30 Mar 2005 08:34:55 -0000
@@ -93,7 +93,7 @@ BUILD_CONFIGDIRS = libiberty
BUILD_SUBDIR = @build_subdir@
# This is set by the configure script to the arguments to use when configuring
# directories built for the build system.
-BUILD_CONFIGARGS = @build_configargs@
+BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
# This is the list of variables to export in the environment when
# configuring any subdirectory. It must also be exported whenever
@@ -178,7 +178,7 @@ TARGET_CONFIGDIRS = @target_configdirs@
TARGET_SUBDIR = @target_subdir@
# This is set by the configure script to the arguments to use when configuring
# directories built for the target.
-TARGET_CONFIGARGS = @target_configargs@
+TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
# This is the list of variables to export in the environment when
# configuring subdirectories for the host system.
BASE_TARGET_EXPORTS = \
@@ -818,92 +818,74 @@ etags tags: TAGS
# built are.
TAGS: do-TAGS
-# --------------------------------------
-# Modules which run on the build machine
-# --------------------------------------
-[+ FOR build_modules +]
-.PHONY: configure-build-[+module+] maybe-configure-build-[+module+]
-maybe-configure-build-[+module+]:
-@if build-[+module+]
-maybe-configure-build-[+module+]: configure-build-[+module+]
-configure-build-[+module+]:
- @test ! -f $(BUILD_SUBDIR)/[+module+]/Makefile || exit 0; \
- $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/[+module+] ; \
+# ------------------------------------
+# Macros for configure and all targets
+# ------------------------------------
+
+[+ DEFINE configure +]
+.PHONY: configure-[+prefix+][+module+] maybe-configure-[+prefix+][+module+]
+maybe-configure-[+prefix+][+module+]:
+@if [+prefix+][+module+]
+maybe-configure-[+prefix+][+module+]: configure-[+prefix+][+module+]
+configure-[+prefix+][+module+]: [+deps+]
+ @[+ IF bootstrap +]test -f stage_last && exit 0; \
+ [+ ENDIF bootstrap +]test ! -f [+subdir+]/[+module+]/Makefile || exit 0; \
+ $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(BUILD_EXPORTS) \
- echo Configuring in $(BUILD_SUBDIR)/[+module+]; \
- cd "$(BUILD_SUBDIR)/[+module+]" || exit 1; \
+ [+exports+] \
+ echo Configuring in [+subdir+]/[+module+]; \
+ cd "[+subdir+]/[+module+]" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
- *) topdir=`echo $(BUILD_SUBDIR)/[+module+]/ | \
+ *) topdir=`echo [+subdir+]/[+module+]/ | \
sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
esac; \
srcdiroption="--srcdir=$${topdir}/[+module+]"; \
libsrcdir="$$s/[+module+]"; \
- rm -f no-such-file || : ; \
- CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
- $(BUILD_CONFIGARGS) $${srcdiroption} \
- --with-build-subdir="$(BUILD_SUBDIR)" [+extra_configure_flags+] \
+ [+ IF no-config-site +]rm -f no-such-file || : ; \
+ CONFIG_SITE=no-such-file [+ ENDIF +]$(SHELL) $${libsrcdir}/configure \
+ [+args+] $${srcdiroption} [+extra_configure_flags+] \
|| exit 1
-@endif build-[+module+]
+@endif [+prefix+][+module+]
+[+ ENDDEF +]
-.PHONY: all-build-[+module+] maybe-all-build-[+module+]
-maybe-all-build-[+module+]:
-@if build-[+module+]
-TARGET-build-[+module+]=[+ IF target +][+target+][+ ELSE +]all[+ ENDIF target +]
-maybe-all-build-[+module+]: all-build-[+module+]
-all-build-[+module+]: configure-build-[+module+]
- @r=`${PWD_COMMAND}`; export r; \
+[+ DEFINE all +]
+.PHONY: all-[+prefix+][+module+] maybe-all-[+prefix+][+module+]
+maybe-all-[+prefix+][+module+]:
+@if [+prefix+][+module+]
+TARGET-[+prefix+][+module+]=[+
+ IF target +][+target+][+ ELSE +]all[+ ENDIF target +]
+maybe-all-[+prefix+][+module+]: all-[+prefix+][+module+]
+all-[+prefix+][+module+]: configure-[+prefix+][+module+]
+ @[+ IF bootstrap +]test -f stage_last && exit 0; \
+ [+ ENDIF bootstrap +]r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(BUILD_EXPORTS) \
- (cd $(BUILD_SUBDIR)/[+module+] && \
- $(MAKE) [+extra_make_flags+] $(TARGET-build-[+module+]))
-@endif build-[+module+]
-[+ ENDFOR build_modules +]
+ [+exports+] \
+ (cd [+subdir+]/[+module+] && \
+ $(MAKE) [+args+] [+extra_make_flags+] $(TARGET-[+prefix+][+module+]))
+@endif [+prefix+][+module+]
+[+ ENDDEF +]
+
+# --------------------------------------
+# Modules which run on the build machine
+# --------------------------------------
+[+ FOR build_modules +]
+[+ configure prefix="build-" subdir="$(BUILD_SUBDIR)" exports="$(BUILD_EXPORTS)"
+ args="$(BUILD_CONFIGARGS)" no-config-site=true +]
+
+[+ all prefix="build-" subdir="$(BUILD_SUBDIR)" exports="$(BUILD_EXPORTS)" +]
+[+ ENDFOR build_module +]
# --------------------------------------
# Modules which run on the host machine
# --------------------------------------
[+ FOR host_modules +]
-.PHONY: configure-[+module+] maybe-configure-[+module+]
-maybe-configure-[+module+]:
-@if [+module+]
-maybe-configure-[+module+]: configure-[+module+]
-configure-[+module+]:
- @[+ IF bootstrap +]test -f stage_last && exit 0; \
- [+ ENDIF bootstrap +]test ! -f $(HOST_SUBDIR)/[+module+]/Makefile || exit 0; \
- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/[+module+] ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- echo Configuring in [+module+]; \
- cd $(HOST_SUBDIR)/[+module+] || exit 1; \
- case $(srcdir) in \
- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
- *) topdir=`echo $(HOST_SUBDIR)/[+module+]/ | \
- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
- esac; \
- srcdiroption="--srcdir=$${topdir}/[+module+]"; \
- libsrcdir="$$s/[+module+]"; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} [+extra_configure_flags+] \
- || exit 1
-@endif [+module+]
+[+ configure prefix="" subdir="$(HOST_SUBDIR)" exports="$(HOST_EXPORTS)"
+ args="$(HOST_CONFIGARGS)" +]
-.PHONY: all-[+module+] maybe-all-[+module+]
-maybe-all-[+module+]:
-@if [+module+]
-TARGET-[+module+]=[+ IF target +][+target+][+ ELSE +]all[+ ENDIF target +]
-maybe-all-[+module+]: all-[+module+]
-all-[+module+]: configure-[+module+]
- @[+ IF bootstrap +]test -f stage_last && exit 0; \
- [+ ENDIF bootstrap +]r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- (cd $(HOST_SUBDIR)/[+module+] && \
- $(MAKE) $(FLAGS_TO_PASS) [+extra_make_flags+] $(TARGET-[+module+]))
-@endif [+module+]
+[+ all prefix="" subdir="$(HOST_SUBDIR)" exports="$(HOST_EXPORTS)"
+ args="$(FLAGS_TO_PASS)" +]
.PHONY: check-[+module+] maybe-check-[+module+]
maybe-check-[+module+]:
@@ -985,63 +967,34 @@ maybe-[+make_target+]-[+module+]: [+make
# Modules which run on the target machine
# ---------------------------------------
[+ FOR target_modules +]
-.PHONY: configure-target-[+module+] maybe-configure-target-[+module+]
-maybe-configure-target-[+module+]:
-@if target-[+module+]
-maybe-configure-target-[+module+]: configure-target-[+module+]
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-[+module+]
$(TARGET_SUBDIR)/[+module+]/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/[+module+] ; \
rm -f $(TARGET_SUBDIR)/[+module+]/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/[+module+]/multilib.out
-
-configure-target-[+module+]: $(TARGET_SUBDIR)/[+module+]/multilib.out
- @test ! -f $(TARGET_SUBDIR)/[+module+]/Makefile || exit 0; \
- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/[+module+] ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \[+
-IF raw_cxx +]
- $(RAW_CXX_TARGET_EXPORTS) \[+
-ELSE normal_cxx +]
- $(NORMAL_TARGET_EXPORTS) \[+
-ENDIF raw_cxx +]
- echo Configuring in $(TARGET_SUBDIR)/[+module+]; \
- cd "$(TARGET_SUBDIR)/[+module+]" || exit 1; \
- case $(srcdir) in \
- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
- *) topdir=`echo $(TARGET_SUBDIR)/[+module+]/ | \
- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
- esac; \
- srcdiroption="--srcdir=$${topdir}/[+module+]"; \
- libsrcdir="$$s/[+module+]"; \
- rm -f no-such-file || : ; \
- CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
- $(TARGET_CONFIGARGS) $${srcdiroption} \
- --with-target-subdir="$(TARGET_SUBDIR)" [+extra_configure_flags+] \
- || exit 1
@endif target-[+module+]
-.PHONY: all-target-[+module+] maybe-all-target-[+module+]
-maybe-all-target-[+module+]:
-@if target-[+module+]
-TARGET-target-[+module+]=[+ IF target +][+target+][+ ELSE +]all[+ ENDIF target +]
-maybe-all-target-[+module+]: all-target-[+module+]
-all-target-[+module+]: configure-target-[+module+]
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \[+
-IF raw_cxx +]
- $(RAW_CXX_TARGET_EXPORTS) \[+
-ELSE normal_cxx +]
- $(NORMAL_TARGET_EXPORTS) \[+
-ENDIF raw_cxx +]
- (cd $(TARGET_SUBDIR)/[+module+] && \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) [+
- IF raw_cxx
- +] 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' [+
- ENDIF raw_cxx
- +] [+extra_make_flags+] $(TARGET-target-[+module+]))
-@endif target-[+module+]
+[+ IF raw_cxx +]
+[+ configure prefix="target-" subdir="$(TARGET_SUBDIR)"
+ deps=(string-append "$(TARGET_SUBDIR)/" (get "module") "/multilib.out")
+ exports="$(RAW_CXX_TARGET_EXPORTS)"
+ args="$(TARGET_CONFIGARGS)" no-config-site=true +]
+
+[+ all prefix="target-" subdir="$(TARGET_SUBDIR)"
+ exports="$(RAW_CXX_TARGET_EXPORTS)"
+ args="$(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'" +]
+[+ ELSE +]
+[+ configure prefix="target-" subdir="$(TARGET_SUBDIR)"
+ deps=(string-append "$(TARGET_SUBDIR)/" (get "module") "/multilib.out")
+ exports="$(NORMAL_TARGET_EXPORTS)"
+ args="$(TARGET_CONFIGARGS)" no-config-site=true +]
+
+[+ all prefix="target-" subdir="$(TARGET_SUBDIR)"
+ exports="$(NORMAL_TARGET_EXPORTS)"
+ args="$(TARGET_FLAGS_TO_PASS)" +]
+[+ ENDIF +]
.PHONY: check-target-[+module+] maybe-check-target-[+module+]
maybe-check-target-[+module+]:
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.261
diff -p -u -w -b -B -r1.261 Makefile.in
--- Makefile.in 30 Mar 2005 08:17:45 -0000 1.261
+++ Makefile.in 30 Mar 2005 08:34:57 -0000
@@ -90,7 +90,7 @@ BUILD_CONFIGDIRS = libiberty
BUILD_SUBDIR = @build_subdir@
# This is set by the configure script to the arguments to use when configuring
# directories built for the build system.
-BUILD_CONFIGARGS = @build_configargs@
+BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
# This is the list of variables to export in the environment when
# configuring any subdirectory. It must also be exported whenever
@@ -175,7 +175,7 @@ TARGET_CONFIGDIRS = @target_configdirs@
TARGET_SUBDIR = @target_subdir@
# This is set by the configure script to the arguments to use when configuring
# directories built for the target.
-TARGET_CONFIGARGS = @target_configargs@
+TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
# This is the list of variables to export in the environment when
# configuring subdirectories for the host system.
BASE_TARGET_EXPORTS = \
@@ -2185,6 +2185,14 @@ etags tags: TAGS
# built are.
TAGS: do-TAGS
+# ------------------------------------
+# Macros for configure and all targets
+# ------------------------------------
+
+
+
+
+
# --------------------------------------
# Modules which run on the build machine
# --------------------------------------
@@ -2211,7 +2220,6 @@ configure-build-libiberty:
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-libiberty
@@ -2250,7 +2262,6 @@ configure-build-bison:
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-bison
@@ -2289,7 +2304,6 @@ configure-build-byacc:
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-byacc
@@ -2328,7 +2346,6 @@ configure-build-flex:
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-flex
@@ -2367,7 +2388,6 @@ configure-build-m4:
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-m4
@@ -2406,7 +2430,6 @@ configure-build-texinfo:
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-texinfo
@@ -2445,7 +2472,6 @@ configure-build-fixincludes:
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
@@ -2477,8 +2507,8 @@ configure-ash:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in ash; \
- cd $(HOST_SUBDIR)/ash || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/ash; \
+ cd "$(HOST_SUBDIR)/ash" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/ash/ | \
@@ -2792,8 +2826,8 @@ configure-autoconf:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in autoconf; \
- cd $(HOST_SUBDIR)/autoconf || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/autoconf; \
+ cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
@@ -3107,8 +3145,8 @@ configure-automake:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in automake; \
- cd $(HOST_SUBDIR)/automake || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/automake; \
+ cd "$(HOST_SUBDIR)/automake" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/automake/ | \
@@ -3422,8 +3464,8 @@ configure-bash:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in bash; \
- cd $(HOST_SUBDIR)/bash || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/bash; \
+ cd "$(HOST_SUBDIR)/bash" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/bash/ | \
@@ -3738,8 +3784,8 @@ configure-bfd:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in bfd; \
- cd $(HOST_SUBDIR)/bfd || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/bfd; \
+ cd "$(HOST_SUBDIR)/bfd" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
@@ -4055,8 +4105,8 @@ configure-opcodes:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in opcodes; \
- cd $(HOST_SUBDIR)/opcodes || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/opcodes; \
+ cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
@@ -4372,8 +4426,8 @@ configure-binutils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in binutils; \
- cd $(HOST_SUBDIR)/binutils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/binutils; \
+ cd "$(HOST_SUBDIR)/binutils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
@@ -4688,8 +4746,8 @@ configure-bison:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in bison; \
- cd $(HOST_SUBDIR)/bison || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/bison; \
+ cd "$(HOST_SUBDIR)/bison" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/bison/ | \
@@ -5006,8 +5068,8 @@ configure-byacc:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in byacc; \
- cd $(HOST_SUBDIR)/byacc || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/byacc; \
+ cd "$(HOST_SUBDIR)/byacc" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
@@ -5324,8 +5390,8 @@ configure-bzip2:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in bzip2; \
- cd $(HOST_SUBDIR)/bzip2 || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/bzip2; \
+ cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
@@ -5639,8 +5709,8 @@ configure-dejagnu:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in dejagnu; \
- cd $(HOST_SUBDIR)/dejagnu || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/dejagnu; \
+ cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
@@ -5954,8 +6028,8 @@ configure-diff:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in diff; \
- cd $(HOST_SUBDIR)/diff || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/diff; \
+ cd "$(HOST_SUBDIR)/diff" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/diff/ | \
@@ -6269,8 +6347,8 @@ configure-dosutils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in dosutils; \
- cd $(HOST_SUBDIR)/dosutils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/dosutils; \
+ cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
@@ -6579,8 +6661,8 @@ configure-etc:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in etc; \
- cd $(HOST_SUBDIR)/etc || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/etc; \
+ cd "$(HOST_SUBDIR)/etc" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/etc/ | \
@@ -6894,8 +6980,8 @@ configure-fastjar:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in fastjar; \
- cd $(HOST_SUBDIR)/fastjar || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/fastjar; \
+ cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
@@ -7212,8 +7302,8 @@ configure-fileutils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in fileutils; \
- cd $(HOST_SUBDIR)/fileutils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/fileutils; \
+ cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
@@ -7527,8 +7621,8 @@ configure-findutils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in findutils; \
- cd $(HOST_SUBDIR)/findutils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/findutils; \
+ cd "$(HOST_SUBDIR)/findutils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
@@ -7842,8 +7940,8 @@ configure-find:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in find; \
- cd $(HOST_SUBDIR)/find || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/find; \
+ cd "$(HOST_SUBDIR)/find" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/find/ | \
@@ -8157,8 +8259,8 @@ configure-fixincludes:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in fixincludes; \
- cd $(HOST_SUBDIR)/fixincludes || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/fixincludes; \
+ cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
@@ -8396,8 +8502,8 @@ configure-flex:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in flex; \
- cd $(HOST_SUBDIR)/flex || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/flex; \
+ cd "$(HOST_SUBDIR)/flex" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/flex/ | \
@@ -8715,8 +8825,8 @@ configure-gas:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gas; \
- cd $(HOST_SUBDIR)/gas || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gas; \
+ cd "$(HOST_SUBDIR)/gas" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gas/ | \
@@ -9032,8 +9146,8 @@ configure-gcc:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gcc; \
- cd $(HOST_SUBDIR)/gcc || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gcc; \
+ cd "$(HOST_SUBDIR)/gcc" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
@@ -9348,8 +9466,8 @@ configure-gawk:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gawk; \
- cd $(HOST_SUBDIR)/gawk || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gawk; \
+ cd "$(HOST_SUBDIR)/gawk" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
@@ -9663,8 +9785,8 @@ configure-gettext:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gettext; \
- cd $(HOST_SUBDIR)/gettext || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gettext; \
+ cd "$(HOST_SUBDIR)/gettext" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
@@ -9978,8 +10104,8 @@ configure-gnuserv:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gnuserv; \
- cd $(HOST_SUBDIR)/gnuserv || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gnuserv; \
+ cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
@@ -10293,8 +10423,8 @@ configure-gprof:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gprof; \
- cd $(HOST_SUBDIR)/gprof || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gprof; \
+ cd "$(HOST_SUBDIR)/gprof" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
@@ -10608,8 +10742,8 @@ configure-gzip:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gzip; \
- cd $(HOST_SUBDIR)/gzip || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gzip; \
+ cd "$(HOST_SUBDIR)/gzip" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
@@ -10923,8 +11061,8 @@ configure-hello:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in hello; \
- cd $(HOST_SUBDIR)/hello || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/hello; \
+ cd "$(HOST_SUBDIR)/hello" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/hello/ | \
@@ -11238,8 +11380,8 @@ configure-indent:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in indent; \
- cd $(HOST_SUBDIR)/indent || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/indent; \
+ cd "$(HOST_SUBDIR)/indent" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/indent/ | \
@@ -11554,8 +11700,8 @@ configure-intl:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in intl; \
- cd $(HOST_SUBDIR)/intl || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/intl; \
+ cd "$(HOST_SUBDIR)/intl" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/intl/ | \
@@ -11870,8 +12020,8 @@ configure-tcl:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in tcl; \
- cd $(HOST_SUBDIR)/tcl || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/tcl; \
+ cd "$(HOST_SUBDIR)/tcl" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
@@ -12171,8 +12325,8 @@ configure-itcl:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in itcl; \
- cd $(HOST_SUBDIR)/itcl || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/itcl; \
+ cd "$(HOST_SUBDIR)/itcl" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
@@ -12487,8 +12645,8 @@ configure-ld:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in ld; \
- cd $(HOST_SUBDIR)/ld || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/ld; \
+ cd "$(HOST_SUBDIR)/ld" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/ld/ | \
@@ -12804,8 +12966,8 @@ configure-libcpp:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in libcpp; \
- cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/libcpp; \
+ cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
@@ -13120,8 +13286,8 @@ configure-libgui:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in libgui; \
- cd $(HOST_SUBDIR)/libgui || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/libgui; \
+ cd "$(HOST_SUBDIR)/libgui" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
@@ -13436,8 +13606,8 @@ configure-libiberty:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in libiberty; \
- cd $(HOST_SUBDIR)/libiberty || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/libiberty; \
+ cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
@@ -13752,8 +13926,8 @@ configure-libtool:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in libtool; \
- cd $(HOST_SUBDIR)/libtool || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/libtool; \
+ cd "$(HOST_SUBDIR)/libtool" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
@@ -14067,8 +14245,8 @@ configure-m4:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in m4; \
- cd $(HOST_SUBDIR)/m4 || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/m4; \
+ cd "$(HOST_SUBDIR)/m4" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/m4/ | \
@@ -14382,8 +14564,8 @@ configure-make:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in make; \
- cd $(HOST_SUBDIR)/make || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/make; \
+ cd "$(HOST_SUBDIR)/make" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/make/ | \
@@ -14697,8 +14883,8 @@ configure-mmalloc:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in mmalloc; \
- cd $(HOST_SUBDIR)/mmalloc || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/mmalloc; \
+ cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
@@ -15007,8 +15197,8 @@ configure-patch:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in patch; \
- cd $(HOST_SUBDIR)/patch || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/patch; \
+ cd "$(HOST_SUBDIR)/patch" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/patch/ | \
@@ -15322,8 +15516,8 @@ configure-perl:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in perl; \
- cd $(HOST_SUBDIR)/perl || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/perl; \
+ cd "$(HOST_SUBDIR)/perl" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/perl/ | \
@@ -15637,8 +15835,8 @@ configure-prms:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in prms; \
- cd $(HOST_SUBDIR)/prms || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/prms; \
+ cd "$(HOST_SUBDIR)/prms" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/prms/ | \
@@ -15952,8 +16154,8 @@ configure-rcs:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in rcs; \
- cd $(HOST_SUBDIR)/rcs || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/rcs; \
+ cd "$(HOST_SUBDIR)/rcs" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
@@ -16267,8 +16473,8 @@ configure-readline:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in readline; \
- cd $(HOST_SUBDIR)/readline || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/readline; \
+ cd "$(HOST_SUBDIR)/readline" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/readline/ | \
@@ -16582,8 +16792,8 @@ configure-release:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in release; \
- cd $(HOST_SUBDIR)/release || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/release; \
+ cd "$(HOST_SUBDIR)/release" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/release/ | \
@@ -16887,8 +17101,8 @@ configure-recode:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in recode; \
- cd $(HOST_SUBDIR)/recode || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/recode; \
+ cd "$(HOST_SUBDIR)/recode" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/recode/ | \
@@ -17202,8 +17420,8 @@ configure-sed:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in sed; \
- cd $(HOST_SUBDIR)/sed || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/sed; \
+ cd "$(HOST_SUBDIR)/sed" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/sed/ | \
@@ -17517,8 +17739,8 @@ configure-send-pr:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in send-pr; \
- cd $(HOST_SUBDIR)/send-pr || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/send-pr; \
+ cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
@@ -17832,8 +18058,8 @@ configure-shellutils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in shellutils; \
- cd $(HOST_SUBDIR)/shellutils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/shellutils; \
+ cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
@@ -18147,8 +18377,8 @@ configure-sid:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in sid; \
- cd $(HOST_SUBDIR)/sid || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/sid; \
+ cd "$(HOST_SUBDIR)/sid" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/sid/ | \
@@ -18462,8 +18696,8 @@ configure-sim:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in sim; \
- cd $(HOST_SUBDIR)/sim || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/sim; \
+ cd "$(HOST_SUBDIR)/sim" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/sim/ | \
@@ -18777,8 +19015,8 @@ configure-tar:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in tar; \
- cd $(HOST_SUBDIR)/tar || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/tar; \
+ cd "$(HOST_SUBDIR)/tar" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/tar/ | \
@@ -19092,8 +19334,8 @@ configure-texinfo:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in texinfo; \
- cd $(HOST_SUBDIR)/texinfo || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/texinfo; \
+ cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
@@ -19402,8 +19648,8 @@ configure-textutils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in textutils; \
- cd $(HOST_SUBDIR)/textutils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/textutils; \
+ cd "$(HOST_SUBDIR)/textutils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
@@ -19717,8 +19967,8 @@ configure-time:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in time; \
- cd $(HOST_SUBDIR)/time || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/time; \
+ cd "$(HOST_SUBDIR)/time" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/time/ | \
@@ -20032,8 +20286,8 @@ configure-uudecode:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in uudecode; \
- cd $(HOST_SUBDIR)/uudecode || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/uudecode; \
+ cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
@@ -20347,8 +20605,8 @@ configure-wdiff:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in wdiff; \
- cd $(HOST_SUBDIR)/wdiff || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/wdiff; \
+ cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
@@ -20662,8 +20924,8 @@ configure-zip:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in zip; \
- cd $(HOST_SUBDIR)/zip || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/zip; \
+ cd "$(HOST_SUBDIR)/zip" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/zip/ | \
@@ -20981,8 +21247,8 @@ configure-zlib:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in zlib; \
- cd $(HOST_SUBDIR)/zlib || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/zlib; \
+ cd "$(HOST_SUBDIR)/zlib" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
@@ -21287,8 +21557,8 @@ configure-gdb:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gdb; \
- cd $(HOST_SUBDIR)/gdb || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gdb; \
+ cd "$(HOST_SUBDIR)/gdb" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
@@ -21602,8 +21876,8 @@ configure-expect:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in expect; \
- cd $(HOST_SUBDIR)/expect || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/expect; \
+ cd "$(HOST_SUBDIR)/expect" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/expect/ | \
@@ -21917,8 +22195,8 @@ configure-guile:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in guile; \
- cd $(HOST_SUBDIR)/guile || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/guile; \
+ cd "$(HOST_SUBDIR)/guile" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/guile/ | \
@@ -22232,8 +22514,8 @@ configure-tk:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in tk; \
- cd $(HOST_SUBDIR)/tk || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/tk; \
+ cd "$(HOST_SUBDIR)/tk" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/tk/ | \
@@ -22547,8 +22833,8 @@ configure-libtermcap:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in libtermcap; \
- cd $(HOST_SUBDIR)/libtermcap || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/libtermcap; \
+ cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
@@ -22801,8 +23091,8 @@ configure-utils:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in utils; \
- cd $(HOST_SUBDIR)/utils || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/utils; \
+ cd "$(HOST_SUBDIR)/utils" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/utils/ | \
@@ -23111,8 +23405,8 @@ configure-gnattools:
r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
- echo Configuring in gnattools; \
- cd $(HOST_SUBDIR)/gnattools || exit 1; \
+ echo Configuring in $(HOST_SUBDIR)/gnattools; \
+ cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
@@ -23421,17 +23718,21 @@ maintainer-clean-gnattools:
# 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
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-libstdc++-v3
$(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
+@endif target-libstdc++-v3
+
+
+.PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
+maybe-configure-target-libstdc++-v3:
+@if target-libstdc++-v3
+maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
@test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
@@ -23450,7 +23751,6 @@ configure-target-libstdc++-v3: $(TARGET_
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
@@ -23745,17 +24049,21 @@ maintainer-clean-target-libstdc++-v3:
@endif 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.
+@if target-libmudflap
$(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
+@endif target-libmudflap
+
+
+.PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
+maybe-configure-target-libmudflap:
+@if target-libmudflap
+maybe-configure-target-libmudflap: configure-target-libmudflap
configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
@test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
@@ -23774,7 +24082,6 @@ configure-target-libmudflap: $(TARGET_SU
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
@@ -24069,17 +24380,21 @@ maintainer-clean-target-libmudflap:
@endif 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.
+@if target-newlib
$(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
+@endif target-newlib
+
+
+.PHONY: configure-target-newlib maybe-configure-target-newlib
+maybe-configure-target-newlib:
+@if target-newlib
+maybe-configure-target-newlib: configure-target-newlib
configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
@test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
@@ -24098,7 +24413,6 @@ configure-target-newlib: $(TARGET_SUBDIR
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
@@ -24393,17 +24711,21 @@ maintainer-clean-target-newlib:
@endif 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.
+@if target-libgfortran
$(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
+@endif target-libgfortran
+
+
+.PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
+maybe-configure-target-libgfortran:
+@if target-libgfortran
+maybe-configure-target-libgfortran: configure-target-libgfortran
configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
@test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
@@ -24422,7 +24744,6 @@ configure-target-libgfortran: $(TARGET_S
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
@@ -24717,17 +25042,21 @@ maintainer-clean-target-libgfortran:
@endif 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.
+@if target-libobjc
$(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
+@endif target-libobjc
+
+
+.PHONY: configure-target-libobjc maybe-configure-target-libobjc
+maybe-configure-target-libobjc:
+@if target-libobjc
+maybe-configure-target-libobjc: configure-target-libobjc
configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
@test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
@@ -24746,7 +25075,6 @@ configure-target-libobjc: $(TARGET_SUBDI
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
@@ -25041,17 +25373,21 @@ maintainer-clean-target-libobjc:
@endif 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.
+@if target-libtermcap
$(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
+@endif target-libtermcap
+
+
+.PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
+maybe-configure-target-libtermcap:
+@if target-libtermcap
+maybe-configure-target-libtermcap: configure-target-libtermcap
configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
@test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
@@ -25070,7 +25406,6 @@ configure-target-libtermcap: $(TARGET_SU
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
@@ -25305,17 +25644,21 @@ 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.
+@if target-winsup
$(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
+@endif target-winsup
+
+
+.PHONY: configure-target-winsup maybe-configure-target-winsup
+maybe-configure-target-winsup:
+@if target-winsup
+maybe-configure-target-winsup: configure-target-winsup
configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
@test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
@@ -25334,7 +25677,6 @@ configure-target-winsup: $(TARGET_SUBDIR
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
@@ -25629,17 +25975,21 @@ maintainer-clean-target-winsup:
@endif target-winsup
-.PHONY: configure-target-libgloss maybe-configure-target-libgloss
-maybe-configure-target-libgloss:
-@if target-libgloss
-maybe-configure-target-libgloss: configure-target-libgloss
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-libgloss
$(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
+@endif target-libgloss
+
+
+.PHONY: configure-target-libgloss maybe-configure-target-libgloss
+maybe-configure-target-libgloss:
+@if target-libgloss
+maybe-configure-target-libgloss: configure-target-libgloss
configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
@test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
@@ -25658,7 +26008,6 @@ configure-target-libgloss: $(TARGET_SUBD
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-libgloss
@@ -25949,17 +26302,21 @@ maintainer-clean-target-libgloss:
@endif target-libgloss
-.PHONY: configure-target-libiberty maybe-configure-target-libiberty
-maybe-configure-target-libiberty:
-@if target-libiberty
-maybe-configure-target-libiberty: configure-target-libiberty
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-libiberty
$(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
+@endif target-libiberty
+
+
+.PHONY: configure-target-libiberty maybe-configure-target-libiberty
+maybe-configure-target-libiberty:
+@if target-libiberty
+maybe-configure-target-libiberty: configure-target-libiberty
configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
@test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
@@ -25978,7 +26335,6 @@ configure-target-libiberty: $(TARGET_SUB
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-libiberty
@@ -26273,17 +26633,21 @@ maintainer-clean-target-libiberty:
@endif target-libiberty
-.PHONY: configure-target-gperf maybe-configure-target-gperf
-maybe-configure-target-gperf:
-@if target-gperf
-maybe-configure-target-gperf: configure-target-gperf
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-gperf
$(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
+@endif target-gperf
+
+
+.PHONY: configure-target-gperf maybe-configure-target-gperf
+maybe-configure-target-gperf:
+@if target-gperf
+maybe-configure-target-gperf: configure-target-gperf
configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
@test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
@@ -26302,7 +26666,6 @@ configure-target-gperf: $(TARGET_SUBDIR)
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-gperf
@@ -26597,17 +26964,21 @@ maintainer-clean-target-gperf:
@endif target-gperf
-.PHONY: configure-target-examples maybe-configure-target-examples
-maybe-configure-target-examples:
-@if target-examples
-maybe-configure-target-examples: configure-target-examples
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-examples
$(TARGET_SUBDIR)/examples/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
+@endif target-examples
+
+
+.PHONY: configure-target-examples maybe-configure-target-examples
+maybe-configure-target-examples:
+@if target-examples
+maybe-configure-target-examples: configure-target-examples
configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
@test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
@@ -26626,7 +26997,6 @@ configure-target-examples: $(TARGET_SUBD
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-examples
@@ -26913,17 +27287,21 @@ maintainer-clean-target-examples:
@endif target-examples
-.PHONY: configure-target-libffi maybe-configure-target-libffi
-maybe-configure-target-libffi:
-@if target-libffi
-maybe-configure-target-libffi: configure-target-libffi
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-libffi
$(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
+@endif target-libffi
+
+
+.PHONY: configure-target-libffi maybe-configure-target-libffi
+maybe-configure-target-libffi:
+@if target-libffi
+maybe-configure-target-libffi: configure-target-libffi
configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
@test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
@@ -26942,7 +27320,6 @@ configure-target-libffi: $(TARGET_SUBDIR
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-libffi
@@ -27237,17 +27618,21 @@ maintainer-clean-target-libffi:
@endif target-libffi
-.PHONY: configure-target-libjava maybe-configure-target-libjava
-maybe-configure-target-libjava:
-@if target-libjava
-maybe-configure-target-libjava: configure-target-libjava
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-libjava
$(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
+@endif target-libjava
+
+
+.PHONY: configure-target-libjava maybe-configure-target-libjava
+maybe-configure-target-libjava:
+@if target-libjava
+maybe-configure-target-libjava: configure-target-libjava
configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
@test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
@@ -27266,7 +27651,6 @@ configure-target-libjava: $(TARGET_SUBDI
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-libjava
@@ -27561,17 +27949,21 @@ maintainer-clean-target-libjava:
@endif target-libjava
-.PHONY: configure-target-zlib maybe-configure-target-zlib
-maybe-configure-target-zlib:
-@if target-zlib
-maybe-configure-target-zlib: configure-target-zlib
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-zlib
$(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
+@endif target-zlib
+
+
+.PHONY: configure-target-zlib maybe-configure-target-zlib
+maybe-configure-target-zlib:
+@if target-zlib
+maybe-configure-target-zlib: configure-target-zlib
configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
@test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
@@ -27590,7 +27982,6 @@ configure-target-zlib: $(TARGET_SUBDIR)/
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-zlib
@@ -27885,17 +28280,21 @@ maintainer-clean-target-zlib:
@endif target-zlib
-.PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
-maybe-configure-target-boehm-gc:
-@if target-boehm-gc
-maybe-configure-target-boehm-gc: configure-target-boehm-gc
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-boehm-gc
$(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
+@endif target-boehm-gc
+
+
+.PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
+maybe-configure-target-boehm-gc:
+@if target-boehm-gc
+maybe-configure-target-boehm-gc: configure-target-boehm-gc
configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
@test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
@@ -27914,7 +28313,6 @@ configure-target-boehm-gc: $(TARGET_SUBD
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-boehm-gc
@@ -28209,17 +28611,21 @@ maintainer-clean-target-boehm-gc:
@endif target-boehm-gc
-.PHONY: configure-target-qthreads maybe-configure-target-qthreads
-maybe-configure-target-qthreads:
-@if target-qthreads
-maybe-configure-target-qthreads: configure-target-qthreads
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-qthreads
$(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
+@endif target-qthreads
+
+
+.PHONY: configure-target-qthreads maybe-configure-target-qthreads
+maybe-configure-target-qthreads:
+@if target-qthreads
+maybe-configure-target-qthreads: configure-target-qthreads
configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
@test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
@@ -28238,7 +28644,6 @@ configure-target-qthreads: $(TARGET_SUBD
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-qthreads
@@ -28533,17 +28942,21 @@ maintainer-clean-target-qthreads:
@endif target-qthreads
-.PHONY: configure-target-rda maybe-configure-target-rda
-maybe-configure-target-rda:
-@if target-rda
-maybe-configure-target-rda: configure-target-rda
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-rda
$(TARGET_SUBDIR)/rda/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
+@endif target-rda
+
+
+.PHONY: configure-target-rda maybe-configure-target-rda
+maybe-configure-target-rda:
+@if target-rda
+maybe-configure-target-rda: configure-target-rda
configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
@test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
@@ -28562,7 +28975,6 @@ configure-target-rda: $(TARGET_SUBDIR)/r
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-rda
@@ -28857,17 +29273,21 @@ maintainer-clean-target-rda:
@endif target-rda
-.PHONY: configure-target-libada maybe-configure-target-libada
-maybe-configure-target-libada:
-@if target-libada
-maybe-configure-target-libada: configure-target-libada
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
+@if target-libada
$(TARGET_SUBDIR)/libada/multilib.out: multilib.out
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
+@endif target-libada
+
+
+.PHONY: configure-target-libada maybe-configure-target-libada
+maybe-configure-target-libada:
+@if target-libada
+maybe-configure-target-libada: configure-target-libada
configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
@test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
@@ -28886,7 +29306,6 @@ configure-target-libada: $(TARGET_SUBDIR
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-libada