fixeria has uploaded this change for review.
tests: move '-I$(top_srcdir)/include/' to AM_CPPFLAGS
The '-I' is a preprocessor flag, so it should be in AM_CPPFLAGS.
Change-Id: Ic3e3dc75789850d2884d3e757f05ff01e136a5f4
---
M tests/llc/Makefile.am
M tests/rlcmac/Makefile.am
M tests/sndcp/Makefile.am
3 files changed, 23 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/73/31773/1
diff --git a/tests/llc/Makefile.am b/tests/llc/Makefile.am
index ee57c5f..ca0ed1d 100644
--- a/tests/llc/Makefile.am
+++ b/tests/llc/Makefile.am
@@ -1,8 +1,11 @@
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include/ \
+ $(NULL)
+
AM_CFLAGS = \
-Wall \
$(LIBOSMOCORE_CFLAGS) \
$(LIBOSMOGSM_CFLAGS) \
- -I$(top_srcdir)/include/ \
$(NULL)
AM_LDFLAGS = \
diff --git a/tests/rlcmac/Makefile.am b/tests/rlcmac/Makefile.am
index 8d19656..9d1f5b0 100644
--- a/tests/rlcmac/Makefile.am
+++ b/tests/rlcmac/Makefile.am
@@ -1,8 +1,11 @@
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include/ \
+ $(NULL)
+
AM_CFLAGS = \
-Wall \
$(LIBOSMOGSM_CFLAGS) \
$(LIBOSMOCORE_CFLAGS) \
- -I$(top_srcdir)/include/ \
$(NULL)
AM_LDFLAGS = \
diff --git a/tests/sndcp/Makefile.am b/tests/sndcp/Makefile.am
index aff2abf..603388e 100644
--- a/tests/sndcp/Makefile.am
+++ b/tests/sndcp/Makefile.am
@@ -1,8 +1,11 @@
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include/ \
+ $(NULL)
+
AM_CFLAGS = \
-Wall \
$(LIBOSMOCORE_CFLAGS) \
$(LIBOSMOGSM_CFLAGS) \
- -I$(top_srcdir)/include/ \
$(NULL)
AM_LDFLAGS = \
To view, visit change 31773. To unsubscribe, or for help writing mail filters, visit settings.