Merged r10554:10595 from michaelld/am_swig_4 into trunk. Major overhaul of SWIG...
[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
33 #################################
34 # SWIG interface and library
35
36 TOP_SWIG_IFILES =                       \
37         msdd.i
38
39 # Install so that they end up available as:
40 #   import gnuradio.msdd
41 # This ends up at:
42 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio
43 msdd_pythondir_category =               \
44         gnuradio
45
46 # additional sources for the SWIG-generated library
47 msdd_la_swig_sources =                  \
48         msdd_source_simple.cc           \
49         msdd6000.cc
50
51 # additional libraries for linking with the SWIG-generated library
52 msdd_la_swig_libadd =                   \
53         $(GNURADIO_CORE_LA)
54
55 include $(top_srcdir)/Makefile.swig
56
57 # add some of the variables generated inside the Makefile.swig.gen
58 BUILT_SOURCES = $(swig_built_sources)
59
60 # Do not distribute the output of SWIG
61 no_dist_files = $(swig_built_sources)