aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e5b04b2..962ef29 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,14 +8,16 @@ pam_freerdp_la_SOURCES = \
pam_freerdp_la_LDFLAGS = \
-no-undefined \
-module \
- -avoid-version
+ -avoid-version \
+ $(COVERAGE_LDFLAGS)
pam_freerdp_la_LIBADD = \
-lpam
pam_freerdp_la_CFLAGS = \
-Wall -Werror \
- -DAUTH_CHECK="\"$(pkglibexecdir)/freerdp-auth-check\""
+ -DAUTH_CHECK="\"$(pkglibexecdir)/freerdp-auth-check\"" \
+ $(COVERAGE_CFLAGS)
pkglibexec_PROGRAMS = \
freerdp-auth-check
@@ -23,6 +25,9 @@ pkglibexec_PROGRAMS = \
freerdp_auth_check_SOURCES = \
freerdp-auth-check.c
freerdp_auth_check_CFLAGS = \
- $(FREERDP_CFLAGS)
+ $(FREERDP_CFLAGS) \
+ $(COVERAGE_CFLAGS)
freerdp_auth_check_LDADD = \
$(FREERDP_LIBS)
+freerdp_auth_check_LDFLAGS = \
+ $(COVERAGE_LDFLAGS)