summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..90d7bcb
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,19 @@
+lib_LTLIBRARIES = libxshmfence.la
+
+libxshmfence_la_SOURCES = \
+ xshmfence.c
+
+noinst_HEADERS = xshmfenceint.h
+
+libxshmfence_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+
+libxshmfenceincludedir = $(includedir)/X11
+libxshmfenceinclude_HEADERS = xshmfence.h
+
+if LINT
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS)
+
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) $(libxshmfence_la_SOURCES) $(libxshmfence_la_LIBADD) $(LIBS)
+endif LINT