158f0484fSRodney W. Grimes 258f0484fSRodney W. GrimesPROG= dbtest 358f0484fSRodney W. GrimesOBJS= dbtest.o strerror.o 458f0484fSRodney W. Grimes 5ef5d438eSPaul Traina# Uncomment the STAT line get hash and btree statistical use info. This 6ef5d438eSPaul Traina# also forces ld to load the btree debug functions for use by gdb, which 7ef5d438eSPaul Traina# is useful. The db library has to be compiled with -DSTATISTICS as well. 8ef5d438eSPaul TrainaINC= -I${PORTDIR}/include -I${PORTDIR} 9ef5d438eSPaul TrainaOORG= -g 10ef5d438eSPaul Traina#STAT= -DSTATISTICS 11a7dff00bSBruce EvansCFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC} 1258f0484fSRodney W. Grimes 13ef5d438eSPaul Trainadbtest: ${OBJS} ${PORTDIR}/libdb.a 14df196cc8SWarner Losh ${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a 1558f0484fSRodney W. Grimes 16ef5d438eSPaul Trainastrerror.o: ${PORTDIR}/clib/strerror.c 17ef5d438eSPaul Traina ${CC} -c ${PORTDIR}/clib/strerror.c 1858f0484fSRodney W. Grimes 1958f0484fSRodney W. Grimesclean: 20ef5d438eSPaul Traina rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3 21ef5d438eSPaul Traina 22ef5d438eSPaul Traina${OBJS}: Makefile 23