9c75397609
cleaner, but with more legible code. Includes code for reading and writing to the raw disk device (so that an unmounted fs could be cleaned), for the use of a single daemon to clean multiple filesystems to save on resources, and for recording the old contents of cleaned segments to offline storage for regression testing of the LFS system as a whole; though these new features are not properly tested at this point.
21 lines
546 B
Makefile
21 lines
546 B
Makefile
# $NetBSD: Makefile,v 1.10 2006/03/30 19:10:13 perseant Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/18/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= lfs_cleanerd
|
|
SRCS= lfs_cleanerd.c fdfs.c coalesce.c cleansrv.c
|
|
SRCS+= lfs_cksum.c
|
|
SRCS+= bufcache.c vnode.c lfs.c # segwrite.c
|
|
MAN= lfs_cleanerd.8
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs ${NETBSDSRCDIR}/sbin/fsck_lfs
|
|
|
|
FSCK_LFS= ${NETBSDSRCDIR}/sbin/fsck_lfs
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
CPPFLAGS+=-I${FSCK_LFS} # -DUSE_CLIENT_SERVER
|
|
#CPPFLAGS+=-DREPAIR_ZERO_FINFO
|
|
#CPPFLAGS+=-DTEST_PATTERN
|
|
|
|
.include <bsd.prog.mk>
|