Imported Upstream version 3.0.2 upstream/3.0.2
authorBdale Garbee <bdale@gag.com>
Mon, 10 Aug 2009 18:09:45 +0000 (12:09 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 10 Aug 2009 18:09:45 +0000 (12:09 -0600)
135 files changed:
AUTHORS
Makefile.am
Makefile.in
README.hacking [new file with mode: 0644]
aclocal.m4
config.h.in
config/Makefile.am
config/Makefile.in
config/gr_as.m4 [deleted file]
config/gr_boost.m4
config/grc_gr_video_sdl.m4
config/grc_usrp.m4
configure
configure.ac
gnuradio-core/Makefile.in
gnuradio-core/doc/Makefile.am
gnuradio-core/doc/Makefile.in
gnuradio-core/doc/other/Makefile.in
gnuradio-core/doc/xml/Makefile.in
gnuradio-core/src/Makefile.in
gnuradio-core/src/gen_interpolator_taps/Makefile.in
gnuradio-core/src/lib/Makefile.in
gnuradio-core/src/lib/filter/Makefile.in
gnuradio-core/src/lib/g72x/Makefile.in
gnuradio-core/src/lib/general/Makefile.am
gnuradio-core/src/lib/general/Makefile.in
gnuradio-core/src/lib/general/gr_add_const_vXX.cc.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_add_const_vXX.h.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_add_const_vXX.i.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_add_vXX.cc.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_add_vXX.h.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_add_vXX.i.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_log2_const.h
gnuradio-core/src/lib/general/gr_multiply_const_vXX.cc.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_multiply_const_vXX.h.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_multiply_const_vXX.i.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_multiply_vXX.cc.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_multiply_vXX.h.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_multiply_vXX.i.t [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_packed_to_unpacked_XX.cc.t
gnuradio-core/src/lib/general/gr_packed_to_unpacked_bb.cc
gnuradio-core/src/lib/general/gr_packed_to_unpacked_ii.cc
gnuradio-core/src/lib/general/gr_packed_to_unpacked_ss.cc
gnuradio-core/src/lib/general/gr_unpacked_to_packed_XX.cc.t
gnuradio-core/src/lib/general/gr_unpacked_to_packed_bb.cc
gnuradio-core/src/lib/general/gr_unpacked_to_packed_ii.cc
gnuradio-core/src/lib/general/gr_unpacked_to_packed_ss.cc
gnuradio-core/src/lib/general/gri_agc2_cc.h
gnuradio-core/src/lib/io/Makefile.in
gnuradio-core/src/lib/missing/Makefile.in
gnuradio-core/src/lib/omnithread/Makefile.in
gnuradio-core/src/lib/omnithread/nt.cc
gnuradio-core/src/lib/reed-solomon/Makefile.in
gnuradio-core/src/lib/runtime/Makefile.in
gnuradio-core/src/lib/swig/Makefile.in
gnuradio-core/src/python/Makefile.in
gnuradio-core/src/python/bin/Makefile.in
gnuradio-core/src/python/gnuradio/Makefile.in
gnuradio-core/src/python/gnuradio/blks/Makefile.in
gnuradio-core/src/python/gnuradio/blksimpl/Makefile.in
gnuradio-core/src/python/gnuradio/gr/Makefile.in
gnuradio-core/src/python/gnuradio/gr/basic_flow_graph.py
gnuradio-core/src/python/gnuradio/gru/Makefile.in
gnuradio-core/src/python/gnuradio/gruimpl/Makefile.in
gnuradio-core/src/tests/Makefile.in
gnuradio-core/src/utils/Makefile.in
gnuradio-examples/Makefile.in
gnuradio-examples/python/Makefile.in
gnuradio-examples/python/apps/Makefile.in
gnuradio-examples/python/apps/hf_explorer/Makefile.in
gnuradio-examples/python/apps/hf_radio/Makefile.in
gnuradio-examples/python/audio/Makefile.in
gnuradio-examples/python/channel-coding/Makefile.in
gnuradio-examples/python/channel-coding/fsm_files/Makefile.in
gnuradio-examples/python/digital/Makefile.in
gnuradio-examples/python/digital_voice/Makefile.in
gnuradio-examples/python/multi-antenna/Makefile.in
gnuradio-examples/python/multi_usrp/Makefile.in
gnuradio-examples/python/networking/Makefile.in
gnuradio-examples/python/usrp/Makefile.in
gnuradio-examples/python/usrp/usrp_siggen.py
gr-audio-alsa/Makefile.in
gr-audio-alsa/src/Makefile.in
gr-audio-jack/Makefile.in
gr-audio-jack/src/Makefile.in
gr-audio-oss/Makefile.in
gr-audio-oss/src/Makefile.in
gr-audio-osx/Makefile.in
gr-audio-osx/src/Makefile.in
gr-audio-portaudio/Makefile.in
gr-audio-portaudio/src/Makefile.in
gr-audio-windows/Makefile.in
gr-audio-windows/src/Makefile.in
gr-gsm-fr-vocoder/Makefile.in
gr-gsm-fr-vocoder/src/Makefile.in
gr-gsm-fr-vocoder/src/lib/Makefile.in
gr-gsm-fr-vocoder/src/lib/gsm/Makefile.in
gr-gsm-fr-vocoder/src/python/Makefile.in
gr-radio-astronomy/Makefile.in
gr-radio-astronomy/src/Makefile.in
gr-radio-astronomy/src/lib/Makefile.in
gr-radio-astronomy/src/python/Makefile.in
gr-trellis/Makefile.in
gr-trellis/doc/Makefile.am
gr-trellis/doc/Makefile.in
gr-trellis/src/Makefile.in
gr-trellis/src/lib/Makefile.in
gr-trellis/src/python/Makefile.in
gr-usrp/Makefile.in
gr-usrp/src/Makefile.in
gr-video-sdl/Makefile.in
gr-video-sdl/src/Makefile.in
gr-wxgui/Makefile.in
gr-wxgui/src/Makefile.in
gr-wxgui/src/python/Makefile.in
usrp/ChangeLog
usrp/Makefile.in
usrp/doc/Makefile.in
usrp/doc/other/Makefile.in
usrp/firmware/Makefile.in
usrp/firmware/include/Makefile.am
usrp/firmware/include/Makefile.in
usrp/firmware/lib/Makefile.in
usrp/firmware/src/Makefile.in
usrp/firmware/src/common/Makefile.in
usrp/firmware/src/usrp2/Makefile.in
usrp/fpga/Makefile.in
usrp/fpga/rbf/Makefile.in
usrp/host/Makefile.in
usrp/host/apps/Makefile.in
usrp/host/lib/Makefile.in
usrp/host/lib/fusb_linux.cc
usrp/host/lib/usrp_prims.cc
usrp/host/misc/Makefile.in
usrp/host/swig/Makefile.in

diff --git a/AUTHORS b/AUTHORS
index d1fb4ddc21bb9fe3fcdebff7d87dc08fc3b02de5..610d25beab8cf1437101b446741d34ddfae02625 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,10 +3,11 @@ Matt Ettus <matt@ettus.com>          ongoing code, ideas, bugfixes, the USRP
 John Gilmore  <gnu@toad.com>          ideas, bug fixes, financial support
 Stephane Fillod  <f8cfe@free.fr>       SIMD speed ups, lots of other good stuff
 Chuck Swiger  <cswiger@widomaker.com>  hf stuff, enthusiasm ;)
-Ramakrishnan Muthukrishnan <rkrishnan@symonds.net> Debian pkgs + misc stuff
+Ramakrishnan Muthukrishnan <rkrishnan@symonds.net> Debian packages, Misc. stuff
 Martin Dudok van Heel <nldudok1@olifantasia.com> lots of stuff
 Bob McGwier N4HY <rwmcgwier@comcast.net>        wisdom, code, bugfixes.
 Krzysztof Kamieniecki <krys@kamieniecki.com>    bugfixes
 Andrew Thomas Beck <Andrew.Beck@postgrads.unisa.edu.au> bugfixes
 Joshua Lackey <jl@noether.uoregon.edu> Original GMSK implementation.
-Johnathan Corgan <jcorgan@aeinet.com>  Goertzel, squelch, adaptive filtering, misc.
+Johnathan Corgan <jcorgan@aeinet.com>  Build system, Goertzel, squelch, adaptive filtering
+Bdale Garbee <bdale@gag.com>           Debian release packages
index 1db371bd52b219df23a8430d1205ad29f7dd56f4..8be7a758506c07688b5ca5a20b7b98943aeb4e01 100644 (file)
@@ -25,7 +25,8 @@ EXTRA_DIST = \
        bootstrap \
        configure \
        config.h.in \
-       run_tests.sh.in
+       run_tests.sh.in \
+       README.hacking
 
 SUBDIRS = @build_dirs@
 DIST_SUBDIRS = @build_dirs@ @skipped_dirs@
index adf7f9686eb4e4828f008c64b14bfdec8e98c9a3..76ee18b17e87fe8f24451bcf8b28bc4768a719af 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
@@ -425,7 +425,8 @@ EXTRA_DIST = \
        bootstrap \
        configure \
        config.h.in \
-       run_tests.sh.in
+       run_tests.sh.in \
+       README.hacking
 
 SUBDIRS = @build_dirs@
 DIST_SUBDIRS = @build_dirs@ @skipped_dirs@
diff --git a/README.hacking b/README.hacking
new file mode 100644 (file)
index 0000000..1a60439
--- /dev/null
@@ -0,0 +1,203 @@
+# -*- Outline -*-
+#
+# Copyright 2004 Free Software Foundation, Inc.
+# 
+# This file is part of GNU Radio
+# 
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+# 
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING.  If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+# 
+
+
+Random notes on coding conventions, some explanations about why things
+aren't done differently, etc, etc,
+
+
+* C++ and Python
+
+GNU Radio is now a hybrid system.  Some parts of the system are built
+in C++ and some of it in Python.  In general, prefer Python to C++.
+Signal processing primitives are still built in C++ for performance.
+
+It is no longer possible to build user applications entirely in C++.
+Essential parts of the runtime system have been moved into Python.
+
+
+* C++ namespaces
+
+In the cleanup process, I considered putting everything in the
+gnuradio namespace and dropping the Gr|gr prefix.  In fact, I think
+it's probably the right idea, but when I tested it out, I ran into
+problems with SWIG's handling of namespaces.  Bottom line, SWIG
+(1.3.21) got confused and generated bad code when I started playing
+around with namespaces in a not particularly convoluted way.  I saw
+problems using the boost::shared_ptr template in combination with
+classes defined in the gnuradio namespace.  It wasn't pretty...
+
+
+* Naming conventions
+
+Death to CamelCaseNames!  We've returned to a kinder, gentler era.
+We're now using the "STL style" naming convention with a couple of
+modifications since we're not using namespaces.
+
+With the exception of macros and other constant values, all
+identifiers shall be lower case with words_separated_like_this.
+
+Macros and constant values (e.g., enumerated values,
+static const int FOO = 23) shall be in UPPER_CASE.
+
+
+** Global names
+
+All globally visible names (types, functions, variables, consts, etc)
+shall begin with a "package prefix", followed by an '_'.  The bulk of
+the code in GNU Radio logically belongs to the "gr" package, hence
+names look like gr_open_file (...).
+
+Large coherent bodies of code may use other package prefixes, but
+let's try to keep them to a well thought out list.  See the list
+below.
+
+*** Package prefixes
+
+These are the current package prefixes:
+
+    gr_                Almost everything
+
+    gri_       Implementation primitives.  Sometimes we
+               have both a gr_<foo> and a gri_<foo>.  In that case,
+               gr_<foo> would be derived from gr_block and gri_<foo>
+               would be the low level guts of the function.
+
+    atsc_      Code related to the Advanced Television
+               Standards Committee HDTV implementation
+
+    usrp_      Universal Software Radio Peripheral
+
+    qa_                Quality Assurance.  Test code.
+
+
+** Class data members (instance variables)
+
+All class data members shall begin with d_<foo>.
+
+The big win is when you're staring at a block of code it's obvious
+which of the things being assigned to persist outside of the block.
+This also keeps you from having to be creative with parameter names
+for methods and constructors.  You just use the same name as the
+instance variable, without the d_. 
+
+class gr_wonderfulness {
+  std::string  d_name;
+  double       d_wonderfulness_factor;
+
+public:
+  gr_wonderfulness (std::string name, double wonderfulness_factor)
+    : d_name (name), d_wonderfulness_factor (wonderfulness_factor)
+  {
+    ...
+  }
+  ...
+};
+
+
+** Class static data members (class variables)
+
+All class static data members shall begin with s_<foo>.
+
+
+** File names
+
+Each significant class shall be contained in it's own file.  The
+declaration of class gr_foo shall be in gr_foo.h, the definition in
+gr_foo.cc.
+
+
+
+* Storage management
+
+Strongly consider using the boost smart pointer templates, scoped_ptr
+and shared_ptr.  scoped_ptr should be used for locals that contain
+pointers to objects that we need to delete when we exit the current
+scope.  shared_ptr implements transparent reference counting and is a
+major win.  You never have to worry about calling delete.  The right
+thing happens.
+
+See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
+
+
+* Unit tests
+
+Build unit tests for everything non-trivial and run them after every
+change.  Check out Extreme Programming: 
+http://c2.com/cgi/wiki?ExtremeProgrammingRoadmap
+
+Unit tests should also be written for all examples.  This should kill
+off the bit rot we've been plagued with.
+
+** C++ unit tests
+
+For C++ we're using the cppunit framework.  cppunit has its bad
+smells, but it's mostly workable.  http://cppunit.sf.net
+
+Currently each directory <dirname> contains files qa_<dirname>.{h,cc}
+that bring together all the qa_<foo> test suites in the directory.
+We ought to be able to automate this without too much trouble.
+
+The directory gnuradio-core/src/tests contains programs that run
+the tests.  test_all runs all of the registered C++ unit tests.
+
+As far as I can tell, the cppunit TestFactoryRegistry maybe able to be
+tricked into doing what we want.  As is, I don't think it's enough by
+itself, since there's nothing dragging the qa* files out of the
+library and into the program.   I haven't tested out this idea.
+
+** Python unit tests
+
+We use the standard unittest package for unit testing of Python code.
+
+
+* Subversion line ending styles
+
+All text files in the tree should have the subversion property 
+'svn:eol-style' set to 'native', with the following exceptions:
+
+config/*.m4
+configure.ac
+gr-howto-write-a-block/config/*.m4
+gr-howto-write-a-block/configure.ac
+
+The easiest way to ensure this is to add or edit the following lines in
+your svn client configuration file (~/.subversion/config):
+
+enable-auto-props=yes
+
+[auto-props]
+*.c = svn:eol-style=native
+*.cc = svn:eol-style=native  
+*.i = svn:eol-style=native
+*.h = svn:eol-style=native
+*.am = svn:eol-style=native
+*.py = svn:eol-style=native
+*.ac = svn:eol-style=LF
+*.m4 = svn:eol-style=LF
+
+* Misc tips
+
+ccache, a compiler cache, can really speed up your builds.
+See http://ccache.samba.org/
+
+Be sure to create links for gcc and g++
index ea392ea6c803e41de5bf1d4278c620b607bd41af..a72a03cc3b74174c57744227ac700f5a40ec12c7 100644 (file)
@@ -6399,6 +6399,27 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
+# Figure out how to run the assembler.                      -*- Autoconf -*-
+
+# Copyright (C) 2001, 2003, 2004, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 4
+
+# AM_PROG_AS
+# ----------
+AC_DEFUN([AM_PROG_AS],
+[# By default we simply use the C compiler to build assembly code.
+AC_REQUIRE([AC_PROG_CC])
+test "${CCAS+set}" = set || CCAS=$CC
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
+AC_ARG_VAR([CCAS],      [assembler compiler command (defaults to CC)])
+AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
+])
+
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
@@ -7395,7 +7416,6 @@ AC_SUBST([am__untar])
 
 m4_include([config/acx_pthread.m4])
 m4_include([config/cppunit.m4])
-m4_include([config/gr_as.m4])
 m4_include([config/gr_boost.m4])
 m4_include([config/gr_check_createfilemapping.m4])
 m4_include([config/gr_check_shm_open.m4])
index 816e75f6c1cad9bd01bc26d5954b97b001b52eb7..df456fc1942b045c8b13fb85eb2cb42438984807 100644 (file)
@@ -88,6 +88,9 @@
 /* Define to 1 if you have the <limits.h> header file. */
 #undef HAVE_LIMITS_H
 
+/* Define to 1 if you have the <linux/compiler.h> header file. */
+#undef HAVE_LINUX_COMPILER_H
+
 /* Define to 1 if you have the <linux/ppdev.h> header file. */
 #undef HAVE_LINUX_PPDEV_H
 
index 70c4c7a62ba96b8a881526c70fea7c469cde2753..c6f87acb65436d1c3cc88bf1ebe56f54dee7e891 100644 (file)
@@ -29,7 +29,6 @@ m4macros = \
        acx_pthread.m4 \
        bnv_have_qt.m4 \
        cppunit.m4 \
-       gr_as.m4 \
        gr_boost.m4 \
        grc_build.m4 \
        grc_gnuradio_core.m4 \
index 2edf31c0aed02e286655fd004e8c3f2f2f5171ec..393e0a7b3f6ad91d03618d3580eddd0a1b66c319 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = config
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
@@ -406,7 +406,6 @@ m4macros = \
        acx_pthread.m4 \
        bnv_have_qt.m4 \
        cppunit.m4 \
-       gr_as.m4 \
        gr_boost.m4 \
        grc_build.m4 \
        grc_gnuradio_core.m4 \
diff --git a/config/gr_as.m4 b/config/gr_as.m4
deleted file mode 100644 (file)
index 08e3f93..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-# Figure out how to run the assembler.             -*- Autoconf -*-
-
-# serial 2
-
-# Copyright 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Boston, MA
-# 02110-1301, USA.
-
-# I just copy and renamed this from automake-1.6.3 so we should work 
-# under both 1.4-p6 and later.  -eb
-
-# GR_PROG_AS
-# ----------
-AC_DEFUN([GR_PROG_AS],
-[# By default we simply use the C compiler to build assembly code.
-AC_REQUIRE([AC_PROG_CC])
-: ${CCAS='$(CC)'}
-# Set ASFLAGS if not already set.
-: ${CCASFLAGS='$(CFLAGS)'}
-AC_SUBST(CCAS)
-AC_SUBST(CCASFLAGS)])
index 41d855d57adb7169c01a61f00bf381183aa6b3e3..7236cbb52d2382ab0893e8b6859619e792a87df4 100644 (file)
@@ -43,8 +43,8 @@ AC_DEFUN([GR_REQUIRE_BOOST_INCLUDES],
                   [path to boost c++ include files]),
     [
       # "yes" and "no" are bogus answers
-      if test x"$with_boost_include_dir" == xyes ||
-         test x"$with_boost_include_dir" == xno; then
+      if test x"$with_boost_include_dir" = xyes ||
+         test x"$with_boost_include_dir" = xno; then
        gr_boost_include_dir=
       else
         gr_boost_include_dir=$with_boost_include_dir
index 280714aa207dc6728d196b0250956f38eaabd432..5261533166579a6a75cd925f3441c34d22ba2cdc 100644 (file)
@@ -29,7 +29,7 @@ AC_DEFUN([GRC_GR_VIDEO_SDL],[
     passed=yes
     SDL_VERSION=1.2.0
     AM_PATH_SDL($SDL_VERSION,[],
-        [passed=no;AC_MSG_RESULT([gr-video-sdl requires library sdl, not found.])])
+        [passed=no;AC_MSG_RESULT([gr-video-sdl requires library sdl, not found or failed test.])])
 
     GRC_BUILD_CONDITIONAL([gr-video-sdl],[
        AC_SUBST(SDL_CFLAGS)
index 8c1b118bc2c1ca1cf51feaca81c7331136900341..a7c0cf138ca2e025b7130c02ef4b182d42e2dce5 100644 (file)
@@ -49,7 +49,7 @@ AC_DEFUN([GRC_USRP],[
 
     # These checks don't fail
     AC_C_BIGENDIAN
-    AC_CHECK_HEADERS([byteswap.h])
+    AC_CHECK_HEADERS([byteswap.h linux/compiler.h])
     AC_CHECK_FUNCS([getrusage sched_setscheduler])
     AC_CHECK_FUNCS([sigaction snprintf])
 
index 6125b7bdaaaf9697e4d2cc62b975c2479fe86dac..d04da58b041bad475483182e52840cc08363ea90 100755 (executable)
--- a/configure
+++ b/configure
@@ -970,6 +970,8 @@ CXX
 CXXFLAGS
 CCC
 CXXCPP
+CCAS
+CCASFLAGS
 F77
 FFLAGS'
 
@@ -1612,6 +1614,8 @@ Some influential environment variables:
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
   CXXCPP      C++ preprocessor
+  CCAS        assembler compiler command (defaults to CC)
+  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   F77         Fortran 77 compiler command
   FFLAGS      Fortran 77 compiler flags
 
@@ -2483,7 +2487,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=gnuradio
- VERSION=3.0
+ VERSION=3.0.2
 
 
 cat >>confdefs.h <<_ACEOF
@@ -6044,9 +6048,9 @@ echo "${ECHO_T}no" >&6; }
 
 # By default we simply use the C compiler to build assembly code.
 
-: ${CCAS='$(CC)'}
-# Set ASFLAGS if not already set.
-: ${CCASFLAGS='$(CFLAGS)'}
+test "${CCAS+set}" = set || CCAS=$CC
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
+
 
 
 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
@@ -6751,7 +6755,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 6754 "configure"' > conftest.$ac_ext
+  echo '#line 6758 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -8922,11 +8926,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8925: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8929: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8929: \$? = $ac_status" >&5
+   echo "$as_me:8933: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -9190,11 +9194,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:9193: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:9197: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:9197: \$? = $ac_status" >&5
+   echo "$as_me:9201: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -9294,11 +9298,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:9297: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:9301: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:9301: \$? = $ac_status" >&5
+   echo "$as_me:9305: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -11735,7 +11739,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 11738 "configure"
+#line 11742 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11835,7 +11839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 11838 "configure"
+#line 11842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14203,11 +14207,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14206: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14210: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14210: \$? = $ac_status" >&5
+   echo "$as_me:14214: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -14307,11 +14311,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14310: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14314: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:14314: \$? = $ac_status" >&5
+   echo "$as_me:14318: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -15868,11 +15872,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15871: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15875: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:15875: \$? = $ac_status" >&5
+   echo "$as_me:15879: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -15972,11 +15976,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15975: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15979: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:15979: \$? = $ac_status" >&5
+   echo "$as_me:15983: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -18191,11 +18195,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18194: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18198: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:18198: \$? = $ac_status" >&5
+   echo "$as_me:18202: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -18459,11 +18463,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18462: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18466: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:18466: \$? = $ac_status" >&5
+   echo "$as_me:18470: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -18563,11 +18567,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18566: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18570: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:18570: \$? = $ac_status" >&5
+   echo "$as_me:18574: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -28766,8 +28770,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 if test "${with_boost_include_dir+set}" = set; then
   withval=$with_boost_include_dir;
       # "yes" and "no" are bogus answers
-      if test x"$with_boost_include_dir" == xyes ||
-         test x"$with_boost_include_dir" == xno; then
+      if test x"$with_boost_include_dir" = xyes ||
+         test x"$with_boost_include_dir" = xno; then
        gr_boost_include_dir=
       else
         gr_boost_include_dir=$with_boost_include_dir
@@ -30941,7 +30945,8 @@ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 esac
 
 
-for ac_header in byteswap.h
+
+for ac_header in byteswap.h linux/compiler.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -33888,8 +33893,8 @@ rm -f core conftest.err conftest.$ac_objext \
      fi
      SDL_CFLAGS=""
      SDL_LIBS=""
-     passed=no;{ echo "$as_me:$LINENO: result: gr-video-sdl requires library sdl, not found." >&5
-echo "${ECHO_T}gr-video-sdl requires library sdl, not found." >&6; }
+     passed=no;{ echo "$as_me:$LINENO: result: gr-video-sdl requires library sdl, not found or failed test." >&5
+echo "${ECHO_T}gr-video-sdl requires library sdl, not found or failed test." >&6; }
   fi
 
 
index 18c244dce8cadf655d47764219a95c8c82116556..4cc031886f5b0d07df70864f03f2ac2a9119cbda 100644 (file)
@@ -22,7 +22,7 @@ AC_PREREQ(2.57)
 AM_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET([])
-AM_INIT_AUTOMAKE(gnuradio,3.0)
+AM_INIT_AUTOMAKE(gnuradio,3.0.2)
 AC_CONFIG_SRCDIR([gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc])
 
 GR_X86_64              dnl check for lib64 suffix
@@ -31,7 +31,7 @@ LF_CONFIGURE_CXX
 LF_SET_WARNINGS
 GR_SET_GPROF
 GR_SET_PROF
-GR_PROG_AS
+AM_PROG_AS
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
index d847f0d7b4b59d89695b4be890bc18603c2e1faf..8877e10132d084f73affa0d6acb174bd2eae608f 100644 (file)
@@ -86,7 +86,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 2636d743317fd160eef26f3d267af8e3caf3bdbf..96b80239080b48d57d5066669a5a0981e5d8a631 100644 (file)
@@ -54,14 +54,14 @@ prep:
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)
-       @for i in $(top_srcdir)/README $(top_srcdir)/README.hacking $(top_srcdir)/ChangeLog; do \
+       @for i in $(top_srcdir)/README $(top_srcdir)/README.hacking; do \
                echo "$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)"; \
                $(INSTALL_DATA) $$i $(DESTDIR)$(docdir); \
        done
        cp -r html $(DESTDIR)$(docdir)
 
 uninstall-local:
-       @for i in README README.hacking ChangeLog; do \
+       @for i in README README.hacking; do \
                echo "$(RM) $(DESTDIR)$(docdir)/$$i;"; \
                $(RM) $(DESTDIR)$(docdir)/$$i; \
        done
index 9652e5bd6020550bf7b237b4281e8529ecb22fbc..1d9522d2ebf74940e59e1ad533bcad50734d240d 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \
 subdir = gnuradio-core/doc
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
@@ -744,14 +744,14 @@ prep:
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)
-       @for i in $(top_srcdir)/README $(top_srcdir)/README.hacking $(top_srcdir)/ChangeLog; do \
+       @for i in $(top_srcdir)/README $(top_srcdir)/README.hacking; do \
                echo "$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)"; \
                $(INSTALL_DATA) $$i $(DESTDIR)$(docdir); \
        done
        cp -r html $(DESTDIR)$(docdir)
 
 uninstall-local:
-       @for i in README README.hacking ChangeLog; do \
+       @for i in README README.hacking; do \
                echo "$(RM) $(DESTDIR)$(docdir)/$$i;"; \
                $(RM) $(DESTDIR)$(docdir)/$$i; \
        done
index 7b2cdf2d6467ba514d9a75eb6f8bc1de6917ffb6..89cd3adc09cc626319250950c2b9e102292cfb82 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/doc/other
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 6bccc8141327dadccf51a8076eb8a9fac472cd87..12a4a4eb49298601b81f180c301b5afd8d65bb0b 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-core/doc/xml
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index e675a08c9f8ce0671480596a0cee7d5da5e1f588..0ff53bad474e8ceefa0ffacbf34314ab04e167d2 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index fe503892f5fdde89af1e95cc9f7c5584e242bf6c..684a74a6e2a3beb7ff86fc8436f24b96bfa16b55 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = README $(am__noinst_HEADERS_DIST) $(srcdir)/Makefile.am \
 subdir = gnuradio-core/src/gen_interpolator_taps
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 6518977929a8c2cce06d6c35c6afea85896dda92..4507c3fb2c468a439436702493ff39110057584a 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/src/lib
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index f5ad4881daefa8303368a32bba25373f2db683ea..c37da6c40d019a7a22c3d9fdd889574690ff36b6 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = README $(grinclude_HEADERS) $(noinst_HEADERS) \
 subdir = gnuradio-core/src/lib/filter
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index bd3496a803884c49eb413fa21325f8dd801df35e..7b20075d6123a2f3a1cf99f1e8c28f6ac7711c66 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/src/lib/g72x
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index ace399ab30eafbde29640aef2454b99518e8f631..b87411545b159feb136bef84b2e6a854111b3abb 100644 (file)
@@ -37,9 +37,15 @@ CODE_GENERATOR =                     \
        gr_add_const_XX.cc.t            \
        gr_add_const_XX.h.t             \
        gr_add_const_XX.i.t             \
-        gr_chunks_to_symbols_XX.cc.t   \
-        gr_chunks_to_symbols_XX.h.t    \
-        gr_chunks_to_symbols_XX.i.t    \
+       gr_add_vXX.cc.t                 \
+       gr_add_vXX.h.t                  \
+       gr_add_vXX.i.t                  \
+       gr_add_const_vXX.cc.t           \
+       gr_add_const_vXX.h.t            \
+       gr_add_const_vXX.i.t            \
+       gr_chunks_to_symbols_XX.cc.t    \
+       gr_chunks_to_symbols_XX.h.t     \
+       gr_chunks_to_symbols_XX.i.t     \
        gr_divide_XX.cc.t               \
        gr_divide_XX.h.t                \
        gr_divide_XX.i.t                \
@@ -49,6 +55,12 @@ CODE_GENERATOR =                     \
        gr_multiply_const_XX.cc.t       \
        gr_multiply_const_XX.h.t        \
        gr_multiply_const_XX.i.t        \
+       gr_multiply_vXX.cc.t            \
+       gr_multiply_vXX.h.t             \
+       gr_multiply_vXX.i.t             \
+       gr_multiply_const_vXX.cc.t      \
+       gr_multiply_const_vXX.h.t       \
+       gr_multiply_const_vXX.i.t       \
        gr_mute_XX.cc.t                 \
        gr_mute_XX.h.t                  \
        gr_mute_XX.i.t                  \
index a636e03ee1b7ebb48e7121eadafee1c8fa1116ae..eb55a7666b6bc4f3accd63ff8f80b26097225c37 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = README $(grinclude_HEADERS) $(noinst_HEADERS) \
 subdir = gnuradio-core/src/lib/general
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
@@ -526,9 +526,15 @@ CODE_GENERATOR = \
        gr_add_const_XX.cc.t            \
        gr_add_const_XX.h.t             \
        gr_add_const_XX.i.t             \
-        gr_chunks_to_symbols_XX.cc.t   \
-        gr_chunks_to_symbols_XX.h.t    \
-        gr_chunks_to_symbols_XX.i.t    \
+       gr_add_vXX.cc.t                 \
+       gr_add_vXX.h.t                  \
+       gr_add_vXX.i.t                  \
+       gr_add_const_vXX.cc.t           \
+       gr_add_const_vXX.h.t            \
+       gr_add_const_vXX.i.t            \
+       gr_chunks_to_symbols_XX.cc.t    \
+       gr_chunks_to_symbols_XX.h.t     \
+       gr_chunks_to_symbols_XX.i.t     \
        gr_divide_XX.cc.t               \
        gr_divide_XX.h.t                \
        gr_divide_XX.i.t                \
@@ -538,6 +544,12 @@ CODE_GENERATOR = \
        gr_multiply_const_XX.cc.t       \
        gr_multiply_const_XX.h.t        \
        gr_multiply_const_XX.i.t        \
+       gr_multiply_vXX.cc.t            \
+       gr_multiply_vXX.h.t             \
+       gr_multiply_vXX.i.t             \
+       gr_multiply_const_vXX.cc.t      \
+       gr_multiply_const_vXX.h.t       \
+       gr_multiply_const_vXX.i.t       \
        gr_mute_XX.cc.t                 \
        gr_mute_XX.h.t                  \
        gr_mute_XX.i.t                  \
diff --git a/gnuradio-core/src/lib/general/gr_add_const_vXX.cc.t b/gnuradio-core/src/lib/general/gr_add_const_vXX.cc.t
new file mode 100644 (file)
index 0000000..eba855c
--- /dev/null
@@ -0,0 +1,61 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004,2006 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <@NAME@.h>
+#include <gr_io_signature.h>
+
+@SPTR_NAME@
+gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k)
+{
+  return @SPTR_NAME@ (new @NAME@ (k));
+}
+
+@NAME@::@NAME@ (const std::vector<@I_TYPE@> k)
+  : gr_sync_block ("@BASE_NAME@",
+                  gr_make_io_signature (1, 1, sizeof(@I_TYPE@)*k.size()),
+                  gr_make_io_signature (1, 1, sizeof(@O_TYPE@)*k.size()))
+{
+  d_k = k;
+}
+
+int
+@NAME@::work (int noutput_items,
+                  gr_vector_const_void_star &input_items,
+                  gr_vector_void_star &output_items)
+{
+  @I_TYPE@ *iptr = (@O_TYPE@ *)input_items[0];
+  @O_TYPE@ *optr = (@O_TYPE@ *)output_items[0];
+  int nitems_per_block = output_signature()->sizeof_stream_item(0)/sizeof(@I_TYPE@);
+
+  for (int i = 0; i < noutput_items; i++)
+    for (int j = 0; j < nitems_per_block; j++)
+      *optr++ = *iptr++ + d_k[j];
+  
+  return noutput_items;
+}
diff --git a/gnuradio-core/src/lib/general/gr_add_const_vXX.h.t b/gnuradio-core/src/lib/general/gr_add_const_vXX.h.t
new file mode 100644 (file)
index 0000000..c3bb187
--- /dev/null
@@ -0,0 +1,55 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004,2006 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifndef @GUARD_NAME@
+#define @GUARD_NAME@
+
+#include <gr_sync_block.h>
+
+class @NAME@;
+typedef boost::shared_ptr<@NAME@> @SPTR_NAME@;
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k);
+
+/*!
+ * \brief output vector = input vector + constant vector
+ * \ingroup block
+ */
+class @NAME@ : public gr_sync_block
+{
+  friend @SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k);
+
+  std::vector<@I_TYPE@> d_k; // the constant
+  @NAME@ (const std::vector<@I_TYPE@> k);
+
+ public:
+  const std::vector<@I_TYPE@> k () const { return d_k; }
+  void set_k (const std::vector<@I_TYPE@> k) { d_k = k; }
+
+  int work (int noutput_items,
+           gr_vector_const_void_star &input_items,
+           gr_vector_void_star &output_items);
+};
+
+#endif
diff --git a/gnuradio-core/src/lib/general/gr_add_const_vXX.i.t b/gnuradio-core/src/lib/general/gr_add_const_vXX.i.t
new file mode 100644 (file)
index 0000000..ae52a4e
--- /dev/null
@@ -0,0 +1,37 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004,2006 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+GR_SWIG_BLOCK_MAGIC(gr,@BASE_NAME@)
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k);
+
+class @NAME@ : public gr_sync_block
+{
+ private:
+  @NAME@ (const std::vector<@I_TYPE@> k);
+
+ public:
+  std::vector<@I_TYPE@> k () const { return d_k; }
+  void set_k (const std::vector<@I_TYPE@> k) { d_k = k; }
+};
diff --git a/gnuradio-core/src/lib/general/gr_add_vXX.cc.t b/gnuradio-core/src/lib/general/gr_add_vXX.cc.t
new file mode 100644 (file)
index 0000000..dadf81b
--- /dev/null
@@ -0,0 +1,65 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <@NAME@.h>
+#include <gr_io_signature.h>
+
+@SPTR_NAME@
+gr_make_@BASE_NAME@ (size_t nitems_per_block)
+{
+  return @SPTR_NAME@ (new @NAME@ (nitems_per_block));
+}
+
+@NAME@::@NAME@ (size_t nitems_per_block)
+  : gr_sync_block ("@BASE_NAME@",
+                  gr_make_io_signature (1, -1, sizeof (@I_TYPE@)*nitems_per_block),
+                  gr_make_io_signature (1,  1, sizeof (@O_TYPE@)*nitems_per_block))
+{
+}
+
+int
+@NAME@::work (int noutput_items,
+                  gr_vector_const_void_star &input_items,
+                  gr_vector_void_star &output_items)
+{
+  @O_TYPE@ *optr = (@O_TYPE@ *) output_items[0];
+
+  int ninputs = input_items.size ();
+  int nitems_per_block = output_signature()->sizeof_stream_item(0)/sizeof(@I_TYPE@);
+
+  for (int i = 0; i < noutput_items; i++){
+    for (int j = 0; j < nitems_per_block; j++){
+      @I_TYPE@ acc = ((@I_TYPE@ *) input_items[0])[i*nitems_per_block+j];
+      for (int k = 1; k < ninputs; k++)
+        acc += ((@I_TYPE@ *) input_items[k])[i*nitems_per_block+j];
+
+      *optr++ = (@O_TYPE@) acc;
+    }
+  }
+  return noutput_items;
+}
diff --git a/gnuradio-core/src/lib/general/gr_add_vXX.h.t b/gnuradio-core/src/lib/general/gr_add_vXX.h.t
new file mode 100644 (file)
index 0000000..546041e
--- /dev/null
@@ -0,0 +1,54 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifndef @GUARD_NAME@
+#define @GUARD_NAME@
+
+#include <gr_sync_block.h>
+
+class @NAME@;
+typedef boost::shared_ptr<@NAME@> @SPTR_NAME@;
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (size_t nitems_per_block);
+
+/*!
+ * \brief output = sum (input_0, input_1, ...)
+ * \ingroup block
+ *
+ * Add across all input vectors.
+ */
+class @NAME@ : public gr_sync_block
+{
+  friend @SPTR_NAME@ gr_make_@BASE_NAME@ (size_t nitems_per_block);
+
+  @NAME@ (size_t nitems_per_block);
+
+ public:
+
+  int work (int noutput_items,
+           gr_vector_const_void_star &input_items,
+           gr_vector_void_star &output_items);
+};
+
+#endif
diff --git a/gnuradio-core/src/lib/general/gr_add_vXX.i.t b/gnuradio-core/src/lib/general/gr_add_vXX.i.t
new file mode 100644 (file)
index 0000000..bcae7b7
--- /dev/null
@@ -0,0 +1,33 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+GR_SWIG_BLOCK_MAGIC(gr,@BASE_NAME@)
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (size_t nitems_per_block);
+
+class @NAME@ : public gr_sync_block
+{
+ private:
+  @NAME@ (size_t nitems_per_block);
+};
index eb73983eb6cbc783372ef5e869d91f0cc1ac98e3..0c27bbcce18a6a0b580152bdd51087eec28f6250 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <assert.h>
 
