PR other/46202: implement install-strip.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 20 Nov 2010 19:37:08 +0000 (19:37 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Sat, 20 Nov 2010 19:37:08 +0000 (19:37 +0000)
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.

gcc/:
PR other/46202
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
variables.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
shell quoting.
(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
(install-strip): New target.
(STRIPPROG): New variable, exported if STRIP is set.
* doc/install.texi (Final install): Minor markup and code style
fixes.  Document install-strip target.

fixincludes/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(all, check, install): Also mark as phony.

libgcc/:
PR other/46202
* Makefile.in (install-strip): New phony target.

libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.

gnattools/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.

libada/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.

From-SVN: r166980

20 files changed:
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
configure
configure.ac
fixincludes/ChangeLog
fixincludes/Makefile.in
gcc/ChangeLog
gcc/Makefile.in
gcc/config/i386/t-cygming
gcc/doc/install.texi
gnattools/ChangeLog
gnattools/Makefile.in
libada/ChangeLog
libada/Makefile.in
libgcc/ChangeLog
libgcc/Makefile.in
libiberty/ChangeLog
libiberty/Makefile.in

index 3871d0a9a565e823d51a646f707c7e1b8ad984b5..dbf539418ccf269b43cc500fa51ad004185ce5bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * configure.ac: Fix just-built in-tree STRIP name to be
+       binutils/strip-new.
+       * configure: Regenerate.
+       * Makefile.def (install-strip-gcc, install-strip-binutils)
+       (install-strip-opcodes, install-strip-ld, install-strip-itcl)
+       (install-strip-sid): Mirror dependencies on non-strip variants
+       of these targets on the respective -strip prerequisites.
+       * Makefile.tpl (install-strip, install-strip-host)
+       (install-strip-target): New targets.
+       (install-strip-[+module+], install-strip-target-[+module+]):
+       New targets.
+       * Makefile.in: Regenerate.
+
 2010-11-19  Tobias Grosser  <grosser@fim.uni-passau.de>
 
        * config/cloog.m4: Use AS_HELP_STRING and fix help formatting.
index e5c958641501dc94a67553599e368380496b5ed9..65d50ff193c0a26a715c2112f8081295e82134ac 100644 (file)
@@ -350,6 +350,7 @@ dependencies = { module=dvi-gcc; on=all-build-libiberty; };
 dependencies = { module=pdf-gcc; on=all-build-libiberty; };
 dependencies = { module=html-gcc; on=all-build-libiberty; };
 dependencies = { module=install-gcc ; on=install-fixincludes; };
+dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
 
 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
 dependencies = { module=configure-libcpp; on=configure-intl; };
@@ -411,9 +412,11 @@ dependencies = { module=all-binutils; on=all-intl; };
 // binutils might be on PATH, and they might need the shared opcodes
 // library.
 dependencies = { module=install-binutils; on=install-opcodes; };
+dependencies = { module=install-strip-binutils; on=install-strip-opcodes; };
 
 // libopcodes depends on libbfd
 dependencies = { module=install-opcodes; on=install-bfd; };
+dependencies = { module=install-strip-opcodes; on=install-strip-bfd; };
 
 dependencies = { module=configure-gas; on=configure-intl; };
 dependencies = { module=all-gas; on=all-libiberty; };
@@ -434,6 +437,7 @@ dependencies = { module=all-ld; on=all-build-byacc; };
 dependencies = { module=all-ld; on=all-build-flex; };
 dependencies = { module=all-ld; on=all-intl; };
 dependencies = { module=install-ld; on=install-gold; };
+dependencies = { module=install-strip-ld; on=install-strip-gold; };
 dependencies = { module=configure-gold; on=configure-intl; };
 dependencies = { module=all-gold; on=all-libiberty; };
 dependencies = { module=all-gold; on=all-intl; };
@@ -464,6 +468,7 @@ dependencies = { module=configure-itcl; on=configure-tk; };
 dependencies = { module=all-itcl; on=all-tcl; };
 dependencies = { module=all-itcl; on=all-tk; };
 dependencies = { module=install-itcl; on=install-tcl; };
+dependencies = { module=install-strip-itcl; on=install-strip-tcl; };
 
 dependencies = { module=configure-tk; on=configure-tcl; };
 dependencies = { module=all-tk; on=all-tcl; };
@@ -474,7 +479,9 @@ dependencies = { module=all-sid; on=all-opcodes; };
 dependencies = { module=all-sid; on=all-tcl; };
 dependencies = { module=all-sid; on=all-tk; };
 dependencies = { module=install-sid; on=install-tcl; };
+dependencies = { module=install-strip-sid; on=install-strip-tcl; };
 dependencies = { module=install-sid; on=install-tk; };
+dependencies = { module=install-strip-sid; on=install-strip-tk; };
 
 dependencies = { module=configure-sim; on=configure-intl; };
 dependencies = { module=all-sim; on=all-intl; };
index 85ada56ffcc17dd6529c218834964183e8586fd3..ecca6e657187ab32f41ac38a01f7bd116f6d4916 100644 (file)
@@ -3069,6 +3069,120 @@ install.all: install-no-fixedincludes
 install-no-fixedincludes: installdirs install-host-nogcc \
        install-target gcc-no-fixedincludes
 
+.PHONY: install-strip
+install-strip:
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
+
+.PHONY: install-strip-host
+install-strip-host:  \
+    maybe-install-strip-ash \
+    maybe-install-strip-autoconf \
+    maybe-install-strip-automake \
+    maybe-install-strip-bash \
+    maybe-install-strip-bfd \
+    maybe-install-strip-opcodes \
+    maybe-install-strip-binutils \
+    maybe-install-strip-bison \
+    maybe-install-strip-byacc \
+    maybe-install-strip-bzip2 \
+    maybe-install-strip-cgen \
+    maybe-install-strip-dejagnu \
+    maybe-install-strip-diff \
+    maybe-install-strip-dosutils \
+    maybe-install-strip-etc \
+    maybe-install-strip-fastjar \
+    maybe-install-strip-fileutils \
+    maybe-install-strip-findutils \
+    maybe-install-strip-find \
+    maybe-install-strip-fixincludes \
+    maybe-install-strip-flex \
+    maybe-install-strip-gas \
+    maybe-install-strip-gcc \
+    maybe-install-strip-gawk \
+    maybe-install-strip-gettext \
+    maybe-install-strip-gmp \
+    maybe-install-strip-mpfr \
+    maybe-install-strip-mpc \
+    maybe-install-strip-ppl \
+    maybe-install-strip-cloog \
+    maybe-install-strip-libelf \
+    maybe-install-strip-gnuserv \
+    maybe-install-strip-gold \
+    maybe-install-strip-gprof \
+    maybe-install-strip-gzip \
+    maybe-install-strip-hello \
+    maybe-install-strip-indent \
+    maybe-install-strip-intl \
+    maybe-install-strip-tcl \
+    maybe-install-strip-itcl \
+    maybe-install-strip-ld \
+    maybe-install-strip-libcpp \
+    maybe-install-strip-libdecnumber \
+    maybe-install-strip-libgui \
+    maybe-install-strip-libiberty \
+    maybe-install-strip-libiconv \
+    maybe-install-strip-libtool \
+    maybe-install-strip-m4 \
+    maybe-install-strip-make \
+    maybe-install-strip-mmalloc \
+    maybe-install-strip-patch \
+    maybe-install-strip-perl \
+    maybe-install-strip-prms \
+    maybe-install-strip-rcs \
+    maybe-install-strip-readline \
+    maybe-install-strip-release \
+    maybe-install-strip-recode \
+    maybe-install-strip-sed \
+    maybe-install-strip-send-pr \
+    maybe-install-strip-shellutils \
+    maybe-install-strip-sid \
+    maybe-install-strip-sim \
+    maybe-install-strip-tar \
+    maybe-install-strip-texinfo \
+    maybe-install-strip-textutils \
+    maybe-install-strip-time \
+    maybe-install-strip-uudecode \
+    maybe-install-strip-wdiff \
+    maybe-install-strip-zip \
+    maybe-install-strip-zlib \
+    maybe-install-strip-gdb \
+    maybe-install-strip-expect \
+    maybe-install-strip-guile \
+    maybe-install-strip-tk \
+    maybe-install-strip-libtermcap \
+    maybe-install-strip-utils \
+    maybe-install-strip-gnattools \
+    maybe-install-strip-lto-plugin
+
+.PHONY: install-strip-target
+install-strip-target:  \
+    maybe-install-strip-target-libstdc++-v3 \
+    maybe-install-strip-target-libmudflap \
+    maybe-install-strip-target-libssp \
+    maybe-install-strip-target-newlib \
+    maybe-install-strip-target-libgcc \
+    maybe-install-strip-target-libquadmath \
+    maybe-install-strip-target-libgfortran \
+    maybe-install-strip-target-libobjc \
+    maybe-install-strip-target-libtermcap \
+    maybe-install-strip-target-winsup \
+    maybe-install-strip-target-libgloss \
+    maybe-install-strip-target-libiberty \
+    maybe-install-strip-target-gperf \
+    maybe-install-strip-target-examples \
+    maybe-install-strip-target-libffi \
+    maybe-install-strip-target-libjava \
+    maybe-install-strip-target-zlib \
+    maybe-install-strip-target-boehm-gc \
+    maybe-install-strip-target-qthreads \
+    maybe-install-strip-target-rda \
+    maybe-install-strip-target-libada \
+    maybe-install-strip-target-libgomp
+
+
 ### other supporting targets
 
 MAKEDIRS= \
@@ -3593,6 +3707,21 @@ install-ash: installdirs
 
 @endif ash
 
+.PHONY: install-strip-ash maybe-install-strip-ash
+maybe-install-strip-ash:
+@if ash
+maybe-install-strip-ash: install-strip-ash
+
+install-strip-ash: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/ash && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif ash
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-ash info-ash
@@ -4018,6 +4147,21 @@ install-autoconf: installdirs
 
 @endif autoconf
 
+.PHONY: install-strip-autoconf maybe-install-strip-autoconf
+maybe-install-strip-autoconf:
+@if autoconf
+maybe-install-strip-autoconf: install-strip-autoconf
+
+install-strip-autoconf: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/autoconf && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif autoconf
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-autoconf info-autoconf
@@ -4443,6 +4587,21 @@ install-automake: installdirs
 
 @endif automake
 
+.PHONY: install-strip-automake maybe-install-strip-automake
+maybe-install-strip-automake:
+@if automake
+maybe-install-strip-automake: install-strip-automake
+
+install-strip-automake: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/automake && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif automake
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-automake info-automake
@@ -4868,6 +5027,21 @@ install-bash: installdirs
 
 @endif bash
 
+.PHONY: install-strip-bash maybe-install-strip-bash
+maybe-install-strip-bash:
+@if bash
+maybe-install-strip-bash: install-strip-bash
+
+install-strip-bash: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/bash && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif bash
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-bash info-bash
@@ -5747,6 +5921,21 @@ install-bfd: installdirs
 
 @endif bfd
 
+.PHONY: install-strip-bfd maybe-install-strip-bfd
+maybe-install-strip-bfd:
+@if bfd
+maybe-install-strip-bfd: install-strip-bfd
+
+install-strip-bfd: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/bfd && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif bfd
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-bfd info-bfd
@@ -6613,6 +6802,21 @@ install-opcodes: installdirs
 
 @endif opcodes
 
+.PHONY: install-strip-opcodes maybe-install-strip-opcodes
+maybe-install-strip-opcodes:
+@if opcodes
+maybe-install-strip-opcodes: install-strip-opcodes
+
+install-strip-opcodes: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/opcodes && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif opcodes
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-opcodes info-opcodes
@@ -7479,6 +7683,21 @@ install-binutils: installdirs
 
 @endif binutils
 
+.PHONY: install-strip-binutils maybe-install-strip-binutils
+maybe-install-strip-binutils:
+@if binutils
+maybe-install-strip-binutils: install-strip-binutils
+
+install-strip-binutils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/binutils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif binutils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-binutils info-binutils
@@ -7894,6 +8113,21 @@ install-bison: installdirs
 
 @endif bison
 
+.PHONY: install-strip-bison maybe-install-strip-bison
+maybe-install-strip-bison:
+@if bison
+maybe-install-strip-bison: install-strip-bison
+
+install-strip-bison: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/bison && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif bison
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-bison info-bison
@@ -8322,6 +8556,21 @@ install-byacc: installdirs
 
 @endif byacc
 
+.PHONY: install-strip-byacc maybe-install-strip-byacc
+maybe-install-strip-byacc:
+@if byacc
+maybe-install-strip-byacc: install-strip-byacc
+
+install-strip-byacc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/byacc && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif byacc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-byacc info-byacc
@@ -8747,6 +8996,21 @@ install-bzip2: installdirs
 
 @endif bzip2
 
+.PHONY: install-strip-bzip2 maybe-install-strip-bzip2
+maybe-install-strip-bzip2:
+@if bzip2
+maybe-install-strip-bzip2: install-strip-bzip2
+
+install-strip-bzip2: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/bzip2 && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif bzip2
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-bzip2 info-bzip2
@@ -9172,6 +9436,21 @@ install-cgen: installdirs
 
 @endif cgen
 
+.PHONY: install-strip-cgen maybe-install-strip-cgen
+maybe-install-strip-cgen:
+@if cgen
+maybe-install-strip-cgen: install-strip-cgen
+
+install-strip-cgen: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/cgen && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif cgen
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-cgen info-cgen
@@ -9597,6 +9876,21 @@ install-dejagnu: installdirs
 
 @endif dejagnu
 
+.PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
+maybe-install-strip-dejagnu:
+@if dejagnu
+maybe-install-strip-dejagnu: install-strip-dejagnu
+
+install-strip-dejagnu: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/dejagnu && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif dejagnu
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-dejagnu info-dejagnu
@@ -10022,6 +10316,21 @@ install-diff: installdirs
 
 @endif diff
 
+.PHONY: install-strip-diff maybe-install-strip-diff
+maybe-install-strip-diff:
+@if diff
+maybe-install-strip-diff: install-strip-diff
+
+install-strip-diff: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/diff && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif diff
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-diff info-diff
@@ -10441,6 +10750,21 @@ install-dosutils: installdirs
 
 @endif dosutils
 
+.PHONY: install-strip-dosutils maybe-install-strip-dosutils
+maybe-install-strip-dosutils:
+@if dosutils
+maybe-install-strip-dosutils: install-strip-dosutils
+
+install-strip-dosutils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/dosutils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif dosutils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-dosutils info-dosutils
@@ -10866,6 +11190,21 @@ install-etc: installdirs
 
 @endif etc
 
+.PHONY: install-strip-etc maybe-install-strip-etc
+maybe-install-strip-etc:
+@if etc
+maybe-install-strip-etc: install-strip-etc
+
+install-strip-etc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/etc && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif etc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-etc info-etc
@@ -11294,6 +11633,21 @@ install-fastjar: installdirs
 
 @endif fastjar
 
+.PHONY: install-strip-fastjar maybe-install-strip-fastjar
+maybe-install-strip-fastjar:
+@if fastjar
+maybe-install-strip-fastjar: install-strip-fastjar
+
+install-strip-fastjar: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/fastjar && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif fastjar
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-fastjar info-fastjar
@@ -11719,6 +12073,21 @@ install-fileutils: installdirs
 
 @endif fileutils
 
+.PHONY: install-strip-fileutils maybe-install-strip-fileutils
+maybe-install-strip-fileutils:
+@if fileutils
+maybe-install-strip-fileutils: install-strip-fileutils
+
+install-strip-fileutils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/fileutils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif fileutils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-fileutils info-fileutils
@@ -12144,6 +12513,21 @@ install-findutils: installdirs
 
 @endif findutils
 
+.PHONY: install-strip-findutils maybe-install-strip-findutils
+maybe-install-strip-findutils:
+@if findutils
+maybe-install-strip-findutils: install-strip-findutils
+
+install-strip-findutils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/findutils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif findutils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-findutils info-findutils
@@ -12569,6 +12953,21 @@ install-find: installdirs
 
 @endif find
 
+.PHONY: install-strip-find maybe-install-strip-find
+maybe-install-strip-find:
+@if find
+maybe-install-strip-find: install-strip-find
+
+install-strip-find: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/find && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif find
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-find info-find
@@ -12994,6 +13393,21 @@ install-fixincludes: installdirs
 
 @endif fixincludes
 
+.PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
+maybe-install-strip-fixincludes:
+@if fixincludes
+maybe-install-strip-fixincludes: install-strip-fixincludes
+
+install-strip-fixincludes: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/fixincludes && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif fixincludes
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-fixincludes info-fixincludes
@@ -13406,6 +13820,21 @@ install-flex: installdirs
 
 @endif flex
 
+.PHONY: install-strip-flex maybe-install-strip-flex
+maybe-install-strip-flex:
+@if flex
+maybe-install-strip-flex: install-strip-flex
+
+install-strip-flex: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/flex && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif flex
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-flex info-flex
@@ -14285,6 +14714,21 @@ install-gas: installdirs
 
 @endif gas
 
+.PHONY: install-strip-gas maybe-install-strip-gas
+maybe-install-strip-gas:
+@if gas
+maybe-install-strip-gas: install-strip-gas
+
+install-strip-gas: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gas && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gas
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gas info-gas
@@ -15151,6 +15595,21 @@ install-gcc: installdirs
 
 @endif gcc
 
+.PHONY: install-strip-gcc maybe-install-strip-gcc
+maybe-install-strip-gcc:
+@if gcc
+maybe-install-strip-gcc: install-strip-gcc
+
+install-strip-gcc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gcc && \
+         $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
+
+@endif gcc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gcc info-gcc
@@ -15563,6 +16022,21 @@ install-gawk: installdirs
 
 @endif gawk
 
+.PHONY: install-strip-gawk maybe-install-strip-gawk
+maybe-install-strip-gawk:
+@if gawk
+maybe-install-strip-gawk: install-strip-gawk
+
+install-strip-gawk: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gawk && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gawk
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gawk info-gawk
@@ -15988,6 +16462,21 @@ install-gettext: installdirs
 
 @endif gettext
 
+.PHONY: install-strip-gettext maybe-install-strip-gettext
+maybe-install-strip-gettext:
+@if gettext
+maybe-install-strip-gettext: install-strip-gettext
+
+install-strip-gettext: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gettext && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gettext
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gettext info-gettext
@@ -16867,6 +17356,15 @@ install-gmp:
 
 @endif gmp
 
+.PHONY: install-strip-gmp maybe-install-strip-gmp
+maybe-install-strip-gmp:
+@if gmp
+maybe-install-strip-gmp: install-strip-gmp
+
+install-strip-gmp:
+
+@endif gmp
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gmp info-gmp
@@ -17733,6 +18231,15 @@ install-mpfr:
 
 @endif mpfr
 
+.PHONY: install-strip-mpfr maybe-install-strip-mpfr
+maybe-install-strip-mpfr:
+@if mpfr
+maybe-install-strip-mpfr: install-strip-mpfr
+
+install-strip-mpfr:
+
+@endif mpfr
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-mpfr info-mpfr
@@ -18599,6 +19106,15 @@ install-mpc:
 
 @endif mpc
 
+.PHONY: install-strip-mpc maybe-install-strip-mpc
+maybe-install-strip-mpc:
+@if mpc
+maybe-install-strip-mpc: install-strip-mpc
+
+install-strip-mpc:
+
+@endif mpc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-mpc info-mpc
@@ -19465,6 +19981,15 @@ install-ppl:
 
 @endif ppl
 
+.PHONY: install-strip-ppl maybe-install-strip-ppl
+maybe-install-strip-ppl:
+@if ppl
+maybe-install-strip-ppl: install-strip-ppl
+
+install-strip-ppl:
+
+@endif ppl
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-ppl info-ppl
@@ -20331,6 +20856,15 @@ install-cloog:
 
 @endif cloog
 
+.PHONY: install-strip-cloog maybe-install-strip-cloog
+maybe-install-strip-cloog:
+@if cloog
+maybe-install-strip-cloog: install-strip-cloog
+
+install-strip-cloog:
+
+@endif cloog
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-cloog info-cloog
@@ -21197,6 +21731,15 @@ install-libelf:
 
 @endif libelf
 
+.PHONY: install-strip-libelf maybe-install-strip-libelf
+maybe-install-strip-libelf:
+@if libelf
+maybe-install-strip-libelf: install-strip-libelf
+
+install-strip-libelf:
+
+@endif libelf
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libelf info-libelf
@@ -21609,6 +22152,21 @@ install-gnuserv: installdirs
 
 @endif gnuserv
 
+.PHONY: install-strip-gnuserv maybe-install-strip-gnuserv
+maybe-install-strip-gnuserv:
+@if gnuserv
+maybe-install-strip-gnuserv: install-strip-gnuserv
+
+install-strip-gnuserv: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gnuserv && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gnuserv
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gnuserv info-gnuserv
@@ -22488,6 +23046,21 @@ install-gold: installdirs
 
 @endif gold
 
+.PHONY: install-strip-gold maybe-install-strip-gold
+maybe-install-strip-gold:
+@if gold
+maybe-install-strip-gold: install-strip-gold
+
+install-strip-gold: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gold && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gold
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gold info-gold
@@ -22900,6 +23473,21 @@ install-gprof: installdirs
 
 @endif gprof
 
+.PHONY: install-strip-gprof maybe-install-strip-gprof
+maybe-install-strip-gprof:
+@if gprof
+maybe-install-strip-gprof: install-strip-gprof
+
+install-strip-gprof: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gprof && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gprof
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gprof info-gprof
@@ -23325,6 +23913,21 @@ install-gzip: installdirs
 
 @endif gzip
 
+.PHONY: install-strip-gzip maybe-install-strip-gzip
+maybe-install-strip-gzip:
+@if gzip
+maybe-install-strip-gzip: install-strip-gzip
+
+install-strip-gzip: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gzip && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gzip
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gzip info-gzip
@@ -23750,6 +24353,21 @@ install-hello: installdirs
 
 @endif hello
 
+.PHONY: install-strip-hello maybe-install-strip-hello
+maybe-install-strip-hello:
+@if hello
+maybe-install-strip-hello: install-strip-hello
+
+install-strip-hello: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/hello && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif hello
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-hello info-hello
@@ -24175,6 +24793,21 @@ install-indent: installdirs
 
 @endif indent
 
+.PHONY: install-strip-indent maybe-install-strip-indent
+maybe-install-strip-indent:
+@if indent
+maybe-install-strip-indent: install-strip-indent
+
+install-strip-indent: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/indent && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif indent
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-indent info-indent
@@ -25054,6 +25687,21 @@ install-intl: installdirs
 
 @endif intl
 
+.PHONY: install-strip-intl maybe-install-strip-intl
+maybe-install-strip-intl:
+@if intl
+maybe-install-strip-intl: install-strip-intl
+
+install-strip-intl: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/intl && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif intl
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-intl info-intl
@@ -25466,6 +26114,21 @@ install-tcl: installdirs
 
 @endif tcl
 
+.PHONY: install-strip-tcl maybe-install-strip-tcl
+maybe-install-strip-tcl:
+@if tcl
+maybe-install-strip-tcl: install-strip-tcl
+
+install-strip-tcl: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/tcl && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif tcl
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-tcl info-tcl
@@ -25876,6 +26539,21 @@ install-itcl: installdirs
 
 @endif itcl
 
+.PHONY: install-strip-itcl maybe-install-strip-itcl
+maybe-install-strip-itcl:
+@if itcl
+maybe-install-strip-itcl: install-strip-itcl
+
+install-strip-itcl: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/itcl && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif itcl
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-itcl info-itcl
@@ -26755,6 +27433,21 @@ install-ld: installdirs
 
 @endif ld
 
+.PHONY: install-strip-ld maybe-install-strip-ld
+maybe-install-strip-ld:
+@if ld
+maybe-install-strip-ld: install-strip-ld
+
+install-strip-ld: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/ld && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif ld
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-ld info-ld
@@ -27621,6 +28314,21 @@ install-libcpp: installdirs
 
 @endif libcpp
 
+.PHONY: install-strip-libcpp maybe-install-strip-libcpp
+maybe-install-strip-libcpp:
+@if libcpp
+maybe-install-strip-libcpp: install-strip-libcpp
+
+install-strip-libcpp: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/libcpp && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif libcpp
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libcpp info-libcpp
@@ -28487,6 +29195,21 @@ install-libdecnumber: installdirs
 
 @endif libdecnumber
 
+.PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
+maybe-install-strip-libdecnumber:
+@if libdecnumber
+maybe-install-strip-libdecnumber: install-strip-libdecnumber
+
+install-strip-libdecnumber: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/libdecnumber && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif libdecnumber
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libdecnumber info-libdecnumber
@@ -28899,6 +29622,21 @@ install-libgui: installdirs
 
 @endif libgui
 
+.PHONY: install-strip-libgui maybe-install-strip-libgui
+maybe-install-strip-libgui:
+@if libgui
+maybe-install-strip-libgui: install-strip-libgui
+
+install-strip-libgui: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/libgui && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif libgui
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libgui info-libgui
@@ -29784,6 +30522,21 @@ install-libiberty: installdirs
 
 @endif libiberty
 
+.PHONY: install-strip-libiberty maybe-install-strip-libiberty
+maybe-install-strip-libiberty:
+@if libiberty
+maybe-install-strip-libiberty: install-strip-libiberty
+
+install-strip-libiberty: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/libiberty && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif libiberty
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libiberty info-libiberty
@@ -30190,6 +30943,15 @@ install-libiconv:
 
 @endif libiconv
 
+.PHONY: install-strip-libiconv maybe-install-strip-libiconv
+maybe-install-strip-libiconv:
+@if libiconv
+maybe-install-strip-libiconv: install-strip-libiconv
+
+install-strip-libiconv:
+
+@endif libiconv
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libiconv info-libiconv
@@ -30564,6 +31326,21 @@ install-libtool: installdirs
 
 @endif libtool
 
+.PHONY: install-strip-libtool maybe-install-strip-libtool
+maybe-install-strip-libtool:
+@if libtool
+maybe-install-strip-libtool: install-strip-libtool
+
+install-strip-libtool: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/libtool && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif libtool
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libtool info-libtool
@@ -30989,6 +31766,21 @@ install-m4: installdirs
 
 @endif m4
 
+.PHONY: install-strip-m4 maybe-install-strip-m4
+maybe-install-strip-m4:
+@if m4
+maybe-install-strip-m4: install-strip-m4
+
+install-strip-m4: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/m4 && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif m4
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-m4 info-m4
@@ -31414,6 +32206,21 @@ install-make: installdirs
 
 @endif make
 
+.PHONY: install-strip-make maybe-install-strip-make
+maybe-install-strip-make:
+@if make
+maybe-install-strip-make: install-strip-make
+
+install-strip-make: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/make && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif make
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-make info-make
@@ -31833,6 +32640,21 @@ install-mmalloc: installdirs
 
 @endif mmalloc
 
+.PHONY: install-strip-mmalloc maybe-install-strip-mmalloc
+maybe-install-strip-mmalloc:
+@if mmalloc
+maybe-install-strip-mmalloc: install-strip-mmalloc
+
+install-strip-mmalloc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/mmalloc && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif mmalloc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-mmalloc info-mmalloc
@@ -32258,6 +33080,21 @@ install-patch: installdirs
 
 @endif patch
 
+.PHONY: install-strip-patch maybe-install-strip-patch
+maybe-install-strip-patch:
+@if patch
+maybe-install-strip-patch: install-strip-patch
+
+install-strip-patch: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/patch && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif patch
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-patch info-patch
@@ -32683,6 +33520,21 @@ install-perl: installdirs
 
 @endif perl
 
+.PHONY: install-strip-perl maybe-install-strip-perl
+maybe-install-strip-perl:
+@if perl
+maybe-install-strip-perl: install-strip-perl
+
+install-strip-perl: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/perl && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif perl
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-perl info-perl
@@ -33108,6 +33960,21 @@ install-prms: installdirs
 
 @endif prms
 
+.PHONY: install-strip-prms maybe-install-strip-prms
+maybe-install-strip-prms:
+@if prms
+maybe-install-strip-prms: install-strip-prms
+
+install-strip-prms: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/prms && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif prms
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-prms info-prms
@@ -33533,6 +34400,21 @@ install-rcs: installdirs
 
 @endif rcs
 
+.PHONY: install-strip-rcs maybe-install-strip-rcs
+maybe-install-strip-rcs:
+@if rcs
+maybe-install-strip-rcs: install-strip-rcs
+
+install-strip-rcs: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/rcs && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif rcs
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-rcs info-rcs
@@ -33958,6 +34840,21 @@ install-readline: installdirs
 
 @endif readline
 
+.PHONY: install-strip-readline maybe-install-strip-readline
+maybe-install-strip-readline:
+@if readline
+maybe-install-strip-readline: install-strip-readline
+
+install-strip-readline: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/readline && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif readline
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-readline info-readline
@@ -34371,6 +35268,15 @@ install-release:
 
 @endif release
 
+.PHONY: install-strip-release maybe-install-strip-release
+maybe-install-strip-release:
+@if release
+maybe-install-strip-release: install-strip-release
+
+install-strip-release:
+
+@endif release
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-release info-release
@@ -34796,6 +35702,21 @@ install-recode: installdirs
 
 @endif recode
 
+.PHONY: install-strip-recode maybe-install-strip-recode
+maybe-install-strip-recode:
+@if recode
+maybe-install-strip-recode: install-strip-recode
+
+install-strip-recode: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/recode && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif recode
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-recode info-recode
@@ -35221,6 +36142,21 @@ install-sed: installdirs
 
 @endif sed
 
+.PHONY: install-strip-sed maybe-install-strip-sed
+maybe-install-strip-sed:
+@if sed
+maybe-install-strip-sed: install-strip-sed
+
+install-strip-sed: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/sed && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif sed
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-sed info-sed
@@ -35646,6 +36582,21 @@ install-send-pr: installdirs
 
 @endif send-pr
 
+.PHONY: install-strip-send-pr maybe-install-strip-send-pr
+maybe-install-strip-send-pr:
+@if send-pr
+maybe-install-strip-send-pr: install-strip-send-pr
+
+install-strip-send-pr: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/send-pr && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif send-pr
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-send-pr info-send-pr
@@ -36071,6 +37022,21 @@ install-shellutils: installdirs
 
 @endif shellutils
 
+.PHONY: install-strip-shellutils maybe-install-strip-shellutils
+maybe-install-strip-shellutils:
+@if shellutils
+maybe-install-strip-shellutils: install-strip-shellutils
+
+install-strip-shellutils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/shellutils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif shellutils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-shellutils info-shellutils
@@ -36496,6 +37462,21 @@ install-sid: installdirs
 
 @endif sid
 
+.PHONY: install-strip-sid maybe-install-strip-sid
+maybe-install-strip-sid:
+@if sid
+maybe-install-strip-sid: install-strip-sid
+
+install-strip-sid: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/sid && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif sid
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-sid info-sid
@@ -36921,6 +37902,21 @@ install-sim: installdirs
 
 @endif sim
 
+.PHONY: install-strip-sim maybe-install-strip-sim
+maybe-install-strip-sim:
+@if sim
+maybe-install-strip-sim: install-strip-sim
+
+install-strip-sim: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/sim && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif sim
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-sim info-sim
@@ -37346,6 +38342,21 @@ install-tar: installdirs
 
 @endif tar
 
+.PHONY: install-strip-tar maybe-install-strip-tar
+maybe-install-strip-tar:
+@if tar
+maybe-install-strip-tar: install-strip-tar
+
+install-strip-tar: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/tar && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif tar
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-tar info-tar
@@ -37765,6 +38776,15 @@ install-texinfo:
 
 @endif texinfo
 
+.PHONY: install-strip-texinfo maybe-install-strip-texinfo
+maybe-install-strip-texinfo:
+@if texinfo
+maybe-install-strip-texinfo: install-strip-texinfo
+
+install-strip-texinfo:
+
+@endif texinfo
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-texinfo info-texinfo
@@ -38190,6 +39210,21 @@ install-textutils: installdirs
 
 @endif textutils
 
+.PHONY: install-strip-textutils maybe-install-strip-textutils
+maybe-install-strip-textutils:
+@if textutils
+maybe-install-strip-textutils: install-strip-textutils
+
+install-strip-textutils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/textutils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif textutils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-textutils info-textutils
@@ -38615,6 +39650,21 @@ install-time: installdirs
 
 @endif time
 
+.PHONY: install-strip-time maybe-install-strip-time
+maybe-install-strip-time:
+@if time
+maybe-install-strip-time: install-strip-time
+
+install-strip-time: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/time && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif time
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-time info-time
@@ -39040,6 +40090,21 @@ install-uudecode: installdirs
 
 @endif uudecode
 
+.PHONY: install-strip-uudecode maybe-install-strip-uudecode
+maybe-install-strip-uudecode:
+@if uudecode
+maybe-install-strip-uudecode: install-strip-uudecode
+
+install-strip-uudecode: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/uudecode && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif uudecode
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-uudecode info-uudecode
@@ -39465,6 +40530,21 @@ install-wdiff: installdirs
 
 @endif wdiff
 
+.PHONY: install-strip-wdiff maybe-install-strip-wdiff
+maybe-install-strip-wdiff:
+@if wdiff
+maybe-install-strip-wdiff: install-strip-wdiff
+
+install-strip-wdiff: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/wdiff && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif wdiff
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-wdiff info-wdiff
@@ -39893,6 +40973,21 @@ install-zip: installdirs
 
 @endif zip
 
+.PHONY: install-strip-zip maybe-install-strip-zip
+maybe-install-strip-zip:
+@if zip
+maybe-install-strip-zip: install-strip-zip
+
+install-strip-zip: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/zip && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif zip
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-zip info-zip
@@ -40760,6 +41855,15 @@ install-zlib:
 
 @endif zlib
 
+.PHONY: install-strip-zlib maybe-install-strip-zlib
+maybe-install-strip-zlib:
+@if zlib
+maybe-install-strip-zlib: install-strip-zlib
+
+install-strip-zlib:
+
+@endif zlib
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-zlib info-zlib
@@ -41172,6 +42276,21 @@ install-gdb: installdirs
 
 @endif gdb
 
+.PHONY: install-strip-gdb maybe-install-strip-gdb
+maybe-install-strip-gdb:
+@if gdb
+maybe-install-strip-gdb: install-strip-gdb
+
+install-strip-gdb: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gdb && \
+         $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
+
+@endif gdb
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gdb info-gdb
@@ -41597,6 +42716,21 @@ install-expect: installdirs
 
 @endif expect
 
+.PHONY: install-strip-expect maybe-install-strip-expect
+maybe-install-strip-expect:
+@if expect
+maybe-install-strip-expect: install-strip-expect
+
+install-strip-expect: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/expect && \
+         $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
+
+@endif expect
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-expect info-expect
@@ -42022,6 +43156,21 @@ install-guile: installdirs
 
 @endif guile
 
+.PHONY: install-strip-guile maybe-install-strip-guile
+maybe-install-strip-guile:
+@if guile
+maybe-install-strip-guile: install-strip-guile
+
+install-strip-guile: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/guile && \
+         $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
+
+@endif guile
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-guile info-guile
@@ -42447,6 +43596,21 @@ install-tk: installdirs
 
 @endif tk
 
+.PHONY: install-strip-tk maybe-install-strip-tk
+maybe-install-strip-tk:
+@if tk
+maybe-install-strip-tk: install-strip-tk
+
+install-strip-tk: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/tk && \
+         $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
+
+@endif tk
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-tk info-tk
@@ -42866,6 +44030,21 @@ install-libtermcap: installdirs
 
 @endif libtermcap
 
+.PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
+maybe-install-strip-libtermcap:
+@if libtermcap
+maybe-install-strip-libtermcap: install-strip-libtermcap
+
+install-strip-libtermcap: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/libtermcap && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif libtermcap
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-libtermcap info-libtermcap
@@ -43225,6 +44404,21 @@ install-utils: installdirs
 
 @endif utils
 
+.PHONY: install-strip-utils maybe-install-strip-utils
+maybe-install-strip-utils:
+@if utils
+maybe-install-strip-utils: install-strip-utils
+
+install-strip-utils: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/utils && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif utils
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-utils info-utils
@@ -43650,6 +44844,21 @@ install-gnattools: installdirs
 
 @endif gnattools
 
+.PHONY: install-strip-gnattools maybe-install-strip-gnattools
+maybe-install-strip-gnattools:
+@if gnattools
+maybe-install-strip-gnattools: install-strip-gnattools
+
+install-strip-gnattools: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/gnattools && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gnattools
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-gnattools info-gnattools
@@ -44529,6 +45738,21 @@ install-lto-plugin: installdirs
 
 @endif lto-plugin
 
+.PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
+maybe-install-strip-lto-plugin:
+@if lto-plugin
+maybe-install-strip-lto-plugin: install-strip-lto-plugin
+
+install-strip-lto-plugin: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(HOST_EXPORTS) \
+       (cd $(HOST_SUBDIR)/lto-plugin && \
+         $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif lto-plugin
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-lto-plugin info-lto-plugin
@@ -45489,6 +46713,21 @@ install-target-libstdc++-v3: installdirs
 
 @endif target-libstdc++-v3
 
+.PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
+maybe-install-strip-target-libstdc++-v3:
+@if target-libstdc++-v3
+maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
+
+install-strip-target-libstdc++-v3: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(RAW_CXX_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libstdc++-v3
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
@@ -45931,6 +47170,21 @@ install-target-libmudflap: installdirs
 
 @endif target-libmudflap
 
+.PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
+maybe-install-strip-target-libmudflap:
+@if target-libmudflap
+maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
+
+install-strip-target-libmudflap: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libmudflap && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libmudflap
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
@@ -46373,6 +47627,21 @@ install-target-libssp: installdirs
 
 @endif target-libssp
 
+.PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
+maybe-install-strip-target-libssp:
+@if target-libssp
+maybe-install-strip-target-libssp: install-strip-target-libssp
+
+install-strip-target-libssp: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libssp && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libssp
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libssp info-target-libssp
@@ -46815,6 +48084,21 @@ install-target-newlib: installdirs
 
 @endif target-newlib
 
+.PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
+maybe-install-strip-target-newlib:
+@if target-newlib
+maybe-install-strip-target-newlib: install-strip-target-newlib
+
+install-strip-target-newlib: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/newlib && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-newlib
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-newlib info-target-newlib
@@ -47778,6 +49062,21 @@ install-target-libgcc: installdirs
 
 @endif target-libgcc
 
+.PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
+maybe-install-strip-target-libgcc:
+@if target-libgcc
+maybe-install-strip-target-libgcc: install-strip-target-libgcc
+
+install-strip-target-libgcc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libgcc && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libgcc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libgcc info-target-libgcc
@@ -48220,6 +49519,21 @@ install-target-libquadmath: installdirs
 
 @endif target-libquadmath
 
+.PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
+maybe-install-strip-target-libquadmath:
+@if target-libquadmath
+maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
+
+install-strip-target-libquadmath: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libquadmath && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libquadmath
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
@@ -48662,6 +49976,21 @@ install-target-libgfortran: installdirs
 
 @endif target-libgfortran
 
+.PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
+maybe-install-strip-target-libgfortran:
+@if target-libgfortran
+maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
+
+install-strip-target-libgfortran: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libgfortran && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libgfortran
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
@@ -49104,6 +50433,21 @@ install-target-libobjc: installdirs
 
 @endif target-libobjc
 
+.PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
+maybe-install-strip-target-libobjc:
+@if target-libobjc
+maybe-install-strip-target-libobjc: install-strip-target-libobjc
+
+install-strip-target-libobjc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libobjc && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libobjc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libobjc info-target-libobjc
@@ -49983,6 +51327,21 @@ install-target-libtermcap: installdirs
 
 @endif target-libtermcap
 
+.PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
+maybe-install-strip-target-libtermcap:
+@if target-libtermcap
+maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
+
+install-strip-target-libtermcap: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libtermcap && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libtermcap
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
@@ -50365,6 +51724,21 @@ install-target-winsup: installdirs
 
 @endif target-winsup
 
+.PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
+maybe-install-strip-target-winsup:
+@if target-winsup
+maybe-install-strip-target-winsup: install-strip-target-winsup
+
+install-strip-target-winsup: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/winsup && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-winsup
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-winsup info-target-winsup
@@ -50802,6 +52176,21 @@ install-target-libgloss: installdirs
 
 @endif target-libgloss
 
+.PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
+maybe-install-strip-target-libgloss:
+@if target-libgloss
+maybe-install-strip-target-libgloss: install-strip-target-libgloss
+
+install-strip-target-libgloss: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libgloss && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libgloss
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libgloss info-target-libgloss
@@ -51244,6 +52633,21 @@ install-target-libiberty: installdirs
 
 @endif target-libiberty
 
+.PHONY: install-strip-target-libiberty maybe-install-strip-target-libiberty
+maybe-install-strip-target-libiberty:
+@if target-libiberty
+maybe-install-strip-target-libiberty: install-strip-target-libiberty
+
+install-strip-target-libiberty: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libiberty && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libiberty
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libiberty info-target-libiberty
@@ -51686,6 +53090,21 @@ install-target-gperf: installdirs
 
 @endif target-gperf
 
+.PHONY: install-strip-target-gperf maybe-install-strip-target-gperf
+maybe-install-strip-target-gperf:
+@if target-gperf
+maybe-install-strip-target-gperf: install-strip-target-gperf
+
+install-strip-target-gperf: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/gperf && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-gperf
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-gperf info-target-gperf
@@ -52118,6 +53537,16 @@ install-target-examples:
 
 @endif target-examples
 
+.PHONY: install-strip-target-examples maybe-install-strip-target-examples
+maybe-install-strip-target-examples:
+@if target-examples
+maybe-install-strip-target-examples: install-strip-target-examples
+
+# Dummy target for uninstallable.
+install-strip-target-examples:
+
+@endif target-examples
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-examples info-target-examples
@@ -52560,6 +53989,21 @@ install-target-libffi: installdirs
 
 @endif target-libffi
 
+.PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
+maybe-install-strip-target-libffi:
+@if target-libffi
+maybe-install-strip-target-libffi: install-strip-target-libffi
+
+install-strip-target-libffi: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libffi && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libffi
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libffi info-target-libffi
@@ -53002,6 +54446,21 @@ install-target-libjava: installdirs
 
 @endif target-libjava
 
+.PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
+maybe-install-strip-target-libjava:
+@if target-libjava
+maybe-install-strip-target-libjava: install-strip-target-libjava
+
+install-strip-target-libjava: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(RAW_CXX_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libjava && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libjava
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libjava info-target-libjava
@@ -53444,6 +54903,21 @@ install-target-zlib: installdirs
 
 @endif target-zlib
 
+.PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
+maybe-install-strip-target-zlib:
+@if target-zlib
+maybe-install-strip-target-zlib: install-strip-target-zlib
+
+install-strip-target-zlib: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/zlib && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-zlib
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-zlib info-target-zlib
@@ -53886,6 +55360,21 @@ install-target-boehm-gc: installdirs
 
 @endif target-boehm-gc
 
+.PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
+maybe-install-strip-target-boehm-gc:
+@if target-boehm-gc
+maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
+
+install-strip-target-boehm-gc: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/boehm-gc && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-boehm-gc
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
@@ -54328,6 +55817,21 @@ install-target-qthreads: installdirs
 
 @endif target-qthreads
 
+.PHONY: install-strip-target-qthreads maybe-install-strip-target-qthreads
+maybe-install-strip-target-qthreads:
+@if target-qthreads
+maybe-install-strip-target-qthreads: install-strip-target-qthreads
+
+install-strip-target-qthreads: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/qthreads && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-qthreads
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-qthreads info-target-qthreads
@@ -54770,6 +56274,21 @@ install-target-rda: installdirs
 
 @endif target-rda
 
+.PHONY: install-strip-target-rda maybe-install-strip-target-rda
+maybe-install-strip-target-rda:
+@if target-rda
+maybe-install-strip-target-rda: install-strip-target-rda
+
+install-strip-target-rda: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/rda && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-rda
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-rda info-target-rda
@@ -55212,6 +56731,21 @@ install-target-libada: installdirs
 
 @endif target-libada
 
+.PHONY: install-strip-target-libada maybe-install-strip-target-libada
+maybe-install-strip-target-libada:
+@if target-libada
+maybe-install-strip-target-libada: install-strip-target-libada
+
+install-strip-target-libada: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libada && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libada
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libada info-target-libada
@@ -56180,6 +57714,21 @@ install-target-libgomp: installdirs
 
 @endif target-libgomp
 
+.PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
+maybe-install-strip-target-libgomp:
+@if target-libgomp
+maybe-install-strip-target-libgomp: install-strip-target-libgomp
+
+install-strip-target-libgomp: installdirs
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(NORMAL_TARGET_EXPORTS) \
+       (cd $(TARGET_SUBDIR)/libgomp && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libgomp
+
 # Other targets (info, dvi, pdf, etc.)
 
 .PHONY: maybe-info-target-libgomp info-target-libgomp
@@ -58882,6 +60431,7 @@ html-stage4-gcc: maybe-all-build-libiberty
 html-stageprofile-gcc: maybe-all-build-libiberty
 html-stagefeedback-gcc: maybe-all-build-libiberty
 install-gcc: maybe-install-fixincludes
+install-strip-gcc: maybe-install-strip-fixincludes
 configure-libcpp: configure-libiberty
 
 configure-stage1-libcpp: configure-stage1-libiberty
@@ -59094,7 +60644,9 @@ all-stage4-binutils: maybe-all-stage4-intl
 all-stageprofile-binutils: maybe-all-stageprofile-intl
 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
 install-binutils: maybe-install-opcodes
+install-strip-binutils: maybe-install-strip-opcodes
 install-opcodes: maybe-install-bfd
+install-strip-opcodes: maybe-install-strip-bfd
 configure-gas: maybe-configure-intl
 
 configure-stage1-gas: maybe-configure-stage1-intl
@@ -59205,6 +60757,7 @@ all-stage4-ld: maybe-all-stage4-intl
 all-stageprofile-ld: maybe-all-stageprofile-intl
 all-stagefeedback-ld: maybe-all-stagefeedback-intl
 install-ld: maybe-install-gold
+install-strip-ld: maybe-install-strip-gold
 configure-gold: maybe-configure-intl
 
 configure-stage1-gold: maybe-configure-stage1-intl
@@ -59313,6 +60866,7 @@ configure-itcl: maybe-configure-tk
 all-itcl: maybe-all-tcl
 all-itcl: maybe-all-tk
 install-itcl: maybe-install-tcl
+install-strip-itcl: maybe-install-strip-tcl
 configure-tk: maybe-configure-tcl
 all-tk: maybe-all-tcl
 all-sid: maybe-all-libiberty
@@ -59321,7 +60875,9 @@ all-sid: maybe-all-opcodes
 all-sid: maybe-all-tcl
 all-sid: maybe-all-tk
 install-sid: maybe-install-tcl
+install-strip-sid: maybe-install-strip-tcl
 install-sid: maybe-install-tk
+install-strip-sid: maybe-install-strip-tk
 configure-sim: maybe-configure-intl
 all-sim: maybe-all-intl
 all-sim: maybe-all-libiberty
index 37e7e09ae2b5540894886147f45acc9930a06e18..2caa0bb1a4406aadd4e42c4efa17b6ed1aeff590 100644 (file)
@@ -889,6 +889,26 @@ install.all: install-no-fixedincludes
 install-no-fixedincludes: installdirs install-host-nogcc \
        install-target gcc-no-fixedincludes
 
+.PHONY: install-strip
+install-strip:
+       @: $(MAKE); $(unstage)
+       @r=`${PWD_COMMAND}`; export r; \
+       s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+       $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
+
+.PHONY: install-strip-host
+install-strip-host: [+
+  FOR host_modules +] \
+    maybe-install-strip-[+module+][+
+  ENDFOR host_modules +]
+
+.PHONY: install-strip-target
+install-strip-target: [+
+  FOR target_modules +] \
+    maybe-install-strip-target-[+module+][+
+  ENDFOR target_modules +]
+
+
 ### other supporting targets
 
 MAKEDIRS= \
@@ -1174,6 +1194,23 @@ install-[+module+]: installdirs
 [+ ENDIF no_install +]
 @endif [+module+]
 
+.PHONY: install-strip-[+module+] maybe-install-strip-[+module+]
+maybe-install-strip-[+module+]:
+@if [+module+]
+maybe-install-strip-[+module+]: install-strip-[+module+]
+[+ IF no_install +]
+install-strip-[+module+]:
+[+ ELSE install +]
+install-strip-[+module+]: installdirs
+       @: $(MAKE); $(unstage)
+       @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+] install-strip)
+[+ ENDIF no_install +]
+@endif [+module+]
+
 # Other targets (info, dvi, pdf, etc.)
 [+ FOR recursive_targets +]
 .PHONY: maybe-[+make_target+]-[+module+] [+make_target+]-[+module+]
@@ -1286,6 +1323,28 @@ ENDIF raw_cxx +]
 [+ ENDIF no_install +]
 @endif target-[+module+]
 
+.PHONY: install-strip-target-[+module+] maybe-install-strip-target-[+module+]
+maybe-install-strip-target-[+module+]:
+@if target-[+module+]
+maybe-install-strip-target-[+module+]: install-strip-target-[+module+]
+[+ IF no_install +]
+# Dummy target for uninstallable.
+install-strip-target-[+module+]:
+[+ ELSE install +]
+install-strip-target-[+module+]: installdirs
+       @: $(MAKE); $(unstage)
+       @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) [+extra_make_flags+] install-strip)
+[+ ENDIF no_install +]
+@endif target-[+module+]
+
 # Other targets (info, dvi, pdf, etc.)
 [+ FOR recursive_targets +]
 .PHONY: maybe-[+make_target+]-target-[+module+] [+make_target+]-target-[+module+]
index c463e198d0a9df24aa65b4afc183598c6067774b..847727beb86fa5881376d73df49714bb5ff8e9b8 100755 (executable)
--- a/configure
+++ b/configure
@@ -13812,7 +13812,7 @@ else
 
   if test $ok = yes; then
     # An in-tree tool is available and we can use it
-    STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
+    STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 $as_echo "just compiled" >&6; }
   elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
