Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

113 wiersze
2.3 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = . t
  3. EXTRA_DIST = caca.pc.in \
  4. mono9.data monobold12.data \
  5. libcaca.vcxproj libcaca.def
  6. DISTCLEANFILES = caca.pc
  7. AM_CPPFLAGS += -DPLUGINDIR=\"$(plugindir)\"
  8. pkgconfig_DATA = caca.pc
  9. pkgconfigdir = $(libdir)/pkgconfig
  10. include_HEADERS = caca.h caca_types.h caca_conio.h caca0.h
  11. lib_LTLIBRARIES = libcaca.la
  12. libcaca_la_SOURCES = \
  13. caca.c \
  14. caca.h \
  15. caca_types.h \
  16. caca_internals.h \
  17. caca_debug.h \
  18. caca_prof.h \
  19. caca_stubs.h \
  20. caca_conio.c \
  21. caca_conio.h \
  22. caca0.c \
  23. caca0.h \
  24. canvas.c \
  25. dirty.c \
  26. string.c \
  27. legacy.c \
  28. transform.c \
  29. charset.c \
  30. attr.c \
  31. line.c \
  32. box.c \
  33. conic.c \
  34. triangle.c \
  35. frame.c \
  36. dither.c \
  37. font.c \
  38. file.c \
  39. figfont.c \
  40. graphics.c \
  41. event.c \
  42. time.c \
  43. prof.c \
  44. getopt.c \
  45. $(codec_source) \
  46. $(driver_source) \
  47. $(NULL)
  48. libcaca_la_DEPENDENCIES = \
  49. mono9.data \
  50. monobold12.data \
  51. $(NULL)
  52. libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
  53. libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
  54. libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS) $(GETOPT_LIBS)
  55. codec_source = \
  56. codec/import.c \
  57. codec/export.c \
  58. codec/codec.h \
  59. codec/text.c \
  60. $(NULL)
  61. driver_source = \
  62. driver/conio.c \
  63. driver/ncurses.c \
  64. driver/null.c \
  65. driver/raw.c \
  66. driver/slang.c \
  67. driver/vga.c \
  68. driver/win32.c \
  69. $(NULL)
  70. uninstall-local:
  71. . ./libcaca.la || exit 1; \
  72. for x in $$library_names; do \
  73. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  74. done
  75. rm -f $(DESTDIR)$(libdir)/libcucul.la
  76. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  77. rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc
  78. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  79. rm -f $(DESTDIR)$(includedir)/cucul.h
  80. if USE_PLUGINS
  81. plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
  82. plugindir = $(libdir)/caca
  83. libx11_plugin_la_SOURCES = driver/x11.c
  84. libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
  85. libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
  86. libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
  87. libgl_plugin_la_SOURCES = driver/gl.c
  88. libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
  89. libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
  90. libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
  91. else
  92. driver_source += driver/x11.c driver/gl.c
  93. endif
  94. if USE_COCOA
  95. driver_source += driver/cocoa.m
  96. endif