Merged r10554:10595 from michaelld/am_swig_4 into trunk. Major overhaul of SWIG...
[debian/gnuradio] / gr-howto-write-a-block / src / lib / Makefile.am
1 #
2 # Copyright 2004,2005,2006,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 # C/C++ headers get installed in ${prefix}/include/gnuradio
25 grinclude_HEADERS =             \
26         howto_square_ff.h       \
27         howto_square2_ff.h
28
29 ###################################
30 # SWIG Python interface and library
31
32 TOP_SWIG_IFILES =               \
33         howto.i
34
35 # Install so that they end up available as:
36 #   import gnuradio.howto
37 # This ends up at:
38 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio
39 howto_pythondir_category =      \
40         gnuradio
41
42 # additional arguments to the SWIG command
43 #howto_la_swig_args =           \
44 #       -g
45
46 # additional sources for the SWIG-generated library
47 howto_la_swig_sources =         \
48         howto_square_ff.cc      \
49         howto_square2_ff.cc
50
51 # additional arguments to the SWIG command
52 #howto_la_swig_args =           \
53 #       $(SWIG_PYTHON_ARGS)
54
55 # additional libraries for linking with the SWIG-generated library
56 #howto_la_swig_libadd =         \
57 #       libm.dylib
58
59 # additional LD flags for linking the SWIG-generated library
60 #howto_la_swig_ldflags =        \
61 #       -L/opt/local/bin
62
63 # additional Python files to be installed along with the SWIG-generated one
64 #howto_python =                 \
65 #       __init__.py
66
67 # additional SWIG files to be installed
68 #howto_swiginclude_headers =    \
69 #       nothing.i
70
71 include $(top_srcdir)/Makefile.swig
72
73 # add some of the variables generated inside the Makefile.swig.gen
74 BUILT_SOURCES = $(swig_built_sources)
75
76 # Do not distribute the output of SWIG
77 no_dist_files = $(swig_built_sources)