NetBSD/sbin/newfs/Makefile

30 lines
685 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2002/09/28 20:11:07 dbj Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
PROG= newfs
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
MOUNT= ${NETBSDSRCDIR}/sbin/mount
DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
1997-10-10 23:47:50 +04:00
CPPFLAGS+=-DMFS -I${.CURDIR} -I${MOUNT} -I${DISKLABEL}
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.PATH: ${MOUNT} ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
MLINKS= mount_mfs.8 mfs.8
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>
2002-01-08 23:54:49 +03:00
.if (${MACHINE_ARCH} == "alpha")
#
# XXX gcc 2.95.3 with -O2 (the default) generates a non-functional newfs
#
CFLAGS+= -O1
.endif