NetBSD/sbin/newfs/Makefile

34 lines
803 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.38 2011/06/20 07:44:00 mrg 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 newfs.c mkfs.c ffs_bswap.c ffs_appleufs.c partutil.c
SRCS+= pathadj.c quota2_subr.c
2002-01-04 14:30:33 +03:00
MAN= newfs.8 mount_mfs.8
1993-03-21 12:45:37 +03:00
DISKLABEL=${NETBSDSRCDIR}/sbin/disklabel
FSCK=${NETBSDSRCDIR}/sbin/fsck
MOUNT=${NETBSDSRCDIR}/sbin/mount
CPPFLAGS+=-DMFS -I${.CURDIR} -I${DISKLABEL} -I${FSCK} -I${MOUNT}
CPPFLAGS+=-DGARBAGE
DPADD+= ${LIBUTIL}
LDADD+= -lutil
LDADD+=-lprop
DPADD+=${LIBPROP}
.PATH: ${DISKLABEL} ${NETBSDSRCDIR}/sys/ufs/ffs ${NETBSDSRCDIR}/sys/ufs/ufs
.PATH: ${FSCK} ${MOUNT}
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
MLINKS= mount_mfs.8 mfs.8
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>
.if defined(HAVE_GCC) || defined(HAVE_PCC)
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
.endif