]> git.gag.com Git - debian/gnuradio/blob - gr-vrt/src/Makefile.am
Merged VRT work-in-progress from eb/vrt2 (11518:11598) into trunk.
[debian/gnuradio] / gr-vrt / src / 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 # ----------------------------------------------------------------------
25 # Local Python files, not installed
26 #
27 # qa_vrt.py
28 # ----------------------------------------------------------------------
29
30 noinst_PYTHON = qa_vrt.py
31
32 # ----------------------------------------------------------------------
33 # Miscellaneous build operations
34 # ----------------------------------------------------------------------
35
36 EXTRA_DIST = run_tests.in
37 TESTS = run_tests
38 DISTCLEANFILES = run_tests
39
40 # ----------------------------------------------------------------------
41 # C++ block API interface librar(ies)
42 #
43 # libgnuradio_vrt.so
44 # ----------------------------------------------------------------------
45 AM_CPPFLAGS = \
46         $(STD_DEFINES_AND_INCLUDES)  \
47         $(GRUEL_INCLUDES) \
48         $(PYTHON_CPPFLAGS) \
49         $(VRT_INCLUDES) \
50         $(WITH_INCLUDES)
51
52 lib_LTLIBRARIES = libgnuradio-vrt.la
53
54 libgnuradio_vrt_la_SOURCES = \
55         missing_pkt_checker.cc \
56         vrt_source_base.cc \
57         vrt_source_32fc.cc \
58         vrt_quadradio_source_32fc.cc
59
60
61 #libgnuradio_vrt_la_SOURCES = \
62 #       rx_16sc_handler.cc \
63 #       rx_32fc_handler.cc \
64 #       vrt_base.cc \
65 #       vrt_source_base.cc \
66 #       vrt_source_16sc.cc \
67 #       vrt_source_32fc.cc
68
69 #       vrt_sink_base.cc \
70 #       vrt_sink_16sc.cc \
71 #       vrt_sink_32fc.cc
72
73 libgnuradio_vrt_la_LIBADD = \
74         $(VRT_LA) \
75         $(GNURADIO_CORE_LA) 
76
77 grinclude_HEADERS = \
78         vrt_source_base.h \
79         vrt_source_32fc.h \
80         vrt_quadradio_source_32fc.h
81
82 #       vrt_source_16sc.h \
83 #       vrt_sink_base.h \
84 #       vrt_sink_16sc.h \
85 #       vrt_sink_32fc.h
86
87 noinst_HEADERS = \
88         missing_pkt_checker.h
89
90
91 # ----------------------------------------------------------------------
92 # Python SWIG wrapper around C++ library
93 #
94 # vrt.py
95 # _vrt.so
96 # ----------------------------------------------------------------------
97
98 TOP_SWIG_IFILES =               \
99         vrt.i
100
101 # Install so that they end up available as:
102 #   import gnuradio.vrt
103 # This ends up at:
104 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio
105 vrt_pythondir_category =        \
106         gnuradio
107
108 # additional arguments to the SWIG command
109 vrt_swig_args =         \
110         $(VRT_INCLUDES)
111
112 # additional libraries for linking with the SWIG-generated library
113 vrt_la_swig_libadd =            \
114         libgnuradio-vrt.la
115
116 include $(top_srcdir)/Makefile.swig
117
118 # add some of the variables generated inside the Makefile.swig.gen
119 BUILT_SOURCES = $(swig_built_sources)
120
121 # Do not distribute the output of SWIG
122 no_dist_files = $(swig_built_sources)