aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-iris6
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-01-07 01:27:25 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-01-07 01:27:25 -0800
commit2bbea3a6c7e33c373b99411c1e6e2f67c5358fac (patch)
tree6325810f4b727df6611567fe1ab374c2937f896f /gcc/config/mips/t-iris6
parentfc51424cc99b9a247d981b46491dd5d8b7952ef6 (diff)
downloadgcc-2bbea3a6c7e33c373b99411c1e6e2f67c5358fac.zip
gcc-2bbea3a6c7e33c373b99411c1e6e2f67c5358fac.tar.gz
gcc-2bbea3a6c7e33c373b99411c1e6e2f67c5358fac.tar.bz2
Makefile.in (slibdir): New variable.
* Makefile.in (slibdir): New variable. (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc. (installdirs): Create slibdir. (install-libgcc, install-multilib): Defer to libgcc.mk. * configure.in (slibdir): Substitute. * mklibgcc.in (install): New target. * config/t-linux (SHLIB_LINK): Create links for the soname. (SHLIB_INSTALL): New. * config/alpha/t-osf4 (SHLIB_INSTALL): New. * config/mips/t-iris6 (SHLIB_INSTALL): New. * config/rs6000/t-aix43 (SHLIB_INSTALL): New. * config/sparc/t-slibgcc (SHLIB_INSTALL): New. * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New. From-SVN: r38761
Diffstat (limited to 'gcc/config/mips/t-iris6')
-rw-r--r--gcc/config/mips/t-iris63
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6
index 01129b8..7608947 100644
--- a/gcc/config/mips/t-iris6
+++ b/gcc/config/mips/t-iris6
@@ -28,6 +28,9 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
# -hidden_symbol option, which is documented to be ignored in conjunction
# with -exports_file), but fails to actually hide any symbols.
# -Wl,-exports_file,@shlib_map_file@
+SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $(slibdir)/@shlib_base_name@.so.0; \
+ rm -f $(slibdir)/@shlib_base_name@; \
+ $(LN_S) @shlib_base_name@.so.0 $(slibdir)/@shlib_base_name@.so
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver