Avoid that automake reports the following warning message:
Makefile.am:1: `INCLUDES' is the old name for `AM_CPPFLAGS' (or `*_CPPFLAGS')

A quote from the automake manual:
INCLUDES
    This does the same job as AM_CPPFLAGS (or any per-target _CPPFLAGS variable
    if it is used). It is an older name for the same functionality. This
    variable is deprecated; we suggest using AM_CPPFLAGS and per-target
    _CPPFLAGS instead.

Signed-off-by: Bart Van Assche <bvanass...@acm.org>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e6a50ba..cd00a65 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -I$(srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/include
 
 lib_LTLIBRARIES = src/libibverbs.la
 
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to