aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-12 22:02:18 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-12 22:03:51 +0100
commitfaa2e721e5ddbcf81aeb5d9c21a8a3c89b8b2858 (patch)
tree510a117175eb2cc9396b75075121ff303e044bc1 /tests
parentfcf2b9cc9d68cec855e4273c3d355f45e7aa7fee (diff)
downloadlibpam-freerdp2-faa2e721e5ddbcf81aeb5d9c21a8a3c89b8b2858.tar.gz
libpam-freerdp2-faa2e721e5ddbcf81aeb5d9c21a8a3c89b8b2858.tar.bz2
libpam-freerdp2-faa2e721e5ddbcf81aeb5d9c21a8a3c89b8b2858.zip
tests/Makefile.am: Split-up CFLAGS/CXXFLAGS/CPPFLAGS properly. Esp. split out flags for the pre-processor into CPPFLAGS.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c257ac9..988bd83 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -50,11 +50,18 @@ test_freerdpclient_wrapper_LDADD = \
$(top_builddir)/src/libfreerdpcore.la \
libgtest.a
+test_freerdpclient_wrapper_CFLAGS = \
+ $(AM_CXXFLAGS) \
+ -I${top_srcdir}/src
+
test_freerdpclient_wrapper_CXXFLAGS = \
$(AM_CXXFLAGS) \
- -DAUTH_CHECK="\"$(abs_builddir)/test-freerdp-auth\"" \
-I${top_srcdir}/src
+test_freerdpclient_wrapper_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -DAUTH_CHECK="\"$(abs_builddir)/test-freerdp-auth\""
+
test_freerdpclient_wrapper_LDFLAGS = \
-pthread
@@ -64,4 +71,3 @@ test_freerdpclient_wrapper_LDFLAGS = \
test_freerdp_auth_SOURCES = \
test-freerdp-auth.c
-