24 lines
539 B
Makefile
24 lines
539 B
Makefile
# $NetBSD: Makefile,v 1.13 2006/08/26 18:14:28 christos 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 ${HAVE_GCC} == 4
|
|
.for f in pass5 utilities
|
|
COPTS.${f}.c+= -Wno-pointer-sign
|
|
.endfor
|
|
.endif
|