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.
 
 
 
 
 
 

125 wiersze
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 caca_conio.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_debug.h \
  17. caca_prof.h \
  18. caca_stubs.h \
  19. caca_conio.c \
  20. caca_conio.h \
  21. caca0.c \
  22. caca0.h \
  23. canvas.c \
  24. dirty.c \
  25. string.c \
  26. legacy.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. $(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)
  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. install-exec-local:
  69. $(mkinstalldirs) $(DESTDIR)$(libdir)
  70. . ./libcaca.la || exit 1; \
  71. for x in $$library_names; do \
  72. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  73. done
  74. ln -sf libcaca.la $(DESTDIR)$(libdir)/libcucul.la
  75. install-data-local:
  76. $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
  77. ln -sf caca.pc $(DESTDIR)$(pkgconfigdir)/cucul.pc
  78. $(mkinstalldirs) $(DESTDIR)$(includedir)
  79. ln -sf caca.h $(DESTDIR)$(includedir)/cucul.h
  80. uninstall-local:
  81. . ./libcaca.la || exit 1; \
  82. for x in $$library_names; do \
  83. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  84. done
  85. rm -f $(DESTDIR)$(libdir)/libcucul.la
  86. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  87. rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc
  88. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  89. rm -f $(DESTDIR)$(includedir)/cucul.h
  90. if USE_PLUGINS
  91. plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
  92. plugindir = $(libdir)/caca
  93. libx11_plugin_la_SOURCES = driver/x11.c
  94. libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
  95. libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
  96. libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
  97. libgl_plugin_la_SOURCES = driver/gl.c
  98. libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
  99. libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
  100. libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
  101. else
  102. driver_source += driver/x11.c driver/gl.c
  103. endif
  104. if USE_COCOA
  105. driver_source += driver/cocoa.m
  106. endif
  107. echo-sources: ; echo $(SOURCES)