From b47b9ca40ecf49afa44c993b8da9af4ff876c9ba Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Wed, 13 Oct 2010 22:25:16 -0600 Subject: regenerated from template --- gr-audio-alsa/src/Makefile.swig.gen | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'gr-audio-alsa/src/Makefile.swig.gen') diff --git a/gr-audio-alsa/src/Makefile.swig.gen b/gr-audio-alsa/src/Makefile.swig.gen index 3a84a02b4..16342ac27 100644 --- a/gr-audio-alsa/src/Makefile.swig.gen +++ b/gr-audio-alsa/src/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 += audio_alsa.py audio_alsa.cc +swig_built_sources += audio_alsa.py audio_alsa-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 @@ audio_alsa_pylib_LTLIBRARIES = \ _audio_alsa.la _audio_alsa_la_SOURCES = \ - audio_alsa.cc \ + audio_alsa-python.cc \ $(audio_alsa_la_swig_sources) _audio_alsa_la_LIBADD = \ @@ -107,7 +107,7 @@ audio_alsa_python_PYTHON = \ ## Entry rule for running SWIG -audio_alsa.h audio_alsa.py audio_alsa.cc: audio_alsa.i +audio_alsa.h audio_alsa.py audio_alsa-python.cc: audio_alsa.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 @@ audio_alsa.h audio_alsa.py audio_alsa.cc: audio_alsa.i ## ## Remove the stamp associated with this filename. ## - rm -f $(DEPDIR)/audio_alsa-generate-stamp; \ + rm -f $(DEPDIR)/audio_alsa-generate-*stamp; \ ## ## Tell MAKE to run the rule for creating this stamp. ## - $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/audio_alsa-generate-stamp WHAT=$<; \ + $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/audio_alsa-generate-python-stamp WHAT=$<; \ + $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/audio_alsa-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 @@ audio_alsa.h audio_alsa.py audio_alsa.cc: audio_alsa.i ## Succeed if and only if the first process succeeded; exit this ## process returning the status of the generated stamp. ## - test -f $(DEPDIR)/audio_alsa-generate-stamp; \ + test -f $(DEPDIR)/audio_alsa-generate-python-stamp; \ exit $$?; \ fi; -$(DEPDIR)/audio_alsa-generate-stamp: +$(DEPDIR)/audio_alsa-generate-guile-stamp: + if $(SWIG) $(STD_SWIG_GUILE_ARGS) $(audio_alsa_swig_args) \ + -MD -MF $(DEPDIR)/audio_alsa.Std \ + -module audio_alsa -o audio_alsa-guile.cc $(WHAT); then \ + if test $(host_os) = mingw32; then \ + $(RM) $(DEPDIR)/audio_alsa.Sd; \ + $(SED) 's,\\\\,/,g' < $(DEPDIR)/audio_alsa.Std \ + > $(DEPDIR)/audio_alsa.Sd; \ + $(RM) $(DEPDIR)/audio_alsa.Std; \ + $(MV) $(DEPDIR)/audio_alsa.Sd $(DEPDIR)/audio_alsa.Std; \ + fi; \ + else \ + $(RM) $(DEPDIR)/audio_alsa.S*; exit 1; \ + fi; + touch $(DEPDIR)/audio_alsa-generate-guile-stamp + +$(DEPDIR)/audio_alsa-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)/audio_alsa-generate-stamp: ## if $(SWIG) $(STD_SWIG_PYTHON_ARGS) $(audio_alsa_swig_args) \ -MD -MF $(DEPDIR)/audio_alsa.Std \ - -module audio_alsa -o audio_alsa.cc $(WHAT); then \ + -module audio_alsa -o audio_alsa-python.cc $(WHAT); then \ if test $(host_os) = mingw32; then \ $(RM) $(DEPDIR)/audio_alsa.Sd; \ $(SED) 's,\\\\,/,g' < $(DEPDIR)/audio_alsa.Std \ @@ -249,7 +266,7 @@ $(DEPDIR)/audio_alsa-generate-stamp: ## executing this rule; allows other threads waiting on this process ## to continue. ## - touch $(DEPDIR)/audio_alsa-generate-stamp + touch $(DEPDIR)/audio_alsa-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, -- cgit