diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-12-27 11:26:06 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-12-27 11:26:06 +0000 |
commit | edbf8b16980a483c70cce6fc94401ec6936a9789 (patch) | |
tree | ee80a7224f10677f4d592b09e2efde4da4b09194 /libgcc | |
parent | 22ccaaeea70de15c24476b4a6828bfbcff6bfea9 (diff) | |
download | gcc-edbf8b16980a483c70cce6fc94401ec6936a9789.zip gcc-edbf8b16980a483c70cce6fc94401ec6936a9789.tar.gz gcc-edbf8b16980a483c70cce6fc94401ec6936a9789.tar.bz2 |
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
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/Makefile.in | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index d5481be..68f4c50 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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> diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index 24894e6..3acf2e8 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -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 |