index eac635ae7cd408e839509a5115a6a04303335cd4..1fd25aa48b0840d44ae3ea298982adb5dbdeccf1 100644 (file)
@@ -3204,7 +3204,7 @@ GCC_TARGET_TOOL(lipo, LIPO_FOR_TARGET, LIPO)
 GCC_TARGET_TOOL(nm, NM_FOR_TARGET, NM, [binutils/nm-new])
 GCC_TARGET_TOOL(objdump, OBJDUMP_FOR_TARGET, OBJDUMP, [binutils/objdump])
 GCC_TARGET_TOOL(ranlib, RANLIB_FOR_TARGET, RANLIB, [binutils/ranlib])
-GCC_TARGET_TOOL(strip, STRIP_FOR_TARGET, STRIP, [binutils/strip])
+GCC_TARGET_TOOL(strip, STRIP_FOR_TARGET, STRIP, [binutils/strip-new])
 GCC_TARGET_TOOL(windres, WINDRES_FOR_TARGET, WINDRES, [binutils/windres])
 GCC_TARGET_TOOL(windmc, WINDMC_FOR_TARGET, WINDMC, [binutils/windmc])
 
index b507d65a9f330032bda2d528ebb7dbd45966ecd9..c34189ab1de6219aed3ef593bcd0d7e356f33b08 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install-strip): New phony target.
+       (all, check, install): Also mark as phony.
+
 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * inclhack.def (irix_pthread_init): New fix.
