aboutsummaryrefslogtreecommitdiff
path: root/libqcdm
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-06-22 17:56:56 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-06-22 18:24:21 +0200
commita691eec6ca6b942152e11edb878a8c338c8b295b (patch)
treee03b45d286190c4e866323bcad2204e0e20cf5c7 /libqcdm
parent9e93e22482a0f418d48d7c3ecdaf38b75df0a775 (diff)
build: avoid using 'INCLUDES' in Makefile.am
Avoids warnings during build; e.g.: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Diffstat (limited to 'libqcdm')
-rw-r--r--libqcdm/tests/Makefile.am19
1 files changed, 12 insertions, 7 deletions
diff --git a/libqcdm/tests/Makefile.am b/libqcdm/tests/Makefile.am
index 241ae038..bbc5b719 100644
--- a/libqcdm/tests/Makefile.am
+++ b/libqcdm/tests/Makefile.am
@@ -3,10 +3,6 @@ include $(top_srcdir)/gtester.make
noinst_PROGRAMS = test-qcdm modepref ipv6pref
TEST_PROGS += test-qcdm
-INCLUDES = \
- -I$(top_srcdir)/libqcdm/src \
- -I$(top_srcdir)/src
-
test_qcdm_SOURCES = \
test-qcdm-crc.c \
test-qcdm-crc.h \
@@ -19,15 +15,24 @@ test_qcdm_SOURCES = \
test-qcdm-result.c \
test-qcdm-result.h \
test-qcdm.c
-test_qcdm_CPPFLAGS = $(MM_CFLAGS)
+test_qcdm_CPPFLAGS = \
+ $(MM_CFLAGS) \
+ -I$(top_srcdir)/libqcdm/src \
+ -I$(top_srcdir)/src
test_qcdm_LDADD = $(MM_LIBS)
modepref_SOURCES = modepref.c
-modepref_CPPFLAGS = $(MM_CFLAGS)
+modepref_CPPFLAGS = \
+ $(MM_CFLAGS) \
+ -I$(top_srcdir)/libqcdm/src \
+ -I$(top_srcdir)/src
modepref_LDADD = $(MM_LIBS)
ipv6pref_SOURCES = ipv6pref.c
-ipv6pref_CPPFLAGS = $(MM_CFLAGS)
+ipv6pref_CPPFLAGS = \
+ $(MM_CFLAGS) \
+ -I$(top_srcdir)/libqcdm/src \
+ -I$(top_srcdir)/src
ipv6pref_LDADD = $(MM_LIBS)
if QCDM_STANDALONE