Edit

kc3-lang/libxkbcommon/src/makekeys/Makefile.am

Branch :

  • Show log

    Commit

  • Author : Dan Nicholson
    Date : 2009-03-26 06:50:33
    Hash : f4d8e293
    Message : Move ks_tables.h build into makekeys subdirectory This avoids the BUILT_SOURCES weirdness and forcing the build into the makekeys subdirectory. Added a new make variable KS_HEADERS that lists all the keysym headers we're going to parse.

  • src/makekeys/Makefile.am
  • INCLUDES = -I$(top_srcdir)/include
    AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
    
    # need to use build-native compiler
    CC = $(CC_FOR_BUILD)
    noinst_PROGRAMS = makekeys
    
    nodist_noinst_HEADERS = ks_tables.h
    CLEANFILES = ks_tables.h
    
    ks_tables.h: makekeys$(EXEEXT)
    	@rm -f $@
    	cat $(KS_HEADERS) | $(builddir)/makekeys$(EXEEXT) > $@