From: Ben Pfaff Date: Sat, 30 May 2009 00:09:11 +0000 (-0700) Subject: Rename COVERAGE_SOURCES to COVERAGE_FILES to avoid Automake warning. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd11241897476e0ffe984dd0aecd2212fb9c26a3;p=openvswitch Rename COVERAGE_SOURCES to COVERAGE_FILES to avoid Automake warning. _SOURCES ordinarily lists the source files for , but that wasn't true in this case so Automake issued a warning. --- diff --git a/lib/automake.mk b/lib/automake.mk index 255e2fd3..3ea9d7e1 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -159,7 +159,7 @@ install-data-local: $(MKDIR_P) $(DESTDIR)$(LOGDIR) # All the source files that have coverage counters. -COVERAGE_SOURCES = \ +COVERAGE_FILES = \ lib/dpif.c \ lib/flow.c \ lib/hmap.c \ @@ -178,7 +178,7 @@ COVERAGE_SOURCES = \ secchan/pktbuf.c \ vswitchd/bridge.c \ vswitchd/mgmt.c -lib/coverage-counters.c: $(COVERAGE_SOURCES) lib/coverage-scan.pl - (cd $(srcdir) && $(PERL) lib/coverage-scan.pl $(COVERAGE_SOURCES)) > $@.tmp +lib/coverage-counters.c: $(COVERAGE_FILES) lib/coverage-scan.pl + (cd $(srcdir) && $(PERL) lib/coverage-scan.pl $(COVERAGE_FILES)) > $@.tmp mv $@.tmp $@ EXTRA_DIST += lib/coverage-scan.pl diff --git a/lib/coverage.h b/lib/coverage.h index 1d5bcc2f..f3156d9c 100644 --- a/lib/coverage.h +++ b/lib/coverage.h @@ -55,7 +55,7 @@ struct coverage_counter { /* Increments the counter with the given NAME. Coverage counters need not be * declared explicitly, but when you add the first coverage counter to a given - * file, you must also add that file to COVERAGE_SOURCES in lib/automake.mk. */ + * file, you must also add that file to COVERAGE_FILES in lib/automake.mk. */ #define COVERAGE_INC(NAME) \ do { \ extern struct coverage_counter NAME##_count; \