vm: fix potential null deref
[minix.git] / usr.sbin / mtree / Makefile
blobee4698da5bb2d25e4b5af27f90d8aa1fb81ace30
1 # $NetBSD: Makefile,v 1.33 2012/10/05 01:26:56 christos Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 4/27/95
4 .include <bsd.own.mk>
7 PROG= mtree
8 #CPPFLAGS+=-DDEBUG
9 CPPFLAGS+= -DMTREE
10 MAN= mtree.8
11 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
12 verify.c getid.c pack_dev.c
13 .if (${HOSTPROG:U} == "")
14 CPPFLAGS+= -Dlchown=chown -Dlchmod=chmod
15 DPADD+= ${LIBUTIL}
16 LDADD+= -lutil
17 .endif
19 CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mknod
20 .PATH: ${NETBSDSRCDIR}/sbin/mknod
22 .include <bsd.prog.mk>