2020-09-06 10:20:26 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 2020/09/06 07:20:27 mrg Exp $
|
2011-06-27 15:52:22 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= fsck_v7fs
|
|
|
|
MAN= fsck_v7fs.8
|
|
|
|
SRCS= fsck_v7fs.c main.c pathname.c inode.c datablock.c freeblock.c \
|
|
|
|
v7fs_datablock.c v7fs_io.c v7fs_superblock.c v7fs_inode.c v7fs_file.c \
|
|
|
|
v7fs_dirent.c v7fs_endian.c v7fs_io_user.c v7fs_inode_util.c \
|
|
|
|
v7fs_file_util.c v7fs_superblock_util.c fsutil.c progress.c
|
|
|
|
|
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
|
|
|
V7FS= ${NETBSDSRCDIR}/sys/fs/v7fs
|
2012-09-06 02:58:53 +04:00
|
|
|
CPPFLAGS+= -I${FSCK} -I${V7FS} -DV7FS_EI
|
2011-06-27 15:52:22 +04:00
|
|
|
.PATH: ${FSCK} ${V7FS}
|
|
|
|
|
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
|
2020-09-06 10:20:26 +03:00
|
|
|
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
|
|
|
|
|
2011-06-27 15:52:22 +04:00
|
|
|
.include <bsd.prog.mk>
|