From 1d6a61e49b4a7074abaced0eae1c4840cf29f3c6 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Tue, 8 Aug 2006 04:00:12 +0000 Subject: Trial fix for ticket 13. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3222 221aa14e-8319-0410-a670-987f0aec2ac5 --- gnuradio-core/src/lib/swig/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnuradio-core/src/lib') 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.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 $< $@ -- cgit