No empty .Rs/.Re
[netbsd-mini2440.git] / sbin / newfs / Makefile
blob29fe18464a2af408c700a5a0064877c465ec9947
1 # $NetBSD: Makefile,v 1.34 2009/06/06 11:09:16 haad Exp $
2 # @(#)Makefile 8.2 (Berkeley) 3/27/94
4 .include <bsd.own.mk>
6 PROG= newfs
7 SRCS= dkcksum.c newfs.c mkfs.c ffs_bswap.c ffs_appleufs.c partutil.c
8 SRCS+= pathadj.c
9 MAN= newfs.8 mount_mfs.8
11 DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
12 FSCK=${NETBSDSRCDIR}/sbin/fsck
13 MOUNT=${NETBSDSRCDIR}/sbin/mount
14 CPPFLAGS+=-DMFS -I${.CURDIR} -I${DISKLABEL} -I${FSCK} -I${MOUNT}
16 DPADD+= ${LIBUTIL}
17 LDADD+= -lutil
19 LDADD+=-lprop
20 DPADD+=${LIBPROP}
22 .PATH: ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK} ${MOUNT}
24 LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
25 MLINKS= mount_mfs.8 mfs.8
27 .include <bsd.prog.mk>
29 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
30 COPTS.ffs_appleufs.c+= -Wno-pointer-sign
31 .endif