aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/t-hpux
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@gcc.gnu.org>2003-01-09 09:00:41 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2003-01-09 09:00:41 +0100
commit90961eff1b6bd2dd3bee8a6e90e41f03e769b5dc (patch)
tree9503bacb1a1c02eac18becc8060a8260c3c91907 /gcc/config/ia64/t-hpux
parent8b26829f59398c76364c6c6275cabbda4aee5b0a (diff)
downloadgcc-90961eff1b6bd2dd3bee8a6e90e41f03e769b5dc.zip
gcc-90961eff1b6bd2dd3bee8a6e90e41f03e769b5dc.tar.gz
gcc-90961eff1b6bd2dd3bee8a6e90e41f03e769b5dc.tar.bz2
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR. (install-gcc-tooldir, install-cpp, installdirs, install-common, install-driver, install-info, install-man, install-headers, install-include-dir, install-headers-tar, install-headers-cpio, install-headers-cp, install-mkheaders, install-collect2, uninstall): Prepend $(DESTDIR) to destination paths in all (un)installation commands. (install-driver): Rewrite $(LN) commands to support DESTDIR with "ln" as well as with "ln -s". (installdirs): Simply use mkinstalldirs. (install-libgcc, install-multilib): Also pass DESTDIR. * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the installation destination variable ldir. * config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpux, config/mips/t-iris5-6, config/pa/t-hpux-shlib, config/rs6000/t-aix43, config/rs6000/t-aix52, config/t-slibgcc-elf-ver, config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir) in the definition of SHLIB_INSTALL. * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to $(libsubdir) in the installation commands. From-SVN: r61076
Diffstat (limited to 'gcc/config/ia64/t-hpux')
-rw-r--r--gcc/config/ia64/t-hpux8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/ia64/t-hpux b/gcc/config/ia64/t-hpux
index d8201f9..7b42fe5 100644
--- a/gcc/config/ia64/t-hpux
+++ b/gcc/config/ia64/t-hpux
@@ -40,9 +40,9 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
$(LN_S) @shlib_base_name@.so @shlib_base_name@.so.0
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
-SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $$(slibdir)/@shlib_base_name@.so.0; \
- rm -f $$(slibdir)/@shlib_base_name@.so; \
- $(LN_S) @shlib_base_name@.so.0 $$(slibdir)/@shlib_base_name@.so; \
- chmod +x $$(slibdir)/@shlib_base_name@.so
+SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $$(DESTDIR)$$(slibdir)/@shlib_base_name@.so.0; \
+ rm -f $$(DESTDIR)$$(slibdir)/@shlib_base_name@.so; \
+ $(LN_S) @shlib_base_name@.so.0 $$(DESTDIR)$$(slibdir)/@shlib_base_name@.so; \
+ chmod +x $$(DESTDIR)$$(slibdir)/@shlib_base_name@.so
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk