Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/xlint lint: make xlint independent of lint1



details:   https://anonhg.NetBSD.org/src/rev/ec1b1c9587bb
branches:  trunk
changeset: 1023074:ec1b1c9587bb
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Aug 22 14:35:44 2021 +0000

description:
lint: make xlint independent of lint1

The files from lint1 are not needed to build xlint, even worse, they get
mixed up wrongly.

$ (cd usr.bin/xlint && make cleandir)
$ (cd usr.bin/xlint/lint1 && make lint -k)
$ (cd usr.bin/xlint/xlint && make lint)

lint2: cannot open mem.ln: No such file or directory

The 'make -k' for lint1 is necessary because lint tries to validate
scan.c in strict bool mode, but the output from lex is not ready for
that.  This only happens in my local builds but not in the official
builds on releng.NetBSD.org, I'm still researching that difference.

diffstat:

 usr.bin/xlint/xlint/Makefile |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (11 lines):

diff -r 5c3298e68499 -r ec1b1c9587bb usr.bin/xlint/xlint/Makefile
--- a/usr.bin/xlint/xlint/Makefile      Sun Aug 22 13:52:19 2021 +0000
+++ b/usr.bin/xlint/xlint/Makefile      Sun Aug 22 14:35:44 2021 +0000
@@ -1,6 +1,5 @@
-#      $NetBSD: Makefile,v 1.20 2021/01/24 00:11:07 christos Exp $
+#      $NetBSD: Makefile,v 1.21 2021/08/22 14:35:44 rillig Exp $
 
-.PATH:         ${.CURDIR}/../lint1
 .PATH:         ${.CURDIR}/../../mkdep
 
 PROG=          xlint



Home | Main Index | Thread Index | Old Index