summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorjcorgan2006-08-08 04:00:12 +0000
committerjcorgan2006-08-08 04:00:12 +0000
commit1d6a61e49b4a7074abaced0eae1c4840cf29f3c6 (patch)
treeef107e5843407b09ba9201b615b2b0d630200611 /gnuradio-core/src/lib
parentfaa24d29c7ef9edc4634907b132f9fdc9f288f40 (diff)
downloadgnuradio-1d6a61e49b4a7074abaced0eae1c4840cf29f3c6.tar.gz
gnuradio-1d6a61e49b4a7074abaced0eae1c4840cf29f3c6.tar.bz2
gnuradio-1d6a61e49b4a7074abaced0eae1c4840cf29f3c6.zip
Trial fix for ticket 13.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3222 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/swig/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/swig/Makefile.am b/gnuradio-core/src/lib/swig/Makefile.am
index 77bd03083..642893698 100644
--- a/gnuradio-core/src/lib/swig/Makefile.am
+++ b/gnuradio-core/src/lib/swig/Makefile.am
@@ -80,13 +80,16 @@ _gnuradio_swig_python_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
# If it works, we have accurate dependencies for our swig stuff, which is good.
@am__include@ @am__quote@./gnuradio_swig_python.d@am__quote@
-gnuradio_swig_python.cc gnuradio_swig_python.py gnuradio_swig_python.h : gnuradio.i
+gnuradio_swig_python.py gnuradio_swig_python.h: gnuradio_swig_python.cc
+
+gnuradio_swig_python.cc : gnuradio.i
if $(SWIG) $(SWIGPYTHONARGS) -MMD -MF gnuradio_swig_python.Td -module gnuradio_swig_python -o gnuradio_swig_python.cc $< ;\
then if test $(host_os) = mingw32; \
then sed 's,\\\\,/,g' <gnuradio_swig_python.Td >gnuradio_swig_python.d; rm -f gnuradio_swig_python.Td; \
else mv -f gnuradio_swig_python.Td gnuradio_swig_python.d; fi \
else rm -f gnuradio_swig_python.Td; exit 1; fi
+
gnuradio_swig_bug_workaround.h : gnuradio_swig_python.cc $(srcdir)/gen-swig-bug-fix
$(srcdir)/gen-swig-bug-fix $< $@