From c9ddb2ba22f4b57cd6e86771cd292564d5e4fb7f Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Fri, 23 Aug 2013 23:08:23 +0200 Subject: build: Use AM_CPPFLAGS in Makefile.am Since automake 1.13 INCLUDES is depricated and causes a warning Inspired from similar patches by Alexander Huemer for other osmocom projects. --- tests/bursts/Makefile.am | 2 +- tests/handover/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/bursts/Makefile.am b/tests/bursts/Makefile.am index 992bbb14..970d9a47 100644 --- a/tests/bursts/Makefile.am +++ b/tests/bursts/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(OPENBSC_INCDIR) +AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(OPENBSC_INCDIR) AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOCODEC_CFLAGS) LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOCODEC_LIBS) noinst_PROGRAMS = bursts_test diff --git a/tests/handover/Makefile.am b/tests/handover/Makefile.am index a07a527d..597ab2d9 100644 --- a/tests/handover/Makefile.am +++ b/tests/handover/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(OPENBSC_INCDIR) +AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(OPENBSC_INCDIR) AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOCODEC_CFLAGS)$(LIBOSMOTRAU_CFLAGS) LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOCODEC_LIBS) $(LIBOSMOTRAU_LIBS) $(LIBOSMOABIS_LIBS) noinst_PROGRAMS = handover_test -- cgit v1.2.3