xref: /freebsd/usr.sbin/nmtree/Makefile (revision c6ec7d31830ab1c80edae95ad5e4b9dba10c47ac)
1*c6ec7d31SBrooks Davis#	$FreeBSD$
2*c6ec7d31SBrooks Davis
3*c6ec7d31SBrooks Davis.include <bsd.own.mk>
4*c6ec7d31SBrooks Davis
5*c6ec7d31SBrooks Davis.PATH: ${.CURDIR}/../../contrib/mtree
6*c6ec7d31SBrooks Davis
7*c6ec7d31SBrooks DavisPROG=		nmtree
8*c6ec7d31SBrooks DavisMAN=		nmtree.8
9*c6ec7d31SBrooks DavisSRCS=		compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
10*c6ec7d31SBrooks Davis		spec.c specspec.c verify.c
11*c6ec7d31SBrooks DavisLDADD+=		-lmd -lutil
12*c6ec7d31SBrooks Davis
13*c6ec7d31SBrooks DavisCFLAGS+=	-I${.CURDIR}/../../contrib/mknod
14*c6ec7d31SBrooks Davis.PATH:		${.CURDIR}/../../contrib/mknod
15*c6ec7d31SBrooks DavisSRCS+=		pack_dev.c
16*c6ec7d31SBrooks Davis
17*c6ec7d31SBrooks DavisCFLAGS+=	-I${.CURDIR}/../../lib/libnetbsd
18*c6ec7d31SBrooks DavisLIBNETBSDDIR=	${.OBJDIR}/../../lib/libnetbsd
19*c6ec7d31SBrooks DavisLIBNETBSD=	${LIBNETBSDDIR}/libnetbsd.a
20*c6ec7d31SBrooks DavisDPADD+=		{LIBNETBSD}
21*c6ec7d31SBrooks DavisLDADD+=		${LIBNETBSD}
22*c6ec7d31SBrooks Davis
23*c6ec7d31SBrooks Davisnmtree.8: mtree.8
24*c6ec7d31SBrooks Davis	cp ${.ALLSRC} ${.TARGET}
25*c6ec7d31SBrooks Davis
26*c6ec7d31SBrooks Davis.include <bsd.prog.mk>
27