2009-05-10 19:01:15 +04:00
|
|
|
|
2009-05-08 14:01:05 +04:00
|
|
|
noinst_LTLIBRARIES = libmctty.la
|
|
|
|
|
2009-05-10 19:01:15 +04:00
|
|
|
if USE_SCREEN_SLANG
|
|
|
|
TTY_SCREEN_SRC = \
|
|
|
|
color-slang.c color-slang.h \
|
|
|
|
tty-slang.c tty-slang.h
|
|
|
|
else
|
|
|
|
TTY_SCREEN_SRC = \
|
2009-09-14 17:43:03 +04:00
|
|
|
color-ncurses.c \
|
2009-05-10 19:01:15 +04:00
|
|
|
tty-ncurses.c tty-ncurses.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
TTY_SRC = \
|
2009-09-04 18:22:49 +04:00
|
|
|
color-internal.c color-internal.h \
|
2009-05-08 14:01:05 +04:00
|
|
|
color.c color.h \
|
|
|
|
key.c key.h keyxdef.c \
|
|
|
|
mouse.c mouse.h \
|
2019-08-17 17:55:50 +03:00
|
|
|
tty-internal.c tty-internal.h \
|
|
|
|
tty.c tty.h \
|
2012-10-30 13:07:46 +04:00
|
|
|
win.c win.h
|
|
|
|
|
|
|
|
if HAVE_TEXTMODE_X11_SUPPORT
|
|
|
|
TTY_SRC += x11conn.c x11conn.h
|
|
|
|
endif
|
2009-05-08 14:01:05 +04:00
|
|
|
|
2009-05-10 19:01:15 +04:00
|
|
|
libmctty_la_SOURCES = $(TTY_SRC) $(TTY_SCREEN_SRC)
|
|
|
|
|
2012-11-14 11:06:47 +04:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)
|
2010-11-30 22:13:16 +03:00
|
|
|
|
|
|
|
if HAVE_GMODULE
|
2012-11-14 11:06:47 +04:00
|
|
|
AM_CPPFLAGS += $(GMODULE_CFLAGS)
|
2010-11-30 22:13:16 +03:00
|
|
|
else
|
2012-11-14 11:06:47 +04:00
|
|
|
AM_CPPFLAGS += $(GLIB_CFLAGS)
|
2010-11-30 22:13:16 +03:00
|
|
|
endif
|
|
|
|
|