25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.3 KiB

  1. AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/caca -I../caca
  2. EXTRA_DIST = libcaca++.vcproj libcaca++.def test-cxx.vcproj
  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. if USE_CXX
  18. install-exec-local:
  19. $(mkinstalldirs) $(DESTDIR)$(libdir)
  20. . ./libcaca++.la || exit 1; \
  21. for x in $$library_names; do \
  22. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  23. done
  24. ln -sf libcaca++.la $(DESTDIR)$(libdir)/libcucul++.la
  25. install-data-local:
  26. $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
  27. ln -sf caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  28. endif
  29. uninstall-local:
  30. . ./libcaca++.la || exit 1; \
  31. for x in $$library_names; do \
  32. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  33. done
  34. rm -f $(DESTDIR)$(libdir)/libcucul++.la
  35. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  36. rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  37. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  38. echo-sources: ; echo $(SOURCES)