-template<unsigned int k> static inline int gr_log2_const() { assert(0); }
+template<unsigned int k> static inline int gr_log2_const() { assert(0); return 0; }
 
 template<> static inline int gr_log2_const<1>()   { return 0; }
 template<> static inline int gr_log2_const<2>()   { return 1; }
diff --git a/gnuradio-core/src/lib/general/gr_multiply_const_vXX.cc.t b/gnuradio-core/src/lib/general/gr_multiply_const_vXX.cc.t
new file mode 100644 (file)
index 0000000..e9033d7
--- /dev/null
@@ -0,0 +1,61 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004,2006 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <@NAME@.h>
+#include <gr_io_signature.h>
+
+@SPTR_NAME@
+gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k)
+{
+  return @SPTR_NAME@ (new @NAME@ (k));
+}
+
+@NAME@::@NAME@ (const std::vector<@I_TYPE@> k)
+  : gr_sync_block ("@BASE_NAME@",
+                  gr_make_io_signature (1, 1, sizeof(@I_TYPE@)*k.size()),
+                  gr_make_io_signature (1, 1, sizeof(@O_TYPE@)*k.size()))
+{
+  d_k = k;
+}
+
+int
+@NAME@::work (int noutput_items,
+                  gr_vector_const_void_star &input_items,
+                  gr_vector_void_star &output_items)
+{
+  @I_TYPE@ *iptr = (@O_TYPE@ *)input_items[0];
+  @O_TYPE@ *optr = (@O_TYPE@ *)output_items[0];
+  int nitems_per_block = output_signature()->sizeof_stream_item(0)/sizeof(@I_TYPE@);
+
+  for (int i = 0; i < noutput_items; i++)
+    for (int j = 0; j < nitems_per_block; j++)
+      *optr++ = *iptr++ * d_k[j];
+  
+  return noutput_items;
+}
diff --git a/gnuradio-core/src/lib/general/gr_multiply_const_vXX.h.t b/gnuradio-core/src/lib/general/gr_multiply_const_vXX.h.t
new file mode 100644 (file)
index 0000000..feecffc
--- /dev/null
@@ -0,0 +1,55 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004,2006 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifndef @GUARD_NAME@
+#define @GUARD_NAME@
+
+#include <gr_sync_block.h>
+
+class @NAME@;
+typedef boost::shared_ptr<@NAME@> @SPTR_NAME@;
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k);
+
+/*!
+ * \brief output vector = input vector * constant vector (element-wise)
+ * \ingroup block
+ */
+class @NAME@ : public gr_sync_block
+{
+  friend @SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k);
+
+  std::vector<@I_TYPE@> d_k; // the constant
+  @NAME@ (const std::vector<@I_TYPE@> k);
+
+ public:
+  const std::vector<@I_TYPE@> k () const { return d_k; }
+  void set_k (const std::vector<@I_TYPE@> k) { d_k = k; }
+
+  int work (int noutput_items,
+           gr_vector_const_void_star &input_items,
+           gr_vector_void_star &output_items);
+};
+
+#endif
diff --git a/gnuradio-core/src/lib/general/gr_multiply_const_vXX.i.t b/gnuradio-core/src/lib/general/gr_multiply_const_vXX.i.t
new file mode 100644 (file)
index 0000000..ae52a4e
--- /dev/null
@@ -0,0 +1,37 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004,2006 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+GR_SWIG_BLOCK_MAGIC(gr,@BASE_NAME@)
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@I_TYPE@> k);
+
+class @NAME@ : public gr_sync_block
+{
+ private:
+  @NAME@ (const std::vector<@I_TYPE@> k);
+
+ public:
+  std::vector<@I_TYPE@> k () const { return d_k; }
+  void set_k (const std::vector<@I_TYPE@> k) { d_k = k; }
+};
diff --git a/gnuradio-core/src/lib/general/gr_multiply_vXX.cc.t b/gnuradio-core/src/lib/general/gr_multiply_vXX.cc.t
new file mode 100644 (file)
index 0000000..1df4880
--- /dev/null
@@ -0,0 +1,65 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <@NAME@.h>
+#include <gr_io_signature.h>
+
+@SPTR_NAME@
+gr_make_@BASE_NAME@ (size_t nitems_per_block)
+{
+  return @SPTR_NAME@ (new @NAME@ (nitems_per_block));
+}
+
+@NAME@::@NAME@ (size_t nitems_per_block)
+  : gr_sync_block ("@BASE_NAME@",
+                  gr_make_io_signature (1, -1, sizeof (@I_TYPE@)*nitems_per_block),
+                  gr_make_io_signature (1,  1, sizeof (@O_TYPE@)*nitems_per_block))
+{
+}
+
+int
+@NAME@::work (int noutput_items,
+                  gr_vector_const_void_star &input_items,
+                  gr_vector_void_star &output_items)
+{
+  @O_TYPE@ *optr = (@O_TYPE@ *) output_items[0];
+
+  int ninputs = input_items.size ();
+  int nitems_per_block = output_signature()->sizeof_stream_item(0)/sizeof(@I_TYPE@);
+
+  for (int i = 0; i < noutput_items; i++){
+    for (int j = 0; j < nitems_per_block; j++){
+      @I_TYPE@ acc = ((@I_TYPE@ *) input_items[0])[i*nitems_per_block+j];
+      for (int k = 1; k < ninputs; k++)
+        acc *= ((@I_TYPE@ *) input_items[k])[i*nitems_per_block+j];
+
+      *optr++ = (@O_TYPE@) acc;
+    }
+  }
+  return noutput_items;
+}
diff --git a/gnuradio-core/src/lib/general/gr_multiply_vXX.h.t b/gnuradio-core/src/lib/general/gr_multiply_vXX.h.t
new file mode 100644 (file)
index 0000000..107adc5
--- /dev/null
@@ -0,0 +1,54 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifndef @GUARD_NAME@
+#define @GUARD_NAME@
+
+#include <gr_sync_block.h>
+
+class @NAME@;
+typedef boost::shared_ptr<@NAME@> @SPTR_NAME@;
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (size_t nitems_per_block);
+
+/*!
+ * \brief output = prod (input_0, input_1, ...)
+ * \ingroup block
+ *
+ * Element-wise multiply across all input vectors.
+ */
+class @NAME@ : public gr_sync_block
+{
+  friend @SPTR_NAME@ gr_make_@BASE_NAME@ (size_t nitems_per_block);
+
+  @NAME@ (size_t nitems_per_block);
+
+ public:
+
+  int work (int noutput_items,
+           gr_vector_const_void_star &input_items,
+           gr_vector_void_star &output_items);
+};
+
+#endif
diff --git a/gnuradio-core/src/lib/general/gr_multiply_vXX.i.t b/gnuradio-core/src/lib/general/gr_multiply_vXX.i.t
new file mode 100644 (file)
index 0000000..bcae7b7
--- /dev/null
@@ -0,0 +1,33 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+GR_SWIG_BLOCK_MAGIC(gr,@BASE_NAME@)
+
+@SPTR_NAME@ gr_make_@BASE_NAME@ (size_t nitems_per_block);
+
+class @NAME@ : public gr_sync_block
+{
+ private:
+  @NAME@ (size_t nitems_per_block);
+};
index 15e85902666b1da54e59c8d3065dce3252dbd353..388def8f95ad293896af1996e1524a7838162c22 100644 (file)
@@ -87,7 +87,7 @@ int
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index 69d61ba37ffe0ba729a6e17594eb275e7c388ef7..e602986276c2c7c9dd6f8246aabb17bbd4753dbe 100644 (file)
@@ -87,7 +87,7 @@ gr_packed_to_unpacked_bb::general_work (int noutput_items,
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index 7a660e641a3267dcb213b27a10bde2d9dbe1c46e..c6cb00cf1f9366a19811a82c853331347b25c9a6 100644 (file)
@@ -87,7 +87,7 @@ gr_packed_to_unpacked_ii::general_work (int noutput_items,
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index e3d5d9ebf9852b80c7805fb2dc4b1c204178149f..3ad371f22749376682d6736ba3ef630f8a7868d8 100644 (file)
@@ -87,7 +87,7 @@ gr_packed_to_unpacked_ss::general_work (int noutput_items,
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index 25a6f295f611e37b63bcb7951584291c2a32b5d9..7db6037b3318012076071185f79aba714bd31978 100644 (file)
@@ -78,7 +78,7 @@ int
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index 9a1f5efc1b0134fcbf02af6751f26746d86ec090..54dac2161bea258c20d694562b7dee777c5c5616 100644 (file)
@@ -78,7 +78,7 @@ gr_unpacked_to_packed_bb::general_work (int noutput_items,
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index f5d530381b7899ab81f81d1abe46ab0335bac48f..660f439db2254f56793732cbc545632b478d0818 100644 (file)
@@ -78,7 +78,7 @@ gr_unpacked_to_packed_ii::general_work (int noutput_items,
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index 3206b7de05669971662bdf9a6de320370a1e7c5f..bf8d988699188b57f270891bf932b4290b11d3c2 100644 (file)
@@ -78,7 +78,7 @@ gr_unpacked_to_packed_ss::general_work (int noutput_items,
                                        gr_vector_const_void_star &input_items,
                                        gr_vector_void_star &output_items)
 {
-  unsigned int index_tmp;
+  unsigned int index_tmp = d_index;
 
   assert (input_items.size() == output_items.size());
   int nstreams = input_items.size();
index a8ca699c5d47c1363a72890932eedb51719bedde..14f42395b17a5ab71b2e43e4484628bef6b1e1e7 100644 (file)
@@ -81,8 +81,8 @@ class gri_agc2_cc {
   }
   
  protected:
-  float _decay_rate;           // decay rate for slow changing signals
   float _attack_rate;          // attack rate for fast changing signals
+  float _decay_rate;           // decay rate for slow changing signals
   float        _reference;             // reference value
   float        _gain;                  // current gain
   float _max_gain;             // max allowable gain
index 88e186de11a2ad8e724ab4b95b23bbecba7aebb5..6a091b4d5413e47faad38053e557069d460069c0 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(srcdir)/Makefile.am \
 subdir = gnuradio-core/src/lib/io
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index a0d1e8a9667daba0ff69596e6130e8f8e2f17865..1e6690451e41e048630f91a2835bfbfd7fb7f370 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/src/lib/missing
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 6de48a3fa6a461c5d05701f5f78b9c5489f22591..ae89a1757501de5a6c19d980d0b9883c4296a5dd 100644 (file)
@@ -86,7 +86,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(srcdir)/Makefile.am \
 subdir = gnuradio-core/src/lib/omnithread
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 644501a357a9c0599caf68e1304600b769fa654c..3853f010809292279de93a7919d18e6d88a5355a 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <stdlib.h>
 #include <errno.h>
+#include <WinError.h>
 #include <omnithread.h>
 #include <process.h>
 
@@ -385,7 +386,8 @@ omni_semaphore::trywait(void)
 void
 omni_semaphore::post(void)
 {
-    if (!ReleaseSemaphore(nt_sem, 1, NULL))
+    if (!ReleaseSemaphore(nt_sem, 1, NULL)
+       && GetLastError() != ERROR_TOO_MANY_POSTS )     // MinGW fix--see ticket:95 in trac
        throw omni_thread_fatal(GetLastError());
 }
 
index 85a2c419811ac8b177ac2b3ce568431e7f0929b2..bcd6db21095ef6790084b521bfa0dfa7d8f0e53f 100644 (file)
@@ -89,7 +89,7 @@ noinst_PROGRAMS = rstest$(EXEEXT)
 subdir = gnuradio-core/src/lib/reed-solomon
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 372ebbadef7570bebfa7dbe6ae161b6ccc51767a..5e0d5e040d634ad7d2e72054fb5e6df949d3f68b 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_HEADERS) \
 subdir = gnuradio-core/src/lib/runtime
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 1da6e2f89d8b64ce31ce90614428c7e033a348c1..81a9e088aecb73695f68a9a3bbc40d278e7315b7 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(grgrpython_PYTHON) $(grinclude_HEADERS) \
 subdir = gnuradio-core/src/lib/swig
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index bdf9ed345f2736316d85aaf44ff3e134b6d4cdf1..964b05027cd3515a730742b4061cb971e6a31c87 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(noinst_PYTHON) $(srcdir)/Makefile.am \
 subdir = gnuradio-core/src/python
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 86195b795656947325189e6fc30160ec60b73ef5..495213b9a92290111b331d3d62511c7861cca0f8 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/src/python/bin
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index bf919f2eeed44cbfda0e4e35732e842b1e1df608..e0f0ecd65a9c26643c73f5948425d3de0e13cde0 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(grpython_PYTHON) $(srcdir)/Makefile.am \
 subdir = gnuradio-core/src/python/gnuradio
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index db5692495a1910ca1712e371acea961789874b55..eb3b87f224a95fa7ef205dd4f62f02826cc0a256 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(grblkspython_PYTHON) $(noinst_PYTHON) \
 subdir = gnuradio-core/src/python/gnuradio/blks
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index d462a0788bf22eda6d683c70990165dab88065b7..a793f1cfab8c97e23609eb79219e623882e12c81 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(grblkspython_PYTHON) $(noinst_PYTHON) \
 subdir = gnuradio-core/src/python/gnuradio/blksimpl
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 18937400f4af85cf72e13d6627af07e3af74abd9..8b322c580f25c71e34a4e14c438699d5f542c2ce 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(grgrpython_PYTHON) $(noinst_PYTHON) \
 subdir = gnuradio-core/src/python/gnuradio/gr
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 1837e93a7af33e618106f7f95e8dfb36d76b326e..01c96f0d19cd9826cc08d7eacc6e2cceeb0d2077 100644 (file)
@@ -239,7 +239,10 @@ class basic_flow_graph (object):
         src_size = src_sig.sizeof_stream_item (src_endpoint.port)
         dst_size = dst_sig.sizeof_stream_item (dst_endpoint.port)
         if src_size != dst_size:
-            raise ValueError, 'source and destination data sizes are different'
+            raise ValueError, (
+' '.join(('source and destination data sizes are different:',
+src_endpoint.block.name(),
+dst_endpoint.block.name())))
 
     def _check_contiguity (self, m, sig, used_ports, dir):
         used_ports.sort ()
index 74326623ee1dde371e04b498e3f383dc530c36cd..16509255253f151c9ff1f1d64380a42c2982f6a1 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(grblkspython_PYTHON) $(noinst_PYTHON) \
 subdir = gnuradio-core/src/python/gnuradio/gru
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index abbbbb86b89d085e54f4d86e76a5a394881a556f..ac131b04b284f4c2834c448ee8c6313b2cbc6d13 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(grupython_PYTHON) $(srcdir)/Makefile.am \
 subdir = gnuradio-core/src/python/gnuradio/gruimpl
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 1c2fbeaa77451cff603b3fff3df7f7e325830633..3ebbffc923b03267f164cf70f379637d6b682fb0 100644 (file)
@@ -92,7 +92,7 @@ noinst_PROGRAMS = benchmark_dotprod$(EXEEXT) \
 subdir = gnuradio-core/src/tests
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 1651d368d1e427f809e18691faae375fd5646cae..07fa5d574ebc70061880c7d8b98b4696c014f051 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-core/src/utils
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index ef8525eb803e1ad0e8cde6caa92719ac0aee62f2..9bd7bc685ab888f301734df68df70c34b80bfe93 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gnuradio-examples
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 3bab98bc651b9479e63a074c10b4c6eb77f747b6..a414fb7702d93bb2c3b0fef1cb963463b6189aba 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index a6e97a3bc6fba108542fe5b5f061c26f3473911c..5d04b531ed818125c4c2ef23fd04a94ee6d2b665 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/apps
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 60d004ddad7e97dda78a57288c387294994c56de..fb7469a747b75a1afebdb4f010970a22d57b369b 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/apps/hf_explorer
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 3a95c4981e34f666ab20f8b9e28d2bb24cf455e7..fb9f777c9ff0ac5ad310531b4eb709cc1ded12e1 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/apps/hf_radio
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 67e11db2364ae51a75c7e832df17f06bbc376891..168c532a01b9067d588a3c369081c11ade9e7d68 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/audio
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 6e0e7c12317b3637ba3b3c84f0a0cbbcb321737e..a65b41b1831f572bf19532006fcb5150f4b431f9 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/channel-coding
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index ce2e607d4b5f19e7a17caebb47db8bbf6d585d1d..e3afbd20b72d8a783b61a986b8cde2a14276f57e 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/channel-coding/fsm_files
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index d17d96a807e643a8cf51e5e0d8cf1cc2f4c7da70..eef89859b1720db6aba6141811b6f61a037a26a7 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/digital
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index bb9199d3d1f408068cf640292a0c1bb6654b1c33..fd1d036149d34ce7ee63e5275a0a3efd00a9fbec 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/digital_voice
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 24c497f1c1b8d0ec1faba45222a1c298270b5c06..6f014420058bb3572c49ad29f537f5c1c128e5dc 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/multi-antenna
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index d155943e34b5f627c5ea8baab9b6191197c99a51..e0826647af8fde37f334bf583423fae57b113abb 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/multi_usrp
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index df0deb8e72d0047ddd479f4c401292c6bfc966ce..040ecaa3d271f7eb6ac00e3fe5cd5bea18e71f8f 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/networking
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 1a4e776a2c4665fa583c8d9b521c87a03f1f2602..242cde35aaf68a6d5569e98ca93b1c7540c29afb 100644 (file)
@@ -61,7 +61,7 @@ subdir = gnuradio-examples/python/usrp
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 6a41f74b8e4b85dc0808a8e26417edf823ae5617..7f5285885b8e685276fdef5c2d6d185e9e62b4d3 100755 (executable)
@@ -118,7 +118,7 @@ def main ():
     parser.add_option ("-f", "--rf-freq", type="eng_float", default=None,
                        help="set RF center frequency to FREQ")
     parser.add_option ("-i", "--interp", type="int", default=64,
-                       help="set fgpa interpolation rate to INTERP")
+                       help="set fgpa interpolation rate to INTERP [default=%default]")
 
     parser.add_option ("--sine", dest="type", action="store_const", const=gr.GR_SIN_WAVE,
                        help="generate a complex sinusoid [default]", default=gr.GR_SIN_WAVE)
@@ -130,11 +130,11 @@ def main ():
                        help="generate Uniform random output")
 
     parser.add_option ("-w", "--waveform-freq", type="eng_float", default=100e3,
-                       help="set waveform frequency to FREQ")
+                       help="set waveform frequency to FREQ [default=%default]")
     parser.add_option ("-a", "--amplitude", type="eng_float", default=16e3,
-                       help="set waveform amplitude to AMPLITUDE", metavar="AMPL")
+                       help="set waveform amplitude to AMPLITUDE [default=%default]", metavar="AMPL")
     parser.add_option ("-o", "--offset", type="eng_float", default=0,
-                       help="set waveform offset to OFFSET")
+                       help="set waveform offset to OFFSET [default=%default]")
     (options, args) = parser.parse_args ()
 
     if len(args) != 0:
