選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

100 行
2.3 KiB

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