2012-03-23 20:48:31 -06:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
SUBDIRS = . test
|
2009-01-14 08:35:10 -07:00
|
|
|
|
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-04-05 18:12:50 -06:00
|
|
|
-Isrc/xkbcomp/ \
|
|
|
|
-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
|
|
|
|
xkbcommoninclude_HEADERS = include/xkbcommon/xkbcommon.h
|
|
|
|
|
|
|
|
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 \
|
|
|
|
src/xkbcomp/misc.h \
|
|
|
|
src/xkbcomp/parseutils.c \
|
|
|
|
src/xkbcomp/parseutils.h \
|
|
|
|
src/xkbcomp/symbols.c \
|
|
|
|
src/xkbcomp/vmod.c \
|
|
|
|
src/xkbcomp/vmod.h \
|
|
|
|
src/xkbcomp/xkbcomp.c \
|
|
|
|
src/xkbcomp/xkbcomp.h \
|
|
|
|
src/xkbcomp/xkbparse.y \
|
|
|
|
src/xkbcomp/xkbpath.c \
|
|
|
|
src/xkbcomp/xkbpath.h \
|
|
|
|
src/xkbcomp/xkbscan.l \
|
|
|
|
src/alloc.c \
|
|
|
|
src/atom.c \
|
2012-03-27 09:59:01 -06:00
|
|
|
src/context.c \
|
2012-03-23 20:48:31 -06:00
|
|
|
src/keysym.c \
|
|
|
|
src/malloc.c \
|
|
|
|
src/map.c \
|
|
|
|
src/maprules.c \
|
|
|
|
src/misc.c \
|
|
|
|
src/state.c \
|
|
|
|
src/text.c \
|
|
|
|
src/utils.c \
|
|
|
|
src/utils.h \
|
|
|
|
src/xkb.c \
|
|
|
|
src/xkballoc.h \
|
|
|
|
src/xkbmisc.h \
|
|
|
|
src/xkbrules.h \
|
2012-03-27 08:51:28 -06:00
|
|
|
src/XKBcommonint.h
|
2012-03-23 20:48:31 -06:00
|
|
|
|
2012-03-27 08:51:28 -06:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
src/xkbcomp/xkbparse.c \
|
|
|
|
src/xkbcomp/xkbparse.h \
|
|
|
|
src/xkbcomp/xkbscan.c \
|
|
|
|
src/ks_tables.h
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2012-03-23 20:48:31 -06:00
|
|
|
|
|
|
|
noinst_PROGRAMS = makekeys/makekeys
|
|
|
|
makekeys_makekeys_SOURCES = makekeys/makekeys.c
|
|
|
|
makekeys_makekeys_CC = $(CC_FOR_BUILD)
|
|
|
|
makekeys_makekeys_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_FOR_BUILD)
|
|
|
|
makekeys_makekeys_CFLAGS = $(AM_CFLAGS) $(CFLAGS_FOR_BUILD)
|
|
|
|
makekeys_makekeys_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD)
|
|
|
|
|
|
|
|
src/ks_tables.h: $(KEYSYMDEFS) $(top_builddir)/makekeys/makekeys$(EXEEXT)
|
|
|
|
$(top_builddir)/makekeys/makekeys $(KEYSYMDEFS) > $@
|