Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

108 рядки
2.1 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. transform.c \
  28. charset.c \
  29. attr.c \
  30. line.c \
  31. box.c \
  32. conic.c \
  33. triangle.c \
  34. frame.c \
  35. dither.c \
  36. font.c \
  37. file.c \
  38. figfont.c \
  39. graphics.c \
  40. event.c \
  41. time.c \
  42. prof.c \
  43. getopt.c \
  44. $(codec_source) \
  45. $(driver_source) \
  46. $(NULL)
  47. libcaca_la_DEPENDENCIES = \
  48. mono9.data \
  49. monobold12.data \
  50. $(NULL)
  51. libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
  52. libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
  53. libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS) $(GETOPT_LIBS)
  54. codec_source = \
  55. codec/import.c \
  56. codec/export.c \
  57. codec/codec.h \
  58. codec/text.c \
  59. $(NULL)
  60. driver_source = \
  61. driver/conio.c \
  62. driver/ncurses.c \
  63. driver/null.c \
  64. driver/raw.c \
  65. driver/slang.c \
  66. driver/vga.c \
  67. driver/win32.c \
  68. $(NULL)
  69. uninstall-local:
  70. . ./libcaca.la || exit 1; \
  71. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  72. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  73. if USE_PLUGINS
  74. plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
  75. plugindir = $(libdir)/caca
  76. libx11_plugin_la_SOURCES = driver/x11.c
  77. libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
  78. libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
  79. libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
  80. libgl_plugin_la_SOURCES = driver/gl.c
  81. libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
  82. libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
  83. libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
  84. else
  85. driver_source += driver/x11.c driver/gl.c
  86. endif
  87. if USE_COCOA
  88. driver_source += driver/cocoa.m
  89. else
  90. EXTRA_CHECKS = driver/cocoa.m
  91. endif