switch source package format to 3.0 quilt
[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         $(USB_INCLUDES)         \
29         $(WITH_INCLUDES)
30
31 #################################
32 # SWIG interface and library
33
34 TOP_SWIG_IFILES =               \
35         usrp_prims.i
36
37 # Install so that they end up available as:
38 #   import usrpm.usrp_prims
39 # This ends up at:
40 #   ${prefix}/lib/python${python_version}/site-packages/usrpm
41 usrp_prims_pythondir_category = \
42         usrpm
43
44 # additional arguments to the SWIG command
45 usrp_prims_swig_args =          \
46         $(USRP_INCLUDES)
47
48 # additional libraries for linking with the SWIG-generated library
49 usrp_prims_la_swig_libadd =     \
50         $(USRP_LA)
51
52 # additional Python files to be installed along with the SWIG-generated one
53 usrp_prims_python =             \
54         __init__.py             \
55         usrp_fpga_regs.py
56
57 include $(top_srcdir)/Makefile.swig
58
59 # add some of the variables generated inside the Makefile.swig.gen
60 BUILT_SOURCES = $(swig_built_sources)
61
62 # Do not distribute the output of SWIG
63 no_dist_files = $(swig_built_sources)