1 # @(#)Makefile 8.15 (Berkeley) 7/28/94
5 OBJS= dbtest.o strerror.o
7 # Uncomment the STAT line get hash and btree statistical use info. This
8 # also forces ld to load the btree debug functions for use by gdb, which
9 # is useful. The db library has to be compiled with -DSTATISTICS as well.
10 INC= -I${PORTDIR}/include -I${PORTDIR}
13 CFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}
15 dbtest: ${OBJS} ${PORTDIR}/libdb.a
16 ${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a
18 strerror.o: ${PORTDIR}/clib/strerror.c
19 ${CC} -c ${PORTDIR}/clib/strerror.c
22 rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3