You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

113 regels
2.3 KiB

  1. SUBDIRS = . t
  2. EXTRA_DIST = caca.pc.in \
  3. mono9.data monobold12.data \
  4. libcaca.vcxproj libcaca.def
  5. DISTCLEANFILES = 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. 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. for x in $$library_names; do \
  72. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  73. done
  74. rm -f $(DESTDIR)$(libdir)/libcucul.la
  75. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  76. rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc
  77. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  78. rm -f $(DESTDIR)$(includedir)/cucul.h
  79. if USE_PLUGINS
  80. plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
  81. plugindir = $(libdir)/caca
  82. libx11_plugin_la_SOURCES = driver/x11.c
  83. libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
  84. libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
  85. libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
  86. libgl_plugin_la_SOURCES = driver/gl.c
  87. libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
  88. libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
  89. libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
  90. else
  91. driver_source += driver/x11.c driver/gl.c
  92. endif
  93. if USE_COCOA
  94. driver_source += driver/cocoa.m
  95. endif
  96. echo-sources: ; echo $(SOURCES)