index 1e29950b6fd88fcce7d1dd26cc441ff66ada88ac..0572d3ba1cf32fe3ede0fe1ce5e365c2b8ba56db 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-audio-alsa
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 32f9e2083b36d3c5c781408675e00d0825d98f86..4776191ed41a95dadfcc53f8e3b1a252e8951e1d 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_HEADERS) $(noinst_PYTHON) \
 subdir = gr-audio-alsa/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index c6c7cbd02e48910a72916f802255a56dacfc566e..7dc8d2909eb21284389337bbafba131911d83588 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-audio-jack
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 01d6aff5488f1385f55523216ff47b19f0b8d525..b409c390207029f20d53a3ea631e1edca3ef26c3 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_HEADERS) $(noinst_PYTHON) \
 subdir = gr-audio-jack/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 78d51df80a23153191cffa1531b2386fe3aa0956..e01619dd38c745e97640fda3a9e2e123b7eb9b0c 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-audio-oss
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 7eba84f0e0deaca829d3c4316da200bc8654d850..a63dcad285e912ce3216d297bfe3be1d7db2caba 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_PYTHON) \
 subdir = gr-audio-oss/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 74f45e445bab97ee9dfaef35e4e361f3e04cb2c4..b1364e767a54b9387763da8c7f128eb7b8193e6a 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-audio-osx
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 4d228433465f120d65d6c89546414479ce54d92c..bec7125aca06a9b8a1a694e388b3fdc5daa092fd 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_HEADERS) $(noinst_PYTHON) \
 subdir = gr-audio-osx/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 6f73c45b43cce000c82a5505c623d481f357a1d8..4982a2580aa6c36b023a05192031328c36d475b0 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-audio-portaudio
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 23ea10147a221bbfdbdbb86af3746d7182f3d562..d9b4b097612c57222ca8a98e93f04698a134c45e 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_HEADERS) $(noinst_PYTHON) \
 subdir = gr-audio-portaudio/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index dc47820986f901135c028ad2f2a200ae797dc232..f62981a1d318a929d7e487453824d1cf1bff7d21 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-audio-windows
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index dfb06a10c46ebd0e925fedc90d8c4a7137105fe2..bcd61d1dcaf079cf24ae04aba81b8986134d0e29 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_PYTHON) \
 subdir = gr-audio-windows/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index b2bf303267fe3e5a27e5c6d5c758af92cc47b13b..36034360bfc0a57c0d7c73330f9041696550052e 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-gsm-fr-vocoder
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index aab20a24f06e02101e2da1e8afb87891378f2067..57c34e4b34966f20bc03d4b825492dbad950cb4e 100644 (file)
@@ -61,7 +61,7 @@ subdir = gr-gsm-fr-vocoder/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 33ca37689ca1b8bdf57c4dd98fec5c803f1dbc18..cc259c1287a281ceb42207db5197e7de20d70506 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(ourpython_PYTHON) \
 subdir = gr-gsm-fr-vocoder/src/lib
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 4e22cb5e70ce356fdb8f9e5330e33b99fb3ab558..1b036a33d6f20dcbb2a39893a0da16e4036d58e6 100644 (file)
@@ -86,7 +86,7 @@ DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
 subdir = gr-gsm-fr-vocoder/src/lib/gsm
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index c347c7c21ca20501d10bbaf64b6863a6405116bd..61d20029d504e6cc7f5e332ba662b3783a830fff 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(noinst_PYTHON) $(srcdir)/Makefile.am \
 subdir = gr-gsm-fr-vocoder/src/python
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 611765a48bafeae3e4364d1fe102f6680eabf843..fa124e3601a40844eb55cb7ffc878b811f256d03 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-radio-astronomy
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 269c558cce930431a7aa9be1daab472b0176db44..9757fe9ae7d90ce122453e0b58df3d2e60c20034 100644 (file)
@@ -61,7 +61,7 @@ subdir = gr-radio-astronomy/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 55cb6bfa7e09286bd4a4b58d84c740b956d421b3..18ee1365d1ec02f8e156091dd854b1a3ef6d7d57 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(ourpython_PYTHON) \
 subdir = gr-radio-astronomy/src/lib
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 76596d9b59f44c864d90b81874464a321cd31b9f..3c1bcb05c5cbed17c661032e7d3ef203d1e27e7a 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(noinst_PYTHON) $(ourpython_PYTHON) \
 subdir = gr-radio-astronomy/src/python
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index cfa9074512906a45d09aa965dff3c0a977551096..20f32bd9b22c4717f57a1ac318fddb9e48efb766 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-trellis
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index e042a159571992390f63fd7d63df0e849aa6ff8d..5881a02a75374c4f193bca429ec4a500f27a0224 100644 (file)
@@ -19,6 +19,8 @@
 # Boston, MA 02110-1301, USA.
 # 
 
