Edit

kc3-lang/libxkbcommon/src/Makefile.am

Branch :

  • Show log

    Commit

  • Author : Gaetan Nadon
    Date : 2010-12-09 16:28:52
    Hash : 2422c41b
    Message : config: add keysymdef and xf86keysym as dependencies of ks_tables.h This would cover the scenario where these headers file are updated, for example, a new version is installed. Running 'make' again on libxkbcommon should rebuild ks_tables.h. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

  • 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 \
    	galloc.c \
    	geom.c \
    	keysym.c \
    	malloc.c \
    	maprules.c \
    	misc.c \
    	text.c \
    	xkb.c \
    	xkballoc.h \
    	xkbgeom.h \
    	xkbmisc.h \
    	xkbrules.h
    
    BUILT_SOURCES = ks_tables.h
    CLEANFILES = $(BUILT_SOURCES)
    
    ks_tables.h: $(top_builddir)/makekeys/makekeys$(EXEEXT) $(KEYSYMDEF_H) $(XF86KEYSYM_H)
    	$(AM_V_GEN)cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | $(top_builddir)/makekeys/makekeys$(EXEEXT) > $@