1996-02-27 01:59:15 +00:00
|
|
|
# @(#)Makefile 8.15 (Berkeley) 7/28/94
|
2001-08-03 21:45:54 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
PROG= dbtest
|
|
|
|
OBJS= dbtest.o strerror.o
|
|
|
|
|
1996-02-27 01:59:15 +00:00
|
|
|
# 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.
|
|
|
|
INC= -I${PORTDIR}/include -I${PORTDIR}
|
|
|
|
OORG= -g
|
|
|
|
#STAT= -DSTATISTICS
|
2001-08-03 21:45:54 +00:00
|
|
|
CFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}
|
1994-05-27 05:00:24 +00:00
|
|
|
|
1996-02-27 01:59:15 +00:00
|
|
|
dbtest: ${OBJS} ${PORTDIR}/libdb.a
|
1998-09-11 05:31:45 +00:00
|
|
|
${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a
|
1994-05-27 05:00:24 +00:00
|
|
|
|
1996-02-27 01:59:15 +00:00
|
|
|
strerror.o: ${PORTDIR}/clib/strerror.c
|
|
|
|
${CC} -c ${PORTDIR}/clib/strerror.c
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
clean:
|
1996-02-27 01:59:15 +00:00
|
|
|
rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3
|
|
|
|
|
|
|
|
${OBJS}: Makefile
|