f87f7774e0
current testing purpose is to create a file system with block size > MAXPHYS. (the check doesn't make that much sense anyway in these days of mobile file systems, since we're interested in MAXPHYS where we attempt to mount the file system, not where we happen to create it)
33 lines
777 B
Makefile
33 lines
777 B
Makefile
# $NetBSD: Makefile,v 1.36 2010/08/09 17:20:57 pooka 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
|
|
SRCS+= pathadj.c
|
|
MAN= newfs.8 mount_mfs.8
|
|
|
|
DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
|
|
FSCK=${NETBSDSRCDIR}/sbin/fsck
|
|
MOUNT=${NETBSDSRCDIR}/sbin/mount
|
|
CPPFLAGS+=-DMFS -I${.CURDIR} -I${DISKLABEL} -I${FSCK} -I${MOUNT}
|
|
CPPFLAGS+=-DGARBAGE
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
|
|
LDADD+=-lprop
|
|
DPADD+=${LIBPROP}
|
|
|
|
.PATH: ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK} ${MOUNT}
|
|
|
|
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
|
|
MLINKS= mount_mfs.8 mfs.8
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
|
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
|
.endif
|