2002-01-07 19:27:22 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2002/01/07 16:27:22 lukem Exp $
|
2001-10-26 10:50:48 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
PROG= makefs
|
|
|
|
SRCS= makefs.c walk.c \
|
|
|
|
ffs.c mkfs.c buf.c \
|
2001-11-25 14:22:09 +03:00
|
|
|
misc.c spec.c pack_dev.c stat_flags.c strsuftoull.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-11-22 05:47:25 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2001-11-25 14:22:09 +03:00
|
|
|
DDSRC= ${.CURDIR}/../../bin/dd
|
2001-10-26 10:50:48 +04:00
|
|
|
LSSRC= ${.CURDIR}/../../bin/ls
|
|
|
|
MKNODSRC= ${.CURDIR}/../../sbin/mknod
|
|
|
|
MTREESRC= ${.CURDIR}/../../usr.sbin/mtree
|
2002-01-07 19:27:22 +03:00
|
|
|
UFSSRC= ${.CURDIR}/../../sys/ufs
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2002-01-07 19:27:22 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR} \
|
2001-11-25 14:22:09 +03:00
|
|
|
-I${LSSRC} -I${MKNODSRC} -I${MTREESRC} -I${DDSRC}
|
2002-01-07 19:27:22 +03:00
|
|
|
.PATH: ${.CURDIR}/ffs ${UFSSRC}/ffs \
|
2001-11-25 14:22:09 +03:00
|
|
|
${LSSRC} ${MKNODSRC} ${MTREESRC} ${DDSRC}
|
2001-10-26 10:50:48 +04:00
|
|
|
|
|
|
|
WARNS?= 2
|
|
|
|
|
2002-01-05 10:00:56 +03:00
|
|
|
.ifndef HOSTPROG
|
2001-10-26 10:50:48 +04:00
|
|
|
.include <bsd.prog.mk>
|
2002-01-05 10:00:56 +03:00
|
|
|
.endif
|