5a70d8a008
struct disklabel. Functionality lost: 1. struct disklabel used to be updated to contain bsize, fsize, cpg. This information was used to locate the alternative superblock in the filesystem if the primary superblock was corrupted. We need to find a new place to store this information if we need this functionality. 2. On vax SMD drives that contained bad sector lists, the newfs program knew how to get the offset and skip to the correct location in order to place the label.
25 lines
611 B
Makefile
25 lines
611 B
Makefile
# $NetBSD: Makefile,v 1.31 2006/08/26 22:03:47 christos 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 partutil.c
|
|
MAN= newfs.8 mount_mfs.8
|
|
|
|
DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
|
|
FSCK=${NETBSDSRCDIR}/sbin/fsck
|
|
CPPFLAGS+=-DMFS -I${.CURDIR} -I${DISKLABEL} -I${FSCK}
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.PATH: ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK}
|
|
|
|
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
|
|
MLINKS= mount_mfs.8 mfs.8
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.if ${HAVE_GCC} == 4
|
|
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
|
.endif
|