2005-01-03 Paolo Bonzini <bonzini@gnu.org>

Revert 2004-12-28 Makefile changes, a better fix will be
	applied to mainline and src after GCC 4.0 branches.

From-SVN: r92826
This commit is contained in:
Paolo Bonzini 2005-01-03 14:01:13 +00:00 committed by Paolo Bonzini
parent 088df4c288
commit 86c7e0da54
4 changed files with 310 additions and 630 deletions

View File

@ -1,3 +1,8 @@
2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.
2004-12-28 Paolo Bonzini <bonzini@gnu.org> 2004-12-28 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383 PR bootstrap/17383

View File

@ -117,7 +117,7 @@ target_modules = { module= libmudflap; };
target_modules = { module= newlib; }; target_modules = { module= newlib; };
target_modules = { module= libgfortran; }; target_modules = { module= libgfortran; };
target_modules = { module= libobjc; }; target_modules = { module= libobjc; };
target_modules = { module= libtermcap; no_check=true; target_modules = { module= libtermcap; no_check=true; stage=true;
missing=mostlyclean; missing=mostlyclean;
missing=clean; missing=clean;
missing=distclean; missing=distclean;
@ -129,7 +129,7 @@ target_modules = { module= gperf; };
target_modules = { module= examples; no_check=true; no_install=true; }; target_modules = { module= examples; no_check=true; no_install=true; };
target_modules = { module= libffi; }; target_modules = { module= libffi; };
target_modules = { module= libjava; raw_cxx=true; }; target_modules = { module= libjava; raw_cxx=true; };
target_modules = { module= zlib; }; target_modules = { module= zlib; stage=true; };
target_modules = { module= boehm-gc; }; target_modules = { module= boehm-gc; };
target_modules = { module= qthreads; }; target_modules = { module= qthreads; };
target_modules = { module= rda; }; target_modules = { module= rda; };

View File

@ -2174,10 +2174,16 @@ configure-build-libiberty:
echo Configuring in $(BUILD_SUBDIR)/libiberty; \ echo Configuring in $(BUILD_SUBDIR)/libiberty; \
cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2191,13 +2197,8 @@ configure-build-libiberty:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libiberty; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -2238,10 +2239,16 @@ configure-build-bison:
echo Configuring in $(BUILD_SUBDIR)/bison; \ echo Configuring in $(BUILD_SUBDIR)/bison; \
cd "$(BUILD_SUBDIR)/bison" || exit 1; \ cd "$(BUILD_SUBDIR)/bison" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2255,13 +2262,8 @@ configure-build-bison:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../bison; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -2302,10 +2304,16 @@ configure-build-byacc:
echo Configuring in $(BUILD_SUBDIR)/byacc; \ echo Configuring in $(BUILD_SUBDIR)/byacc; \
cd "$(BUILD_SUBDIR)/byacc" || exit 1; \ cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2319,13 +2327,8 @@ configure-build-byacc:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../byacc; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -2366,10 +2369,16 @@ configure-build-flex:
echo Configuring in $(BUILD_SUBDIR)/flex; \ echo Configuring in $(BUILD_SUBDIR)/flex; \
cd "$(BUILD_SUBDIR)/flex" || exit 1; \ cd "$(BUILD_SUBDIR)/flex" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2383,13 +2392,8 @@ configure-build-flex:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../flex; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -2430,10 +2434,16 @@ configure-build-m4:
echo Configuring in $(BUILD_SUBDIR)/m4; \ echo Configuring in $(BUILD_SUBDIR)/m4; \
cd "$(BUILD_SUBDIR)/m4" || exit 1; \ cd "$(BUILD_SUBDIR)/m4" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2447,13 +2457,8 @@ configure-build-m4:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../m4; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -2494,10 +2499,16 @@ configure-build-texinfo:
echo Configuring in $(BUILD_SUBDIR)/texinfo; \ echo Configuring in $(BUILD_SUBDIR)/texinfo; \
cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \ cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2511,13 +2522,8 @@ configure-build-texinfo:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../texinfo; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -2558,10 +2564,16 @@ configure-build-fixincludes:
echo Configuring in $(BUILD_SUBDIR)/fixincludes; \ echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \ cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -2575,13 +2587,8 @@ configure-build-fixincludes:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../fixincludes; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -24254,37 +24261,16 @@ configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libstdc++-v3; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
libsrcdir="$$s/libstdc++-v3"; \ libsrcdir="$$s/libstdc++-v3"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -24617,37 +24603,16 @@ configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libmudflap; \ echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \ cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libmudflap "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libmudflap; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libmudflap"; \ srcdiroption="--srcdir=$${topdir}/libmudflap"; \
libsrcdir="$$s/libmudflap"; \ libsrcdir="$$s/libmudflap"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -24980,37 +24945,16 @@ configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
echo Configuring in $(TARGET_SUBDIR)/newlib; \ echo Configuring in $(TARGET_SUBDIR)/newlib; \
cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../newlib; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/newlib"; \ srcdiroption="--srcdir=$${topdir}/newlib"; \
libsrcdir="$$s/newlib"; \ libsrcdir="$$s/newlib"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -25343,37 +25287,16 @@ configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libgfortran; \ echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \ cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libgfortran "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libgfortran; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libgfortran"; \ srcdiroption="--srcdir=$${topdir}/libgfortran"; \
libsrcdir="$$s/libgfortran"; \ libsrcdir="$$s/libgfortran"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -25706,37 +25629,16 @@ configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libobjc; \ echo Configuring in $(TARGET_SUBDIR)/libobjc; \
cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libobjc; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libobjc"; \ srcdiroption="--srcdir=$${topdir}/libobjc"; \
libsrcdir="$$s/libobjc"; \ libsrcdir="$$s/libobjc"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -26069,10 +25971,16 @@ configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -26086,13 +25994,8 @@ configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libtermcap; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -26367,37 +26270,16 @@ configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
echo Configuring in $(TARGET_SUBDIR)/winsup; \ echo Configuring in $(TARGET_SUBDIR)/winsup; \
cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../winsup; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/winsup"; \ srcdiroption="--srcdir=$${topdir}/winsup"; \
libsrcdir="$$s/winsup"; \ libsrcdir="$$s/winsup"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -26730,37 +26612,16 @@ configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libgloss; \ echo Configuring in $(TARGET_SUBDIR)/libgloss; \
cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \ cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libgloss; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libgloss"; \ srcdiroption="--srcdir=$${topdir}/libgloss"; \
libsrcdir="$$s/libgloss"; \ libsrcdir="$$s/libgloss"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -27088,37 +26949,16 @@ configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libiberty; \ echo Configuring in $(TARGET_SUBDIR)/libiberty; \
cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \ cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libiberty; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libiberty"; \ srcdiroption="--srcdir=$${topdir}/libiberty"; \
libsrcdir="$$s/libiberty"; \ libsrcdir="$$s/libiberty"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -27451,37 +27291,16 @@ configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
echo Configuring in $(TARGET_SUBDIR)/gperf; \ echo Configuring in $(TARGET_SUBDIR)/gperf; \
cd "$(TARGET_SUBDIR)/gperf" || exit 1; \ cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../gperf; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/gperf"; \ srcdiroption="--srcdir=$${topdir}/gperf"; \
libsrcdir="$$s/gperf"; \ libsrcdir="$$s/gperf"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -27814,37 +27633,16 @@ configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
echo Configuring in $(TARGET_SUBDIR)/examples; \ echo Configuring in $(TARGET_SUBDIR)/examples; \
cd "$(TARGET_SUBDIR)/examples" || exit 1; \ cd "$(TARGET_SUBDIR)/examples" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../examples; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/examples"; \ srcdiroption="--srcdir=$${topdir}/examples"; \
libsrcdir="$$s/examples"; \ libsrcdir="$$s/examples"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -28167,37 +27965,16 @@ configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libffi; \ echo Configuring in $(TARGET_SUBDIR)/libffi; \
cd "$(TARGET_SUBDIR)/libffi" || exit 1; \ cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libffi; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libffi"; \ srcdiroption="--srcdir=$${topdir}/libffi"; \
libsrcdir="$$s/libffi"; \ libsrcdir="$$s/libffi"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -28530,37 +28307,16 @@ configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libjava; \ echo Configuring in $(TARGET_SUBDIR)/libjava; \
cd "$(TARGET_SUBDIR)/libjava" || exit 1; \ cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libjava; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libjava"; \ srcdiroption="--srcdir=$${topdir}/libjava"; \
libsrcdir="$$s/libjava"; \ libsrcdir="$$s/libjava"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -28893,10 +28649,16 @@ configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
echo Configuring in $(TARGET_SUBDIR)/zlib; \ echo Configuring in $(TARGET_SUBDIR)/zlib; \
cd "$(TARGET_SUBDIR)/zlib" || exit 1; \ cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -28910,13 +28672,8 @@ configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../zlib; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -29256,37 +29013,16 @@ configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \ echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \ cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../boehm-gc; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/boehm-gc"; \ srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
libsrcdir="$$s/boehm-gc"; \ libsrcdir="$$s/boehm-gc"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -29619,37 +29355,16 @@ configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
echo Configuring in $(TARGET_SUBDIR)/qthreads; \ echo Configuring in $(TARGET_SUBDIR)/qthreads; \
cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \ cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../qthreads; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/qthreads"; \ srcdiroption="--srcdir=$${topdir}/qthreads"; \
libsrcdir="$$s/qthreads"; \ libsrcdir="$$s/qthreads"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -29982,37 +29697,16 @@ configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
echo Configuring in $(TARGET_SUBDIR)/rda; \ echo Configuring in $(TARGET_SUBDIR)/rda; \
cd "$(TARGET_SUBDIR)/rda" || exit 1; \ cd "$(TARGET_SUBDIR)/rda" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../rda; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/rda"; \ srcdiroption="--srcdir=$${topdir}/rda"; \
libsrcdir="$$s/rda"; \ libsrcdir="$$s/rda"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \
@ -30345,37 +30039,16 @@ configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
echo Configuring in $(TARGET_SUBDIR)/libada; \ echo Configuring in $(TARGET_SUBDIR)/libada; \
cd "$(TARGET_SUBDIR)/libada" || exit 1; \ cd "$(TARGET_SUBDIR)/libada" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/libada "no-such-file" ; then \
if [ -f Makefile ]; then \
if $(MAKE) distclean; then \
true; \
else \
exit 1; \
fi; \
else \
true; \
fi; \
else \
exit 1; \
fi; \
if [ -d ../include ] ; then \
true; \
else \
mkdir ../include; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../libada; \
fi; \
srcdiroption="--srcdir=."; \
libsrcdir="."; \
else \
srcdiroption="--srcdir=$${topdir}/libada"; \ srcdiroption="--srcdir=$${topdir}/libada"; \
libsrcdir="$$s/libada"; \ libsrcdir="$$s/libada"; \
fi; \
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \

View File

@ -822,10 +822,16 @@ configure-build-[+module+]:
echo Configuring in $(BUILD_SUBDIR)/[+module+]; \ echo Configuring in $(BUILD_SUBDIR)/[+module+]; \
cd "$(BUILD_SUBDIR)/[+module+]" || exit 1; \ cd "$(BUILD_SUBDIR)/[+module+]" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(BUILD_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac ;; \
esac; \ esac; \
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -839,13 +845,8 @@ configure-build-[+module+]:
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../[+module+]; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
@ -1031,10 +1032,16 @@ ENDIF raw_cxx +]
echo Configuring in $(TARGET_SUBDIR)/[+module+]; \ echo Configuring in $(TARGET_SUBDIR)/[+module+]; \
cd "$(TARGET_SUBDIR)/[+module+]" || exit 1; \ cd "$(TARGET_SUBDIR)/[+module+]" || exit 1; \
case $(srcdir) in \ case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
.) topdir="../$(srcdir)" ;; \
*) topdir="../../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \
esac; \ esac ;; \
esac; \[+ IF stage +]
if [ "$(srcdir)" = "." ] ; then \ if [ "$(srcdir)" = "." ] ; then \
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \
if [ -f Makefile ]; then \ if [ -f Makefile ]; then \
if $(MAKE) distclean; then \ if $(MAKE) distclean; then \
@ -1048,20 +1055,15 @@ ENDIF raw_cxx +]
else \ else \
exit 1; \ exit 1; \
fi; \ fi; \
if [ -d ../include ] ; then \
true; \
else \ else \
mkdir ../include; \ true; \
cd ../include; \
$(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
cd ../[+module+]; \
fi; \ fi; \
srcdiroption="--srcdir=."; \ srcdiroption="--srcdir=."; \
libsrcdir="."; \ libsrcdir="."; \
else \ else \[+ ENDIF stage +]
srcdiroption="--srcdir=$${topdir}/[+module+]"; \ srcdiroption="--srcdir=$${topdir}/[+module+]"; \
libsrcdir="$$s/[+module+]"; \ libsrcdir="$$s/[+module+]"; \[+ IF stage +]
fi; \ fi; \[+ ENDIF stage +]
rm -f no-such-file || : ; \ rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \ $(TARGET_CONFIGARGS) $${srcdiroption} \