xref: /openbsd-src/regress/lib/libc/db/Makefile (revision b76af179cda98bcd6c5ce1bcaa62d7645f5d1f3e)
1#	$OpenBSD: Makefile,v 1.11 2021/09/27 18:47:46 bluhm Exp $
2#	$NetBSD: Makefile,v 1.11 1995/12/12 01:54:15 cgd Exp $
3
4PROG=	dbtest
5
6# add -DSTATISTICS to CFLAGS to get usage statistics.  Note that
7# for this to work, libc must be compiled with -DSTATISTICS as well
8CFLAGS+= -g -D__DBINTERFACE_PRIVATE -DDEBUG
9CLEANFILES+= t1 t2 t3 log
10
11DBTARGETS=1 2 3 4 5 6 7 8 9 10 11 12 13 20
12
13.for DT in ${DBTARGETS}
14db-${DT}: ${PROG}
15	sh ${.CURDIR}/run.test ${DT}
16REGRESS_TARGETS+=db-${DT}
17.PHONY: db-${DT}
18.endfor
19
20.include <bsd.regress.mk>
21