1 2noinst_LTLIBRARIES = libmctty.la 3 4if USE_SCREEN_SLANG 5 TTY_SCREEN_SRC = \ 6 color-slang.c color-slang.h \ 7 tty-slang.c tty-slang.h 8else 9 TTY_SCREEN_SRC = \ 10 color-ncurses.c \ 11 tty-ncurses.c tty-ncurses.h 12endif 13 14TTY_SRC = \ 15 color-internal.c color-internal.h \ 16 color.c color.h \ 17 key.c key.h keyxdef.c \ 18 mouse.c mouse.h \ 19 tty-internal.c tty-internal.h \ 20 tty.c tty.h \ 21 win.c win.h 22 23if HAVE_TEXTMODE_X11_SUPPORT 24TTY_SRC += x11conn.c x11conn.h 25endif 26 27libmctty_la_SOURCES = $(TTY_SRC) $(TTY_SCREEN_SRC) 28 29AM_CPPFLAGS = -I$(top_srcdir) 30 31if HAVE_GMODULE 32AM_CPPFLAGS += $(GMODULE_CFLAGS) 33else 34AM_CPPFLAGS += $(GLIB_CFLAGS) 35endif 36 37