summaryrefslogtreecommitdiff
path: root/atom/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'atom/Makefile.am')
-rw-r--r--atom/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/atom/Makefile.am b/atom/Makefile.am
new file mode 100644
index 0000000..247dc6f
--- /dev/null
+++ b/atom/Makefile.am
@@ -0,0 +1,27 @@
+
+MAINTAINERCLEANFILES = Makefile.in
+
+lib_LTLIBRARIES = libXCBAtom.la
+
+xcbinclude_HEADERS = xcb_atom.h
+
+AM_CFLAGS = -Wall
+INCLUDES = $(XCB_CFLAGS)
+LDADD = $(XCB_LIBS)
+
+libXCBAtom_la_SOURCES = atoms.c
+
+pkgconfig_DATA = xcb-atom.pc
+
+EXTRA_DIST = xcb-atom.pc.in
+
+BUILT_SOURCES = atoms.c atoms.gperf xcb_atom.h
+
+%.c: %.gperf
+ $(GPERF) --output-file $@ $*.gperf
+
+atoms.gperf: atomlist.m4
+xcb_atom.h: atomlist.m4
+
+%: %.m4
+ $(M4) $< > $@