2012-10-10 17:20:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2012/10/05 01:26:56 christos Exp $
|
2012-06-06 16:34:11 +02:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 4/27/95
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2012-10-10 17:20:17 +02:00
|
|
|
CPPFLAGS+= -Dlchown=chown -Dlchmod=chmod
|
|
|
|
|
2012-06-06 16:34:11 +02:00
|
|
|
PROG= mtree
|
|
|
|
#CPPFLAGS+=-DDEBUG
|
|
|
|
CPPFLAGS+= -DMTREE
|
|
|
|
MAN= mtree.8
|
2012-10-10 17:20:17 +02:00
|
|
|
SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
|
|
|
|
verify.c getid.c pack_dev.c
|
2012-06-06 16:34:11 +02:00
|
|
|
.if (${HOSTPROG:U} == "")
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mknod
|
|
|
|
.PATH: ${NETBSDSRCDIR}/sbin/mknod
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|