summaryrefslogtreecommitdiff
path: root/gr-usrp/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gr-usrp/src/Makefile.am')
-rw-r--r--gr-usrp/src/Makefile.am17
1 files changed, 14 insertions, 3 deletions
diff --git a/gr-usrp/src/Makefile.am b/gr-usrp/src/Makefile.am
index db5be4ade..9c1f4b525 100644
--- a/gr-usrp/src/Makefile.am
+++ b/gr-usrp/src/Makefile.am
@@ -20,6 +20,7 @@
#
include $(top_srcdir)/Makefile.common
+include $(top_srcdir)/Makefile.swig
# ----------------------------------------------------------------
# Misc. build/installation activities
@@ -30,6 +31,10 @@ DISTCLEANFILES = run_tests
noinst_PYTHON = qa_usrp.py
+nobase_guile_DATA = gnuradio/usrp.scm
+
+TESTS =
+
# ----------------------------------------------------------------
# The straight C++ library
@@ -67,10 +72,8 @@ grinclude_HEADERS = \
usrp_source_c.h \
usrp_source_s.h
-if PYTHON
# ----------------------------------------------------------------
# The SWIG library
-TESTS = run_tests
TOP_SWIG_IFILES = \
usrp_swig.i
@@ -105,11 +108,19 @@ usrp_swig_swiginclude_headers = \
usrp_sink_s.i \
usrp_standard.i
-include $(top_srcdir)/Makefile.swig
# add some of the variables generated inside the Makefile.swig.gen
BUILT_SOURCES = $(swig_built_sources)
# Do not distribute the output of SWIG
no_dist_files = $(swig_built_sources)
+
+
+if PYTHON
+TESTS += run_tests
endif
+
+if GUILE
+TESTS += run_guile_tests
+endif
+