# $NetBSD: Makefile,v 1.32 2008/08/29 00:02:23 gmcgarry Exp $ # @(#)Makefile 8.2 (Berkeley) 3/27/94 .include 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 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) COPTS.ffs_appleufs.c+= -Wno-pointer-sign .endif