summaryrefslogtreecommitdiff
path: root/gr-audio-jack/src/Makefile.am
diff options
context:
space:
mode:
authorNick Foster2011-01-10 15:25:19 -0800
committerNick Foster2011-01-10 15:25:19 -0800
commit70e978b7fdc0285b56ed3ec7be3f10dc3d922504 (patch)
tree75231113034c1ac75277fbe444c02e9b600b2a7a /gr-audio-jack/src/Makefile.am
parent0e92b93f21fc9c324c379bc318120d414e7422cc (diff)
parentbb438e7d12c5767123f8abed5810f284a5f18bf8 (diff)
downloadgnuradio-70e978b7fdc0285b56ed3ec7be3f10dc3d922504.tar.gz
gnuradio-70e978b7fdc0285b56ed3ec7be3f10dc3d922504.tar.bz2
gnuradio-70e978b7fdc0285b56ed3ec7be3f10dc3d922504.zip
Merge branch 'next' of http://gnuradio.org/git/gnuradio into next
Diffstat (limited to 'gr-audio-jack/src/Makefile.am')
-rw-r--r--gr-audio-jack/src/Makefile.am22
1 files changed, 9 insertions, 13 deletions
diff --git a/gr-audio-jack/src/Makefile.am b/gr-audio-jack/src/Makefile.am
index 8e0dfe1e3..9a0c8b9be 100644
--- a/gr-audio-jack/src/Makefile.am
+++ b/gr-audio-jack/src/Makefile.am
@@ -1,5 +1,5 @@
#
-# Copyright 2005,2008,2009 Free Software Foundation, Inc.
+# Copyright 2005,2008,2009,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -20,8 +20,11 @@
#
include $(top_srcdir)/Makefile.common
+include $(top_srcdir)/Makefile.swig
-EXTRA_DIST = run_tests.in
+TESTS =
+EXTRA_DIST += run_tests.in
+DISTCLEANFILES += run_tests
# C/C++ headers get installed in ${prefix}/include/gnuradio
grinclude_HEADERS = \
@@ -35,7 +38,7 @@ lib_LTLIBRARIES = libgnuradio-audio-jack.la
libgnuradio_audio_jack_la_SOURCES = \
audio_jack_sink.cc \
- audio_jack_source.cc \
+ audio_jack_source.cc \
gri_jack.cc
libgnuradio_audio_jack_la_LIBADD = \
@@ -49,11 +52,8 @@ noinst_PYTHON = \
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
-if PYTHON
###################################
-# SWIG Python interface and library
-TESTS = run_tests
-DISTCLEANFILES = run_tests
+# SWIG interfaces and libraries
TOP_SWIG_IFILES = \
audio_jack.i
@@ -69,11 +69,7 @@ audio_jack_pythondir_category = \
audio_jack_la_swig_libadd = \
libgnuradio-audio-jack.la
-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