2012-03-23 20:48:31 -06:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2012-05-08 02:46:58 -06:00
|
|
|
SUBDIRS = makekeys
|
|
|
|
|
2009-04-01 07:22:06 -06:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = xkbcommon.pc
|
|
|
|
|
2010-12-07 08:39:16 -07:00
|
|
|
MAINTAINERCLEANFILES = ChangeLog INSTALL
|
2009-01-13 19:25:35 -07:00
|
|
|
|
2010-12-07 08:39:16 -07:00
|
|
|
.PHONY: ChangeLog INSTALL
|
2009-01-13 19:25:35 -07:00
|
|
|
|
2010-12-07 08:39:16 -07:00
|
|
|
INSTALL:
|
|
|
|
$(INSTALL_CMD)
|
2009-01-13 19:25:35 -07:00
|
|
|
|
|
|
|
ChangeLog:
|
|
|
|
$(CHANGELOG_CMD)
|
|
|
|
|
2010-12-07 08:39:16 -07:00
|
|
|
dist-hook: ChangeLog INSTALL
|
2012-03-23 20:48:31 -06:00
|
|
|
|
2012-03-27 08:51:28 -06:00
|
|
|
AM_CPPFLAGS = \
|
2012-04-08 06:38:04 -06:00
|
|
|
-DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' \
|
2012-03-27 08:51:28 -06:00
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/xkbcomp \
|
2012-05-09 08:23:44 -06:00
|
|
|
-I$(top_builddir)/src/xkbcomp \
|
2012-04-05 18:12:50 -06:00
|
|
|
-include $(top_srcdir)/src/config.h
|
2012-04-08 06:38:04 -06:00
|
|
|
|
2012-03-23 20:48:31 -06:00
|
|
|
AM_CFLAGS = \
|
2012-04-08 06:38:04 -06:00
|
|
|
$(BASE_CFLAGS) \
|
|
|
|
$(XMALLOC_ZERO_CFLAGS)
|
|
|
|
|
2012-03-23 20:48:31 -06:00
|
|
|
AM_YFLAGS = -d
|
|
|
|
|
|
|
|
xkbcommonincludedir = $(includedir)/xkbcommon
|
2012-05-08 10:59:35 -06:00
|
|
|
xkbcommoninclude_HEADERS = \
|
|
|
|
include/xkbcommon/xkbcommon.h \
|
|
|
|
include/xkbcommon/xkbcommon-names.h
|
2012-03-23 20:48:31 -06:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libxkbcommon.la
|
|
|
|
libxkbcommon_la_LDFLAGS = -no-undefined
|
|
|
|
libxkbcommon_la_SOURCES = \
|
|
|
|
src/xkbcomp/action.c \
|
|
|
|
src/xkbcomp/action.h \
|
|
|
|
src/xkbcomp/alias.c \
|
|
|
|
src/xkbcomp/alias.h \
|
|
|
|
src/xkbcomp/compat.c \
|
|
|
|
src/xkbcomp/expr.c \
|
|
|
|
src/xkbcomp/expr.h \
|
|
|
|
src/xkbcomp/indicators.c \
|
|
|
|
src/xkbcomp/indicators.h \
|
|
|
|
src/xkbcomp/keycodes.c \
|
|
|
|
src/xkbcomp/keycodes.h \
|
|
|
|
src/xkbcomp/keymap.c \
|
|
|
|
src/xkbcomp/keytypes.c \
|
|
|
|
src/xkbcomp/misc.c \
|
2012-05-08 04:57:07 -06:00
|
|
|
src/xkbcomp/parser.y \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/xkbcomp/parseutils.c \
|
|
|
|
src/xkbcomp/parseutils.h \
|
2012-05-08 04:57:07 -06:00
|
|
|
src/xkbcomp/path.c \
|
|
|
|
src/xkbcomp/scanner.l \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/xkbcomp/symbols.c \
|
|
|
|
src/xkbcomp/vmod.c \
|
|
|
|
src/xkbcomp/vmod.h \
|
|
|
|
src/xkbcomp/xkbcomp.c \
|
|
|
|
src/xkbcomp/xkbcomp.h \
|
2012-05-08 04:57:07 -06:00
|
|
|
src/xkbcomp/xkbcomp-priv.h \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/alloc.c \
|
2012-05-08 05:52:23 -06:00
|
|
|
src/alloc.h \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/atom.c \
|
2012-05-08 05:52:23 -06:00
|
|
|
src/atom.h \
|
2012-03-27 09:59:01 -06:00
|
|
|
src/context.c \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/keysym.c \
|
|
|
|
src/map.c \
|
|
|
|
src/misc.c \
|
2012-05-08 05:52:23 -06:00
|
|
|
src/rules.c \
|
|
|
|
src/rules.h \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/state.c \
|
|
|
|
src/text.c \
|
2012-05-08 05:52:23 -06:00
|
|
|
src/text.h \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/utils.c \
|
|
|
|
src/utils.h \
|
|
|
|
src/xkb.c \
|
2012-05-08 05:52:23 -06:00
|
|
|
src/xkb-priv.h
|
2012-03-23 20:48:31 -06:00
|
|
|
|
2012-03-27 08:51:28 -06:00
|
|
|
BUILT_SOURCES = \
|
2012-05-08 04:57:07 -06:00
|
|
|
src/xkbcomp/parser.c \
|
|
|
|
src/xkbcomp/parser.h \
|
|
|
|
src/xkbcomp/scanner.c \
|
2012-03-27 08:51:28 -06:00
|
|
|
src/ks_tables.h
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2012-03-23 20:48:31 -06:00
|
|
|
|
|
|
|
src/ks_tables.h: $(KEYSYMDEFS) $(top_builddir)/makekeys/makekeys$(EXEEXT)
|
|
|
|
$(top_builddir)/makekeys/makekeys $(KEYSYMDEFS) > $@
|
2012-03-30 17:44:39 -06:00
|
|
|
|
2012-05-08 02:46:58 -06:00
|
|
|
$(top_builddir)/makekeys/makekeys$(EXEEXT): $(top_srcdir)/makekeys/makekeys.c
|
|
|
|
$(MAKE) -C makekeys
|
|
|
|
|
2012-03-30 17:44:39 -06:00
|
|
|
# Tests
|
|
|
|
|
|
|
|
TESTS_ENVIRONMENT =
|
|
|
|
|
|
|
|
TESTS = \
|
|
|
|
test/xkey \
|
|
|
|
test/filecomp \
|
|
|
|
test/namescomp \
|
|
|
|
test/rulescomp \
|
|
|
|
test/canonicalise \
|
|
|
|
test/state \
|
|
|
|
test/context
|
|
|
|
TESTS_LDADD = libxkbcommon.la
|
|
|
|
|
|
|
|
test_xkey_LDADD = $(TESTS_LDADD)
|
|
|
|
test_filecomp_LDADD = $(TESTS_LDADD)
|
|
|
|
test_namescomp_LDADD = $(TESTS_LDADD)
|
|
|
|
test_rulescomp_LDADD = $(TESTS_LDADD)
|
|
|
|
test_canonicalise_LDADD = $(TESTS_LDADD)
|
|
|
|
test_state_LDADD = $(TESTS_LDADD)
|
|
|
|
test_context_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
|
|
|
EXTRA_DIST = test/data
|