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

Makefile.am 1.2 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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; \
  22. for x in $$library_names; do \
  23. ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  24. done
  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; \
  31. for x in $$library_names; do \
  32. rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
  33. done
  34. rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
  35. rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc
  36. rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true