+include $(top_srcdir)/Makefile.common
+
 docdir=$(prefix)/share/doc/@PACKAGE@-@VERSION@
 
 HTML_FILES =
index 4907eb6c1caa0204ab599538aeb5180a342e9a2e..1c2f406069d62a51857629cd9bdbc19ee0cca029 100644 (file)
 # the Free Software Foundation, Inc., 51 Franklin Street,
 # Boston, MA 02110-1301, USA.
 # 
+
+# -*- Makefile -*-
+#
+# Copyright 2004,2006 Free Software Foundation, Inc.
+# 
+# This file is part of GNU Radio
+# 
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+# 
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING.  If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+# 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -57,14 +79,15 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 target_triplet = @target@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.common
 @HAS_XMLTO_TRUE@am__append_1 = \
 @HAS_XMLTO_TRUE@    gr-trellis.html
 
 subdir = gr-trellis/doc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
@@ -318,6 +341,65 @@ target_alias = @target_alias@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
+
+# includes
+grincludedir = $(includedir)/gnuradio
+
+# swig includes 
+swigincludedir = $(grincludedir)/swig
+
+# Install this stuff in the appropriate subdirectory
+# This usually ends up at:
+#   ${prefix}/lib/python${python_version}/site-packages/gnuradio
+grpythondir = $(pythondir)/gnuradio
+grpyexecdir = $(pyexecdir)/gnuradio
+
+# swig flags
+SWIGPYTHONFLAGS = -fvirtual -python -modern
+
+# Where to find gnuradio include files in the current build tree
+# top_srcdir for original stuff, top_builddir for generated files
+GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/general \
+                   -I$(top_builddir)/gnuradio-core/src/lib/general \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/filter \
+                   -I$(top_builddir)/gnuradio-core/src/lib/filter \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/reed-solomon \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/io \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/g72x \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/omnithread \
+                   -I$(top_srcdir)/gnuradio-core/src/lib/swig \
+                   -I$(top_builddir)/gnuradio-core/src/lib/swig \
+                   $(FFTW3F_CFLAGS)
+
+
+# These used to be set in PKGCONFIG but now point to the current
+# build tree.
+GNURADIO_CORE_LIBS = -L$(top_builddir)/gnuradio-core/src/lib \
+                     -lgnuradio-core -lfftw3f -lm
+
+
+# This is a dependency for many swig operations
+GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
+
+# The below used to be set in PKGCONFIG but now point to the current
+# build tree.
+USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
+               -I$(top_srcdir)/usrp/firmware/include
+
+USRP_LIBS = -L$(top_builddir)/usrp/host/lib \
+           -lusrp
+
+PMT_INCLUDES = -I$(top_srcdir)/pmt/src/lib
+PMT_LIBS = -L$(top_builddir)/pmt/src/lib -lpmt
+
+# This used to be set in configure.ac but is now defined here for all 
+# Makefiles when this fragment is included.
+STD_DEFINES_AND_INCLUDES = $(DEFINES) $(GNURADIO_INCLUDES) $(BOOST_CFLAGS)
+
+# Fix for BSD make not defining $(RM).  We define it now in configure.ac
+# using AM_PATH_PROG, but now here have to add a -f to be like GNU make
+RM = $(RM_PROG) -f
 HTML_FILES = $(am__append_1)
 EXTRA_DIST = \
     gr-trellis.xml \
