Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

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