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>
|
|
|
|
|
|
|
|
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} == "")
|
2012-10-26 15:22:39 +02:00
|
|
|
.if defined(__MINIX)
|
2012-10-11 12:34:16 +02:00
|
|
|
CPPFLAGS+= -Dlchown=chown -Dlchmod=chmod
|
2012-10-26 15:22:39 +02:00
|
|
|
.endif
|
2012-06-06 16:34:11 +02:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mknod
|
|
|
|
.PATH: ${NETBSDSRCDIR}/sbin/mknod
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|