Updates to udp source/sink (select(), wait, cleanup)
[debian/gnuradio] / gr-msdd6000 / src / Makefile.am
1 #
2 # Copyright 2007,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 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 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) \
25         $(WITH_INCLUDES)
26
27 # C/C++ headers get installed in ${prefix}/include/gnuradio
28 grinclude_HEADERS =                     \
29         msdd_source_simple.h            \
30         msdd_buffer_copy_behaviors.h    \
31         msdd6000.h                      \
32         msdd_rs_source_simple.h         \
33         msdd6000_rs.h
34
35 lib_LTLIBRARIES = libgnuradio-msdd6000.la \
36         libgnuradio-msdd6000_rs.la
37
38 libgnuradio_msdd6000_la_SOURCES =       \
39         msdd_source_simple.cc           \
40         msdd6000.cc
41
42
43 libgnuradio_msdd6000_rs_la_SOURCES =    \
44         msdd_rs_source_simple.cc                \
45         msdd6000_rs.cc
46
47 libgnuradio_msdd6000_la_LIBADD =        \
48         $(GNURADIO_CORE_LA)
49
50 libgnuradio_msdd6000_la_LDFLAGS =       \
51         $(NO_UNDEFINED)
52
53 libgnuradio_msdd6000_rs_la_LIBADD =     \
54         $(GNURADIO_CORE_LA)
55
56 libgnuradio_msdd6000_rs_la_LDFLAGS =    \
57         $(NO_UNDEFINED)
58
59 if PYTHON
60 #################################
61 # SWIG interface and library
62
63 TOP_SWIG_IFILES =                       \
64         msdd.i msdd_rs.i
65
66 # Install so that they end up available as:
67 #   import gnuradio.msdd
68 # This ends up at:
69 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio
70 msdd_pythondir_category =               \
71         gnuradio
72
73 msdd_rs_pythondir_category =    \
74         gnuradio
75
76 # additional libraries for linking with the SWIG-generated library
77 msdd_la_swig_libadd =                   \
78         libgnuradio-msdd6000.la
79
80 msdd_rs_la_swig_libadd =                        \
81         libgnuradio-msdd6000_rs.la
82
83 include $(top_srcdir)/Makefile.swig
84
85 # add some of the variables generated inside the Makefile.swig.gen
86 BUILT_SOURCES = $(swig_built_sources)
87
88 # Do not distribute the output of SWIG
89 no_dist_files = $(swig_built_sources)
90 endif