NetBSD/sbin/fsck_msdos/Makefile
hannken 738a97ca87 Add -x option which allows to run `fsck_msdos -n' on a snapshot of
a live file system.

While here modify snap_open() to accept a character device as its
first arg and remove now unneeded get_snap_device().

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2010-04-11 08:23:51 +00:00

18 lines
356 B
Makefile

# $NetBSD: Makefile,v 1.12 2010/04/11 08:23:52 hannken Exp $
.include <bsd.own.mk>
PROG= fsck_msdos
MAN= fsck_msdos.8
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c snapshot.c
FSCK= ${NETBSDSRCDIR}/sbin/fsck
DUMP= ${NETBSDSRCDIR}/sbin/dump
CPPFLAGS+= -I${FSCK} -I${DUMP}
.PATH: ${FSCK} ${DUMP}
LDADD+=-lutil
DPADD+=${LIBUTIL}
.include <bsd.prog.mk>