Patch from Alexandre Oliva to fix SunOS4 install problem.

* Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
	to all filenames in libdir and tooldir.

From-SVN: r15210
This commit is contained in:
Jim Wilson 1997-09-10 02:46:16 +00:00 committed by Jim Wilson
parent 113952ef50
commit c6b50f1082
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Tue Sep 9 19:39:12 1997 Jim Wilson <wilson@cygnus.com>
* Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
to all filenames in libdir and tooldir.
Fri Sep 5 17:28:50 1997 Jim Wilson <wilson@cygnus.com> Fri Sep 5 17:28:50 1997 Jim Wilson <wilson@cygnus.com>
* Makefile.in (distclean): Do MULTICLEAN before deleting Makefile. * Makefile.in (distclean): Do MULTICLEAN before deleting Makefile.

View File

@ -172,15 +172,15 @@ INSTALL_DEST = libdir
install: install_to_$(INSTALL_DEST) install: install_to_$(INSTALL_DEST)
install_to_libdir: all install_to_libdir: all
$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n
( cd $(libdir) ; $(RANLIB) $(libdir)/$(TARGETLIB).n ) ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB).n )
mv -f $(libdir)/$(TARGETLIB).n $(libdir)$(MULTISUBDIR)/$(TARGETLIB) mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
install_to_tooldir: all install_to_tooldir: all
$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib/$(TARGETLIB).n $(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB).n
( cd $(tooldir) ; $(RANLIB) $(tooldir)/lib/$(TARGETLIB).n ) ( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB).n )
mv -f $(tooldir)/lib/$(TARGETLIB).n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB) mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB).n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
# The default configuration adds to libiberty all those functions that are # The default configuration adds to libiberty all those functions that are