Merged r11123:11148 from jcorgan/np into trunk.
[debian/gnuradio] / gnuradio-core / src / lib / Makefile.am
1 #
2 # Copyright 2001,2004,2009 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
17 # along with GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 ## Process this file with automake to produce Makefile.in
25
26 # We've got to build . before swig
27 SUBDIRS = missing runtime filter viterbi general gengen g72x reed-solomon io hier .
28 if PYTHON
29 SUBDIRS += swig
30 endif
31
32 # generate libgnuradio-core.la from the convenience libraries in subdirs
33
34 lib_LTLIBRARIES = libgnuradio-core.la libgnuradio-core-qa.la
35
36 libgnuradio_core_la_SOURCES = bug_work_around_6.cc
37 libgnuradio_core_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
38
39 libgnuradio_core_qa_la_SOURCES = bug_work_around_6.cc
40 libgnuradio_core_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 \
41                                  $(LIBGNURADIO_CORE_EXTRA_LDFLAGS)
42
43
44 libgnuradio_core_la_LIBADD  =           \
45         filter/libfilter.la             \
46         g72x/libccitt.la                \
47         viterbi/libviterbi.la           \
48         general/libgeneral.la           \
49         gengen/libgengen.la             \
50         io/libio.la                     \
51         missing/libmissing.la           \
52         reed-solomon/librs.la           \
53         runtime/libruntime.la           \
54         hier/libhier.la                 \
55         $(OMNITHREAD_LA)                \
56         $(GRUEL_LA)                     \
57         $(FFTW3F_LIBS)                  \
58         $(GSL_LIBS)                     \
59         $(CBLAS_LIBS)                   
60
61 libgnuradio_core_qa_la_LIBADD  =        \
62         filter/libfilter-qa.la          \
63         general/libgeneral-qa.la        \
64         runtime/libruntime-qa.la        \
65         libgnuradio-core.la             \
66         $(CPPUNIT_LIBS)