OSDN Git Service

libgcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Dec 2007 11:26:06 +0000 (11:26 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Dec 2007 11:26:06 +0000 (11:26 +0000)
* Makefile.in (all): Use install-leaf rather than install.
(install): Split most of the rule into...
(install-leaf): ...this new one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131198 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/Makefile.in

index d5481be..68f4c50 100644 (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>
 
index 24894e6..3acf2e8 100644 (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