NetBSD/usr.sbin/makefs/Makefile
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00

26 lines
601 B
Makefile

# $NetBSD: Makefile,v 1.14 2003/05/18 07:57:39 lukem Exp $
#
.include <bsd.own.mk>
PROG= makefs
SRCS= makefs.c walk.c \
ffs.c mkfs.c buf.c \
getid.c misc.c spec.c pack_dev.c stat_flags.c \
ffs_alloc.c ffs_balloc.c ffs_bswap.c ffs_subr.c ffs_tables.c ufs_bmap.c
MAN= makefs.8
LSSRC= ${NETBSDSRCDIR}/bin/ls
MKNODSRC= ${NETBSDSRCDIR}/sbin/mknod
MTREESRC= ${NETBSDSRCDIR}/usr.sbin/mtree
UFSSRC= ${NETBSDSRCDIR}/sys/ufs
CPPFLAGS+= -I${.CURDIR} \
-I${LSSRC} -I${MKNODSRC} -I${MTREESRC}
.PATH: ${.CURDIR}/ffs ${UFSSRC}/ffs \
${LSSRC} ${MKNODSRC} ${MTREESRC}
WARNS?= 2
.include <bsd.prog.mk>