@@ -331,7 +413,7 @@ BUILT_XML_FILES =
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/Makefile.common $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -378,6 +460,7 @@ CTAGS:
 
 
 distdir: $(DISTFILES)
+       $(mkdir_p) $(distdir)/../..
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
        list='$(DISTFILES)'; for file in $$list; do \
index 3c68dd095bb62b9ac61beaac6b5431e367a18bac..0107328b7e057035e516f6b944fc5ad7a8211875 100644 (file)
@@ -61,7 +61,7 @@ subdir = gr-trellis/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index a5e5e04ac6ead20d2db8d38465810fa346f2b909..13ff7d48a1666ff7de59d87118c5390f17896975 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(ourpython_PYTHON) \
 subdir = gr-trellis/src/lib
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 944a4f4913e7ff33bcaed0df13f5ea1c2eb3837a..ab491bfdc1a011ddffa7d741af5d4fc9a8513f1e 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = $(noinst_PYTHON) $(srcdir)/Makefile.am \
 subdir = gr-trellis/src/python
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 674433e8f639b8e742c0c8cf0db317c6a1bf51a9..95167df2c3b65453672a30611e5db234df57f240 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-usrp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 8821a9c623c024823f3e8e723f8c0fc8da94ca96..81e6f9ca4cc59eafbc57342411508e5d63a581f1 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_PYTHON) \
 subdir = gr-usrp/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 5b5d50d8fd19832776bd9347463bf99669ba10d0..069363ca4f355c5dbd895af6d88e8f0264efc6c2 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-video-sdl
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index f4392ba95f162a2ff7824bfacf707a95c79f20c6..5b0ff6f127a6a8f418a9ea7227ad43453e5df87c 100644 (file)
@@ -88,7 +88,7 @@ DIST_COMMON = $(grinclude_HEADERS) $(noinst_PYTHON) \
 subdir = gr-video-sdl/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 36b7dbb8749313c64e8988e3dd784edd640bb9ec..6530c084af108741e7f3aa10dac93f688ef1b09a 100644 (file)
