echo >> binutils.versions "};"
echo >> binutils.versions "HIDDEN { local: __*; _rest*; _save*; *; };"
-solaris.versions: $(SHLIB_EXPORT_FILE) Makefile
- echo > solaris.versions "{ global:"
- sed >> solaris.versions < $(SHLIB_EXPORT_FILE) "s/$$/;/"
- echo >> solaris.versions " local: *; };"
-
darwin.exports: $(SHLIB_EXPORT_FILE) Makefile
sed > darwin-exports.tmp < $(SHLIB_EXPORT_FILE) "s/^/_/"
$(MV) darwin-exports.tmp darwin.exports
$(RM) lib$(LIBBASE)$(SHLIBSEXT)
$(RM) lib$(LIBBASE)$(SHLIBEXT)
$(RM) lib$(LIBBASE)$(PFLIBEXT)
- $(RM) binutils.versions osf1.exports solaris.versions
+ $(RM) binutils.versions osf1.exports
clean-liblinks:
$(RM) $(TOPLIBD)/lib$(LIBBASE)$(STLIBEXT)
sed >> binutils.versions < $(SHLIB_EXPORT_FILE) "s/$$/;/"
echo >> binutils.versions "};"
-solaris.versions: $(SHLIB_EXPORT_FILE) Makefile
- echo > solaris.versions "{ global:"
- sed >> solaris.versions < $(SHLIB_EXPORT_FILE) "s/$$/;/"
- echo >> solaris.versions " local: *; };"
-
osf1.exports: $(SHLIB_EXPORT_FILE) Makefile
$(RM) osf1.tmp osf1.exports
sed "s/^/-exported_symbol /" < $(SHLIB_EXPORT_FILE) > osf1.tmp
clean-libs:
$(RM) $(LIBBASE)$(SHLIBEXT)
- $(RM) binutils.versions osf1.exports solaris.versions
+ $(RM) binutils.versions osf1.exports
install-libs: $(LIBINSTLIST)
install-shared:
if test "$krb5_cv_prog_gcc" = yes; then
PICFLAGS=-fPIC
LDCOMBINE='$(CC) $(CFLAGS) -shared -h $(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT)'
- LDCOMBINE_TAIL='$(LDFLAGS) -Wl,-M,solaris.versions'
else
PICFLAGS=-KPIC
# Solaris cc doesn't default to stuffing the SONAME field...
LDCOMBINE='$(CC) $(CFLAGS) -dy -G -z text -h $(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT) $$initfini'
- LDCOMBINE_TAIL='$(LDFLAGS) -M solaris.versions'
#
case $krb5_cv_host in
*-*-solaris2.[1-7] | *-*-solaris2.[1-7].*)
;;
esac
fi
- SHLIB_EXPORT_FILE_DEP=solaris.versions
+ LDCOMBINE_TAIL='$(LDFLAGS)'
SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
SHLIBSEXT='.so.$(LIBMAJOR)'
SHLIBEXT=.so