summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-28 10:16:46 +0100
committerSimon Josefsson <simon@josefsson.org>2008-10-28 10:16:46 +0100
commitd8c8189d39ebbd04b57fc3485be38147257b46c0 (patch)
treec8efa4b96643390b73962165d57e7d99032d7729 /cfg.mk
parent1b8e7244235116abbcf21083d54fd66c7270996f (diff)
downloadgnutls-d8c8189d39ebbd04b57fc3485be38147257b46c0.tar.gz
Fix coverage rules.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index ee49b7c9fd..3037b1a223 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -49,10 +49,13 @@ bootstrap: autoreconf
init-coverage:
make clean
lcov --directory . --zerocounters
+ ln -sf /usr/local/share/gaa/gaa.skel src/gaa.skel
+
+COVERAGE_OPTS="-g -fprofile-arcs -ftest-coverage"
build-coverage:
- make CFLAGS="-g -fprofile-arcs -ftest-coverage" VALGRIND=
- make CFLAGS="-g -fprofile-arcs -ftest-coverage" VALGRIND= check
+ make CFLAGS=$(COVERAGE_OPTS) CXXFLAGS=$(COVERAGE_OPTS) VALGRIND=
+ make CFLAGS=$(COVERAGE_OPTS) CXXFLAGS=$(COVERAGE_OPTS) VALGRIND= check
mkdir -p doc/coverage
lcov --directory . --output-file doc/coverage/$(PACKAGE).info --capture