summaryrefslogtreecommitdiff
path: root/lib/libXtst/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXtst/src/Makefile.am')
-rw-r--r--lib/libXtst/src/Makefile.am18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/libXtst/src/Makefile.am b/lib/libXtst/src/Makefile.am
index a3759b226..a2f3db070 100644
--- a/lib/libXtst/src/Makefile.am
+++ b/lib/libXtst/src/Makefile.am
@@ -5,6 +5,22 @@ libXtst_la_SOURCES = \
XTest.c
libXtst_la_LIBADD = @XTST_LIBS@
-AM_CFLAGS = @XTST_CFLAGS@
+
+AM_CFLAGS=\
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/include/X11/extensions\
+ @XTST_CFLAGS@
libXtst_la_LDFLAGS = -version-number 6:1:0 -no-undefined
+
+libXtstincludedir = $(includedir)/X11/extensions
+libXtstinclude_HEADERS = $(top_srcdir)/include/X11/extensions/XTest.h \
+ $(top_srcdir)/include/X11/extensions/record.h
+
+if LINT
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS)
+
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) $(libXtst_la_SOURCES) $(XTST_LIBS)
+endif LINT