summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/db/dbm_dump/Makefile
blob: 3cfce5dffd30138446624168811edf38ecda8db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $OpenBSD: Makefile,v 1.3 2016/09/04 11:51:38 bluhm Exp $

PROG =		dbm_dump
CPPFLAGS +=	-I${BSDSRCDIR}/usr.bin/mandoc
MOBJS =		dbm.o dbm_map.o
LDADD +=	${MOBJS}
CLEANFILES =	${MOBJS}

regress: dbm_dump

dbm_dump: ${MOBJS}

${MOBJS}:
	@cd ${BSDSRCDIR}/usr.bin/mandoc && make depend
	@cd ${BSDSRCDIR}/usr.bin/mandoc && make ${MOBJS}
	@cp ${BSDOBJDIR}/usr.bin/mandoc/$@ . || \
		cp ${BSDSRCDIR}/usr.bin/mandoc/$@ .

.include <bsd.prog.mk>