Imported Upstream version 3.2.2
[debian/gnuradio] / usrp / host / swig / Makefile.am
1 #
2 # Copyright 2001,2003,2004,2006,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 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 AM_CPPFLAGS =                   \
25         $(USRP_INCLUDES)        \
26         $(PYTHON_CPPFLAGS)      \
27         -I$(srcdir)             \
28         $(WITH_INCLUDES)
29
30 #################################
31 # SWIG interface and library
32
33 TOP_SWIG_IFILES =               \
34         usrp_prims.i
35
36 # Install so that they end up available as:
37 #   import usrpm.usrp_prims
38 # This ends up at:
39 #   ${prefix}/lib/python${python_version}/site-packages/usrpm
40 usrp_prims_pythondir_category = \
41         usrpm
42
43 # additional arguments to the SWIG command
44 usrp_prims_swig_args =          \
45         $(USRP_INCLUDES)
46
47 # additional libraries for linking with the SWIG-generated library
48 usrp_prims_la_swig_libadd =     \
49         $(USRP_LA)
50
51 # additional Python files to be installed along with the SWIG-generated one
52 usrp_prims_python =             \
53         __init__.py             \
54         usrp_fpga_regs.py
55
56 include $(top_srcdir)/Makefile.swig
57
58 # add some of the variables generated inside the Makefile.swig.gen
59 BUILT_SOURCES = $(swig_built_sources)
60
61 # Do not distribute the output of SWIG
62 no_dist_files = $(swig_built_sources)