9f988b7934
Change-Id: I0ebcc9d0168df9d26cfb0af0fce2bc894ce688af
21 lines
507 B
Makefile
21 lines
507 B
Makefile
# $NetBSD: Makefile,v 1.4 2012/09/05 23:01:42 riz Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
V7FS = ${NETBSDSRCDIR}/sys/fs/v7fs
|
|
PROG= newfs_v7fs
|
|
MAN= newfs_v7fs.8
|
|
SRCS= newfs_v7fs.c main.c v7fs_endian.c v7fs_superblock.c v7fs_inode.c \
|
|
v7fs_datablock.c v7fs_dirent.c v7fs_io.c v7fs_io_user.c progress.c
|
|
|
|
# use progress meter.
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
CPPFLAGS+=-DV7FS_EI -I${V7FS} -I${FSCK}
|
|
.PATH: ${V7FS} ${FSCK}
|
|
|
|
COPTS.newfs_v7fs.c+= -Wno-pointer-sign
|
|
|
|
.include <bsd.prog.mk>
|