summaryrefslogtreecommitdiff
path: root/gr-atsc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-atsc')
-rw-r--r--gr-atsc/src/lib/Makefile.swig.gen37
1 files changed, 10 insertions, 27 deletions
diff --git a/gr-atsc/src/lib/Makefile.swig.gen b/gr-atsc/src/lib/Makefile.swig.gen
index f4667c5c6..8b53ada78 100644
--- a/gr-atsc/src/lib/Makefile.swig.gen
+++ b/gr-atsc/src/lib/Makefile.swig.gen
@@ -67,28 +67,10 @@ atsc_swigincludedir = $(swigincludedir)
## right thing. For more info, see <
## http://sources.redhat.com/automake/automake.html#Multiple-Outputs >
-## Stamps used to ensure parallel make does the right thing. These
-## are removed by "make clean", but otherwise unused except during the
-## parallel built. These will not be included in a tarball, because
-## the SWIG-generated files will be removed from the distribution.
-
-STAMPS += $(DEPDIR)/atsc-generate-*
-
## Other cleaned files: dependency files generated by SWIG or this Makefile
MOSTLYCLEANFILES += $(DEPDIR)/*.S*
-## Add the .py and .cc files to the list of SWIG built sources. The
-## .h file is sometimes built, but not always ... so that one has to
-## be added manually by the including Makefile.am .
-
-# generating the py or scm file also generates the .cc or .h files,
-# but dependencies work better without the .cc ort .h files listed.
-# swig_built_sources += atsc.py
-# if GUILE
-# swig_built_sources += gnuradio/atsc.scm
-# endif
-
## Various SWIG variables. These can be overloaded in the including
## Makefile.am by setting the variable value there, then including
## Makefile.swig .
@@ -108,8 +90,6 @@ _atsc_la_LIBADD = \
$(STD_SWIG_LA_LIB_ADD) \
$(atsc_la_swig_libadd)
-# _atsc_la_DEPENDENCIES = python/atsc.lo
-
_atsc_la_LDFLAGS = \
$(STD_SWIG_LA_LD_FLAGS) \
$(atsc_la_swig_ldflags)
@@ -123,14 +103,20 @@ atsc_python_PYTHON = \
atsc.py \
$(atsc)
+python/atsc.cc: atsc.py
+atsc.py: atsc.i
+
+# Include the python dependencies for this file
+-include python/atsc.d
+# end of PYTHON
+
if GUILE
atsc_scmlib_LTLIBRARIES = libguile-atsc.la
-libguile_atsc_la_SOURCES = \
- guile/atsc.cc \
+libguile_atsc_la_SOURCES = \
+ guile/atsc.cc \
$(atsc_la_swig_sources)
nobase_atsc_scm_DATA = gnuradio/atsc.scm gnuradio/atsc-primitive.scm
-# Guile can use the same flags as python does
libguile_atsc_la_LIBADD = $(_atsc_la_LIBADD)
libguile_atsc_la_LDFLAGS = $(_atsc_la_LDFLAGS)
libguile_atsc_la_CXXFLAGS = $(_atsc_la_CXXFLAGS)
@@ -139,12 +125,9 @@ guile/atsc.cc: gnuradio/atsc.scm
gnuradio/atsc.scm: atsc.i
gnuradio/atsc-primitive.scm: gnuradio/atsc.scm
+# Include the guile dependencies for this file
-include guile/atsc.d
endif # end of GUILE
-atsc.lo: atsc.py atsc.scm
-atsc.py: atsc.i
-
--include python/atsc.d