From 71aad3b8e13b0892e680eefa225e54b97c34e7b8 Mon Sep 17 00:00:00 2001 From: aj Date: Thu, 9 Jan 2003 08:08:30 +0000 Subject: libf2c: 2003-01-09 Christian Cornelssen * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. (install, uninstall): Prepend $(DESTDIR) to destination paths in all (un)installation commands. libiberty: 2003-01-09 Christian Cornelssen * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. libobjc: 2003-01-09 Christian Cornelssen * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. (install-libs, install-headers): Prepend $(DESTDIR) to destination paths in all (un)installation commands. libstdc++: 2003-01-09 Christian Cornelssen * include/Makefile.am (install-data-local): Prepend $(DESTDIR) to destination paths in all (un)installation commands. Use ${c_base_builddir} and ${std_builddir} as destination subdirectories to achieve consistency with preceding mkinstalldirs commands. No effect because both variables contain "." only. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61082 138bc75d-0d04-0410-961f-82ee72b054a4 --- libf2c/ChangeLog | 6 ++++++ libf2c/Makefile.in | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'libf2c') diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog index 591586586db..cca5e9c7f7b 100644 --- a/libf2c/ChangeLog +++ b/libf2c/ChangeLog @@ -1,3 +1,9 @@ +2003-01-09 Christian Cornelssen + + * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. + (install, uninstall): Prepend $(DESTDIR) to destination + paths in all (un)installation commands. + Wed Dec 18 11:33:35 2002 Jason Merrill * libU77/date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn. diff --git a/libf2c/Makefile.in b/libf2c/Makefile.in index 5806a0b9594..0e93ae44e10 100644 --- a/libf2c/Makefile.in +++ b/libf2c/Makefile.in @@ -81,6 +81,7 @@ FLAGS_TO_PASS= \ WARN_CFLAGS='$(WARN_CFLAGS)' \ CFLAGS='$(CFLAGS)' \ CPPFLAGS='$(CPPFLAGS)' \ + DESTDIR='$(DESTDIR)' \ AR='$(AR)' \ RANLIB='$(RANLIB)' \ prefix='$(prefix)' \ @@ -214,21 +215,21 @@ check: cd libU77; $(MAKE) G77DIR=../../../gcc/ check install: all - $(SHELL) $(toplevel_srcdir)/mkinstalldirs $(glibcpp_toolexeclibdir) - $(LIBTOOL) --mode=install $(INSTALL) $(LIBG2C) $(glibcpp_toolexeclibdir) - $(INSTALL_DATA) libfrtbegin.a $(glibcpp_toolexeclibdir) - $(RANLIB) $(glibcpp_toolexeclibdir)/libfrtbegin.a - $(INSTALL_DATA) g2c.h $(libsubdir)/include/g2c.h + $(SHELL) $(toplevel_srcdir)/mkinstalldirs $(DESTDIR)$(glibcpp_toolexeclibdir) + $(LIBTOOL) --mode=install $(INSTALL) $(LIBG2C) $(DESTDIR)$(glibcpp_toolexeclibdir) + $(INSTALL_DATA) libfrtbegin.a $(DESTDIR)$(glibcpp_toolexeclibdir) + $(RANLIB) $(DESTDIR)$(glibcpp_toolexeclibdir)/libfrtbegin.a + $(INSTALL_DATA) g2c.h $(DESTDIR)$(libsubdir)/include/g2c.h $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="$@" - @-$(LIBTOOL) --mode=finish $(glibcpp_toolexeclibdir) + @-$(LIBTOOL) --mode=finish $(DESTDIR)$(glibcpp_toolexeclibdir) install-strip: $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install uninstall: - rm -f $(libsubdir)/include/g2c.h - rm -f $(glibcpp_toolexeclibdir)/libfrtbegin.a - $(LIBTOOL) --mode=uninstall rm -f $(glibcpp_toolexeclibdir)$(LIBG2C_BASE).la + rm -f $(DESTDIR)$(libsubdir)/include/g2c.h + rm -f $(DESTDIR)$(glibcpp_toolexeclibdir)/libfrtbegin.a + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(glibcpp_toolexeclibdir)$(LIBG2C_BASE).la $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="$@" mostlyclean: -- cgit v1.2.1