xref: /freebsd/contrib/mtree/Makefile (revision 40f65a4df509c6b29b9e72407c7afefe28838844)
1#	$NetBSD: Makefile,v 1.34 2013/02/03 19:15:16 christos Exp $
2#	from: @(#)Makefile	8.2 (Berkeley) 4/27/95
3
4.include <bsd.own.mk>
5
6PROG=	mtree
7#CPPFLAGS+=-DDEBUG
8CPPFLAGS+= -DMTREE
9MAN=	mtree.8
10SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
11	verify.c getid.c pack_dev.c only.c
12.if (${HOSTPROG:U} == "")
13DPADD+= ${LIBUTIL}
14LDADD+= -lutil
15.endif
16
17CPPFLAGS+=	-I${NETBSDSRCDIR}/sbin/mknod
18.PATH:		${NETBSDSRCDIR}/sbin/mknod
19
20.include <bsd.prog.mk>
21