1ef5d438eSPaul Traina# @(#)Makefile 8.15 (Berkeley) 7/28/94 2a7dff00bSBruce Evans# $FreeBSD$ 358f0484fSRodney W. Grimes 458f0484fSRodney W. GrimesPROG= dbtest 558f0484fSRodney W. GrimesOBJS= dbtest.o strerror.o 658f0484fSRodney W. Grimes 7ef5d438eSPaul Traina# Uncomment the STAT line get hash and btree statistical use info. This 8ef5d438eSPaul Traina# also forces ld to load the btree debug functions for use by gdb, which 9ef5d438eSPaul Traina# is useful. The db library has to be compiled with -DSTATISTICS as well. 10ef5d438eSPaul TrainaINC= -I${PORTDIR}/include -I${PORTDIR} 11ef5d438eSPaul TrainaOORG= -g 12ef5d438eSPaul Traina#STAT= -DSTATISTICS 13a7dff00bSBruce EvansCFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC} 1458f0484fSRodney W. Grimes 15ef5d438eSPaul Trainadbtest: ${OBJS} ${PORTDIR}/libdb.a 16df196cc8SWarner Losh ${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a 1758f0484fSRodney W. Grimes 18ef5d438eSPaul Trainastrerror.o: ${PORTDIR}/clib/strerror.c 19ef5d438eSPaul Traina ${CC} -c ${PORTDIR}/clib/strerror.c 2058f0484fSRodney W. Grimes 2158f0484fSRodney W. Grimesclean: 22ef5d438eSPaul Traina rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3 23ef5d438eSPaul Traina 24ef5d438eSPaul Traina${OBJS}: Makefile 25