summaryrefslogtreecommitdiff
path: root/gruel/src/swig
diff options
context:
space:
mode:
authorTom Rondeau2011-07-17 17:25:57 -0400
committerTom Rondeau2011-07-17 17:25:57 -0400
commitf7b9a0c6922c86cd54c1300ab45209d8e2db13df (patch)
tree5ede528cd302e85bc40edcad876525659f4e1ed2 /gruel/src/swig
parentcaa4af889f54a696d3a533c77c5016df82f2987c (diff)
parent04409d2ba42ac5b372a7b6bb7e9c8de5722d76d7 (diff)
downloadgnuradio-f7b9a0c6922c86cd54c1300ab45209d8e2db13df.tar.gz
gnuradio-f7b9a0c6922c86cd54c1300ab45209d8e2db13df.tar.bz2
gnuradio-f7b9a0c6922c86cd54c1300ab45209d8e2db13df.zip
Merge branch '8psk' into next
Conflicts: gr-msdd6000/src/Makefile.swig.gen
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
+