OSDN Git Service

build-sys: Don't use deprecated INCLUDES variable
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 4 Oct 2012 06:37:10 +0000 (03:37 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 4 Oct 2012 08:23:59 +0000 (11:23 +0300)
Makefile.am:410: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Makefile.am

index dea207e..3b08f9a 100644 (file)
@@ -407,13 +407,13 @@ AM_YFLAGS = -d
 
 AM_CFLAGS += @DBUS_CFLAGS@ @GLIB_CFLAGS@
 
-INCLUDES = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \
+AM_CPPFLAGS = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \
                        -I$(srcdir)/audio -I$(srcdir)/sbc -I$(srcdir)/gdbus \
                        -I$(srcdir)/attrib -I$(srcdir)/btio -I$(srcdir)/tools \
                        -I$(builddir)/tools -I$(srcdir)/monitor
 
 if MCAP
-INCLUDES += -I$(builddir)/health
+AM_CPPFLAGS += -I$(builddir)/health
 endif
 
 unit_objects =