summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/swig/Makefile.am
diff options
context:
space:
mode:
authorRob Savoye2010-10-18 18:15:41 -0600
committerEric Blossom2010-11-10 12:10:45 -0800
commit0876f100362f6275e9d16bfed0fc389d082f86b9 (patch)
treebcf8c04c5d4b0777c5c7b23d12cad0ad47e92748 /gnuradio-core/src/lib/swig/Makefile.am
parent2ecda7ddb8dc062caa2e87fa1a53c09ca483af4c (diff)
downloadgnuradio-0876f100362f6275e9d16bfed0fc389d082f86b9.tar.gz
gnuradio-0876f100362f6275e9d16bfed0fc389d082f86b9.tar.bz2
gnuradio-0876f100362f6275e9d16bfed0fc389d082f86b9.zip
install the scm files for guile too
Diffstat (limited to 'gnuradio-core/src/lib/swig/Makefile.am')
-rw-r--r--gnuradio-core/src/lib/swig/Makefile.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/swig/Makefile.am b/gnuradio-core/src/lib/swig/Makefile.am
index cbb2a80a5..73ba23b84 100644
--- a/gnuradio-core/src/lib/swig/Makefile.am
+++ b/gnuradio-core/src/lib/swig/Makefile.am
@@ -41,6 +41,12 @@ swiginclude_HEADERS = \
ourpythondir = $(grpythondir)/gr
ourpython_PYTHON = gnuradio_swig_python.py
+# This is the top level guile file, which loads all the other scm files
+# for gnuradio. This has to be installed top level to be found in the
+# default search path.
+guiledir = @GUILE_PKDATADIR@
+guile_DATA = gnuradio_swig_guile.scm
+
# ----------------------------------------------------------------
# FIXME As of swig 1.3.31, this still seems to be required...
@@ -94,10 +100,17 @@ BUILT_SOURCES += $(PYTHON_GEN)
endif # end of if python
if GUILE
-GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(subst .i,_guile.h,$(HFILE)))
+GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(subst .i,.scm,$(HFILE)))
BUILT_SOURCES += $(GUILE_GEN)
endif
# Do not distribute the output of SWIG
no_dist_files = $(swig_built_sources)
+#gnuradio_swig_py_runtime.scm: gnuradio_swig_py_runtime.i
+# gnuradio_swig_py_runtime_python.cc: gnuradio_swig_py_runtime.i
+# .cc..i:
+# @echo "FIXME1: $(BUILT_SOURCES) $<"
+
+# .scm..i:
+# @echo "FIXME2: $(BUILT_SOURCES) $<"