summaryrefslogtreecommitdiff
path: root/gcc/config/t-slibgcc-sld
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-09 08:00:41 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-09 08:00:41 +0000
commit36f959050ccee30c8856a1cc3c149dc127873b08 (patch)
tree9503bacb1a1c02eac18becc8060a8260c3c91907 /gcc/config/t-slibgcc-sld
parent9df2aa6210a571e6451baa4cad4d7cb532374026 (diff)
downloadgcc-36f959050ccee30c8856a1cc3c149dc127873b08.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-slibgcc-sld')
-rw-r--r--gcc/config/t-slibgcc-sld8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/t-slibgcc-sld b/gcc/config/t-slibgcc-sld
index c11a5721966..6bdd521da1b 100644
--- a/gcc/config/t-slibgcc-sld
+++ b/gcc/config/t-slibgcc-sld
@@ -17,11 +17,11 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
SHLIB_INSTALL = \
- $$(SHELL) $$(srcdir)/mkinstalldirs $$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
+ $$(SHELL) $$(srcdir)/mkinstalldirs $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
$(INSTALL_DATA) $(SHLIB_NAME) \
- $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
- rm -f $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
+ $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
+ rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
$(LN_S) $(SHLIB_SONAME) \
- $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
+ $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
SHLIB_MKMAP = $(srcdir)/mkmap-symver.awk
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver