diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-12 14:40:40 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-19 08:25:07 -0800 |
commit | 637c59e78f699a824e78316cb8ca3113bb5c738b (patch) | |
tree | 0a68ddb00e05aad3686ebdc1bcfb28b7e03ad802 | |
parent | 059e9be5a7321974b190d786d426b2ae27be8c56 (diff) |
Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS
Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html
- Support for the long-deprecated INCLUDES variable will be removed
altogether in Automake 1.14. The AM_CPPFLAGS variable should be
used instead.
This variable was deprecated in Automake releases prior to 1.10, which is
the current minimum level required to build X.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 1 insertions, 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 |