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

Last change on this file since 2424 was 2424, checked in by Sam Hocevar, 12 years ago
  • Only install the C++ .pc files if C++ support was activated.
File size: 809 bytes
Line 
1# $Id: Makefile.am 552 2006-04-13 16:10:16Z jylam $
2
3AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul \
4              -I$(top_srcdir)/caca
5
6if USE_CXX
7pkgconfig_DATA = cucul++.pc caca++.pc
8pkgconfigdir = $(libdir)/pkgconfig
9
10include_HEADERS = cucul++.h caca++.h
11lib_LTLIBRARIES = libcucul++.la libcaca++.la
12endif
13
14libcucul___la_SOURCES = cucul++.cpp cucul++.h
15libcucul___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
16libcucul___la_LIBADD = ../cucul/libcucul.la
17
18libcaca___la_SOURCES = caca++.cpp caca++.h
19libcaca___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
20libcaca___la_LIBADD = libcucul++.la ../caca/libcaca.la
21
22if USE_CXX
23noinst_PROGRAMS = cxxtest
24endif
25
26cxxtest_SOURCES = cxxtest.cpp
27cxxtest_LDADD = libcaca++.la libcucul++.la ../caca/libcaca.la ../cucul/libcucul.la
28
Note: See TracBrowser for help on using the repository browser.