summaryrefslogtreecommitdiffstats
path: root/lib/tty/Makefile.am
blob: d4260fee8e7f67551a20ec0e313b48081a5ad929 (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
noinst_LTLIBRARIES = libmctty.la

if USE_SCREEN_SLANG
    TTY_SCREEN_SRC = \
	color-slang.c color-slang.h \
	tty-slang.c tty-slang.h
else
    TTY_SCREEN_SRC = \
	color-ncurses.c \
	tty-ncurses.c tty-ncurses.h
endif

TTY_SRC = \
	color-internal.c color-internal.h \
	color.c color.h \
	key.c key.h keyxdef.c \
	mouse.c mouse.h \
	tty-internal.c tty-internal.h \
	tty.c tty.h \
	win.c win.h

if HAVE_TEXTMODE_X11_SUPPORT
TTY_SRC += x11conn.c x11conn.h
endif

libmctty_la_SOURCES = $(TTY_SRC) $(TTY_SCREEN_SRC)

AM_CPPFLAGS = -I$(top_srcdir)

if HAVE_GMODULE
AM_CPPFLAGS += $(GMODULE_CFLAGS)
else
AM_CPPFLAGS += $(GLIB_CFLAGS)
endif