summaryrefslogtreecommitdiff
path: root/gr-pager/swig/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gr-pager/swig/Makefile.am')
-rw-r--r--gr-pager/swig/Makefile.am22
1 files changed, 15 insertions, 7 deletions
diff --git a/gr-pager/swig/Makefile.am b/gr-pager/swig/Makefile.am
index c59bdb0f2..3d62c80f0 100644
--- a/gr-pager/swig/Makefile.am
+++ b/gr-pager/swig/Makefile.am
@@ -20,6 +20,10 @@
#
include $(top_srcdir)/Makefile.common
+include $(top_srcdir)/Makefile.swig
+
+TESTS =
+EXTRA_DIST += $(nobase_guile_DATA)
AM_CPPFLAGS = \
-I$(top_srcdir)/gr-pager/lib \
@@ -27,6 +31,14 @@ AM_CPPFLAGS = \
$(PYTHON_CPPFLAGS) \
$(WITH_INCLUDES)
+if GUILE
+nobase_guile_DATA = \
+ gnuradio/pager.scm
+endif
+
+noinst_GUILE = pager.test
+
+
##############################
# SWIG interface and library
TOP_SWIG_IFILES = \
@@ -51,10 +63,6 @@ pager_swig_swiginclude_headers = \
pager_flex_sync.i \
pager_slicer_fb.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 GUILE
+TESTS += run_guile_tests
+endif \ No newline at end of file