25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

111 lines
2.3 KiB

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