$(MKDIR_P) $(DESTDIR)$(LOGDIR)
# All the source files that have coverage counters.
-COVERAGE_SOURCES = \
+COVERAGE_FILES = \
+ lib/cfg.c \
lib/dpif.c \
lib/flow.c \
lib/hmap.c \
secchan/ofproto.c \
secchan/pktbuf.c \
vswitchd/bridge.c \
- vswitchd/mgmt.c
+ vswitchd/mgmt.c \
+ vswitchd/ovs-brcompatd.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