Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

124 linhas
2.8 KiB

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