summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block
diff options
context:
space:
mode:
authorTom Rondeau2012-04-07 20:03:25 -0400
committerTom Rondeau2012-04-07 20:03:25 -0400
commitaaa98c095a85724a8782a28717162c1d30d865c2 (patch)
tree14bcfe0dd65c42764966dad44995cc797572a4ce /gr-howto-write-a-block
parentfdb41fe3399c2282b31297e65f7a020bf844282d (diff)
downloadgnuradio-aaa98c095a85724a8782a28717162c1d30d865c2.tar.gz
gnuradio-aaa98c095a85724a8782a28717162c1d30d865c2.tar.bz2
gnuradio-aaa98c095a85724a8782a28717162c1d30d865c2.zip
gruel and howto: install gruel .i files in gruel dest. Howto will use that dir during build.
howto under both cmake and autotools can be built off cmake or autotools gnuradio builds.
Diffstat (limited to 'gr-howto-write-a-block')
-rw-r--r--gr-howto-write-a-block/Makefile.common3
-rw-r--r--gr-howto-write-a-block/config/gr_standalone.m41
2 files changed, 3 insertions, 1 deletions
diff --git a/gr-howto-write-a-block/Makefile.common b/gr-howto-write-a-block/Makefile.common
index fca6133c1..2b9cc75af 100644
--- a/gr-howto-write-a-block/Makefile.common
+++ b/gr-howto-write-a-block/Makefile.common
@@ -56,7 +56,8 @@ STD_DEFINES_AND_INCLUDES = \
$(DEFINES) \
-I$(abs_top_srcdir)/lib \
-I$(GNURADIO_CORE_INCLUDEDIR) \
- -I$(GNURADIO_CORE_INCLUDEDIR)/swig
+ -I$(GNURADIO_CORE_INCLUDEDIR)/swig \
+ -I$(GRUEL_INCLUDEDIR)/gruel/swig
# includes
modincludedir = $(includedir)/$(modname)
diff --git a/gr-howto-write-a-block/config/gr_standalone.m4 b/gr-howto-write-a-block/config/gr_standalone.m4
index beb98204c..5ba48892f 100644
--- a/gr-howto-write-a-block/config/gr_standalone.m4
+++ b/gr-howto-write-a-block/config/gr_standalone.m4
@@ -109,6 +109,7 @@ m4_define([GR_STANDALONE],
AM_CONDITIONAL([HAS_XMLTO], [test x$XMLTO = xyes])
PKG_CHECK_MODULES(GNURADIO_CORE, gnuradio-core >= 3)
+ PKG_CHECK_MODULES(GRUEL, gruel >= 3)
LIBS="$LIBS $GNURADIO_CORE_LIBS"
gnuradio_core_GUILE_LOAD_PATH="`pkg-config --variable=guile_load_path gnuradio-core`"