diff mbox

[2/7] Makefile.am: Fix an automake warning

Message ID 201108072001.48196.bvanassche@acm.org (mailing list archive)
State Accepted
Headers show

Commit Message

Bart Van Assche Aug. 7, 2011, 6:01 p.m. UTC
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 <bvanassche@acm.org>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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