Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Wed, 26 Jun 1996 15:29:26 +0000 (15:29 +0000)
committerroland <roland>
Wed, 26 Jun 1996 15:29:26 +0000 (15:29 +0000)
Move DB code into separate -ldb library.
* db/Makefile (extra-libs): New variable, list libdb.
(routines): Renamed to libdb-routines.
* shlib-versions: Add libdb=2.

db/Makefile
shlib-versions

index 48e2570..2c678df 100644 (file)
@@ -8,14 +8,16 @@ subdir = db
 subdir-dirs = btree db hash mpool recno
 vpath %.c $(subdir-dirs)
 
-routines := bt_close bt_conv bt_debug bt_delete bt_get bt_open bt_overflow \
-           bt_page bt_put bt_search bt_seq bt_split bt_utils              \
-           db                                                             \
-           hash hash_bigkey hash_buf hash_func hash_log2 hash_page        \
-           ndbm                                                           \
-           mpool                                                          \
-           rec_close rec_delete rec_get rec_open rec_put rec_search       \
-           rec_seq rec_utils
+extra-libs := libdb
+libdb-routines := bt_close bt_conv bt_debug bt_delete bt_get \
+                 bt_open bt_overflow bt_page bt_put bt_search \
+                 bt_seq bt_split bt_utils \
+                 db \
+                 hash hash_bigkey hash_buf hash_func hash_log2 hash_page \
+                 ndbm \
+                 mpool \
+                 rec_close rec_delete rec_get rec_open rec_put rec_search \
+                 rec_seq rec_utils
 
 headers                := db.h mpool.h ndbm.h
 distribute     := compat.h                                     \
index 1bf19da..075dab3 100644 (file)
@@ -40,3 +40,6 @@ alpha-*-linux*                libc=6
 # names given in /etc/nsswitch.conf.
 *-*-*                  libnss_files=1
 *-*-*                  libnss_dns=1
+
+# We use libdb.so.2 for the interface in version 1.85 of the Berkeley DB code.
+*-*-*                  libdb=2