gcell: make versioned libraries
[debian/gnuradio] / gcell / lib / Makefile.am
1 #
2 # Copyright 2008 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License along
17 # with this program; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20
21 include $(top_srcdir)/Makefile.common
22
23 SUBDIRS = spu runtime general wrapper .
24
25 # generate libgcell.la from the convenience libraries in subdirs
26
27 lib_LTLIBRARIES = libgcell.la libgcell-qa.la
28
29 libgcell_la_SOURCES = 
30 libgcell_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
31
32 libgcell_qa_la_SOURCES = 
33 libgcell_qa_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
34
35 libgcell_la_LIBADD = \
36         runtime/libruntime.la \
37         wrapper/libwrapper.la \
38         -lspe2 \
39         $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)
40
41 libgcell_qa_la_LIBADD = \
42         runtime/libruntime-qa.la \
43         wrapper/libwrapper-qa.la \
44         $(CPPUNIT_LIBS)