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

44 行
1.1 KiB

  1. # $Id: Makefile.am 552 2006-04-13 16:10:16Z jylam $
  2. AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/caca -I../caca
  3. if USE_CXX
  4. pkgconfig_DATA = caca++.pc
  5. pkgconfigdir = $(libdir)/pkgconfig
  6. include_HEADERS = caca++.h
  7. lib_LTLIBRARIES = libcaca++.la
  8. endif
  9. libcaca___la_SOURCES = caca++.cpp caca++.h
  10. libcaca___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
  11. libcaca___la_LIBADD = ../caca/libcaca.la
  12. if USE_CXX
  13. noinst_PROGRAMS = cxxtest
  14. endif
  15. cxxtest_SOURCES = cxxtest.cpp
  16. cxxtest_LDADD = libcaca++.la ../caca/libcaca.la
  17. install-exec-local:
  18. $(mkinstalldirs) $(DESTDIR)$(libdir)
  19. . libcaca++.la; \
  20. for x in $$library_names; do \
  21. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  22. done
  23. install-data-local:
  24. $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
  25. ln -sf caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  26. uninstall-local:
  27. . libcaca++.la; \
  28. for x in $$library_names; do \
  29. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  30. done
  31. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  32. rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  33. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true