@@ -85,7 +85,7 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-wxgui
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 13ebbb4dd420a7be8abf3096df388b43e323d20b..2af5b243c35381138e4a26bf2e1b5f8e1266d251 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = gr-wxgui/src
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 877dc3bc5ccbcb5a97d1aa674396b9ee1bafaba2..3d297562d8bbbfed8d1289b0f1593269c5783f86 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(ourpython_PYTHON) $(srcdir)/Makefile.am \
 subdir = gr-wxgui/src/python
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index aa642de8a2a3e439303cd5781ed8d08da83ffd66..69da6041874463a51b2425a13e0e977f73e645ae 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-10  Greg Troxel  <gdt@ir.bbn.com>
+
+       * firmware/include/Makefile.am: avoid nonportable use of $< (first
+       prereq in GNU make, implied source for pattern rule in BSD make)
+       used in a non-pattern rule.
+
 2006-06-25  Eric Blossom  <eb@comsec.com>
 
        * firmware/include/fpga_regs_standard.h: doc fix to reflect current reality.
index 47d08444fcda812d17d221e34cd7fbfc9782d5a4..898c3723518f6ffd48c90388817fe7a4f9da18e1 100644 (file)
@@ -63,7 +63,7 @@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
        $(srcdir)/usrp.iss.in $(srcdir)/usrp.pc.in AUTHORS ChangeLog
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 36ae401f7a9da78546225aa4d4493f50067ee8f1..56c6938453c9274cfd530e59ecdf6a8e97b01b8c 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \
 subdir = usrp/doc
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 477dcafda94b58290a4dfa82b929319abbab9c11..831c5dd9cf55953ca7262ca7e6574affa38d8266 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = usrp/doc/other
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 2dc0c8e78732649f7bbce5b719c7d5bf8ac23ec4..4b35bb7fce92e14be01cb0b9b4e554c5b2877787 100644 (file)
@@ -61,7 +61,7 @@ subdir = usrp/firmware
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 9065a0e4e6442757e0378a3735ec50d1cab69140..7214820b99d0234f99f28ccb5a7212e05f94fb0f 100644 (file)
@@ -53,7 +53,7 @@ EXTRA_DIST =                  \
        $(CODE_GENERATOR)
 
 fpga_regs_common.v: fpga_regs_common.h generate_regs.py 
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py $< $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_common.h $@
 
 fpga_regs_standard.v: fpga_regs_standard.h generate_regs.py
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py $< $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_standard.h $@
index cbcebe7a4bb5be0332ed0ccade5dc9deb118dfbe..d5451c79a886995a6ff5794b5b9130c1b582b430 100644 (file)
@@ -63,7 +63,7 @@ DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
        $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
