lint: clean gcov files for lint2 and xlint as well

This commit is contained in:
rillig 2021-08-07 17:38:41 +00:00
parent 4b4b2c112f
commit eda0f67152
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.14 2021/04/18 22:51:24 rillig Exp $ # $NetBSD: Makefile.inc,v 1.15 2021/08/07 17:38:41 rillig Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -17,6 +17,8 @@ ARCHSUBDIR= ${MACHINE_CPU}
CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR} CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR}
CPPFLAGS+= -I${.CURDIR}/../common CPPFLAGS+= -I${.CURDIR}/../common
CLEANFILES+= *.gcno *.gcda *.gcov
.if exists(${.CURDIR}/../../Makefile.inc) .if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc" .include "${.CURDIR}/../../Makefile.inc"
.endif .endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.82 2021/07/31 18:16:42 rillig Exp $ # $NetBSD: Makefile,v 1.83 2021/08/07 17:38:41 rillig Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -29,7 +29,6 @@ COPTS.err.c+= ${${ACTIVE_CC} == "clang":? -Wno-format-nonliteral :}
BINDIR= /usr/libexec BINDIR= /usr/libexec
CLEANFILES+= ${MAN} CLEANFILES+= ${MAN}
CLEANFILES+= *.gcno *.gcda *.gcov
.if ${USETOOLS} == "yes" .if ${USETOOLS} == "yes"
LINT1= ${TOOLDIR}/libexec/${MACHINE_GNU_PLATFORM}-lint1 LINT1= ${TOOLDIR}/libexec/${MACHINE_GNU_PLATFORM}-lint1