Makefile.am 632 B

123456789101112131415161718192021222324252627282930313233343536
  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-internal.c tty-internal.h \
  17. tty.c tty.h \
  18. win.c win.h
  19. if HAVE_TEXTMODE_X11_SUPPORT
  20. TTY_SRC += x11conn.c x11conn.h
  21. endif
  22. libmctty_la_SOURCES = $(TTY_SRC) $(TTY_SCREEN_SRC)
  23. AM_CPPFLAGS = -I$(top_srcdir)
  24. if HAVE_GMODULE
  25. AM_CPPFLAGS += $(GMODULE_CFLAGS)
  26. else
  27. AM_CPPFLAGS += $(GLIB_CFLAGS)
  28. endif