xref: /netbsd-src/external/gpl2/diffutils/bin/diff/Makefile (revision 76c7fc5f6b13ed0b1508e6b313e88e59977ed78e)
1#	$NetBSD: Makefile,v 1.2 2019/11/11 22:45:26 joerg Exp $
2
3.include <bsd.init.mk>
4
5DIST=		${IDIST}/src
6.PATH:		${DIST} ${IDIST}/doc ${IDIST}/man
7
8PROG=		diff
9SRCS=		analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \
10		normal.c side.c util.c version.c
11
12INFOFLAGS=	-I${IDIST}/doc
13TEXINFO=	diff.texi
14
15COPTS.ifdef.c = -Wno-stack-protector
16
17CWARNFLAGS.clang+=	-Wno-unused-value -Wno-string-plus-int -Wno-error=bool-operation
18
19.include <bsd.info.mk>
20.include <bsd.prog.mk>
21