From 30297c2c2f66e1dbc97adbe577d9dd0cf4358d58 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 26 Apr 2014 19:50:39 +0200 Subject: [PATCH] interface/Makefile.am: avoid use of INCLUDES variable Recent versions of automake complain about the use of a variable called INCLUDES. Rename it to includes and add that to extract_interface_CPPFLAGS. Signed-off-by: Sven Verdoolaege --- interface/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/interface/Makefile.am b/interface/Makefile.am index 4586618b..0269e911 100644 --- a/interface/Makefile.am +++ b/interface/Makefile.am @@ -5,9 +5,10 @@ noinst_PROGRAMS = extract_interface AM_CXXFLAGS = $(CLANG_CXXFLAGS) AM_LDFLAGS = $(CLANG_LDFLAGS) -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ +includes = -I$(top_builddir) -I$(top_srcdir) \ -I$(top_builddir)/include -I$(top_srcdir)/include +extract_interface_CPPFLAGS = $(includes) extract_interface_SOURCES = \ python.h \ python.cc \ @@ -20,11 +21,11 @@ extract_interface_LDADD = \ $(CLANG_LIBS) $(CLANG_LDFLAGS) test: extract_interface - ./extract_interface$(EXEEXT) $(INCLUDES) $(srcdir)/all.h + ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h isl.py: extract_interface isl.py.top (cat $(srcdir)/isl.py.top; \ - ./extract_interface$(EXEEXT) $(INCLUDES) $(srcdir)/all.h) \ + ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h) \ > isl.py dist-hook: isl.py -- 2.11.4.GIT