2009-04-11 11:58:11 +04:00
|
|
|
# $NetBSD: Makefile,v 1.16 2009/04/11 07:58:12 lukem Exp $
|
1999-03-18 05:02:18 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
|
|
|
2009-04-11 11:58:11 +04:00
|
|
|
WARNS?= 3 # XXX: sign-compare issues
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1999-03-18 05:02:18 +03:00
|
|
|
PROG= fsck_lfs
|
|
|
|
MAN= fsck_lfs.8
|
2005-09-13 08:14:17 +04:00
|
|
|
SRCS= bufcache.c dir.c fsutil.c inode.c lfs.c lfs_cksum.c lfs_itimes.c main.c
|
2003-03-28 11:09:52 +03:00
|
|
|
SRCS+= pass0.c pass1.c pass2.c pass3.c pass4.c pass5.c pass6.c
|
|
|
|
SRCS+= segwrite.c setup.c utilities.c vars.c vnode.c
|
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
2002-08-19 14:16:51 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs ${FSCK}
|
2007-12-29 00:44:32 +03:00
|
|
|
CPPFLAGS+=-I${.CURDIR} -I${FSCK} -DIN_FSCK_LFS "-Dmutex_enter(x)=" "-Dmutex_exit(x)="
|
|
|
|
CPPFLAGS+="-DKASSERT(x)="
|
|
|
|
# -DVERBOSE_BLOCKMAP
|
1999-03-18 05:02:18 +03:00
|
|
|
|
2006-08-26 22:14:28 +04:00
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
|
1999-03-18 05:02:18 +03:00
|
|
|
.include <bsd.prog.mk>
|