diff options
Diffstat (limited to 'gr-uhd/swig/Makefile.swig.gen')
-rw-r--r-- | gr-uhd/swig/Makefile.swig.gen | 35 |
1 files changed, 9 insertions, 26 deletions
diff --git a/gr-uhd/swig/Makefile.swig.gen b/gr-uhd/swig/Makefile.swig.gen index c0823e5f2..1ddbf0bd9 100644 --- a/gr-uhd/swig/Makefile.swig.gen +++ b/gr-uhd/swig/Makefile.swig.gen @@ -67,28 +67,10 @@ uhd_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)/uhd_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 += uhd_swig.py -# if GUILE -# swig_built_sources += gnuradio/uhd_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 @@ _uhd_swig_la_LIBADD = \ $(STD_SWIG_LA_LIB_ADD) \ $(uhd_swig_la_swig_libadd) -# _uhd_swig_la_DEPENDENCIES = python/uhd_swig.lo - _uhd_swig_la_LDFLAGS = \ $(STD_SWIG_LA_LD_FLAGS) \ $(uhd_swig_la_swig_ldflags) @@ -123,14 +103,20 @@ uhd_swig_python_PYTHON = \ uhd_swig.py \ $(uhd_swig) +python/uhd_swig.cc: uhd_swig.py +uhd_swig.py: uhd_swig.i + +# Include the python dependencies for this file +-include python/uhd_swig.d +# end of PYTHON + if GUILE uhd_swig_scmlib_LTLIBRARIES = libguile-uhd_swig.la -libguile_uhd_swig_la_SOURCES = \ +libguile_uhd_swig_la_SOURCES = \ guile/uhd_swig.cc \ $(uhd_swig_la_swig_sources) nobase_uhd_swig_scm_DATA = gnuradio/uhd_swig.scm gnuradio/uhd_swig-primitive.scm -# Guile can use the same flags as python does libguile_uhd_swig_la_LIBADD = $(_uhd_swig_la_LIBADD) libguile_uhd_swig_la_LDFLAGS = $(_uhd_swig_la_LDFLAGS) libguile_uhd_swig_la_CXXFLAGS = $(_uhd_swig_la_CXXFLAGS) @@ -139,12 +125,9 @@ guile/uhd_swig.cc: gnuradio/uhd_swig.scm gnuradio/uhd_swig.scm: uhd_swig.i gnuradio/uhd_swig-primitive.scm: gnuradio/uhd_swig.scm +# Include the guile dependencies for this file -include guile/uhd_swig.d endif # end of GUILE -uhd_swig.lo: uhd_swig.py uhd_swig.scm -uhd_swig.py: uhd_swig.i - --include python/uhd_swig.d |