@@ -586,10 +586,10 @@ uninstall-am: uninstall-includeHEADERS uninstall-info-am
 
 
 fpga_regs_common.v: fpga_regs_common.h generate_regs.py 
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py $< $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_common.h $@
 
 fpga_regs_standard.v: fpga_regs_standard.h generate_regs.py
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py $< $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_standard.h $@
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 80bd9710e849add645ac8e57600dc2d61cf5ed6a..5747410577a5fd6f04a75cd3d404de73856a5d58 100644 (file)
@@ -61,7 +61,7 @@ subdir = usrp/firmware/lib
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 2d4526ddfa0a8c905651f9a02ed9b3e7ece287da..4463cf1d85432c047f0f9f00182ea54afbfb73f0 100644 (file)
@@ -61,7 +61,7 @@ subdir = usrp/firmware/src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 14c09420b93da5df6a738cebba27cdbb126060b1..6ac9185ddf1c95189f348aada65c367b39c45abe 100644 (file)
@@ -61,7 +61,7 @@ subdir = usrp/firmware/src/common
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 4dd26b23a8feb6a871f6213e143c3279ade49192..3c1b05192acd6b7a2cac5f93c4d5a80f365da3a1 100644 (file)
@@ -63,7 +63,7 @@ subdir = usrp/firmware/src/usrp2
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 689a7fa119bd1743554c5d173ac396049c17d484..757137fa4b4ad367923fecc7bcf52f7d82579a47 100644 (file)
@@ -62,7 +62,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.extra \
 subdir = usrp/fpga
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 0b68a4537cf1c0a3815b446439cb0b617a33c82c..2c695368f125a7dbb43e154f25d1c22d54280f52 100644 (file)
@@ -84,7 +84,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 subdir = usrp/fpga/rbf
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 0bd4620e0abd64ceae23d07a8075ef601b2660cc..818f8a90e759c61280309de12f027b2e59ff18e0 100644 (file)
@@ -61,7 +61,7 @@ subdir = usrp/host
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index ed10464de5038380502f7b49b746468cc83c97b7..09ce317cd879f4bfc8f5fd2c291dfd7ef752adb4 100644 (file)
@@ -89,7 +89,7 @@ noinst_PROGRAMS = check_order_quickly$(EXEEXT) \
 subdir = usrp/host/apps
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 05b344aae95c166bb0c0184bc100735d5ec3d4b2..e6498be20da4f9809b023fb58b1e66439df5651b 100644 (file)
@@ -86,7 +86,7 @@ DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) $(noinst_PYTHON) \
 subdir = usrp/host/lib
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 8391f66b2ec813270a88ac031aa6ea800546b09b..1eaba4e508e70db5ea0dd7082d3bf272c9644dac 100644 (file)
@@ -27,7 +27,9 @@
 #include <fusb_linux.h>
 #include <usb.h>               // libusb header
 #include <stdexcept>
