Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
83b6711c
Commit
83b6711c
authored
Feb 17, 2016
by
Vitezslav Kriz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code coverage changes CFLAGS directly
parent
c476d14f
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
3 additions
and
31 deletions
+3
-31
m4/code-coverage.m4
m4/code-coverage.m4
+2
-5
src/Makefile.am
src/Makefile.am
+0
-3
src/contrib/dnstap/Makefile.am
src/contrib/dnstap/Makefile.am
+0
-2
src/dnssec/Makefile.am
src/dnssec/Makefile.am
+0
-4
src/dnssec/tests/Makefile.am
src/dnssec/tests/Makefile.am
+0
-2
src/dnssec/utils/Makefile.am
src/dnssec/utils/Makefile.am
+1
-5
src/zscanner/Makefile.am
src/zscanner/Makefile.am
+0
-2
src/zscanner/tests/Makefile.inc
src/zscanner/tests/Makefile.inc
+0
-4
tests-fuzz/Makefile.am
tests-fuzz/Makefile.am
+0
-2
tests/Makefile.am
tests/Makefile.am
+0
-2
No files found.
m4/code-coverage.m4
View file @
83b6711c
...
...
@@ -39,10 +39,7 @@ AC_DEFUN([AX_CODE_COVERAGE], [
changequote([,])
dnl Add the coverage flags (clang, gcc)
CODE_COVERAGE_CFLAGS="--coverage"
CODE_COVERAGE_LDFLAGS="--coverage"
AC_SUBST([CODE_COVERAGE_CFLAGS])
AC_SUBST([CODE_COVERAGE_LDFLAGS])
CFLAGS="$CFLAGS --coverage"
LDFLAGS="$LDFLAGS --coverage"
])
]) # AC_CODE_COVERAGE
src/Makefile.am
View file @
83b6711c
...
...
@@ -14,9 +14,6 @@ AM_CPPFLAGS = \
-DRUN_DIR
=
'"
${run_dir}
"'
\
-I
$(srcdir)
/dnssec/lib
AM_CFLAGS
=
$(CODE_COVERAGE_CFLAGS)
AM_LDFLAGS
=
$(CODE_COVERAGE_LDFLAGS)
######################
# Knot DNS Libraries #
######################
...
...
src/contrib/dnstap/Makefile.am
View file @
83b6711c
...
...
@@ -20,11 +20,9 @@ SUFFIXES = .proto .pb-c.c .pb-c.h
noinst_LTLIBRARIES
=
libdnstap.la
libdnstap_la_CFLAGS
=
\
$(CODE_COVERAGE_CFLAGS)
\
$(DNSTAP_CFLAGS)
libdnstap_la_LDFLAGS
=
\
$(CODE_COVERAGE_LDFLAGS)
\
$(DNSTAP_LIBS)
libdnstap_la_SOURCES
=
\
...
...
src/dnssec/Makefile.am
View file @
83b6711c
...
...
@@ -6,13 +6,9 @@ AM_CPPFLAGS = \
-I
$(srcdir)
/lib
\
-I
$(srcdir)
/lib/dnssec
\
-I
$(top_srcdir)
/src
\
$(CODE_COVERAGE_CFLAGS)
\
$(gnutls_CFLAGS)
\
$(jansson_CFLAGS)
AM_LDFLAGS
=
\
$(CODE_COVERAGE_LDFLAGS)
noinst_LTLIBRARIES
=
libshared.la
lib_LTLIBRARIES
=
libdnssec.la
...
...
src/dnssec/tests/Makefile.am
View file @
83b6711c
...
...
@@ -4,11 +4,9 @@ AM_CPPFLAGS = \
-I
$(srcdir)
/../shared
\
-I
$(srcdir)
/../lib
\
-I
$(srcdir)
/../lib/dnssec
\
$(CODE_COVERAGE_CFLAGS)
\
$(gnutls_CFLAGS)
AM_LDFLAGS
=
\
$(CODE_COVERAGE_LDFLAGS)
\
-static
LDADD
=
\
...
...
src/dnssec/utils/Makefile.am
View file @
83b6711c
...
...
@@ -8,11 +8,7 @@ AM_CPPFLAGS = \
-I
$(srcdir)
/../lib/dnssec
\
-I
$(srcdir)
/../lib
\
-I
$(top_srcdir)
/src
\
$(gnutls_CFLAGS)
\
$(CODE_COVERAGE_CFLAGS)
AM_LDFLAGS
=
\
$(CODE_COVERAGE_LDFLAGS)
$(gnutls_CFLAGS)
libutils_la_LIBADD
=
\
$(builddir)
/../libdnssec.la
\
...
...
src/zscanner/Makefile.am
View file @
83b6711c
...
...
@@ -42,9 +42,7 @@ nodist_libzscanner_la_SOURCES = \
scanner.c
libzscanner_la_CPPFLAGS
=
$(AM_CPPFLAGS)
$(CFLAG_VISIBILITY)
libzscanner_la_CFLAGS
=
$(CODE_COVERAGE_CFLAGS)
libzscanner_la_LDFLAGS
=
\
$(CODE_COVERAGE_LDFLAGS)
\
$(libzscanner_VERSION_INFO)
include
$(srcdir)/tests/Makefile.inc
src/zscanner/tests/Makefile.inc
View file @
83b6711c
LDADD
=
\
$(top_builddir)
/src/zscanner/libzscanner.la
tests_zscanner_tool_SOURCES
=
\
tests/zscanner-tool.c
\
tests/tests.h
\
...
...
@@ -10,8 +8,6 @@ tests_zscanner_tool_SOURCES = \
tests/processing.h
\
tests/processing.c
tests_zscanner_tool_CFLAGS
=
$(CODE_COVERAGE_CFLAGS)
check_PROGRAMS
=
\
tests/zscanner-tool
...
...
tests-fuzz/Makefile.am
View file @
83b6711c
...
...
@@ -3,8 +3,6 @@ AM_CPPFLAGS = \
-I
$(top_srcdir)
/src
\
-I
$(top_srcdir)
/src/dnssec/lib
AM_CFLAGS
=
$(CODE_COVERAGE_CFLAGS)
LDADD
=
\
$(top_builddir)
/src/libknot.la
...
...
tests/Makefile.am
View file @
83b6711c
...
...
@@ -4,8 +4,6 @@ AM_CPPFLAGS = \
-I
$(top_srcdir)
/src
\
-I
$(top_srcdir)
/src/dnssec/lib
AM_CFLAGS
=
$(CODE_COVERAGE_CFLAGS)
LDADD
=
\
$(top_builddir)
/libtap/libtap.la
\
$(top_builddir)
/src/libknot.la
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment