1 ACLOCAL_AMFLAGS = -I m4
3 pkgconfigdir = $(libdir)/pkgconfig
4 pkgconfig_DATA = xkbcommon.pc
6 MAINTAINERCLEANFILES = ChangeLog INSTALL
8 .PHONY: ChangeLog INSTALL
16 dist-hook: ChangeLog INSTALL
19 -DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' \
20 -I$(top_srcdir)/include \
22 -I$(top_srcdir)/src/xkbcomp \
23 -include $(top_srcdir)/src/config.h
27 $(XMALLOC_ZERO_CFLAGS)
31 xkbcommonincludedir = $(includedir)/xkbcommon
32 xkbcommoninclude_HEADERS = include/xkbcommon/xkbcommon.h
34 lib_LTLIBRARIES = libxkbcommon.la
35 libxkbcommon_la_LDFLAGS = -no-undefined
36 libxkbcommon_la_SOURCES = \
37 src/xkbcomp/action.c \
38 src/xkbcomp/action.h \
41 src/xkbcomp/compat.c \
44 src/xkbcomp/indicators.c \
45 src/xkbcomp/indicators.h \
46 src/xkbcomp/keycodes.c \
47 src/xkbcomp/keycodes.h \
48 src/xkbcomp/keymap.c \
49 src/xkbcomp/keytypes.c \
51 src/xkbcomp/parser.y \
52 src/xkbcomp/parseutils.c \
53 src/xkbcomp/parseutils.h \
55 src/xkbcomp/scanner.l \
56 src/xkbcomp/symbols.c \
59 src/xkbcomp/xkbcomp.c \
60 src/xkbcomp/xkbcomp.h \
61 src/xkbcomp/xkbcomp-priv.h \
81 src/xkbcomp/parser.c \
82 src/xkbcomp/parser.h \
83 src/xkbcomp/scanner.c \
85 CLEANFILES = $(BUILT_SOURCES)
87 noinst_PROGRAMS = makekeys/makekeys
88 makekeys_makekeys_SOURCES = makekeys/makekeys.c
89 makekeys_makekeys_CC = $(CC_FOR_BUILD)
90 makekeys_makekeys_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_FOR_BUILD)
91 makekeys_makekeys_CFLAGS = $(AM_CFLAGS) $(CFLAGS_FOR_BUILD)
92 makekeys_makekeys_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD)
94 src/ks_tables.h: $(KEYSYMDEFS) $(top_builddir)/makekeys/makekeys$(EXEEXT)
95 $(top_builddir)/makekeys/makekeys $(KEYSYMDEFS) > $@
109 TESTS_LDADD = libxkbcommon.la
111 test_xkey_LDADD = $(TESTS_LDADD)
112 test_filecomp_LDADD = $(TESTS_LDADD)
113 test_namescomp_LDADD = $(TESTS_LDADD)
114 test_rulescomp_LDADD = $(TESTS_LDADD)
115 test_canonicalise_LDADD = $(TESTS_LDADD)
116 test_state_LDADD = $(TESTS_LDADD)
117 test_context_LDADD = $(TESTS_LDADD)
119 check_PROGRAMS = $(TESTS)
121 EXTRA_DIST = test/data