Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git] / db / Makefile
blob48e2570c6c5e0bf96fd17b3a096139e0df9fd920
1 # Makefile for 4.4BSD db code in GNU C library.
2 # This code is taken verbatim from the BSD db 1.85 package. Only this
3 # Makefile and compat.h were written for GNU libc, and the header files
4 # moved up to this directory.
6 subdir = db
8 subdir-dirs = btree db hash mpool recno
9 vpath %.c $(subdir-dirs)
11 routines := bt_close bt_conv bt_debug bt_delete bt_get bt_open bt_overflow \
12 bt_page bt_put bt_search bt_seq bt_split bt_utils \
13 db \
14 hash hash_bigkey hash_buf hash_func hash_log2 hash_page \
15 ndbm \
16 mpool \
17 rec_close rec_delete rec_get rec_open rec_put rec_search \
18 rec_seq rec_utils
20 headers := db.h mpool.h ndbm.h
21 distribute := compat.h \
22 btree/btree.h btree/extern.h \
23 hash/extern.h hash/hash.h hash/page.h \
24 recno/extern.h recno/recno.h
26 include ../Rules
28 CPPFLAGS += -D__DBINTERFACE_PRIVATE
30 # This file defines some static functions for alternative hash algorithms
31 # that are not actually used.
32 CFLAGS-hash_func.c := -Wno-unused
34 # The db code outsmarts the compiler frequently.
35 override CFLAGS += -Wno-uninitialized