Edit

kc3-lang/libxkbcommon/src/Makefile.am

Branch :

  • Show log

    Commit

  • Author : Daniel Stone
    Date : 2012-03-21 02:20:07
    Hash : ecea0d71
    Message : Add new state API Add new API to deal with xkb_state objects, including xkb_state_update_key, which runs the XKB action machinery internally to calculate what exactly happens to the state when a given key is pressed or released. The canonical way to deal with keys is now: struct xkb_state *state = xkb_state_new(xkb); xkb_keysym_t *syms; int num_syms; xkb_state_update_key(state, key, is_down); num_syms = xkb_key_get_syms(state, key, &syms); More state handling API, including a way to get at or ignore preserved modifiers, is on its way. Signed-off-by: Daniel Stone <daniel@fooishbar.org>

  • src/Makefile.am
  • SUBDIRS = xkbcomp
    
    AM_CPPFLAGS = -I$(top_srcdir)/include
    AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS) $(XMALLOC_ZERO_CFLAGS)
    
    lib_LTLIBRARIES = libxkbcommon.la
    libxkbcommon_la_LIBADD = xkbcomp/libxkbcomp.la
    libxkbcommon_la_LDFLAGS = -no-undefined
    libxkbcommon_la_SOURCES = \
    	XKBcommonint.h \
    	alloc.c \
    	atom.c \
    	keysym.c \
    	malloc.c \
    	map.c \
    	maprules.c \
    	misc.c \
    	state.c \
    	text.c \
    	xkb.c \
    	xkballoc.h \
    	xkbmisc.h \
    	xkbrules.h
    
    BUILT_SOURCES = ks_tables.h
    CLEANFILES = $(BUILT_SOURCES)
    
    ks_tables.h: $(KEYSYMDEFS) $(top_builddir)/makekeys/makekeys$(EXEEXT)
    	$(top_builddir)/makekeys/makekeys $(KEYSYMDEFS) > $@