You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
1.3 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. EXTRA_DIST = libcaca++.vcproj libcaca++.def test-cxx.vcproj
  4. if USE_CXX
  5. pkgconfig_DATA = caca++.pc
  6. pkgconfigdir = $(libdir)/pkgconfig
  7. include_HEADERS = caca++.h
  8. lib_LTLIBRARIES = libcaca++.la
  9. endif
  10. libcaca___la_SOURCES = caca++.cpp caca++.h
  11. libcaca___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
  12. libcaca___la_LIBADD = ../caca/libcaca.la
  13. if USE_CXX
  14. noinst_PROGRAMS = cxxtest
  15. endif
  16. cxxtest_SOURCES = cxxtest.cpp
  17. cxxtest_LDADD = libcaca++.la ../caca/libcaca.la
  18. if USE_CXX
  19. install-exec-local:
  20. $(mkinstalldirs) $(DESTDIR)$(libdir)
  21. . ./libcaca++.la || exit 1; \
  22. for x in $$library_names; do \
  23. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  24. done
  25. ln -sf libcaca++.la $(DESTDIR)$(libdir)/libcucul++.la
  26. install-data-local:
  27. $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
  28. ln -sf caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  29. endif
  30. uninstall-local:
  31. . ./libcaca++.la || exit 1; \
  32. for x in $$library_names; do \
  33. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  34. done
  35. rm -f $(DESTDIR)$(libdir)/libcucul++.la
  36. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  37. rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  38. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
  39. echo-sources: ; echo $(SOURCES)