summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-18 23:15:31 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-18 23:15:31 -0800
commit6772336755c6eb5b46c471dd5ae2ac89101ed179 (patch)
treeaf8b56d93144c790d0e99444b5fabac7a23f5f66
parent9f56d200d3675fe3e178001112c563d548376b7a (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>
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8ae10ae..81f8967 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,10 +3,10 @@ lib_LTLIBRARIES = libXxf86vm.la
libXxf86vm_la_SOURCES = XF86VMode.c
AM_CFLAGS = $(XXF86VM_CFLAGS) $(MALLOC_ZERO_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/include
+
libXxf86vm_la_LIBADD = $(XXF86VM_LIBS)
libXxf86vm_la_LDFLAGS = -version-number 1:0:0
-INCLUDES = -I$(top_srcdir)/include
-
libXxf86vmincludedir = $(includedir)/X11/extensions
libXxf86vminclude_HEADERS = $(top_srcdir)/include/X11/extensions/xf86vmode.h