summaryrefslogtreecommitdiff
path: root/atom/Makefile.am
blob: 62119d14c8e4630040388df328ab904761842b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

MAINTAINERCLEANFILES = Makefile.in

lib_LTLIBRARIES = libXCBAtom.la

xcbinclude_HEADERS = xcb_atom.h

AM_CFLAGS = -Wall

libXCBAtom_la_SOURCES = atoms.c
libXCBAtom_la_CFLAGS = $(XCB_CFLAGS)
libXCBAtom_la_LIBADD = $(XCB_LIBS)

pkgconfig_DATA = xcb-atom.pc

EXTRA_DIST = xcb-atom.pc.in atomlist.m4 atoms.gperf.m4 xcb_atom.h.m4

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) $< > $@