diff options
author | Rob Savoye | 2010-10-13 22:25:16 -0600 |
---|---|---|
committer | Eric Blossom | 2010-11-10 12:10:44 -0800 |
commit | b47b9ca40ecf49afa44c993b8da9af4ff876c9ba (patch) | |
tree | bf862ca3ccac536083469c47dc7bf86467e537af /gr-noaa | |
parent | b2b48af1cf7eb91fcd808367e8c87943cd4d764f (diff) | |
download | gnuradio-b47b9ca40ecf49afa44c993b8da9af4ff876c9ba.tar.gz gnuradio-b47b9ca40ecf49afa44c993b8da9af4ff876c9ba.tar.bz2 gnuradio-b47b9ca40ecf49afa44c993b8da9af4ff876c9ba.zip |
regenerated from template
Diffstat (limited to 'gr-noaa')
-rw-r--r-- | gr-noaa/swig/Makefile.swig.gen | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/gr-noaa/swig/Makefile.swig.gen b/gr-noaa/swig/Makefile.swig.gen index 3d7102fe3..eb0e2db4d 100644 --- a/gr-noaa/swig/Makefile.swig.gen +++ b/gr-noaa/swig/Makefile.swig.gen @@ -72,7 +72,7 @@ MOSTLYCLEANFILES += $(DEPDIR)/*.S* ## .h file is sometimes built, but not always ... so that one has to ## be added manually by the including Makefile.am . -swig_built_sources += noaa_swig.py noaa_swig.cc +swig_built_sources += noaa_swig.py noaa_swig-python.cc ## Various SWIG variables. These can be overloaded in the including ## Makefile.am by setting the variable value there, then including @@ -86,7 +86,7 @@ noaa_swig_pylib_LTLIBRARIES = \ _noaa_swig.la _noaa_swig_la_SOURCES = \ - noaa_swig.cc \ + noaa_swig-python.cc \ $(noaa_swig_la_swig_sources) _noaa_swig_la_LIBADD = \ @@ -107,7 +107,7 @@ noaa_swig_python_PYTHON = \ ## Entry rule for running SWIG -noaa_swig.h noaa_swig.py noaa_swig.cc: noaa_swig.i +noaa_swig.h noaa_swig.py noaa_swig-python.cc: noaa_swig.i ## This rule will get called only when MAKE decides that one of the ## targets needs to be created or re-created, because: ## @@ -159,11 +159,12 @@ noaa_swig.h noaa_swig.py noaa_swig.cc: noaa_swig.i ## ## Remove the stamp associated with this filename. ## - rm -f $(DEPDIR)/noaa_swig-generate-stamp; \ + rm -f $(DEPDIR)/noaa_swig-generate-*stamp; \ ## ## Tell MAKE to run the rule for creating this stamp. ## - $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/noaa_swig-generate-stamp WHAT=$<; \ + $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/noaa_swig-generate-python-stamp WHAT=$<; \ + $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/noaa_swig-generate-guile-stamp WHAT=$<; \ ## ## Now that the .cc, .h, and .py files have been (re)created from the ## .i file, future checking of this rule during the same MAKE @@ -187,11 +188,27 @@ noaa_swig.h noaa_swig.py noaa_swig.cc: noaa_swig.i ## Succeed if and only if the first process succeeded; exit this ## process returning the status of the generated stamp. ## - test -f $(DEPDIR)/noaa_swig-generate-stamp; \ + test -f $(DEPDIR)/noaa_swig-generate-python-stamp; \ exit $$?; \ fi; -$(DEPDIR)/noaa_swig-generate-stamp: +$(DEPDIR)/noaa_swig-generate-guile-stamp: + if $(SWIG) $(STD_SWIG_GUILE_ARGS) $(noaa_swig_swig_args) \ + -MD -MF $(DEPDIR)/noaa_swig.Std \ + -module noaa_swig -o noaa_swig-guile.cc $(WHAT); then \ + if test $(host_os) = mingw32; then \ + $(RM) $(DEPDIR)/noaa_swig.Sd; \ + $(SED) 's,\\\\,/,g' < $(DEPDIR)/noaa_swig.Std \ + > $(DEPDIR)/noaa_swig.Sd; \ + $(RM) $(DEPDIR)/noaa_swig.Std; \ + $(MV) $(DEPDIR)/noaa_swig.Sd $(DEPDIR)/noaa_swig.Std; \ + fi; \ + else \ + $(RM) $(DEPDIR)/noaa_swig.S*; exit 1; \ + fi; + touch $(DEPDIR)/noaa_swig-generate-guile-stamp + +$(DEPDIR)/noaa_swig-generate-python-stamp: ## This rule will be called only by the first process issuing the ## above rule to succeed in creating the lock directory, after ## removing the actual stamp file in order to guarantee that MAKE will @@ -202,7 +219,7 @@ $(DEPDIR)/noaa_swig-generate-stamp: ## if $(SWIG) $(STD_SWIG_PYTHON_ARGS) $(noaa_swig_swig_args) \ -MD -MF $(DEPDIR)/noaa_swig.Std \ - -module noaa_swig -o noaa_swig.cc $(WHAT); then \ + -module noaa_swig -o noaa_swig-python.cc $(WHAT); then \ if test $(host_os) = mingw32; then \ $(RM) $(DEPDIR)/noaa_swig.Sd; \ $(SED) 's,\\\\,/,g' < $(DEPDIR)/noaa_swig.Std \ @@ -249,7 +266,7 @@ $(DEPDIR)/noaa_swig-generate-stamp: ## executing this rule; allows other threads waiting on this process ## to continue. ## - touch $(DEPDIR)/noaa_swig-generate-stamp + touch $(DEPDIR)/noaa_swig-generate-python-stamp # KLUDGE: Force runtime include of a SWIG dependency file. This is # not guaranteed to be portable, but will probably work. If it works, |