2 # Copyright 2004,2005,2006,2008,2009,2010 Free Software Foundation, Inc.
4 # This file is part of GNU Radio
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)
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.
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.
22 include $(top_srcdir)/Makefile.common
24 # ----------------------------------------------------------------------
25 # Local Python files, not installed
28 # ----------------------------------------------------------------------
30 noinst_PYTHON = qa_usrp2.py
32 # ----------------------------------------------------------------------
33 # Miscellaneous build operations
34 # ----------------------------------------------------------------------
36 EXTRA_DIST = run_tests.in
37 DISTCLEANFILES = run_tests
39 # ----------------------------------------------------------------------
40 # C++ block API interface librar(ies)
43 # ----------------------------------------------------------------------
47 $(STD_DEFINES_AND_INCLUDES) \
51 lib_LTLIBRARIES = libgnuradio-usrp2.la
53 libgnuradio_usrp2_la_LDFLAGS = $(LTVERSIONFLAGS)
55 libgnuradio_usrp2_la_SOURCES = \
59 usrp2_source_base.cc \
60 usrp2_source_16sc.cc \
61 usrp2_source_32fc.cc \
66 libgnuradio_usrp2_la_LIBADD = \
84 # ----------------------------------------------------------------------
85 # Python SWIG wrapper around C++ library
89 # ----------------------------------------------------------------------
95 # Install so that they end up available as:
96 # import gnuradio.usrp2
98 # ${prefix}/lib/python${python_version}/site-packages/gnuradio
99 usrp2_pythondir_category = \
102 # additional arguments to the SWIG command
106 # additional libraries for linking with the SWIG-generated library
107 usrp2_la_swig_libadd = \
110 include $(top_srcdir)/Makefile.swig
112 # add some of the variables generated inside the Makefile.swig.gen
113 BUILT_SOURCES = $(swig_built_sources)
115 # Do not distribute the output of SWIG
116 no_dist_files = $(swig_built_sources)