Commit 4aca182b authored by Ralph Giles's avatar Ralph Giles

Fix automake deprecation warning about INCLUDES.

Replace references with AM_CPPFLAGS. This worked as far back
as automake 1.6, our declared minimum version.
parent 74390d98
......@@ -3,7 +3,10 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = . plugins
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include -I$(top_srcdir)/include/ao -DAO_PLUGIN_PATH=\"@plugindir@\"
AM_CPPFLAGS = -I$(top_builddir)/include/ao \
-I$(top_srcdir)/include \
-I$(top_srcdir)/include/ao \
-DAO_PLUGIN_PATH=\"@plugindir@\"
lib_LTLIBRARIES = libao.la
......
......@@ -14,7 +14,7 @@ alsasources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(alsaltlibs)
......
......@@ -14,7 +14,7 @@ artssources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @ARTS_CFLAGS@
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @ARTS_CFLAGS@
libdir = $(plugindir)
lib_LTLIBRARIES = $(artsltlibs)
......
......@@ -14,7 +14,7 @@ esdsources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @ESD_CFLAGS@
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @ESD_CFLAGS@
libdir = $(plugindir)
lib_LTLIBRARIES = $(esdltlibs)
......
......@@ -14,7 +14,7 @@ irixsources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(irixltlibs)
......
......@@ -14,7 +14,7 @@ macosxsources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(macosxltlibs)
......
......@@ -16,7 +16,7 @@ nassources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @NAS_CFLAGS@
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @NAS_CFLAGS@
libdir = $(plugindir)
lib_LTLIBRARIES = $(nasltlibs)
......
......@@ -14,7 +14,7 @@ osssources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(ossltlibs)
......
......@@ -14,7 +14,7 @@ pulsesources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @PULSE_CFLAGS@
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include @PULSE_CFLAGS@
libdir = $(plugindir)
lib_LTLIBRARIES = $(pulseltlibs)
......
......@@ -14,7 +14,7 @@ roarsources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(roarltlibs)
......
......@@ -14,7 +14,7 @@ sndiosources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(sndioltlibs)
......
......@@ -14,7 +14,7 @@ sunsources =
endif
INCLUDES = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_builddir)/include/ao -I$(top_srcdir)/include
libdir = $(plugindir)
lib_LTLIBRARIES = $(sunltlibs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment