#	@(#)Makefile	8.15 (Berkeley) 7/28/94

PROG=	dbtest
OBJS=	dbtest.o

machtype=`/bin/athena/machtype`
PORTDIR=../PORT/${machtype}
INC=	-I../PORT/${machtype}/include -I../include
OORG=	-g
CFLAGS=	-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}

# Uncomment the STAT line get hash and btree statistical use info.  This
# also forces ld to load the btree debug functions for use by gdb, which
# is useful.  The db library has to be compiled with -DSTATISTICS as well.
#STAT=	-DSTATISTICS

dbtest: ${OBJS}
	${CC} -o $@ ${OBJS} ${PORTDIR}/libdb.a

clean:
	rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3

${OBJS}: Makefile
