Borrow atom implementation from libxkbfile
[platform/upstream/libxkbcommon.git] / src / Makefile.am
1 SUBDIRS = makekeys
2
3 INCLUDES = -I$(top_srcdir)/include
4 AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS) $(XMALLOC_ZERO_CFLAGS)
5
6 BUILT_SOURCES = ks_tables.h
7 ks_tables.h: $(builddir)/makekeys/makekeys$(EXEEXT)
8         @rm -f $@
9         cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | \
10           $(builddir)/makekeys/makekeys$(EXEEXT) >$@
11
12 $(builddir)/makekeys/makekeys$(EXEEXT):
13         @cd makekeys && $(MAKE) $(AM_MAKEFLAGS)
14
15 lib_LTLIBRARIES = libxkbcommon.la
16 libxkbcommon_la_SOURCES = \
17         XKBcommonint.h \
18         ks_tables.h \
19         alloc.c \
20         galloc.c \
21         atom.c \
22         keysym.c