automake: use AM_CPPFLAGS rather than INCLUDES

The INCLUDES macro deprecated in favour of AM_CPPFLAGS.

References: http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html
This commit is contained in:
Sami Kerola 2013-01-02 22:01:28 +00:00 committed by Mathias Gumz
parent ea2464a9ea
commit f12e149baf
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
INCLUDES= -I$(top_srcdir)/src
AM_CPPFLAGS= -I$(top_srcdir)/src
noinst_PROGRAMS= \
testTexture \

View file

@ -1,6 +1,6 @@
# util/Makefile.am for Fluxbox
SUBDIRS= fbrun
INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk
AM_CPPFLAGS= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk
bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox
bin_PROGRAMS= fbsetroot fluxbox-update_configs fluxbox-remote
fbsetroot_SOURCES= fbsetroot.cc fbsetroot.hh

View file

@ -1,8 +1,8 @@
FLUXBOX_SRC_DIR= ../../src/
INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk
AM_CPPFLAGS= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk
bin_PROGRAMS= fbrun
fbrun_SOURCES= FbRun.hh FbRun.cc main.cc fbrun.xpm
fbrun_LDADD= ${FLUXBOX_SRC_DIR}FbTk/libFbTk.a
${FLUXBOX_SRC_DIR}FbTk/libFbTk.a:
cd ${FLUXBOX_SRC_DIR}FbTk && make
cd ${FLUXBOX_SRC_DIR}FbTk && make