Makefile.am 614 B

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