summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint2/Makefile
blob: 27ad5e403e5edced293a1d5d16f7fa8498e93470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$NetBSD: Makefile,v 1.23 2023/01/13 19:50:00 rillig Exp $

NOMAN=		# defined

PROG=		lint2
SRCS=		main2.c hash.c read.c mem.c chk.c msg.c emit.c emit2.c \
		inittyp.c tyname.c
BINDIR=		/usr/libexec
CPPFLAGS+=	-I${.CURDIR}
CPPFLAGS+=	-DIS_LINT2
LINTFLAGS+=	-T		# strict bool mode

COPTS.msg.c+=	${${ACTIVE_CC} == "clang":? -Wno-format-nonliteral :}

.include <bsd.prog.mk>