2006-05-12 03:16:28 +04:00
|
|
|
# $NetBSD: Makefile,v 1.30 2006/05/11 23:16:29 mrg Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= newfs
|
2003-03-22 18:34:44 +03:00
|
|
|
SRCS= dkcksum.c newfs.c mkfs.c ffs_bswap.c ffs_appleufs.c
|
2002-01-04 14:30:33 +03:00
|
|
|
MAN= newfs.8 mount_mfs.8
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
|
2003-03-22 22:09:39 +03:00
|
|
|
CPPFLAGS+=-DMFS -I${.CURDIR} -I${DISKLABEL}
|
1999-01-15 16:32:05 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
2003-03-22 22:09:39 +03:00
|
|
|
.PATH: ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs
|
1994-06-08 23:27:32 +04:00
|
|
|
|
|
|
|
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
|
2002-01-04 13:47:47 +03:00
|
|
|
MLINKS= mount_mfs.8 mfs.8
|
1994-02-12 20:49:32 +03:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
2006-05-12 03:16:28 +04:00
|
|
|
|
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
|
|
|
.endif
|