diff options
author | Paul Park <pjpark@mit.edu> | 1995-06-15 22:34:56 +0000 |
---|---|---|
committer | Paul Park <pjpark@mit.edu> | 1995-06-15 22:34:56 +0000 |
commit | b3e348a072ba88a2ae1b28ed58dc0b5249b9cb91 (patch) | |
tree | 40f4f5b31ddbca1f791d2f080e3da04cf3bcc109 /src/admin/create | |
parent | 821ce16c47b36ff3f947fbe0773114bf5bdafc59 (diff) | |
download | krb5-b3e348a072ba88a2ae1b28ed58dc0b5249b9cb91.tar.gz krb5-b3e348a072ba88a2ae1b28ed58dc0b5249b9cb91.tar.xz krb5-b3e348a072ba88a2ae1b28ed58dc0b5249b9cb91.zip |
Shared library Makefile/configure changes and cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/admin/create')
-rw-r--r-- | src/admin/create/ChangeLog | 9 | ||||
-rw-r--r-- | src/admin/create/Makefile.in | 9 | ||||
-rw-r--r-- | src/admin/create/configure.in | 3 |
3 files changed, 14 insertions, 7 deletions
diff --git a/src/admin/create/ChangeLog b/src/admin/create/ChangeLog index 282021fe50..45d5773ca5 100644 --- a/src/admin/create/ChangeLog +++ b/src/admin/create/ChangeLog @@ -1,3 +1,12 @@ + +Thu Jun 15 15:29:39 EDT 1995 Paul Park (pjpark@mit.edu) + * Makefile.in - Change explicit library names to -l<lib> form, and + change target link line to use $(LD) and associated flags. + Also, remove DBMLIB, it wasn't used. + * configure.in - Remove checks for dbm, they are not needed any + more with the Berkeley database code. Add shared library + usage check. + Fri Jun 9 18:14:21 1995 <tytso@rsx-11.mit.edu> * configure.in: Remove standardized set of autoconf macros, which diff --git a/src/admin/create/Makefile.in b/src/admin/create/Makefile.in index ac7658fa1e..3491d9ffe6 100644 --- a/src/admin/create/Makefile.in +++ b/src/admin/create/Makefile.in @@ -2,14 +2,13 @@ CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) LDFLAGS = -g COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a -DBMLIB= -KDBLIB=$(TOPLIBD)/libkdb5.a +KDBLIB=-lkdb5 DEPKDBLIB=$(TOPLIBD)/libkdb5.a all:: -KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB) -DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB) +KLIB = -lkrb5 -lcrypto $(COMERRLIB) +DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) @@ -18,7 +17,7 @@ LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) all:: kdb5_create kdb5_create: kdb5_create.o $(DEPLIBS) - $(CC) $(CFLAGS) -o kdb5_create kdb5_create.o $(LOCAL_LIBRARIES) $(LIBS) + $(LD) $(LDFLAGS) $(LDARGS) -o kdb5_create kdb5_create.o $(LOCAL_LIBRARIES) $(LIBS) install:: $(INSTALL_PROGRAM) kdb5_create $(DESTDIR)$(ADMIN_BINDIR)/kdb5_create diff --git a/src/admin/create/configure.in b/src/admin/create/configure.in index e2115c6e05..f5524a2687 100644 --- a/src/admin/create/configure.in +++ b/src/admin/create/configure.in @@ -1,6 +1,5 @@ AC_INIT(kdb5_create.c) CONFIG_RULES AC_PROG_INSTALL -AC_CHECK_LIB(ndbm,main) -AC_CHECK_LIB(dbm,main) +V5_USE_SHARED_LIB V5_AC_OUTPUT_MAKEFILE |