[PATCH:makedepend] Convert INCLUDES to AM_CPPFLAGS in preparation for automake-1.14 obsoletion

Alan Coopersmith alan.coopersmith at oracle.com
Sat Jan 12 14:48:57 PST 2013


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 Makefile.am |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d1b0ce7..30e0a0d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,6 @@
 
 bin_PROGRAMS = makedepend
 
-INCLUDES =  @X_CFLAGS@
-
 makedepend_SOURCES = include.c \
                      main.c \
                      parse.c \
@@ -14,6 +12,7 @@ makedepend_SOURCES = include.c \
                      imakemdep.h
 
 AM_CPPFLAGS = -DOBJSUFFIX=\".${OBJEXT}\" -DINCLUDEDIR=\"/usr/include\"
+AM_CPPFLAGS += $(X_CFLAGS)
 AM_CFLAGS = $(CWARNFLAGS)
 
 EXTRA_DIST = autogen.sh makedepend.man
-- 
1.7.9.2



More information about the xorg-devel mailing list