4302f2798d
kernels) so that newfs works on vinum (and similar). Kill the -V hack for vinum. Don't bother faking up a label for -F and mfs, nothing is needed from it. Ignore label if special doesn't match DISKPART(sb.st_rdev); Simplifly logic for default block/frag sizes. Update man page to match. WARNS=3.
22 lines
487 B
Makefile
22 lines
487 B
Makefile
# $NetBSD: Makefile,v 1.28 2003/11/01 17:43:03 dsl Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= newfs
|
|
SRCS= dkcksum.c newfs.c mkfs.c ffs_bswap.c ffs_appleufs.c
|
|
MAN= newfs.8 mount_mfs.8
|
|
|
|
WARNS= 3
|
|
|
|
DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
|
|
CPPFLAGS+=-DMFS -I${.CURDIR} -I${DISKLABEL}
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.PATH: ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs
|
|
|
|
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
|
|
MLINKS= mount_mfs.8 mfs.8
|
|
|
|
.include <bsd.prog.mk>
|