freebsd-src/lib/libc/db/test/Makefile
Warner Losh dc36d6f9bb lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
2023-11-26 22:23:28 -07:00

23 lines
634 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