[Midnightbsd-cvs] src [8627] trunk/usr.sbin: add nmtree build.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 25 14:04:44 EDT 2016


Revision: 8627
          http://svnweb.midnightbsd.org/src/?rev=8627
Author:   laffer1
Date:     2016-09-25 14:04:44 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
add nmtree build.

Modified Paths:
--------------
    trunk/usr.sbin/Makefile

Added Paths:
-----------
    trunk/usr.sbin/nmtree/
    trunk/usr.sbin/nmtree/Makefile

Modified: trunk/usr.sbin/Makefile
===================================================================
--- trunk/usr.sbin/Makefile	2016-09-25 18:04:07 UTC (rev 8626)
+++ trunk/usr.sbin/Makefile	2016-09-25 18:04:44 UTC (rev 8627)
@@ -59,6 +59,7 @@
 	nfsdumpstate \
 	nfsrevoke \
 	nfsuserd \
+	nmtree \
 	nologin \
 	pciconf \
 	periodic \

Added: trunk/usr.sbin/nmtree/Makefile
===================================================================
--- trunk/usr.sbin/nmtree/Makefile	                        (rev 0)
+++ trunk/usr.sbin/nmtree/Makefile	2016-09-25 18:04:44 UTC (rev 8627)
@@ -0,0 +1,34 @@
+# $MidnightBSD$
+#	$FreeBSD: release/9.2.0/usr.sbin/nmtree/Makefile 245241 2013-01-09 21:07:08Z brooks $
+
+.include <bsd.own.mk>
+
+.PATH: ${.CURDIR}/../../contrib/mtree
+
+PROG=		nmtree
+MAN=		nmtree.8
+SRCS=		compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
+		spec.c specspec.c verify.c
+LDADD+=		-lmd -lutil
+
+CFLAGS+=	-I${.CURDIR}/../../contrib/mknod
+.PATH:		${.CURDIR}/../../contrib/mknod
+SRCS+=		pack_dev.c
+
+CFLAGS+=	-I${.CURDIR}/../../lib/libnetbsd
+LIBNETBSDDIR=	${.OBJDIR}/../../lib/libnetbsd
+LIBNETBSD=	${LIBNETBSDDIR}/libnetbsd.a
+DPADD+=		${LIBNETBSD}
+LDADD+=		${LIBNETBSD}
+
+.if ${MK_NMTREE} != "no"
+LINKS=		${BINDIR}/nmtree ${BINDIR}/mtree
+MLINKS=		nmtree.8 mtree.8
+.endif
+
+CLEANFILES+=	nmtree.8
+
+nmtree.8: mtree.8
+	cp ${.ALLSRC} ${.TARGET}
+
+.include <bsd.prog.mk>


Property changes on: trunk/usr.sbin/nmtree/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list