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

Last change on this file since 977 was 977, checked in by Sam Hocevar, 14 years ago
  • Added -I${top_srcdir} to the compilation flags to fix builds configured from an alternate directory (they failed to find common.h).
File size: 702 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$(top_srcdir)/caca
4
5if USE_CXX
6include_HEADERS = cucul++.h caca++.h
7lib_LTLIBRARIES = libcucul++.la libcaca++.la
8endif
9
10libcucul___la_SOURCES = cucul++.cpp cucul++.h
11libcucul___la_LDFLAGS = -no-undefined -version-info @LT_VERSION@
12libcucul___la_LIBADD = ../cucul/libcucul.la
13
14libcaca___la_SOURCES = caca++.cpp caca++.h
15libcaca___la_LDFLAGS = -no-undefined -version-info @LT_VERSION@
16libcaca___la_LIBADD = ../caca/libcaca.la
17
18if USE_CXX
19noinst_PROGRAMS = cpptest
20endif
21
22cpptest_SOURCES = cpptest.cpp
23cpptest_LDADD = libcaca++.la libcucul++.la ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
24
Note: See TracBrowser for help on using the repository browser.