86e3aa1f6c5b08b14931b9551f851232e494e66f
[debian/gnuradio] / gnuradio-core / src / lib / Makefile.am
1 #
2 # Copyright 2001,2004,2009,2010 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 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_INCLUDES) $(WITH_INCLUDES)
33
34 # generate libgnuradio-core.la from the convenience libraries in subdirs
35
36 lib_LTLIBRARIES = libgnuradio-core.la
37 noinst_LTLIBRARIES = libgnuradio-core-qa.la
38
39 libgnuradio_core_la_SOURCES = bug_work_around_6.cc
40 libgnuradio_core_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
41
42 libgnuradio_core_qa_la_SOURCES = bug_work_around_6.cc
43 libgnuradio_core_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 \
44                                  $(LIBGNURADIO_CORE_EXTRA_LDFLAGS)
45
46
47 libgnuradio_core_la_LIBADD  =           \
48         filter/libfilter.la             \
49         g72x/libccitt.la                \
50         viterbi/libviterbi.la           \
51         general/libgeneral.la           \
52         gengen/libgengen.la             \
53         io/libio.la                     \
54         missing/libmissing.la           \
55         reed-solomon/librs.la           \
56         runtime/libruntime.la           \
57         hier/libhier.la                 \
58         $(GRUEL_LA)                     \
59         $(FFTW3F_LIBS)                  \
60         $(GSL_LIBS)                     \
61         $(CBLAS_LIBS)                   
62
63 libgnuradio_core_qa_la_LIBADD  =        \
64         filter/libfilter-qa.la          \
65         general/libgeneral-qa.la        \
66         runtime/libruntime-qa.la        \
67         libgnuradio-core.la             \
68         $(CPPUNIT_LIBS)                 
69
70 bin_PROGRAMS = gnuradio-config-info
71 gnuradio_config_info_SOURCES = gnuradio-config-info.cc
72 gnuradio_config_info_LDADD = libgnuradio-core.la $(BOOST_PROGRAM_OPTIONS_LIB)