1# @(#)Makefile 8.15 (Berkeley) 7/28/94 2# $FreeBSD$ 3 4PROG= dbtest 5OBJS= dbtest.o strerror.o 6 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. 10INC= -I${PORTDIR}/include -I${PORTDIR} 11OORG= -g 12#STAT= -DSTATISTICS 13CFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC} 14 15dbtest: ${OBJS} ${PORTDIR}/libdb.a 16 ${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a 17 18strerror.o: ${PORTDIR}/clib/strerror.c 19 ${CC} -c ${PORTDIR}/clib/strerror.c 20 21clean: 22 rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3 23 24${OBJS}: Makefile 25