NetBSD/libexec/lfs_cleanerd/Makefile
perseant 9683b76b99 Try to prevent running more than one active cleaner on a filesystem at a time.
Let lfs_cleanerd record its pid in /var/run like other daemons.  Make
mount_lfs not start another cleaner when updating the mount, unless it is
being upgraded from read-only to read-write; when downgrading to read-only,
kill the cleaner using the recorded pids.
2000-11-13 22:12:49 +00:00

14 lines
327 B
Makefile

# $NetBSD: Makefile,v 1.7 2000/11/13 22:12:50 perseant Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/5/93
PROG= lfs_cleanerd
CPPFLAGS+=-I${.CURDIR} -DDIAGNOSTIC
MAN= lfs_cleanerd.8
SRCS= cleanerd.c lfs_cksum.c library.c misc.c print.c
LDADD+=-lutil
DPADD+=${LIBUTIL}
.PATH: ${.CURDIR}/../../sys/ufs/lfs
.include <bsd.prog.mk>