From 2b7a4d59bb8d0aca5d35c5136e2f997869779159 Mon Sep 17 00:00:00 2001 From: rwild Date: Sat, 20 Nov 2010 19:37:08 +0000 Subject: PR other/46202: implement install-strip. /: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166980 138bc75d-0d04-0410-961f-82ee72b054a4 --- libada/ChangeLog | 8 ++++++++ libada/Makefile.in | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'libada') diff --git a/libada/ChangeLog b/libada/ChangeLog index deffec6515f2..321712898be8 100644 --- a/libada/ChangeLog +++ b/libada/ChangeLog @@ -1,3 +1,11 @@ +2010-11-20 Ralf Wildenhues + + 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 * Makefile.in (GNATLIBCFLAGS_FOR_C): New variable. diff --git a/libada/Makefile.in b/libada/Makefile.in index 01fa8362374a..cd518239b21e 100644 --- a/libada/Makefile.in +++ b/libada/Makefile.in @@ -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=$@ ; \ -- cgit v1.2.3