Edit

kc3-lang/libxkbcommon/src/Makefile.am

Branch :

  • Browse

    Commit

  • Author : Gaetan Nadon
    Date : 2010-12-09 16:22:17
    Hash : 69e52ad9
    Message : config: makekeys prog should stand alone in the makekeys directory This program is a utility to generated a header file. The header file it generates should not be located in the directory where this utility program is compiled. Move the /makekeys dir as a sibling of /src. This reduces the number of bi-directional relationships between directories. Make corresponding makefiles simplifications. 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)
    	$(AM_V_GEN)cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | $(top_builddir)/makekeys/makekeys$(EXEEXT) > $@