summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis/src/lib/Makefile.am')
-rw-r--r--gr-trellis/src/lib/Makefile.am25
1 files changed, 14 insertions, 11 deletions
diff --git a/gr-trellis/src/lib/Makefile.am b/gr-trellis/src/lib/Makefile.am
index 05cffb7b1..ae7f21f56 100644
--- a/gr-trellis/src/lib/Makefile.am
+++ b/gr-trellis/src/lib/Makefile.am
@@ -1,5 +1,5 @@
#
-# Copyright 2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc.
+# Copyright 2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -20,6 +20,14 @@
#
include $(top_srcdir)/Makefile.common
+include $(top_srcdir)/Makefile.swig
+
+TESTS =
+
+EXTRA_DIST += \
+ run_guile_tests.in \
+ trellis.test
+
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
@@ -64,7 +72,7 @@ python_built_sources = \
$(GENERATED_CC) \
trellis_generated.i
-EXTRA_DIST = \
+EXTRA_DIST += \
$(core_generator)
# These headers get installed in ${prefix}/include/gnuradio
@@ -101,8 +109,8 @@ libgnuradio_trellis_la_LIBADD = \
libgnuradio_trellis_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
+trellis.py trellis.scm: trellis_generated.i
-if PYTHON
#################################
# SWIG interface and library
@@ -147,13 +155,8 @@ gen_sources_deps = $(core_generator)
par_gen_command = PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
include $(top_srcdir)/Makefile.par.gen
-include $(top_srcdir)/Makefile.swig
-
-# add some of the variables generated inside the Makefile.swig.gen
-BUILT_SOURCES = \
- $(python_built_sources) \
- $(swig_built_sources)
+BUILT_SOURCES += $(python_built_sources)
-# Do not distribute the output of SWIG
-no_dist_files = $(swig_built_sources)
+if GUILE
+TESTS += run_guile_tests
endif