mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 00:02:14 -04:00
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
21 lines
633 B
Makefile
21 lines
633 B
Makefile
PROG= dbtest
|
|
OBJS= dbtest.o strerror.o
|
|
|
|
# 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
|
|
CFLAGS+=-D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}
|
|
|
|
dbtest: ${OBJS} ${PORTDIR}/libdb.a
|
|
${CC} -o ${.TARGET} ${OBJS} ${PORTDIR}/libdb.a
|
|
|
|
strerror.o: ${PORTDIR}/clib/strerror.c
|
|
${CC} -c ${PORTDIR}/clib/strerror.c
|
|
|
|
clean:
|
|
rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3
|
|
|
|
${OBJS}: Makefile
|