From faa2e721e5ddbcf81aeb5d9c21a8a3c89b8b2858 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 12 Jan 2018 22:02:18 +0100 Subject: tests/Makefile.am: Split-up CFLAGS/CXXFLAGS/CPPFLAGS properly. Esp. split out flags for the pre-processor into CPPFLAGS. --- tests/Makefile.am | 10 ++++++++-- 1 file 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 - -- cgit v1.2.3