summaryrefslogtreecommitdiff
path: root/libf2c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-09 08:08:30 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-09 08:08:30 +0000
commit71aad3b8e13b0892e680eefa225e54b97c34e7b8 (patch)
tree7106bfd4173b8293f489f60e551c7adf31bf9590 /libf2c
parentdf2f867dfe49c49d952e473ff1eba3b3bb3021c7 (diff)
downloadgcc-71aad3b8e13b0892e680eefa225e54b97c34e7b8.tar.gz
libf2c:
2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * 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 <ccorn@cs.tu-berlin.de> * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. libobjc: 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * 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 <ccorn@cs.tu-berlin.de> * 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
Diffstat (limited to 'libf2c')
-rw-r--r--libf2c/ChangeLog6
-rw-r--r--libf2c/Makefile.in19
2 files changed, 16 insertions, 9 deletions
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 <ccorn@cs.tu-berlin.de>
+
+ * 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 <jason@redhat.com>
* 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: