您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Makefile.am 2.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. EXTRA_DIST = caca.pc.in \
  2. mono9.data monobold12.data \
  3. libcaca.vcproj libcaca.def
  4. DISTCLEANFILES = 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. getopt.c \
  43. $(codec_source) \
  44. $(driver_source) \
  45. $(NULL)
  46. libcaca_la_DEPENDENCIES = \
  47. mono9.data \
  48. monobold12.data \
  49. $(NULL)
  50. libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
  51. libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
  52. libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS) $(GETOPT_LIBS)
  53. codec_source = \
  54. codec/import.c \
  55. codec/export.c \
  56. codec/codec.h \
  57. codec/text.c \
  58. $(NULL)
  59. driver_source = \
  60. driver/conio.c \
  61. driver/ncurses.c \
  62. driver/null.c \
  63. driver/raw.c \
  64. driver/slang.c \
  65. driver/vga.c \
  66. driver/win32.c \
  67. $(NULL)
  68. install-exec-local:
  69. $(mkinstalldirs) $(DESTDIR)$(libdir)
  70. . ./libcaca.la || exit 1; \
  71. for x in $$library_names; do \
  72. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  73. done
  74. ln -sf libcaca.la $(DESTDIR)$(libdir)/libcucul.la
  75. install-data-local:
  76. $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
  77. ln -sf caca.pc $(DESTDIR)$(pkgconfigdir)/cucul.pc
  78. $(mkinstalldirs) $(DESTDIR)$(includedir)
  79. ln -sf caca.h $(DESTDIR)$(includedir)/cucul.h
  80. uninstall-local:
  81. . ./libcaca.la || exit 1; \
  82. for x in $$library_names; do \
  83. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  84. done
  85. rm -f $(DESTDIR)$(libdir)/libcucul.la
  86. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  87. rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc
  88. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  89. rm -f $(DESTDIR)$(includedir)/cucul.h
  90. if USE_PLUGINS
  91. plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
  92. plugindir = $(libdir)/caca
  93. libx11_plugin_la_SOURCES = driver/x11.c
  94. libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
  95. libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
  96. libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
  97. libgl_plugin_la_SOURCES = driver/gl.c
  98. libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
  99. libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
  100. libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
  101. else
  102. driver_source += driver/x11.c driver/gl.c
  103. endif
  104. if USE_COCOA
  105. driver_source += driver/cocoa.m
  106. endif
  107. echo-sources: ; echo $(SOURCES)