2002-09-18 07:54:26 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2002/09/18 03:54:33 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-01-24 06:21:07 +03:00
|
|
|
getid.c 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-10-26 10:50:48 +04:00
|
|
|
|
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
|
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
|
2002-02-01 01:43:33 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
|
|
|
|
2001-10-26 10:50:48 +04:00
|
|
|
.include <bsd.prog.mk>
|
2002-01-05 10:00:56 +03:00
|
|
|
.endif
|