index f91a70d2e6e980ded8631a117d6666a413f8e450..e335997d35acc1bcebb289a47eac019ff1f8c4e2 100644 (file)
@@ -188,6 +188,11 @@ install : all
          $(DESTDIR)$(itoolsdir)/fixincl@EXEEXT@
        $(INSTALL_SCRIPT) mkheaders $(DESTDIR)$(itoolsdir)/mkheaders
 
+install-strip: install
+       test -z '$(STRIP)' \
+         || $(STRIP) $(DESTDIR)$(itoolsdir)/fixincl@EXEEXT@
+
+.PHONY: all check install install-strip
 .PHONY: dvi pdf info html install-pdf install-info install-html
 
 dvi :
index c6da1be8a3ddc5037d0227832e83578fe651342f..9544c3ce3e71ecb15cb59f4a48f795ac49e7af67 100644 (file)
@@ -1,3 +1,16 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
+       variables.
+       (AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
+       shell quoting.
+       (STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
+       (install-strip): New target.
+       (STRIPPROG): New variable, exported if STRIP is set.
+       * doc/install.texi (Final install): Minor markup and code style
+       fixes.  Document install-strip target.
+
 2010-11-20  Paul Koning  <ni1d@arrl.net>
 
        * config/pdp11/pdp11-protos.h (pdp11_initial_elimination_offset,
index 5491aeaf4d057012e108a8ca137ffd77b556c4b1..98f06e9f91064199317e5d68aab3fc36a8a3c624 100644 (file)
@@ -22,7 +22,7 @@
 #<http://www.gnu.org/licenses/>.
 
 # The targets for external use include:
-# all, doc, install, install-cross, install-cross-rest,
+# all, doc, install, install-cross, install-cross-rest, install-strip,
 # uninstall, TAGS, mostlyclean, clean, distclean, maintainer-clean.
 
 # This is the default target.
@@ -255,6 +255,8 @@ LN_S=@LN_S@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL@
+install_sh = $(SHELL) $(srcdir)/../install-sh
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
 MAKEINFO = @MAKEINFO@
 MAKEINFOFLAGS = --no-split
 TEXI2DVI = texi2dvi
@@ -387,7 +389,7 @@ AR_FOR_TARGET := $(shell \
     if [ "$(host)" = "$(target)" ] ; then \
       echo $(AR); \
     else \
-       t='$(program_transform_name)'; echo ar | sed -e $$t ; \
+       t='$(program_transform_name)'; echo ar | sed -e "$$t" ; \
     fi; \
   fi)
 AR_FLAGS_FOR_TARGET =
@@ -402,20 +404,20 @@ RANLIB_FOR_TARGET := $(shell \
     if [ "$(host)" = "$(target)" ] ; then \
       echo $(RANLIB); \
     else \
-       t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
+       t='$(program_transform_name)'; echo ranlib | sed -e "$$t" ; \
     fi; \
   fi)
 ORIGINAL_LD_FOR_TARGET = @ORIGINAL_LD_FOR_TARGET@
 ORIGINAL_NM_FOR_TARGET = @ORIGINAL_NM_FOR_TARGET@
 NM_FOR_TARGET = ./nm
 STRIP_FOR_TARGET := $(shell \
-  if [ -f $(objdir)/../binutils/strip ] ; then \
-    echo $(objdir)/../binutils/strip ; \
+  if [ -f $(objdir)/../binutils/strip-new ] ; then \
+    echo $(objdir)/../binutils/strip-new ; \
   else \
     if [ "$(host)" = "$(target)" ] ; then \
       echo strip; \
     else \
-       t='$(program_transform_name)'; echo strip | sed -e $$t ; \
+       t='$(program_transform_name)'; echo strip | sed -e "$$t" ; \
     fi; \
   fi)
 
@@ -4488,7 +4490,7 @@ maintainer-clean:
        -rm -f gcc.??s gcc.*aux
        -rm -f $(gcc_docdir)/*.info $(gcc_docdir)/*.1 $(gcc_docdir)/*.7 $(gcc_docdir)/*.dvi $(gcc_docdir)/*.pdf
 #\f
-# Entry points `install' and `uninstall'.
+# Entry points `install', `install-strip', and `uninstall'.
 # Also use `install-collect2' to install collect2 when the config files don't.
 
 # Copy the compiler files into directories where they will be run.
@@ -4502,6 +4504,13 @@ ifeq ($(enable_plugin),yes)
 install: install-plugin
 endif
 
+install-strip: override INSTALL_PROGRAM = $(INSTALL_STRIP_PROGRAM)
+ifneq ($(STRIP),)
+install-strip: STRIPPROG = $(STRIP)
+export STRIPPROG
+endif
+install-strip: install
+
 # Handle cpp installation.
 install-cpp: installdirs cpp$(exeext)
        -rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
index 183e545d8eb7f0af553d8fc5cedf6377b848857d..6395ff955a3aaeb64594abb89a958f277d4d9bf4 100644 (file)
@@ -92,7 +92,7 @@ SHLIB_LINK = $(LN_S) -f $(SHLIB_MAP) $(SHLIB_MAP).def && \
 # libgcc.mk.  We want this delayed until actual install time.
 SHLIB_INSTALL = \
        $$(mkinstalldirs) $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
-       $(INSTALL_PROGRAM) $(SHLIB_DIR)/$(SHLIB_SONAME) \
+       $(INSTALL) $(SHLIB_DIR)/$(SHLIB_SONAME) \
          $$(DESTDIR)$$(bindir)/$(SHLIB_SONAME); \
        $(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_IMPLIB) \
          $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_IMPLIB)
index 1c9d4630513c2b3c40a074532cfdb8019daa7b86..e67793ac5ea9291b604af38e0937186a8399f06f 100644 (file)
@@ -2617,7 +2617,7 @@ messages may be automatically processed.
 
 Now that GCC has been built (and optionally tested), you can install it with
 @smallexample
-cd @var{objdir}; make install
+cd @var{objdir} && make install
 @end smallexample
 
 We strongly recommend to install into a target directory where there is
@@ -2653,7 +2653,8 @@ jail can be achieved with the command
 make DESTDIR=@var{path-to-rootdir} install
 @end smallexample
 
-@noindent where @var{path-to-rootdir} is the absolute path of
+@noindent
+where @var{path-to-rootdir} is the absolute path of
 a directory relative to which all installation paths will be
 interpreted.  Note that the directory specified by @code{DESTDIR}
 need not exist yet; it will be created if necessary.
@@ -2667,6 +2668,12 @@ it will not be created otherwise.  This is regarded as a feature,
 not as a bug, because it gives slightly more control to the packagers
 using the @code{DESTDIR} feature.
 
+You can install stripped programs and libraries with
+
+@smallexample
+make install-strip
+@end smallexample
+
 If you are bootstrapping a released version of GCC then please
 quickly review the build status page for your release, available from
 @uref{http://gcc.gnu.org/buildstat.html}.
index b507326ba7d2c69b76447f07d7fc6582e79e0b05..83f30164c063aa58188dd889db46d9db25fdd05a 100644 (file)
@@ -1,3 +1,11 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install-strip): New phony target.
+       (check, installcheck, info, dvi, pdf, html, install)
+       (install-info, install-pdf, install-html, mostlyclean)
+       (clean, distclean, maintainer-clean): Mark phony.
+
 2010-01-09  Simon Wright  <simon@pushface.org>
 
        PR ada/42659
index 931989678576241f1029d7687226cc71145b2667..3718b30593f90d6d6340001d2fbc2ef788cbb777 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for gnattools
-#   Copyright 2003, 2004, 2009 Free Software Foundation, Inc.
+#   Copyright 2003, 2004, 2009, 2010 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -274,18 +274,24 @@ pdf:
 # Build HTML (none here).
 html:
 
+.PHONY: check installcheck info dvi pdf html
+
 # Build TAGS (none here).
 TAGS:
 
 # Installation rules.
 install:
 
+install-strip: install
+
 install-info:
 
 install-pdf:
 
 install-html:
 
+.PHONY: install install-strip install-info install-pdf install-html
+
 # Cleaning rules.
 mostlyclean:
 
@@ -296,6 +302,8 @@ distclean:
 
 maintainer-clean:
 
+.PHONY: mostlyclean clean distclean maintainer-clean
+
 # Rules for rebuilding this Makefile.
 Makefile: $(srcdir)/Makefile.in config.status
        CONFIG_FILES=$@ ; \
index deffec6515f2319a877115caac2d8581d7d4b5d7..321712898be8e3770bfb8417eb298c69a291f08c 100644 (file)
@@ -1,3 +1,11 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install-strip): New phony target.
+       (check, installcheck, info, dvi, pdf, html, install)
+       (install-info, install-pdf, install-html, mostlyclean)
+       (clean, distclean, maintainer-clean): Mark phony.
+
 2009-10-24  Eric Botcazou  <ebotcazou@adacore.com>
 
        * Makefile.in (GNATLIBCFLAGS_FOR_C): New variable.
index 01fa8362374a89998cccf39aaf901bcc0c2a88cf..cd518239b21e4248c752df8c62a2208467af8b71 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for libada.
-#   Copyright 2003, 2004, 2009 Free Software Foundation, Inc.
+#   Copyright 2003, 2004, 2009, 2010 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
 all: gnatlib
        $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
 
-.PHONY: all install
+.PHONY: all
 
 ## Multilib support variables.
 MULTISRCTOP =
@@ -144,16 +144,22 @@ html:
 # Build TAGS (none here).
 TAGS:
 
+.PHONY: check installcheck info dvi pdf html
+
 # Installation rules.
 install: install-gnatlib
        $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
 
+install-strip: install
+
 install-info:
 
 install-pdf:
 
 install-html:
 
+.PHONY: install install-strip install-info install-pdf install-html
+
 # Cleaning rules.
 mostlyclean:
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
@@ -167,6 +173,8 @@ distclean:
 
 maintainer-clean:
 
+.PHONY: mostlyclean clean distclean maintainer-clean
+
 # Rules for rebuilding this Makefile.
 Makefile: $(srcdir)/Makefile.in config.status
        CONFIG_FILES=$@ ; \
index 21099ab697d0b73f548e4aaa5389d44645301bf9..0f18b561aca56d3b208f8a2f50e0c128b0b04de7 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install-strip): New phony target.
+
 2010-11-07  Ian Lance Taylor  <iant@google.com>
 
        PR target/46089
index 631af5ada0441662406813ed19ef9155cf76cd28..dc4838fdbe139029666644220b5046a60cf869fb 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in
 
-# Copyright (C) 2005, 2006, 2009 Free Software Foundation
+# Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation
 #
 # This file is part of GCC.
 #
@@ -975,7 +975,9 @@ install-leaf: $(install-shared) $(install-libunwind)
 install: install-leaf
        @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
 
-.PHONY: install install-shared install-libunwind
+install-strip: install
+
+.PHONY: install install-shared install-libunwind install-strip
 
 # Don't export variables to the environment, in order to not confuse
 # configure.
index ed0d0557e16f7ba0a637c6d15da37150971931d9..c8d72aee502403d4f450609357a32efb3d694392 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install-strip): New phony target.
+       (install): Also mark as phony.
+
 2010-11-16  Ian Lance Taylor  <iant@google.com>
 
        * simple-object.c (simple_object_attributes_merge): Rename from
index 7a8bb02195e713966447c89eee291ea54963f048..ef35453c031023e07c893fd8a3fee326817378da 100644 (file)
@@ -341,6 +341,9 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
 
 INSTALL_DEST = @INSTALL_DEST@
 install: install_to_$(INSTALL_DEST) install-subdir
+install-strip: install
+
+.PHONY: install install-strip
 
 # This is tricky.  Even though CC in the Makefile contains
 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the