<foo>_SOURCES ordinarily lists the source files for <foo>, but that wasn't
true in this case so Automake issued a warning.
$(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 \
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
/* 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; \