]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libc/db/test/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libc / db / test / Makefile
1 #       @(#)Makefile    8.15 (Berkeley) 7/28/94
2 # $FreeBSD$
3
4 PROG=   dbtest
5 OBJS=   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.
10 INC=    -I${PORTDIR}/include -I${PORTDIR}
11 OORG=   -g
12 #STAT=  -DSTATISTICS
13 CFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}
14
15 dbtest: ${OBJS} ${PORTDIR}/libdb.a
16         ${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a
17
18 strerror.o: ${PORTDIR}/clib/strerror.c
19         ${CC} -c ${PORTDIR}/clib/strerror.c
20
21 clean:
22         rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3
23
24 ${OBJS}: Makefile