source: libcaca/trunk/cxx/Makefile.am @ 2831

Last change on this file since 2831 was 2831, checked in by Sam Hocevar, 12 years ago

End of the libcucul merge: add symbolic links where appropriate.

File size: 1.0 KB
Line 
1# $Id: Makefile.am 552 2006-04-13 16:10:16Z jylam $
2
3AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/caca -I../caca
4
5if USE_CXX
6pkgconfig_DATA = caca++.pc
7pkgconfigdir = $(libdir)/pkgconfig
8
9include_HEADERS = caca++.h
10lib_LTLIBRARIES = libcaca++.la
11endif
12
13libcaca___la_SOURCES = caca++.cpp caca++.h
14libcaca___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
15libcaca___la_LIBADD = ../caca/libcaca.la
16
17if USE_CXX
18noinst_PROGRAMS = cxxtest
19endif
20
21cxxtest_SOURCES = cxxtest.cpp
22cxxtest_LDADD = libcaca++.la ../caca/libcaca.la
23
24install-exec-local:
25        $(mkinstalldirs) $(DESTDIR)$(libdir)
26        ln -sf libcaca++.so $(DESTDIR)$(libdir)/libcucul++.so
27        ln -sf libcaca++.so.0 $(DESTDIR)$(libdir)/libcucul++.so.0
28
29install-data-local:
30        $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
31        ln -sf caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc
32
33uninstall-local:
34        rm -f $(DESTDIR)$(libdir)/libcucul++.so
35        rm -f $(DESTDIR)$(libdir)/libcucul++.so.0
36        rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
37        rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc
38        rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true
39
Note: See TracBrowser for help on using the repository browser.