Makefile.am 676 B

12345678910111213141516171819202122232425262728293031323334
  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. x11conn.c x11conn.h
  19. libmctty_la_SOURCES = $(TTY_SRC) $(TTY_SCREEN_SRC)
  20. libmctty_la_CFLAGS = -I$(top_srcdir)
  21. if HAVE_GMODULE
  22. libmctty_la_CFLAGS += $(GMODULE_CFLAGS)
  23. else
  24. libmctty_la_CFLAGS += $(GLIB_CFLAGS)
  25. endif
  26. libmctty_la_CFLAGS += -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\"