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

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

caca, cxx: install symlinks for backwards compatibility with libcucul.

File size: 763 bytes
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-hook:
25        ln -sf libcaca++.so $(DESTDIR)$(libdir)/libcucul++.so
26        ln -sf libcaca++.so.0 $(DESTDIR)$(libdir)/libcucul++.so.0
27
28uninstall-hook:
29        rm -f $(DESTDIR)$(libdir)/libcucul++.so
30        rm -f $(DESTDIR)$(libdir)/libcucul++.so.0
31
Note: See TracBrowser for help on using the repository browser.