Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / makefs / Makefile
blob3b9f50dfc1178160a1679e060cbb857022858ebf
1 # $NetBSD: Makefile,v 1.24 2009/01/16 19:39:52 pooka Exp $
4 WARNS?= 3 # XXX -Wsign-compare
6 .include <bsd.own.mk>
8 PROG= makefs
9 SRCS= cd9660.c ffs.c \
10 getid.c \
11 makefs.c misc.c \
12 pack_dev.c \
13 spec.c \
14 walk.c
15 MAN= makefs.8
17 MKNODSRC= ${NETBSDSRCDIR}/sbin/mknod
18 MTREESRC= ${NETBSDSRCDIR}/usr.sbin/mtree
20 CPPFLAGS+= -I${.CURDIR} -I${MKNODSRC} -I${MTREESRC}
21 .PATH: ${MKNODSRC} ${MTREESRC}
23 .include "${.CURDIR}/cd9660/Makefile.inc"
24 .include "${.CURDIR}/ffs/Makefile.inc"
26 .if (${HOSTPROG:U} == "")
27 DPADD+= ${LIBUTIL}
28 LDADD+= -lutil
29 .endif
31 .include <bsd.prog.mk>