bin: in builds with MKLINT=yes, run lint on all programs
This commit is contained in:
parent
c59e0a480e
commit
3e5654ee02
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.17 2012/03/21 05:47:53 matt Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.18 2021/10/09 21:06:31 rillig Exp $
|
||||
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
|
||||
|
||||
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
||||
|
@ -9,3 +9,7 @@ BINDIR?= /bin
|
|||
.if (${MKDYNAMICROOT} == "no")
|
||||
LDSTATIC?= -static
|
||||
.endif
|
||||
|
||||
.if ${MKLINT} != "no" && ${LINT_SUPPORTED:Uyes} == "yes"
|
||||
realall: lint
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.118 2021/10/09 21:02:53 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.119 2021/10/09 21:06:31 rillig Exp $
|
||||
# @(#)Makefile 8.4 (Berkeley) 5/5/95
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -30,7 +30,7 @@ CPPFLAGS+= -DUSE_LRAND48
|
|||
#COPTS+=-g
|
||||
#CFLAGS+=-funsigned-char
|
||||
#TARGET_CHARFLAG?= -DTARGET_CHAR="unsigned char" -funsigned-char
|
||||
#LINTFLAGS+= -X 323 # continue in 'do ... while (0)' loop
|
||||
LINTFLAGS+= -X 323 # continue in 'do ... while (0)' loop
|
||||
|
||||
# Reproducible build parameters ... export into sh for NETBSD_SHELL setting
|
||||
.if ${MKREPRO_TIMESTAMP:Uno} != "no"
|
||||
|
|
Loading…
Reference in New Issue