summaryrefslogtreecommitdiff
path: root/gr-audio-osx/src/Makefile.swig.gen
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-osx/src/Makefile.swig.gen')
-rw-r--r--gr-audio-osx/src/Makefile.swig.gen35
1 files changed, 9 insertions, 26 deletions
diff --git a/gr-audio-osx/src/Makefile.swig.gen b/gr-audio-osx/src/Makefile.swig.gen
index d48a85810..8a11ddc45 100644
--- a/gr-audio-osx/src/Makefile.swig.gen
+++ b/gr-audio-osx/src/Makefile.swig.gen
@@ -67,28 +67,10 @@ audio_osx_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)/audio_osx-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 += audio_osx.py
-# if GUILE
-# swig_built_sources += gnuradio/audio_osx.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 @@ _audio_osx_la_LIBADD = \
$(STD_SWIG_LA_LIB_ADD) \
$(audio_osx_la_swig_libadd)
-# _audio_osx_la_DEPENDENCIES = python/audio_osx.lo
-
_audio_osx_la_LDFLAGS = \
$(STD_SWIG_LA_LD_FLAGS) \
$(audio_osx_la_swig_ldflags)
@@ -123,14 +103,20 @@ audio_osx_python_PYTHON = \
audio_osx.py \
$(audio_osx)
+python/audio_osx.cc: audio_osx.py
+audio_osx.py: audio_osx.i
+
+# Include the python dependencies for this file
+-include python/audio_osx.d
+# end of PYTHON
+
if GUILE
audio_osx_scmlib_LTLIBRARIES = libguile-audio_osx.la
-libguile_audio_osx_la_SOURCES = \
+libguile_audio_osx_la_SOURCES = \
guile/audio_osx.cc \
$(audio_osx_la_swig_sources)
nobase_audio_osx_scm_DATA = gnuradio/audio_osx.scm gnuradio/audio_osx-primitive.scm
-# Guile can use the same flags as python does
libguile_audio_osx_la_LIBADD = $(_audio_osx_la_LIBADD)
libguile_audio_osx_la_LDFLAGS = $(_audio_osx_la_LDFLAGS)
libguile_audio_osx_la_CXXFLAGS = $(_audio_osx_la_CXXFLAGS)
@@ -139,12 +125,9 @@ guile/audio_osx.cc: gnuradio/audio_osx.scm
gnuradio/audio_osx.scm: audio_osx.i
gnuradio/audio_osx-primitive.scm: gnuradio/audio_osx.scm
+# Include the guile dependencies for this file
-include guile/audio_osx.d
endif # end of GUILE
-audio_osx.lo: audio_osx.py audio_osx.scm
-audio_osx.py: audio_osx.i
-
--include python/audio_osx.d