2002-01-08 23:54:49 +03:00
|
|
|
# $NetBSD: Makefile,v 1.22 2002/01/08 20:54:49 thorpej Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= newfs
|
1998-03-18 20:10:15 +03:00
|
|
|
SRCS= dkcksum.c getmntopts.c newfs.c mkfs.c ffs_bswap.c
|
2002-01-04 14:30:33 +03:00
|
|
|
MAN= newfs.8 mount_mfs.8
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2001-07-29 13:59:12 +04:00
|
|
|
WARNS= 2
|
|
|
|
|
1994-06-08 23:27:32 +04:00
|
|
|
MOUNT= ${.CURDIR}/../mount
|
1997-07-01 02:20:30 +04:00
|
|
|
DISKLABEL=${.CURDIR}/../disklabel
|
1997-10-10 23:47:50 +04:00
|
|
|
CPPFLAGS+=-DMFS -I${.CURDIR} -I${MOUNT} -I${DISKLABEL}
|
1999-01-15 16:32:05 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
1998-03-18 20:10:15 +03:00
|
|
|
.PATH: ${MOUNT} ${DISKLABEL} ${.CURDIR}/../../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>
|
2002-01-07 02:09:47 +03:00
|
|
|
|
2002-01-08 23:54:49 +03:00
|
|
|
.if (${MACHINE_ARCH} == "alpha")
|
2002-01-07 02:09:47 +03:00
|
|
|
#
|
|
|
|
# XXX gcc 2.95.3 with -O2 (the default) generates a non-functional newfs
|
|
|
|
#
|
|
|
|
CFLAGS+= -O1
|
|
|
|
.endif
|