From: Ken Raeburn Date: Wed, 6 Jul 2005 23:22:18 +0000 (+0000) Subject: Rename module to "db2" X-Git-Tag: ms-bug-test-20060525~194 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=373c6ec9484db18ede1454c7b74fc2655a0fbebe;p=krb5.git Rename module to "db2" * 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 --- diff --git a/src/lib/kdb/kdb_db2/ChangeLog b/src/lib/kdb/kdb_db2/ChangeLog index 921162e80..d30944c94 100644 --- a/src/lib/kdb/kdb_db2/ChangeLog +++ b/src/lib/kdb/kdb_db2/ChangeLog @@ -1,3 +1,14 @@ +2005-07-06 Ken Raeburn + + * 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 * kdb_db2.c: Reindent. Use ISO C function decl style. Delete diff --git a/src/lib/kdb/kdb_db2/Makefile.in b/src/lib/kdb/kdb_db2/Makefile.in index 9d6f44c38..eaba89d6b 100644 --- a/src/lib/kdb/kdb_db2/Makefile.in +++ b/src/lib/kdb/kdb_db2/Makefile.in @@ -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 index 000000000..25320ff72 --- /dev/null +++ b/src/lib/kdb/kdb_db2/db2.exports @@ -0,0 +1 @@ +krb5_db_vftabl_db2 diff --git a/src/lib/kdb/kdb_db2/db2_exp.c b/src/lib/kdb/kdb_db2/db2_exp.c index f511487f1..5e88b7fb2 100644 --- a/src/lib/kdb/kdb_db2/db2_exp.c +++ b/src/lib/kdb/kdb_db2/db2_exp.c @@ -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 index b6902ebda..000000000 --- a/src/lib/kdb/kdb_db2/libkdb_db2.exports +++ /dev/null @@ -1 +0,0 @@ -krb5_db_vftabl_kdb_db2