1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5.PATH: ${.CURDIR}/../../contrib/mtree 6 7PROG= nmtree 8MAN= nmtree.8 9SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \ 10 spec.c specspec.c verify.c 11LDADD+= -lmd -lutil 12 13CFLAGS+= -I${.CURDIR}/../../contrib/mknod 14.PATH: ${.CURDIR}/../../contrib/mknod 15SRCS+= pack_dev.c 16 17CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd 18LIBNETBSDDIR= ${.OBJDIR}/../../lib/libnetbsd 19LIBNETBSD= ${LIBNETBSDDIR}/libnetbsd.a 20DPADD+= {LIBNETBSD} 21LDADD+= ${LIBNETBSD} 22 23nmtree.8: mtree.8 24 cp ${.ALLSRC} ${.TARGET} 25 26.include <bsd.prog.mk> 27