xref: /freebsd/contrib/mtree/Makefile (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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