NetBSD/usr.sbin/makefs/Makefile

32 lines
726 B
Makefile
Raw Normal View History

2002-09-18 07:54:26 +04:00
# $NetBSD: Makefile,v 1.9 2002/09/18 03:54:33 lukem Exp $
#
2002-09-18 07:54:26 +04:00
.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 strsuftoull.c \
ffs_alloc.c ffs_balloc.c ffs_bswap.c ffs_subr.c ffs_tables.c ufs_bmap.c
2001-10-26 20:12:30 +04:00
MAN= makefs.8
2002-09-18 07:54:26 +04:00
DDSRC= ${NETBSDSRCDIR}/bin/dd
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} -I${DDSRC}
.PATH: ${.CURDIR}/ffs ${UFSSRC}/ffs \
${LSSRC} ${MKNODSRC} ${MTREESRC} ${DDSRC}
WARNS?= 2
2002-01-05 10:00:56 +03:00
.ifndef HOSTPROG
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.include <bsd.prog.mk>
2002-01-05 10:00:56 +03:00
.endif