NetBSD/usr.sbin/ndbootd/Makefile
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
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.
2011-05-26 12:56:24 +00:00

21 lines
396 B
Makefile

# $NetBSD: Makefile,v 1.7 2011/05/26 12:56:34 joerg Exp $
WARNS?= 1 # XXX -Wsign-compare -Wshadow
USE_FORT?= yes # network server
PROG= ndbootd
SRCS= ndbootd.c
MAN= ndbootd.8
CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
.if ${MACHINE_ARCH} == "m68000"
COPTS.ndbootd.c+= -fno-tree-ter -fno-tree-lrs
.endif
CWARNFLAGS.clang+= -Wno-tautological-compare
.include <bsd.own.mk>
.include <bsd.prog.mk>