2009-06-06 01:52:31 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2009/06/05 21:52:31 haad Exp $
|
2007-11-17 19:50:25 +03:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
|
|
|
|
2009-04-11 11:58:11 +04:00
|
|
|
WARNS?= 3 # XXX: sign-compare issues
|
|
|
|
|
2007-11-17 19:50:25 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= newfs_ext2fs
|
|
|
|
SRCS= newfs_ext2fs.c mke2fs.c ext2fs_bswap.c partutil.c
|
|
|
|
MAN= newfs_ext2fs.8
|
|
|
|
|
|
|
|
FSCK=${NETBSDSRCDIR}/sbin/fsck
|
|
|
|
CPPFLAGS+=-I${.CURDIR} -I${FSCK}
|
2009-06-06 01:52:31 +04:00
|
|
|
|
2007-11-17 19:50:25 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
2009-06-06 01:52:31 +04:00
|
|
|
|
|
|
|
LDADD+=-lprop
|
|
|
|
DPADD+=${LIBPROP}
|
|
|
|
|
2007-11-17 19:50:25 +03:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|