1 # $NetBSD: Makefile.inc,v 1.5 2013/01/23 21:03:15 christos Exp $
4 V7FS= ${NETBSDSRCDIR}/sys/fs/v7fs
5 V7FS_NEWFS= ${NETBSDSRCDIR}/sbin/newfs_v7fs
6 FSCK= ${NETBSDSRCDIR}/sbin/fsck # use progress meter.
8 .PATH: ${.CURDIR}/v7fs ${V7FS} ${V7FS_NEWFS} ${FSCK}
10 CPPFLAGS+= -DV7FS_EI -I${V7FS} -I${V7FS_NEWFS} -I${FSCK}
12 SRCS += v7fs_endian.c v7fs_superblock.c v7fs_superblock_util.c v7fs_inode.c \
13 v7fs_inode_util.c v7fs_datablock.c v7fs_dirent.c v7fs_io.c v7fs_file.c \
14 v7fs_file_util.c v7fs_io_user.c
15 SRCS += main.c # newfs
16 .if !defined(HOSTPROG)
17 SRCS += progress.c # progress bar (fsck)
20 SRCS += v7fs_estimate.c v7fs_populate.c