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.
 
 
 
 
 
 

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