xref: /freebsd/usr.sbin/nmtree/Makefile (revision a85228f164a9f42b1ebf59565df68a78e20a2f78)
1c6ec7d31SBrooks Davis#	$FreeBSD$
2c6ec7d31SBrooks Davis
3c6ec7d31SBrooks Davis.include <bsd.own.mk>
4c6ec7d31SBrooks Davis
5c6ec7d31SBrooks Davis.PATH: ${.CURDIR}/../../contrib/mtree
6c6ec7d31SBrooks Davis
76adfbbbfSBrooks DavisPROG=		mtree
8*a85228f1SBrooks DavisMAN=		mtree.5 mtree.8
9c6ec7d31SBrooks DavisSRCS=		compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
10edd6bc76SEd Schouten		only.c spec.c specspec.c verify.c
11c6ec7d31SBrooks DavisLDADD+=		-lmd -lutil
12c6ec7d31SBrooks Davis
13c6ec7d31SBrooks DavisCFLAGS+=	-I${.CURDIR}/../../contrib/mknod
14c6ec7d31SBrooks Davis.PATH:		${.CURDIR}/../../contrib/mknod
15c6ec7d31SBrooks DavisSRCS+=		pack_dev.c
16c6ec7d31SBrooks Davis
17c6ec7d31SBrooks DavisCFLAGS+=	-I${.CURDIR}/../../lib/libnetbsd
18c6ec7d31SBrooks DavisLIBNETBSDDIR=	${.OBJDIR}/../../lib/libnetbsd
19c6ec7d31SBrooks DavisLIBNETBSD=	${LIBNETBSDDIR}/libnetbsd.a
20f7167420SAndrew TurnerDPADD+=		${LIBNETBSD}
21c6ec7d31SBrooks DavisLDADD+=		${LIBNETBSD}
22c6ec7d31SBrooks Davis
236adfbbbfSBrooks DavisLINKS=		${BINDIR}/mtree ${BINDIR}/nmtree
246adfbbbfSBrooks DavisMLINKS=		mtree.8 nmtree.8
25c6ec7d31SBrooks Davis
26c6ec7d31SBrooks Davis.include <bsd.prog.mk>
27