Rename module to "db2"
authorKen Raeburn <raeburn@mit.edu>
Wed, 6 Jul 2005 23:22:18 +0000 (23:22 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 6 Jul 2005 23:22:18 +0000 (23:22 +0000)
* Makefile.in (LIBBASE): Change to db2.
(LIBMAJOR): Change to 0.
(all): Deleted explicit dependency.
(all-unix): Added here, without "lib" prefix.
(clean-unix): Drop clean-liblinks.
* db2_exp.c: (krb5_db_vftabl_db2): Renamed from ..._kdb_db2.
* db2.exports: Rename from libkdb_db2.exports, update for symbol name change.

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

src/lib/kdb/kdb_db2/ChangeLog
src/lib/kdb/kdb_db2/Makefile.in
src/lib/kdb/kdb_db2/db2.exports [new file with mode: 0644]
src/lib/kdb/kdb_db2/db2_exp.c
src/lib/kdb/kdb_db2/libkdb_db2.exports [deleted file]

index 921162e80a3b6b2a9dc3e1459ca8e1d30a2e6f70..d30944c94c90328a739ad631941abcccc199e027 100644 (file)
@@ -1,3 +1,14 @@
+2005-07-06  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Change to db2.
+       (LIBMAJOR): Change to 0.
+       (all): Deleted explicit dependency.
+       (all-unix): Added here, without "lib" prefix.
+       (clean-unix): Drop clean-liblinks.
+       * db2_exp.c: (krb5_db_vftabl_db2): Renamed from ..._kdb_db2.
+       * db2.exports: Rename from libkdb_db2.exports, update for symbol
+       name change.
+
 2005-07-01  Ken Raeburn  <raeburn@mit.edu>
 
        * kdb_db2.c: Reindent.  Use ISO C function decl style.  Delete
index 9d6f44c385cb48017f829cca8cea5b41f28fa0d7..eaba89d6bba4d4b5b378f4fa7c8796bd453d5ace 100644 (file)
@@ -9,8 +9,8 @@ PROG_RPATH=$(KRB5_LIBDIR)
 
 LOCALINCLUDES = -I..
 
-LIBBASE=kdb_db2
-LIBMAJOR=4
+LIBBASE=db2
+LIBMAJOR=0
 LIBMINOR=0
 RELDIR=kdb/kdb_db2
 SO_EXT=.so
@@ -31,8 +31,6 @@ DBOBJLISTS-k5 = $(DBDIR)/hash/OBJS.ST $(DBDIR)/btree/OBJS.ST \
        $(DBDIR)/db/OBJS.ST $(DBDIR)/mpool/OBJS.ST $(DBDIR)/recno/OBJS.ST \
        $(DBDIR)/clib/OBJS.ST
 
-all:: lib$(LIBBASE)$(SO_EXT)
-
 SRCS= \
        $(srcdir)/kdb_xdr.c \
        $(srcdir)/adb_openclose.c \
@@ -50,9 +48,9 @@ STLIBOBJS= \
        pol_xdr.o \
        db2_exp.o
 
-all-unix::
+all-unix:: $(LIBBASE)$(SO_EXT)
 install-unix:: install-libs
-clean-unix:: clean-liblinks clean-libs clean-libobjs
+clean-unix:: clean-libs clean-libobjs
 
 #lib$(LIBBASE)$(SO_EXT): db2_exp.o
 #      $(CC) -shared -o $@ -L$(TOPLIBD) $^ -ldb $(SHLIB_EXPLIBS)
diff --git a/src/lib/kdb/kdb_db2/db2.exports b/src/lib/kdb/kdb_db2/db2.exports
new file mode 100644 (file)
index 0000000..25320ff
--- /dev/null
@@ -0,0 +1 @@
+krb5_db_vftabl_db2
index f511487f1c55475a2a5d401c89e0ae26c9a20e90..5e88b7fb282d14bf72984d62a2d7b4933aa26c94 100644 (file)
@@ -29,7 +29,7 @@ static char *_csrc = "@(#) %filespec: db2_exp.c~5 %  (%full_filespec: db2_exp.c~
  *      Exposed API
  */
 
-kdb_vftabl krb5_db_vftabl_kdb_db2 = {
+kdb_vftabl krb5_db_vftabl_db2 = {
   1,                                      /* major version number 1 */
   0,                                      /* minor version number 0 */
   0,                                      /* TBD. Not sure whether thread safe. For now, its not */
diff --git a/src/lib/kdb/kdb_db2/libkdb_db2.exports b/src/lib/kdb/kdb_db2/libkdb_db2.exports
deleted file mode 100644 (file)
index b6902eb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-krb5_db_vftabl_kdb_db2