Merged r11491:11494 from jcorgan/pmt into trunk.
[debian/gnuradio] / gruel / src / lib / Makefile.am
1 #
2 # Copyright 2008,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 SUBDIRS = pmt
25
26 AM_CPPFLAGS = $(DEFINES) $(BOOST_CPPFLAGS) $(CPPUNIT_INCLUDES) $(GRUEL_INCLUDES) $(WITH_INCLUDES)
27
28 lib_LTLIBRARIES = libgruel.la
29
30 # magic flags
31 libgruel_la_LDFLAGS = $(NO_UNDEFINED) $(BOOST_LDFLAGS) -version-info 0:0:0
32
33 # ----------------------------------------------------------------
34
35 PMT_LIB = pmt/libpmt.la
36
37 # These are the source files that go into the gruel shared library
38 libgruel_la_SOURCES =                   \
39         realtime.cc                     \
40         sys_pri.cc                      \
41         thread_body_wrapper.cc          \
42         thread_group.cc
43
44 libgruel_la_LIBADD =                    \
45         $(BOOST_THREAD_LIB)             \
46         $(PMT_LIB)                      \
47         -lstdc++
48
49