summaryrefslogtreecommitdiffstats log msg author committer range
path: root/src/3rdparty/xkbcommon.pri
blob: af71b232d5be6fce4f9969855a7e749b40555ac1 (plain)
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 QMAKE_CFLAGS += -std=gnu99 -w INCLUDEPATH += \$\$PWD/xkbcommon \ \$\$PWD/xkbcommon/xkbcommon \ \$\$PWD/xkbcommon/src \ \$\$PWD/xkbcommon/src/xkbcomp include(\$\$shadowed(\$\$PWD/../gui/qtgui-config.pri)) DEFINES += DFLT_XKB_CONFIG_ROOT='\\"\$\$QMAKE_XKB_CONFIG_ROOT\\"' ### RMLVO names can be overwritten with environmental variables (see libxkbcommon documentation) DEFINES += DEFAULT_XKB_RULES='\\"evdev\\"' DEFINES += DEFAULT_XKB_MODEL='\\"pc105\\"' DEFINES += DEFAULT_XKB_LAYOUT='\\"us\\"' # Need to rename several files, qmake has problems processing a project when # sub-directories contain files with an equal names. # libxkbcommon generates some of these files while executing "./autogen.sh" # and some while executing "make" (actually YACC) SOURCES += \ \$\$PWD/xkbcommon/src/atom.c \ \$\$PWD/xkbcommon/src/xkb-compat.c \ # renamed: compat.c -> xkb-compat.c \$\$PWD/xkbcommon/src/context.c \ \$\$PWD/xkbcommon/src/xkb-keymap.c \ # renamed: keymap.c -> xkb-keymap.c \$\$PWD/xkbcommon/src/keysym.c \ \$\$PWD/xkbcommon/src/keysym-utf.c \ \$\$PWD/xkbcommon/src/state.c \ \$\$PWD/xkbcommon/src/text.c \ \$\$PWD/xkbcommon/src/context-priv.c \ \$\$PWD/xkbcommon/src/keymap-priv.c \ \$\$PWD/xkbcommon/src/utils.c \ \$\$PWD/xkbcommon/src/utf8.c SOURCES += \ \$\$PWD/xkbcommon/src/xkbcomp/action.c \ \$\$PWD/xkbcommon/src/xkbcomp/ast-build.c \ \$\$PWD/xkbcommon/src/xkbcomp/compat.c \ \$\$PWD/xkbcommon/src/xkbcomp/expr.c \ \$\$PWD/xkbcommon/src/xkbcomp/include.c \ \$\$PWD/xkbcommon/src/xkbcomp/keycodes.c \ \$\$PWD/xkbcommon/src/xkbcomp/keymap-dump.c \ \$\$PWD/xkbcommon/src/xkbcomp/keymap.c \ \$\$PWD/xkbcommon/src/xkbcomp/keywords.c \ \$\$PWD/xkbcommon/src/xkbcomp/rules.c \ \$\$PWD/xkbcommon/src/xkbcomp/scanner.c \ \$\$PWD/xkbcommon/src/xkbcomp/symbols.c \ \$\$PWD/xkbcommon/src/xkbcomp/types.c \ \$\$PWD/xkbcommon/src/xkbcomp/vmod.c \ \$\$PWD/xkbcommon/src/xkbcomp/xkbcomp.c \ \$\$PWD/xkbcommon/src/xkbcomp/parser.c TR_EXCLUDE += \$\$PWD/*