summaryrefslogtreecommitdiffstats
path: root/contrib/mtree/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mtree/Makefile')
-rw-r--r--contrib/mtree/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/mtree/Makefile b/contrib/mtree/Makefile
new file mode 100644
index 0000000..b14a73f
--- /dev/null
+++ b/contrib/mtree/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.33 2012/10/05 01:26:56 christos Exp $
+# from: @(#)Makefile 8.2 (Berkeley) 4/27/95
+
+.include <bsd.own.mk>
+
+PROG= mtree
+#CPPFLAGS+=-DDEBUG
+CPPFLAGS+= -DMTREE
+MAN= mtree.8
+SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
+ verify.c getid.c pack_dev.c
+.if (${HOSTPROG:U} == "")
+DPADD+= ${LIBUTIL}
+LDADD+= -lutil
+.endif
+
+CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mknod
+.PATH: ${NETBSDSRCDIR}/sbin/mknod
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud