1*9f988b79SJean-Baptiste Boric# $NetBSD: Makefile,v 1.4 2012/09/05 23:01:42 riz Exp $ 2*9f988b79SJean-Baptiste Boric 3*9f988b79SJean-Baptiste Boric.include <bsd.own.mk> 4*9f988b79SJean-Baptiste Boric 5*9f988b79SJean-Baptiste BoricV7FS = ${NETBSDSRCDIR}/sys/fs/v7fs 6*9f988b79SJean-Baptiste BoricPROG= newfs_v7fs 7*9f988b79SJean-Baptiste BoricMAN= newfs_v7fs.8 8*9f988b79SJean-Baptiste BoricSRCS= newfs_v7fs.c main.c v7fs_endian.c v7fs_superblock.c v7fs_inode.c \ 9*9f988b79SJean-Baptiste Boricv7fs_datablock.c v7fs_dirent.c v7fs_io.c v7fs_io_user.c progress.c 10*9f988b79SJean-Baptiste Boric 11*9f988b79SJean-Baptiste Boric# use progress meter. 12*9f988b79SJean-Baptiste BoricFSCK= ${NETBSDSRCDIR}/sbin/fsck 13*9f988b79SJean-Baptiste Boric 14*9f988b79SJean-Baptiste BoricDPADD+= ${LIBUTIL} 15*9f988b79SJean-Baptiste BoricLDADD+= -lutil 16*9f988b79SJean-Baptiste BoricCPPFLAGS+=-DV7FS_EI -I${V7FS} -I${FSCK} 17*9f988b79SJean-Baptiste Boric.PATH: ${V7FS} ${FSCK} 18*9f988b79SJean-Baptiste Boric 19*9f988b79SJean-Baptiste BoricCOPTS.newfs_v7fs.c+= -Wno-pointer-sign 20*9f988b79SJean-Baptiste Boric 21*9f988b79SJean-Baptiste Boric.include <bsd.prog.mk> 22