bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] [PATCH 1/3] use AM_CPPFLAGS rather than INCLUDES


From: Mike Frysinger
Subject: [Bug-tar] [PATCH 1/3] use AM_CPPFLAGS rather than INCLUDES
Date: Mon, 26 Nov 2012 02:12:33 -0500

automake spits out warnings as the latter is deprecated.

Signed-off-by: Mike Frysinger <address@hidden>
---
 paxlib/Makefile.am  | 2 +-
 paxtest/Makefile.am | 2 +-
 rmt/Makefile.am     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/paxlib/Makefile.am b/paxlib/Makefile.am
index 3e31857..6d28ffa 100644
--- a/paxlib/Makefile.am
+++ b/paxlib/Makefile.am
@@ -18,7 +18,7 @@
 # with GNU paxutils; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
-INCLUDES = -I$(top_srcdir)/gnu -I../ -I../gnu -I../lib
+AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I../lib
 
 noinst_LIBRARIES = libpax.a
 noinst_HEADERS = tar.h paxbuf.h pax.h
diff --git a/paxtest/Makefile.am b/paxtest/Makefile.am
index c4efa8b..1f10545 100644
--- a/paxtest/Makefile.am
+++ b/paxtest/Makefile.am
@@ -22,7 +22,7 @@ noinst_PROGRAMS = paxtest
 paxtest_SOURCES = paxtest.c
 noinst_HEADERS = paxtest.h
 
-INCLUDES = -I$(top_srcdir)/gnu -I../ -I../gnu -I../lib  -I../paxlib
+AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I../lib  -I../paxlib
 
 LDADD = ../paxlib/libpax.a ../gnu/libgnu.a $(LIBINTL) $(LIBICONV)
 
diff --git a/rmt/Makefile.am b/rmt/Makefile.am
index 37f621a..e1db685 100644
--- a/rmt/Makefile.am
+++ b/rmt/Makefile.am
@@ -4,7 +4,7 @@ EXTRA_PROGRAMS = rmt
 
 rmt_SOURCES = rmt.c
 
-INCLUDES = -I$(top_srcdir)/gnu -I../ -I../gnu -I$(top_srcdir)/lib
+AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I$(top_srcdir)/lib
 
 LDADD = ../gnu/libgnu.a $(LIBINTL)
 
-- 
1.7.12.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]