+Sun Mar 9 22:28:34 1997 Tom Yu <tlyu@mit.edu>
+
+ * lib.in: Add provisions for making shared libraries of the same
+ major version number compatible.
+
Sun Mar 2 19:54:26 1997 Ezra Peisach <epeisach@mit.edu>
* pre.in (KRB4COMPAT_DEPLIBS): Depends on KRB5_BASE_DEPLIBS (not
# usually .so.$(LIBMAJOR).$(LIBMINOR)
SHLIBVEXT=@SHLIBVEXT@
+# usually .so.$(LIBMAJOR) (to allow for major-version compat)
+SHLIBSEXT=@SHLIBSEXT@
+
# usually .so
SHLIBEXT=@SHLIBEXT@
$$d/OBJS.SH; done` \
$(SHLIB_EXPFLAGS) \
$(LDCOMBINE_TAIL)
+lib$(LIB)$(SHLIBSEXT): lib$(LIB)$(SHLIBVEXT)
+ $(RM) $@
+ $(LN_S) lib$(LIB)$(SHLIBVEXT) $@
lib$(LIB)$(SHLIBEXT): lib$(LIB)$(SHLIBVEXT)
$(RM) $@
$(LN_S) lib$(LIB)$(SHLIBVEXT) $@
$(TOPLIBD)/lib$(LIB)$(SHLIBEXT): lib$(LIB)$(SHLIBEXT)
$(RM) $@
(cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(SHLIBEXT) .)
+$(TOPLIBD)/lib$(LIB)$(SHLIBSEXT): lib$(LIB)$(SHLIBSEXT)
+ $(RM) $@
+ (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(SHLIBSEXT) .)
$(TOPLIBD)/lib$(LIB)$(SHLIBVEXT): lib$(LIB)$(SHLIBVEXT)
$(RM) $@
(cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(SHLIBVEXT) .)
clean-liblinks:
$(RM) $(TOPLIBD)/lib$(LIB)$(STLIBEXT)
$(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBVEXT)
+ $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBSEXT)
$(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBEXT)
$(RM) $(TOPLIBD)/lib$(LIB)$(PFLIBEXT)
$(INSTALL_DATA) lib$(LIB)$(SHLIBVEXT) $(DESTDIR)$(KRB5_LIBDIR)
(cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIB)$(SHLIBVEXT) \
lib$(LIB)$(SHLIBEXT))
+install-shlib-soname: install-shared
+ $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(SHLIBSEXT)
+ (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIB)$(SHLIBVEXT) \
+ lib$(LIB)$(SHLIBSEXT))
install-profiled:
$(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(PFLIBEXT)
$(INSTALL_DATA) lib$(LIB)$(PFLIBEXT) $(DESTDIR)$(KRB5_LIBDIR)