Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: only generate err-msgs.h in debug ...
details: https://anonhg.NetBSD.org/src/rev/abf0a73e335d
branches: trunk
changeset: 378285:abf0a73e335d
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Jul 29 10:34:24 2023 +0000
description:
lint: only generate err-msgs.h in debug mode
diffstat:
usr.bin/xlint/lint1/Makefile | 5 +----
usr.bin/xlint/lint1/lint1.h | 3 +--
2 files changed, 2 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r e37f5a14edc1 -r abf0a73e335d usr.bin/xlint/lint1/Makefile
--- a/usr.bin/xlint/lint1/Makefile Sat Jul 29 10:22:50 2023 +0000
+++ b/usr.bin/xlint/lint1/Makefile Sat Jul 29 10:34:24 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2023/07/21 15:00:32 lukem Exp $
+# $NetBSD: Makefile,v 1.101 2023/07/29 10:34:24 rillig Exp $
.include <bsd.own.mk>
@@ -91,9 +91,6 @@ CLEANFILES+= err-msgs.h
DPSRCS+= err-msgs.h
CPPFLAGS+= -I.
-externs1.h: err-msgs.h
-${SRCS:Nerr.c}: err-msgs.h
-
add-test: .PHONY
@set -eu; \
test=${NAME:Q}; \
diff -r e37f5a14edc1 -r abf0a73e335d usr.bin/xlint/lint1/lint1.h
--- a/usr.bin/xlint/lint1/lint1.h Sat Jul 29 10:22:50 2023 +0000
+++ b/usr.bin/xlint/lint1/lint1.h Sat Jul 29 10:34:24 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lint1.h,v 1.196 2023/07/28 21:50:03 rillig Exp $ */
+/* $NetBSD: lint1.h,v 1.197 2023/07/29 10:34:24 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -33,7 +33,6 @@
*/
#include "lint.h"
-#include "err-msgs.h"
#include "op.h"
/*
Home |
Main Index |
Thread Index |
Old Index