* Makefile.in: libkdb5.so needs to be built with
authorEzra Peisach <epeisach@mit.edu>
Tue, 23 Jul 1996 15:11:46 +0000 (15:11 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 23 Jul 1996 15:11:46 +0000 (15:11 +0000)
libcrypto and libkrb5.

* configure.in: Pass version numbers of teh crypto and krb5 shared
libraries.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8780 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/ChangeLog
src/lib/kdb/Makefile.in
src/lib/kdb/configure.in

index 4e5440cc910b5b5b77c25a249628fb119a43759d..aac1b5a1e55686c1995ae0464520ef68c83e40cf 100644 (file)
@@ -1,3 +1,11 @@
+Tue Jul 23 11:09:08 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * Makefile.in: libkdb5.so needs to be built with
+               libcrypto and libkrb5.
+
+       * configure.in: Pass version numbers of teh crypto and krb5 shared
+               libraries. 
+
 Fri Jul 12 15:32:26 1996  Marc Horowitz  <marc@mit.edu>
 
        * kdb_cpw.c (add_key_pwd): initialize retval = 0, in case the
index ba683222a46118b037e649e5810c6b9bd491e2d1..0451b37ea99def0fd6a426acbede9b12b871bee7 100644 (file)
@@ -1,6 +1,17 @@
 CFLAGS = $(CCOPTS) $(DEFS)
 KRB5_RUN_ENV = @KRB5_RUN_ENV@
 
+KRB5_VER=@KRB5_SH_VERS@
+CRYPTO_VER=@CRYPTO_SH_VERS@
+DEPLIBS=$(TOPLIBD)/libkrb5.$(SHEXT).$(KRB5_VER) \
+       $(TOPLIBD)/libcrypto.$(SHEXT).$(CRYPTO_VER)
+
+SHLIB_LIBS=-lkrb5 -lcrypto
+SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@ 
+SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
+
+
+
 all:: $(OBJS)
 
 .c.o:
index e480603e4ce88f5b5a3cbf723b39744df5438dff..0c12c7d5d4215c34097520453ad8c439200b651d 100644 (file)
@@ -14,4 +14,8 @@ V5_MAKE_SHARED_LIB(libkdb5,0.1,.., ./kdb)
 LinkFileDir(../libkdb5.a, libkdb5.a, ./kdb)
 AppendRule([all:: libkdb5.a])
 AppendRule([all-unix:: ../libkdb5.a])
+KRB5_SH_VERS=$krb5_cv_shlib_version_libkrb5
+AC_SUBST(KRB5_SH_VERS)
+CRYPTO_SH_VERS=$krb5_cv_shlib_version_libcrypto
+AC_SUBST(CRYPTO_SH_VERS)
 V5_AC_OUTPUT_MAKEFILE