faaef229b4
rather than searching the disk for partitions. Also, test LFS superblock checksums before we report them.
20 lines
367 B
Makefile
20 lines
367 B
Makefile
# $NetBSD: Makefile,v 1.8 2007/05/01 21:28:50 perseant Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= scan_ffs
|
|
|
|
LINKS= ${BINDIR}/scan_ffs ${BINDIR}/scan_lfs
|
|
MLINKS= scan_ffs.8 scan_lfs.8
|
|
|
|
LDADD= -lutil
|
|
DPADD= ${LIBUTIL}
|
|
|
|
SRCS= scan_ffs.c lfs_cksum.c
|
|
SCAN_FFS=${NETBSDSRCDIR}/sbin/scan_ffs
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs ${SCAN_FFS}
|
|
|
|
MAN= scan_ffs.8
|
|
|
|
.include <bsd.prog.mk>
|