2002-09-29 00:11:05 +04:00
|
|
|
# $NetBSD: Makefile,v 1.24 2002/09/28 20:11:07 dbj 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
|
2002-09-29 00:11:05 +04:00
|
|
|
SRCS= dkcksum.c getmntopts.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
|
|
|
|
2001-07-29 13:59:12 +04:00
|
|
|
WARNS= 2
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
MOUNT= ${NETBSDSRCDIR}/sbin/mount
|
|
|
|
DISKLABEL=${NETBSDSRCDIR}/sbin/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
|
2002-08-19 14:16:51 +04:00
|
|
|
.PATH: ${MOUNT} ${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>
|
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
|