Imported Upstream version 3.0
[debian/gnuradio] / gnuradio-core / src / lib / Makefile.am
1 #
2 # Copyright 2001,2004 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 2, 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 general g72x reed-solomon omnithread io . swig
28
29 # generate libgnuradio-core.la from the convenience libraries in subdirs
30
31 lib_LTLIBRARIES = libgnuradio-core.la libgnuradio-core-qa.la
32
33 libgnuradio_core_la_SOURCES = bug_work_around_6.cc
34 libgnuradio_core_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
35
36 libgnuradio_core_qa_la_SOURCES = bug_work_around_6.cc
37 libgnuradio_core_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 \
38                                 $(LIBGNURADIO_CORE_EXTRA_LDFLAGS)
39
40 libgnuradio_core_la_LIBADD  =           \
41         filter/libfilter.la             \
42         g72x/libccitt.la                \
43         general/libgeneral.la           \
44         io/libio.la                     \
45         missing/libmissing.la           \
46         omnithread/libomnithread.la     \
47         reed-solomon/librs.la           \
48         runtime/libruntime.la           \
49         $(FFTW3F_LIBS)
50
51 libgnuradio_core_qa_la_LIBADD  =        \
52         filter/libfilter-qa.la          \
53         general/libgeneral-qa.la        \
54         runtime/libruntime-qa.la        \
55         missing/libmissing.la           \
56         libgnuradio-core.la             \
57         $(CPPUNIT_LIBS)