Module Name: src Committed By: rillig Date: Thu Aug 6 05:27:31 UTC 2020
Modified Files: src/usr.bin/make: Makefile Log Message: make(1): allow "make retest" directly from the main directory To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/Makefile diff -u src/usr.bin/make/Makefile:1.79 src/usr.bin/make/Makefile:1.80 --- src/usr.bin/make/Makefile:1.79 Mon Aug 3 20:26:09 2020 +++ src/usr.bin/make/Makefile Thu Aug 6 05:27:31 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.79 2020/08/03 20:26:09 rillig Exp $ +# $NetBSD: Makefile,v 1.80 2020/08/06 05:27:31 rillig Exp $ # @(#)Makefile 5.2 (Berkeley) 12/28/90 PROG= make @@ -6,6 +6,7 @@ SRCS= arch.c buf.c compat.c cond.c dir.c SRCS+= make.c make_malloc.c metachar.c parse.c SRCS+= str.c strlist.c suff.c targ.c trace.c var.c util.c +# Whether to generate a coverage report after running the tests. USE_COVERAGE?= no # works only with gcc; clang9 fails to link .if ${USE_COVERAGE} == "yes" COPTS+= --coverage -O0 -ggdb @@ -13,6 +14,7 @@ LDADD+= --coverage CLEANFILES+= ${SRCS:.c=.gcda} ${SRCS:.c=.gcno} ${SRCS:=.gcov} .endif +# Whether to compile using the Undefined Behavior Sanitizer (GCC, Clang). USE_UBSAN?= no .if ${USE_UBSAN} == "yes" COPTS+= -fsanitize=undefined @@ -51,6 +53,8 @@ SUBDIR+= unit-tests ${SRCS:M*.c:.c=.o}: buf.h config.h dir.h hash.h job.h lst.h make.h make_malloc.h ${SRCS:M*.c:.c=.o}: meta.h metachar.h nonints.h pathnames.h sprite.h strlist.h trace.h +TARGETS+= retest + .include <bsd.prog.mk> .include <bsd.subdir.mk>