NetBSD/sbin/fsck_ext2fs/Makefile

24 lines
583 B
Makefile

# $NetBSD: Makefile,v 1.14 2008/08/29 00:02:23 gmcgarry 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>
LDADD+=-lutil
DPADD+=${LIBUTIL}
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
.for f in pass5 utilities
COPTS.${f}.c+= -Wno-pointer-sign
.endfor
.endif