Initialize Tizen 2.3
[framework/uifw/xorg/xcb/xcb-util.git] / src / Makefile.am
1
2 lib_LTLIBRARIES = libxcb-util.la
3
4 AM_CPPFLAGS = $(XCB_CFLAGS)
5 AM_CFLAGS = $(CWARNFLAGS)
6
7 libxcb_util_la_LIBADD = $(XCB_LIBS)
8 libxcb_util_la_LDFLAGS = -version-info 0:0:0 -no-undefined
9 libxcb_util_la_SOURCES = \
10         atoms.c         \
11         event.c         \
12         xcb_aux.c
13
14 xcbinclude_HEADERS =    \
15         xcb_util.h      \
16         xcb_atom.h      \
17         xcb_aux.h       \
18         xcb_bitops.h    \
19         xcb_event.h
20
21 BUILT_SOURCES = atoms.c atoms.gperf xcb_atom.h
22 CLEANFILES = $(BUILT_SOURCES)
23 EXTRA_DIST = atomlist.m4  atoms.gperf.m4  xcb_atom.h.m4
24
25 atoms.c: atoms.gperf
26         $(GPERF) --output-file $@ $<
27
28 atoms.gperf: $(srcdir)/atoms.gperf.m4 $(srcdir)/atomlist.m4
29         $(M4) -I$(srcdir) $< >$@
30
31 xcb_atom.h: $(srcdir)/xcb_atom.h.m4 $(srcdir)/atomlist.m4
32         $(M4) -I$(srcdir) $< >$@
33