a216da57a6
Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
26 lines
517 B
Makefile
26 lines
517 B
Makefile
# $NetBSD: Makefile,v 1.3 2011/05/26 12:56:28 joerg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # data driven bugs?
|
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist/gkermit
|
|
|
|
PROG= gkermit
|
|
SRCS= gcmdline.c gkermit.c gproto.c gunixio.c
|
|
MAN= gkermit.1
|
|
|
|
# Note that we do not use gwart. Provided gproto.w is unchanged,
|
|
# the distributed gproto.c does not need to be updated.
|
|
|
|
BUILDSYMLINKS+= gkermit.nr gkermit.1
|
|
|
|
CPPFLAGS+= -DPOSIX
|
|
CPPFLAGS+= -I${DIST}
|
|
|
|
CWARNFLAGS.clang+= -Wno-unused-value
|
|
|
|
.PATH: ${DIST}
|
|
|
|
.include <bsd.prog.mk>
|