2003-05-18 11:57:31 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 2003/05/18 07:57:39 lukem Exp $
|
2001-10-26 10:50:48 +04:00
|
|
|
#
|
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2001-10-26 10:50:48 +04:00
|
|
|
PROG= makefs
|
|
|
|
SRCS= makefs.c walk.c \
|
|
|
|
ffs.c mkfs.c buf.c \
|
2002-11-29 16:06:32 +03:00
|
|
|
getid.c misc.c spec.c pack_dev.c stat_flags.c \
|
2001-10-26 10:50:48 +04:00
|
|
|
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
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
LSSRC= ${NETBSDSRCDIR}/bin/ls
|
|
|
|
MKNODSRC= ${NETBSDSRCDIR}/sbin/mknod
|
|
|
|
MTREESRC= ${NETBSDSRCDIR}/usr.sbin/mtree
|
|
|
|
UFSSRC= ${NETBSDSRCDIR}/sys/ufs
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2002-01-07 19:27:22 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR} \
|
2002-11-30 05:06:51 +03:00
|
|
|
-I${LSSRC} -I${MKNODSRC} -I${MTREESRC}
|
2002-01-07 19:27:22 +03:00
|
|
|
.PATH: ${.CURDIR}/ffs ${UFSSRC}/ffs \
|
2002-11-30 05:06:51 +03:00
|
|
|
${LSSRC} ${MKNODSRC} ${MTREESRC}
|
2001-10-26 10:50:48 +04:00
|
|
|
|
|
|
|
WARNS?= 2
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|