summaryrefslogtreecommitdiff
path: root/gruel/src/swig
diff options
context:
space:
mode:
authorTom Rondeau2011-05-08 17:04:32 +0100
committerTom Rondeau2011-05-08 17:04:32 +0100
commitbdd0bd405c2ea645395917c1abb91c964210c4d9 (patch)
tree5a1a8e269265676da4a1be1dcb53827978feba3d /gruel/src/swig
parentc7fca756d4f880cfeea7c4b4b3319203ae7d6e90 (diff)
downloadgnuradio-bdd0bd405c2ea645395917c1abb91c964210c4d9.tar.gz
gnuradio-bdd0bd405c2ea645395917c1abb91c964210c4d9.tar.bz2
gnuradio-bdd0bd405c2ea645395917c1abb91c964210c4d9.zip
build: committing updated Makefile.swig.gen files.
Diffstat (limited to 'gruel/src/swig')
-rw-r--r--gruel/src/swig/Makefile.swig.gen42
1 files changed, 36 insertions, 6 deletions
diff --git a/gruel/src/swig/Makefile.swig.gen b/gruel/src/swig/Makefile.swig.gen
index c6a2fb956..97aff8104 100644
--- a/gruel/src/swig/Makefile.swig.gen
+++ b/gruel/src/swig/Makefile.swig.gen
@@ -20,20 +20,20 @@
# Boston, MA 02110-1301, USA.
#
-# Makefile.swig.gen for gnuradio_core_runtime.i
+# Makefile.swig.gen for pmt_swig.i
## Default install locations for these files:
##
## Default location for the Python directory is:
-## ${prefix}/lib/python${python_version}/site-packages/[category]/gnuradio_core_runtime
+## ${prefix}/lib/python${python_version}/site-packages/[category]/pmt_swig
## Default location for the Python exec directory is:
-## ${exec_prefix}/lib/python${python_version}/site-packages/[category]/gnuradio_core_runtime
+## ${exec_prefix}/lib/python${python_version}/site-packages/[category]/pmt_swig
##
## The following can be overloaded to change the install location, but
## this has to be done in the including Makefile.am -before-
## Makefile.swig is included.
-pmt_swig_pythondir_category ?= gruel/pmt_swig
+pmt_swig_pythondir_category ?= gnuradio/pmt_swig
pmt_swig_pylibdir_category ?= $(pmt_swig_pythondir_category)
pmt_swig_pythondir = $(pythondir)/$(pmt_swig_pythondir_category)
pmt_swig_pylibdir = $(pyexecdir)/$(pmt_swig_pylibdir_category)
@@ -44,7 +44,7 @@ pmt_swig_pylibdir = $(pyexecdir)/$(pmt_swig_pylibdir_category)
pmt_swig_scmlibdir = $(libdir)
# The scm files for the guile modules get installed where ever guile
-# is installed, usually /usr/share/guile/site/gnuradio_core_runtime
+# is installed, usually /usr/share/guile/site/pmt_swig
# FIXME: determince whether these should be installed with gnuradio.
pmt_swig_scmdir = $(guiledir)
@@ -105,11 +105,41 @@ _pmt_swig_la_CXXFLAGS = \
$(pmt_swig_la_swig_cxxflags)
python/pmt_swig.cc: pmt_swig.py
-pmt_swig.py: pmt_swig.i
+pmt_swig.py: pmt_swig.i
# Include the python dependencies for this file
-include python/pmt_swig.d
endif # end of if python
+if GUILE
+
+pmt_swig_scmlib_LTLIBRARIES = \
+ libguile-gnuradio-pmt_swig.la
+libguile_gnuradio_pmt_swig_la_SOURCES = \
+ guile/pmt_swig.cc \
+ $(pmt_swig_la_swig_sources)
+nobase_pmt_swig_scm_DATA = \
+ gnuradio/pmt_swig.scm \
+ gnuradio/pmt_swig-primitive.scm
+libguile_gnuradio_pmt_swig_la_LIBADD = \
+ $(STD_SWIG_LA_LIB_ADD) \
+ $(pmt_swig_la_swig_libadd)
+libguile_gnuradio_pmt_swig_la_LDFLAGS = \
+ $(STD_SWIG_LA_LD_FLAGS) \
+ $(pmt_swig_la_swig_ldflags)
+libguile_gnuradio_pmt_swig_la_CXXFLAGS = \
+ $(STD_SWIG_CXX_FLAGS) \
+ -I$(top_builddir) \
+ $(pmt_swig_la_swig_cxxflags)
+
+guile/pmt_swig.cc: gnuradio/pmt_swig.scm
+gnuradio/pmt_swig.scm: pmt_swig.i
+gnuradio/pmt_swig-primitive.scm: gnuradio/pmt_swig.scm
+
+# Include the guile dependencies for this file
+-include guile/pmt_swig.d
+
+endif # end of GUILE
+