if conf_data.get('CONFIG_MOUSE') srcs += files('mouse.c') endif if conf_data.get('CONFIG_TERMINFO') srcs += files('terminfo.c') endif srcs += files('color.c', 'draw.c', 'event.c', 'hardio.c', 'kbd.c', 'screen.c', 'tab.c', 'terminal.cpp', 'window.c')