+#ifdef HAVE_LINUX_COMPILER_H
 #include <linux/compiler.h>
+#endif
 #include <linux/usbdevice_fs.h>        // interface to kernel portion of user mode usb driver
 #include <sys/ioctl.h>
 #include <assert.h>
index 2fd594fa09d05f14548382922a96531689e44f38..f666a29fc593f0e27c953e7f9708f34fade6cf1e 100644 (file)
@@ -1344,7 +1344,7 @@ usrp_write_dboard_offsets (struct usb_dev_handle *udh, int slot_id,
 std::string
 usrp_serial_number(struct usb_dev_handle *udh)
 {
-  u_int8_t iserial = usb_device(udh)->descriptor.iSerialNumber;
+  unsigned char iserial = usb_device(udh)->descriptor.iSerialNumber;
   if (iserial == 0)
     return "";
 
index 93651f1411dd456aa0d6e3af56c738c189c464be..c4707e7f8d15fc0deabade976b9b12ed81881e35 100644 (file)
@@ -63,7 +63,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in getopt.c \
        gettimeofday.c mkstemp.c tempname.c usleep.c
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \
index 53c0928e5cde76d856e9bf23ee4b8aff10146a5b..e3e249b1fd4616c99f8baf76c9e31b9944ec3e61 100644 (file)
@@ -87,7 +87,7 @@ DIST_COMMON = $(noinst_HEADERS) $(ourpython_PYTHON) \
 subdir = usrp/host/swig
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/acx_pthread.m4 \
-       $(top_srcdir)/config/cppunit.m4 $(top_srcdir)/config/gr_as.m4 \
+       $(top_srcdir)/config/cppunit.m4 \
        $(top_srcdir)/config/gr_boost.m4 \
        $(top_srcdir)/config/gr_check_createfilemapping.m4 \
        $(top_srcdir)/config/gr_check_shm_open.m4 \