2010-07-29 02:35:52 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.3 2010/07/28 22:35:52 pooka Exp $
|
2009-08-06 04:51:55 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/18/93
|
|
|
|
|
|
|
|
WARNS?=3 # XXX: too many sign-compare issues
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-07-29 02:35:52 +04:00
|
|
|
SRCS+= lfs_cleanerd.c fdfs.c coalesce.c cleansrv.c
|
|
|
|
SRCS+= lfs_cksum.c
|
2009-08-06 04:51:55 +04:00
|
|
|
SRCS+= bufcache.c vnode.c lfs.c kernelops.c # segwrite.c
|
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs ${NETBSDSRCDIR}/sbin/fsck_lfs \
|
|
|
|
${NETBSDSRCDIR}/libexec/lfs_cleanerd
|
|
|
|
|
|
|
|
FSCK_LFS= ${NETBSDSRCDIR}/sbin/fsck_lfs
|
2009-10-10 00:19:44 +04:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
2009-08-06 04:51:55 +04:00
|
|
|
CPPFLAGS+=-I${FSCK_LFS} -I${NETBSDSRCDIR}/sbin/mount_lfs # -DUSE_CLIENT_SERVER
|
|
|
|
CPPFLAGS+="-Dmutex_enter(x)=" "-Dmutex_exit(x)="
|
|
|
|
CPPFLAGS+="-DKASSERT(x)="
|
|
|
|
#CPPFLAGS+=-DREPAIR_ZERO_FINFO
|
|
|
|
#CPPFLAGS+=-DTEST_PATTERN
|