Imported Upstream version 3.2.2
[debian/gnuradio] / gr-gcell / src / Makefile.am
1 #
2 # Copyright 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 along
17 # with this program; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20
21 include $(top_srcdir)/Makefile.common
22
23 SUBDIRS = . examples
24
25 EXTRA_DIST = run_tests.in
26
27 TESTS = run_tests
28
29 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(GCELL_INCLUDES) \
30         $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
31
32 # ----------------------------------------------------------------
33
34 noinst_PYTHON =  \
35         qa_fft.py
36
37 DISTCLEANFILES = \
38         gcell.d \
39         run_tests
40
41 # ----------------------------------------------------------------
42 #                        The C++ blocks
43 # ----------------------------------------------------------------
44
45 # the library for the C++ blocks
46 lib_LTLIBRARIES = libgr_gcell.la
47
48 libgr_gcell_la_SOURCES = \
49         gcell_fft_vcc.cc
50
51 # C/C++ headers get installed in ${prefix}/include/gnuradio
52 grinclude_HEADERS = \
53         gcell_fft_vcc.h
54
55 libgr_gcell_la_LIBADD = \
56         $(GNURADIO_CORE_LA) \
57         $(GCELL_LA)
58
59 libgr_gcell_la_LDFLAGS = $(NO_UNDEFINED)
60
61 # ----------------------------------------------------------------
62 #                         SWIG stuff
63 # ----------------------------------------------------------------
64
65 TOP_SWIG_IFILES =               \
66         gcell.i
67
68 # Install so that they end up available as:
69 #   import gnuradio.gcell
70 # This ends up at:
71 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio
72 gcell_pythondir_category =      \
73         gnuradio
74
75 # additional arguments to the SWIG command
76 gcell_swig_args =               \
77         $(GCELL_INCLUDES)
78
79 # additional libraries for linking with the SWIG-generated library
80 gcell_la_swig_libadd =          \
81         libgr_gcell.la
82
83 # additional SWIG files to be installed
84 gcell_swiginclude_headers =     \
85         gc_job_manager.i        \
86         gcell_fft_vcc.i
87
88 include $(top_srcdir)/Makefile.swig
89
90 # add some of the variables generated inside the Makefile.swig.gen
91 BUILT_SOURCES = $(swig_built_sources)
92
93 # Do not distribute the output of SWIG
94 no_dist_files = $(swig_built_sources)