[libgit2-glib] Use AM_CPPFLAGS instead of INCLUDES



commit b22c18d0b0b37331c5f4ca796495f11193a83a3e
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Jun 28 21:42:33 2013 +0200

    Use AM_CPPFLAGS instead of INCLUDES

 examples/Makefile.am     |    2 +-
 libgit2-glib/Makefile.am |    2 +-
 tests/Makefile.am        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 23a01d6..d21f1ea 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/libgit2-glib $(LIBGIT2_GLIB_CFLAGS)
+AM_CPPFLAGS = -g -I$(top_srcdir) -I$(top_srcdir)/libgit2-glib $(LIBGIT2_GLIB_CFLAGS)
 
 noinst_PROGRAMS = $(EXAMPLE_PROGS)
 progs_ldadd     = $(top_builddir)/libgit2-glib/libgit2-glib-1.0.la $(LIBGIT2_GLIB_LIBS)
diff --git a/libgit2-glib/Makefile.am b/libgit2-glib/Makefile.am
index a91d6d2..1c6a5e4 100644
--- a/libgit2-glib/Makefile.am
+++ b/libgit2-glib/Makefile.am
@@ -1,6 +1,6 @@
 lib_LTLIBRARIES = libgit2-glib-1.0.la
 
-INCLUDES =                                                             \
+AM_CPPFLAGS =                                                          \
        -I$(top_srcdir)                                                 \
        -I$(srcdir)                                                     \
        $(LIBGIT2_GLIB_CFLAGS)                                          \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d60e44a..3efe87b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/libgit2-glib $(LIBGIT2_GLIB_CFLAGS)
+AM_CPPFLAGS = -g -I$(top_srcdir) -I$(top_srcdir)/libgit2-glib $(LIBGIT2_GLIB_CFLAGS)
 
 noinst_PROGRAMS = $(TEST_PROGS)
 progs_ldadd     = $(top_builddir)/libgit2-glib/libgit2-glib-1.0.la $(LIBGIT2_GLIB_LIBS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]