25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

Makefile.am 2.7 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. file.c \
  33. figfont.c \
  34. graphics.c \
  35. event.c \
  36. time.c \
  37. $(codec_source) \
  38. $(driver_source) \
  39. $(NULL)
  40. libcaca_la_DEPENDENCIES = \
  41. mono9.data \
  42. monobold12.data \
  43. $(NULL)
  44. libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
  45. libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
  46. libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS)
  47. codec_source = \
  48. codec/import.c \
  49. codec/export.c \
  50. $(NULL)
  51. driver_source = \
  52. driver/conio.c \
  53. driver/ncurses.c \
  54. driver/raw.c \
  55. driver/slang.c \
  56. driver/vga.c \
  57. driver/win32.c \
  58. $(NULL)
  59. install-exec-local:
  60. $(mkinstalldirs) $(DESTDIR)$(libdir)
  61. . libcaca.la; \
  62. for x in $$library_names; do \
  63. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  64. done
  65. install-data-local:
  66. $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
  67. ln -sf caca.pc $(DESTDIR)$(pkgconfigdir)/cucul.pc
  68. $(mkinstalldirs) $(DESTDIR)$(includedir)
  69. ln -sf caca.h $(DESTDIR)$(includedir)/cucul.h
  70. uninstall-local:
  71. . libcaca.la; \
  72. for x in $$library_names; do \
  73. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  74. done
  75. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  76. rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc
  77. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  78. rm -f $(DESTDIR)$(includedir)/cucul.h
  79. if USE_PLUGINS
  80. plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
  81. plugindir = $(libdir)/caca
  82. libx11_plugin_la_SOURCES = driver/x11.c
  83. libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
  84. libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
  85. libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
  86. libgl_plugin_la_SOURCES = driver/gl.c
  87. libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
  88. libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
  89. libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
  90. else
  91. driver_source += driver/x11.c driver/gl.c
  92. endif
  93. if USE_COCOA
  94. driver_source += driver/cocoa.m
  95. endif