1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5.PATH: ${.CURDIR}/../../contrib/mtree 6 7PROG= mtree 8MAN= mtree.5 mtree.8 9SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \ 10 only.c 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 23LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree 24MLINKS= mtree.8 nmtree.8 25 26NO_PIE= yes 27 28.include <bsd.prog.mk> 29