Makefile.in (all): Use install-leaf rather than install.

libgcc/
	* Makefile.in (all): Use install-leaf rather than install.
	(install): Split most of the rule into...
	(install-leaf): ...this new one.

From-SVN: r131198
This commit is contained in:
Richard Sandiford 2007-12-27 11:26:06 +00:00 committed by Richard Sandiford
parent 22ccaaeea7
commit edbf8b1698
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
* Makefile.in (all): Use install-leaf rather than install.
(install): Split most of the rule into...
(install-leaf): ...this new one.
2007-12-19 Etsushi Kato <ek.kato@gmail.com>
Paolo Bonzini <bonzini@gnu.org>

View File

@ -100,7 +100,7 @@ all: all-multi
# them back to the GCC directory. Too many things (other
# in-tree libraries, and DejaGNU) know about the layout
# of the build tree, for now.
$(MAKE) install DESTDIR=$(gcc_objdir) \
$(MAKE) install-leaf DESTDIR=$(gcc_objdir) \
slibdir= libsubdir= MULTIOSDIR=$(MULTIDIR)
.PHONY: all-multi
@ -884,7 +884,7 @@ install-shared:
@shlib_base_name@,libgcc_s,$(subst \
@shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL))))
install: $(install-shared) $(install-libunwind)
install-leaf: $(install-shared) $(install-libunwind)
$(mkinstalldirs) $(DESTDIR)$(inst_libdir)
$(INSTALL_DATA) libgcc.a $(DESTDIR)$(inst_libdir)/
@ -900,6 +900,7 @@ install: $(install-shared) $(install-libunwind)
$(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \
done
install: install-leaf
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
.PHONY: install install-shared install-libunwind