Sync usage with man page.
[netbsd-mini2440.git] / regress / lib / libc / db / Makefile
blobcc7a9420db8a46e42fff1a2150ccf9d87869f3a5
1 # $NetBSD: Makefile,v 1.18 2003/10/26 07:25:34 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/4/93
4 NOMAN= # defined
5 WARNS=4
7 PROG= dbtest
8 .if defined(LOCALLIBC)
9 SRCS= dbtest.c
10 SRCS+= hash.c hash_bigkey.c hash_buf.c hash_func.c hash_log2.c
11 SRCS+= hash_page.c ndbm.c ndbmdatum.c
12 SRCS+= bt_close.c bt_conv.c bt_debug.c bt_delete.c bt_get.c bt_open.c
13 SRCS+= bt_overflow.c bt_page.c bt_put.c bt_search.c bt_seq.c bt_split.c
14 SRCS+= bt_utils.c
15 SRCS+= rec_close.c rec_delete.c rec_get.c rec_open.c rec_put.c
16 SRCS+= rec_search.c rec_seq.c rec_utils.c
17 SRCS+= db.c
18 SRCS+= mpool.c
19 .PATH.c: /usr/src/lib/libc/db/hash
20 .PATH.c: /usr/src/lib/libc/db/btree
21 .PATH.c: /usr/src/lib/libc/db/recno
22 .PATH.c: /usr/src/lib/libc/db/mpool
23 .PATH.c: /usr/src/lib/libc/db/db
25 # add -DSTATISTICS to CPPFLAGS to get usage statistics. Note that
26 # for this to work, libc must be compiled with -DSTATISTICS as well
27 CPPFLAGS+= -g -D__DBINTERFACE_PRIVATE
28 CPPFLAGS+= -I/usr/src/lib/libc/include
29 CPPFLAGS+= -DDEBUG -DSTATISTICS -DHASH_STATISTICS
30 CPPFLAGS+= -DDEBUG1 -DDEBUG2 -DDEBUG3 -DDEBUG4 -DDEBUG5 -DDIAGNOSTIC
31 .endif
32 CLEANFILES+= t1 t2 t3
34 regress: dbtest
35 ${HOST_SH} ${.CURDIR}/run.test
37 .include <bsd.prog.mk>