Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

115 строки
2.8 KiB

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