+
+Fri Jun 30 14:47:53 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --enable-shared check for building libdb shared.
+ While we won't use libdb shared explicitly, we might as well
+ build it since we have to go through the trouble of building
+ the shared objects for libkrb5.
+ * Makefile.in - Add shared library rules.
+
Fri Jun 9 18:59:23 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
LIB_SUBDIRS= hash
LIBUPDATE= $(BUILDTOP)/util/libupdate
+SHLIB_LIBS=
+SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@
+SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
+STEXT=@STEXT@
all:: all-$(WHAT)
AC_PROG_INSTALL
DO_SUBDIRS
AppendRule([all:: libdb.a libdb_ranlib])
+V5_SHARED_LIB_OBJS
+V5_MAKE_SHARED_LIB(libdb)
+AC_ARG_ENABLE([shared],
+[ --enable-shared build shared libraries],[
+LinkFileDir([$](TOPLIBD)/libdb.[$](SHEXT), libdb.[$](SHEXT), ../util/berk_db/hash)
+AppendRule([all -unix:: [$](TOPLIBD)/libdb.$(SHEXT)])
+AppendRule([install:: libdb.[$](SHEXT)
+ [$](INSTALL_DATA) libdb.[$](SHEXT) \
+ [$](DESTDIR)[$](KRB5_SHLIBDIR)[$](S)libdb.[$](SHEXT)])
+])dnl
+if test -n "$krb5_cv_staticlibs_enabled" ; then
+ AppendRule([install:: libdb.[$](STEXT)
+ [$](INSTALL_DATA) libdb.[$](STEXT) [$](DESTDIR)[$](KRB5_LIBDIR)[$](S)libdb.[$](STEXT)])
+ LinkFileDir([$](TOPLIBD)/libdb.[$](STEXT),libdb.[$](STEXT),../util/berk_db/hash)
+ AppendRule([all:: [$](TOPLIBD)/libdb.[$](STEXT)])
+fi
V5_AC_OUTPUT_MAKEFILE
+
+Fri Jun 30 14:49:53 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add shared library object rule.
+ * Makefile.in - Add shared library object rules.
+
Wed Jun 28 00:18:16 1995 Mark Eichin <eichin@cygnus.com>
* configure.in: use AC_CHECK_FUNCS and check for memmove.
.c.o:
$(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
CFLAGS = $(CCOPTS) $(DEFS) -D__DBINTERFACE_PRIVATE $(LOCALINCLUDE) $(HASH_DEBUGOPTS)
$(srcdir)/krb5_ndbm.c \
$(srcdir)/../PORT/clib/mktemp.c
-mktemp.o: $(srcdir)/../PORT/clib/mktemp.c
+mktemp.o: ../PORT/clib/mktemp.c
$(CC) $(CFLAGS) -c $(srcdir)/../PORT/clib/mktemp.c
+@SHARED_RULE@
+
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+
+shared:
+ mkdir shared
-all:: $(OBJS)
AC_HAVE_HEADERS(sys/cdefs.h, CDEFS_INCLUDE=)
AC_SUBST(CDEFS_INCLUDE)
SubdirLibraryRule([$(OBJS)])
+V5_SHARED_LIB_OBJS
V5_AC_OUTPUT_MAKEFILE