Module Name: src
Committed By: rillig
Date: Sat Oct 9 21:06:31 UTC 2021
Modified Files:
src/bin: Makefile.inc
src/bin/sh: Makefile
Log Message:
bin: in builds with MKLINT=yes, run lint on all programs
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/bin/Makefile.inc
cvs rdiff -u -r1.118 -r1.119 src/bin/sh/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/Makefile.inc
diff -u src/bin/Makefile.inc:1.17 src/bin/Makefile.inc:1.18
--- src/bin/Makefile.inc:1.17 Wed Mar 21 05:47:53 2012
+++ src/bin/Makefile.inc Sat Oct 9 21:06:31 2021
@@ -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
Index: src/bin/sh/Makefile
diff -u src/bin/sh/Makefile:1.118 src/bin/sh/Makefile:1.119
--- src/bin/sh/Makefile:1.118 Sat Oct 9 21:02:53 2021
+++ src/bin/sh/Makefile Sat Oct 9 21:06:31 2021
@@ -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"