[PATCH] build: fix some automake warnings

Alessandro Ghedini <[email protected]> Tue, 18 Feb 2014 19:29:49 +0100
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <20140218182949.GB31102@kronk>
Hi,

while I was at it I also fixed some of the automake warnings:

  "warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS'

See attached patch.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk

_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
0001-build-fix-some-automake-warnings.patch (text/x-diff, 3.4 KB)
From cafe3072cef5ad0806e5d928abcce40b835513d1 Mon Sep 17 00:00:00 2001
From: Alessandro Ghedini <[email protected]>
Date: Tue, 18 Feb 2014 19:21:03 +0100
Subject: [PATCH] build: fix some automake warnings

---
 ecasound/Makefile.am            | 2 +-
 ecatools/Makefile.am            | 2 +-
 kvutils/Makefile.am             | 2 +-
 libecasound/Makefile.am         | 2 +-
 libecasound/plugins/Makefile.am | 2 +-
 libecasoundc/Makefile.am        | 2 +-
 pyecasound/Makefile.am          | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ecasound/Makefile.am b/ecasound/Makefile.am
index 7346a51..9378d40 100644
--- a/ecasound/Makefile.am
+++ b/ecasound/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -I$(ECA_S_READLINE_INCLUDES) -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/libecasound -I$(top_srcdir)/kvutils
+AM_CPPFLAGS = -I$(ECA_S_READLINE_INCLUDES) -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/libecasound -I$(top_srcdir)/kvutils
 
 if ECA_AM_USE_NCURSES
 termcap_library_ncurses = -lncurses
diff --git a/ecatools/Makefile.am b/ecatools/Makefile.am
index b780520..417e909 100644
--- a/ecatools/Makefile.am
+++ b/ecatools/Makefile.am
@@ -22,7 +22,7 @@ if ECA_AM_USE_TERMCAP
 termcap_library = -ltermcap
 endif
 
-INCLUDES = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/kvutils -I$(top_srcdir)/libecasound -I$(top_srcdir)/libecasoundc
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/kvutils -I$(top_srcdir)/libecasound -I$(top_srcdir)/libecasoundc
 
 bin_SCRIPTS = ecamonitor
 
diff --git a/kvutils/Makefile.am b/kvutils/Makefile.am
index 76408b6..ed2bc03 100644
--- a/kvutils/Makefile.am
+++ b/kvutils/Makefile.am
@@ -19,7 +19,7 @@ endif
 TESTS = libkvutils_tester
 check_PROGRAMS = $(TESTS)
 
-INCLUDES = $(ECA_S_EXTRA_CPPFLAGS)
+AM_CPPFLAGS = $(ECA_S_EXTRA_CPPFLAGS)
 
 kvutil_sources = 	kvu_dbc.cpp \
 			kvu_debug.cpp \
diff --git a/libecasound/Makefile.am b/libecasound/Makefile.am
index ec9a4e1..87203cf 100644
--- a/libecasound/Makefile.am
+++ b/libecasound/Makefile.am
@@ -51,7 +51,7 @@ endif
 #       also libtool 1.3.2 and older have problems 
 #       with stripping libraries.
 
-INCLUDES = 	-I$(srcdir) \
+AM_CPPFLAGS = 	-I$(srcdir) \
 		-I$(top_srcdir) \
 		-I$(top_srcdir)/kvutils \
 		$(ECA_S_EXTRA_CPPFLAGS)
diff --git a/libecasound/plugins/Makefile.am b/libecasound/plugins/Makefile.am
index 8b1e3ef..4ea5a92 100644
--- a/libecasound/plugins/Makefile.am
+++ b/libecasound/plugins/Makefile.am
@@ -54,7 +54,7 @@ else
 jack_target =
 endif
 
-INCLUDES =	-I$(srcdir) \
+AM_CPPFLAGS =	-I$(srcdir) \
 		-I$(top_srcdir) \
 		-I$(top_srcdir)/libecasound \
 		-I$(top_srcdir)/kvutils \
diff --git a/libecasoundc/Makefile.am b/libecasoundc/Makefile.am
index fda06a3..74ba20c 100644
--- a/libecasoundc/Makefile.am
+++ b/libecasoundc/Makefile.am
@@ -19,7 +19,7 @@ else
 eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
 endif
 
-INCLUDES = -I$(srcdir)
+AM_CPPFLAGS = -I$(srcdir)
 # -I$(top_srcdir)/libecasound
 
 # ----------------------------------------------------------------------
diff --git a/pyecasound/Makefile.am b/pyecasound/Makefile.am
index af0d2ed..0c88c8a 100644
--- a/pyecasound/Makefile.am
+++ b/pyecasound/Makefile.am
@@ -32,7 +32,7 @@ pyecasound_install_list2 = 	pyecasound.so
 pyecasound_uninstall_list2 =   	$(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyecasound.so
 endif
 
-INCLUDES 			= -I$(srcdir) \
+AM_CPPFLAGS 			= -I$(srcdir) \
 				-I$(top_srcdir)/libecasoundc \
 				-I$(ECA_S_PYTHON_INCLUDES)
 
-- 
1.9.0.rc3
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTA6adAAoJEK+lG9bN5XPLX6oP/2eIDeDmwzcG5jaemfYR1zzW
8BcJD4fs1EL7vnufZRELdo3ASA8zatL2+JpFUpPZtUjrtyPyFxyN9wfQZ/0tCtHa
JzLf7G7zNZ3T+beOi76fVfVI+Yz0OHw597BI16yM8EE2A+MqQi7tTSziBst20B2A
cxF3dWTSQfSNMwl2jLzvpeyU/jwfkPmHlN6dgFCCBbyh6FovjUBWeVVVs8rGsEve
cw3+1rTf5pwAiTIyuXvgqZ1i4FCC7WvhqEq39y2qU7b2uLMPbTwUy70YpGN9b4na
hm8gpIws+kFLmSsRtI0nPm/YtDSb3BtNFl4j7whkWEC8mHERHLWmXD9mMuI2wJZ0
A0PBuzazhN4IplSyZQ3gvdOyi6JN8ao4xReQHoLeniebpMXFZyCSnL8RBecusLu+
mcjHe6KJ6meAty9nGRpgH0aIW+CyqQ4xjQ4qu65fKdIhig1CQ+4qGD15yAE0SAuq
FUfxnHG878arJNqoSClMBJtZtg8WVeIXpMSQCJMmmnCHx6m4zt8xeYIs0sIJx235
duOTj3FDqQSssdqirG0JORZzMMrEXQqE6EV2LuOLDrm50w3KsUtL4n2xwMELYLrr
Gd4HPcGj31GeFYn/96PPfuKbw3cJvx5zH1ZSD9dB8C2ZlzkMFQHr1vTpLLudXd8Y
Zjoqhz/b3Ycbz3mpHBHw
=wbEv
-----END PGP SIGNATURE-----