+Fri Jun 23 12:45:43 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
+
+ * configure.in: New static library targets.
+
+ * Makefile.in : Add new static library target handling.
Fri Jun 16 17:00:04 EDT 1995 Paul Park (pjpark@mit.edu)
* k4_glue.c - Add this module with the "req_act_vno" symbol definition
clean-mac::
clean-windows::
-libdes425.a: $(OBJS)
+libdes425.$(STEXT): $(OBJS)
$(RM) $@
$(ARADD) $@ $(OBJS)
$(RANLIB) $@
dnl
V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
-LinkFileDir(../libdes425.a, libdes425.a, ./des425)
-AppendRule([all:: libdes425.a])
-AppendRule([all-unix:: ../libdes425.a])
V5_MAKE_SHARED_LIB(libdes425)
AC_ARG_ENABLE([shared],
[ --enable-shared build shared libraries],[
[$](INSTALL_DATA) libdes425.[$](SHEXT) \
[$](DESTDIR)[$](KRB5_SHLIBDIR)[$](S)libdes425.[$](SHEXT)])
])dnl
+if test -n "$krb5_cv_staticlibs_enabled" ; then
+ LinkFileDir(../libdes425.[$](STEXT), libdes425.[$](STEXT), ./krb5)
+ AppendRule([install::
+ [$](INSTALL_DATA) libdes425.[$](STEXT) [$](DESTDIR)[$](KRB5_LIBDIR)/libdes425.[$](STEXT)
+ [$](RANLIB) [$](DESTDIR)[$](KRB5_LIBDIR)/libdes425.[$](STEXT)])
+ AppendRule([all-unix:: ../libdes425.[$](STEXT)])
+fi
V5_AC_OUTPUT_MAKEFILE
+Fri Jun 23 12:29:39 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
+
+ * configure.in: Handle generation of rules to make static libs.
+
+ * Makefile.in (LIBNAME): Changed to support new handling of static
+ libraries
+
Fri Jun 16 11:15:45 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change "./DONE" to "DONE" since we know how to make
KRB4_CRYPTO_LIBS=@KRB4_CRYPTO_LIB@
DEPKRB4_LIBS=@DEPKRB4_CRYPTO_LIB@
DEPLIBS=$(TOPLIBD)/libcrypto.$(SHEXT)
-SHLIB_LIBS=$(KRB4_CRYPTO_LIBS) -lcrypto
-SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@ $(LD_UNRESOLVED_PREFIX)_et_list
+SHLIB_LIBS=$(KRB4_CRYPTO_LIBS) -lcrypto -lcom_err
+SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@
SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
#
LIB_KRB_HOSTSRCS=$(srcdir)/unix_glue.c
LIB_KRB_HOSTOBJS=unix_glue.$(OBJEXT)
-LIBNAME=libkrb4.$(LIBEXT)
+LIBNAME=libkrb4.$(STEXT)
ARCHIVEARGS= $@ $(OBJS)
# We want *library* compiler options...
DBG=$(DBG_LIB)
-all-unix:: shared $(LIBNAME) krb_err.h includes
+all-unix:: shared krb_err.h includes
shared:
mkdir shared
SubdirLibraryRule([$(OBJS)])
V5_MAKE_SHARED_LIB(libkrb4)
CopyHeader(krb_err.h,$(EHDRDIR))
-LinkFileDir(../libkrb4.a, libkrb4.a, ./krb4)
-AppendRule([all-unix:: ../libkrb4.a])
AC_ARG_ENABLE([shared],
[ --enable-shared build shared libraries],[
LinkFileDir(../libkrb4.[$](SHEXT), libkrb4.[$](SHEXT), ./krb4)
[$](INSTALL_DATA) libkrb4.[$](SHEXT) \
[$](DESTDIR)[$](KRB5_SHLIBDIR)[$](S)libkrb4.[$](SHEXT)])
])dnl
+if test -n "$krb5_cv_staticlibs_enabled" ; then
+ LinkFileDir(../libkrb4.[$](STEXT), libkrb4.[$](STEXT), ./krb5)
+ AppendRule([install::
+ [$](INSTALL_DATA) libkrb4.[$](STEXT) [$](DESTDIR)[$](KRB5_LIBDIR)/libkrb4.[$](STEXT)
+ [$](RANLIB) [$](DESTDIR)[$](KRB5_LIBDIR)/libkrb4.[$](STEXT)])
+ AppendRule([all-unix:: ../libkrb4.[$](STEXT)])
+fi
V5_AC_OUTPUT_MAKEFILE