summaryrefslogtreecommitdiff
path: root/gr-noaa/swig
diff options
context:
space:
mode:
authorRob Savoye2010-11-01 19:02:55 -0600
committerEric Blossom2010-11-10 12:15:43 -0800
commit0939607d0b4a3ae047ceff60fab300000c7d2069 (patch)
tree318cb73601f80410e4c8d7a68f8245aee2d4e9fb /gr-noaa/swig
parent77fbf9dbc94aabebf7c760546d43c522c536fe24 (diff)
downloadgnuradio-0939607d0b4a3ae047ceff60fab300000c7d2069.tar.gz
gnuradio-0939607d0b4a3ae047ceff60fab300000c7d2069.tar.bz2
gnuradio-0939607d0b4a3ae047ceff60fab300000c7d2069.zip
regenerated
Diffstat (limited to 'gr-noaa/swig')
-rw-r--r--gr-noaa/swig/Makefile.swig.gen37
1 files changed, 10 insertions, 27 deletions
diff --git a/gr-noaa/swig/Makefile.swig.gen b/gr-noaa/swig/Makefile.swig.gen
index 7e0287853..5bbb7a6d8 100644
--- a/gr-noaa/swig/Makefile.swig.gen
+++ b/gr-noaa/swig/Makefile.swig.gen
@@ -67,28 +67,10 @@ noaa_swig_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)/noaa_swig-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 += noaa_swig.py
-# if GUILE
-# swig_built_sources += gnuradio/noaa_swig.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 @@ _noaa_swig_la_LIBADD = \
$(STD_SWIG_LA_LIB_ADD) \
$(noaa_swig_la_swig_libadd)
-# _noaa_swig_la_DEPENDENCIES = python/noaa_swig.lo
-
_noaa_swig_la_LDFLAGS = \
$(STD_SWIG_LA_LD_FLAGS) \
$(noaa_swig_la_swig_ldflags)
@@ -123,14 +103,20 @@ noaa_swig_python_PYTHON = \
noaa_swig.py \
$(noaa_swig)
+python/noaa_swig.cc: noaa_swig.py
+noaa_swig.py: noaa_swig.i
+
+# Include the python dependencies for this file
+-include python/noaa_swig.d
+# end of PYTHON
+
if GUILE
noaa_swig_scmlib_LTLIBRARIES = libguile-noaa_swig.la
-libguile_noaa_swig_la_SOURCES = \
- guile/noaa_swig.cc \
+libguile_noaa_swig_la_SOURCES = \
+ guile/noaa_swig.cc \
$(noaa_swig_la_swig_sources)
nobase_noaa_swig_scm_DATA = gnuradio/noaa_swig.scm gnuradio/noaa_swig-primitive.scm
-# Guile can use the same flags as python does
libguile_noaa_swig_la_LIBADD = $(_noaa_swig_la_LIBADD)
libguile_noaa_swig_la_LDFLAGS = $(_noaa_swig_la_LDFLAGS)
libguile_noaa_swig_la_CXXFLAGS = $(_noaa_swig_la_CXXFLAGS)
@@ -139,12 +125,9 @@ guile/noaa_swig.cc: gnuradio/noaa_swig.scm
gnuradio/noaa_swig.scm: noaa_swig.i
gnuradio/noaa_swig-primitive.scm: gnuradio/noaa_swig.scm
+# Include the guile dependencies for this file
-include guile/noaa_swig.d
endif # end of GUILE
-noaa_swig.lo: noaa_swig.py noaa_swig.scm
-noaa_swig.py: noaa_swig.i
-
--include python/noaa_swig.d