NetBSD/sbin/fsck_ext2fs/Makefile

21 lines
501 B
Makefile

# $NetBSD: Makefile,v 1.12 2006/05/11 23:16:29 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
.include <bsd.own.mk>
PROG= fsck_ext2fs
MAN= fsck_ext2fs.8
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c fsutil.c setup.c utilities.c ext2fs_bswap.c
FSCK= ${NETBSDSRCDIR}/sbin/fsck
CPPFLAGS+= -I${FSCK}
.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
.for f in pass5 utilities
COPTS.${f}.c+= -Wno-pointer-sign
.endfor
.endif