rearrange includes to always be: internal GR, external, with GR.
[debian/gnuradio] / gr-noaa / swig / Makefile.am
1 #
2 # Copyright 2004,2005,2006,2008,2009,2010 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         -I$(top_srcdir)/gr-noaa/lib \
26         $(STD_DEFINES_AND_INCLUDES) \
27         $(PYTHON_CPPFLAGS) \
28         $(WITH_INCLUDES)
29
30 if PYTHON
31 # ----------------------------------------------------------------
32 # The SWIG library
33 # TESTS = run_tests
34
35 TOP_SWIG_IFILES = \
36         noaa_swig.i
37
38 # Install so that they end up available as:
39 #   import gnuradio.noaa
40 # This ends up at:
41 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio/noaa
42 noaa_swig_pythondir_category = \
43         gnuradio/noaa
44
45 # additional libraries for linking with the SWIG-generated library
46 noaa_swig_la_swig_libadd = \
47         $(top_builddir)/gr-noaa/lib/libgnuradio-noaa.la
48
49 # additional Python files to be installed along with the SWIG-generated one
50 noaa_swig_python = \
51         __init__.py
52
53 # additional SWIG files to be installed
54 noaa_swig_swiginclude_headers = \
55         noaa_hrpt_decoder.i \
56         noaa_hrpt_deframer.i \
57         noaa_hrpt_pll_cf.i
58
59 include $(top_srcdir)/Makefile.swig
60
61 # add some of the variables generated inside the Makefile.swig.gen
62 BUILT_SOURCES = $(swig_built_sources)
63
64 # Do not distribute the output of SWIG
65 no_dist_files = $(swig_built_sources)
66 endif