Imported Upstream version 3.0.3 upstream/3.0.3
authorBdale Garbee <bdale@gag.com>
Mon, 10 Aug 2009 18:09:51 +0000 (12:09 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 10 Aug 2009 18:09:51 +0000 (12:09 -0600)
128 files changed:
Makefile.common
Makefile.in
README
config/Makefile.in
config/gr_python.m4
config/grc_gr_wxgui.m4
config/lf_cxx.m4
configure
configure.ac
gnuradio-core/Makefile.in
gnuradio-core/doc/Doxyfile.in
gnuradio-core/doc/Makefile.in
gnuradio-core/doc/other/Makefile.in
gnuradio-core/src/Makefile.in
gnuradio-core/src/gen_interpolator_taps/Makefile.in
gnuradio-core/src/lib/Makefile.am
gnuradio-core/src/lib/Makefile.in
gnuradio-core/src/lib/filter/Makefile.am
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_correlate_access_code_bb.cc
gnuradio-core/src/lib/general/gr_correlate_access_code_bb.h
gnuradio-core/src/lib/general/gr_firdes.cc
gnuradio-core/src/lib/io/Makefile.in
gnuradio-core/src/lib/io/gr_oscope_guts.cc
gnuradio-core/src/lib/missing/Makefile.in
gnuradio-core/src/lib/omnithread/Makefile.in
gnuradio-core/src/lib/reed-solomon/Makefile.in
gnuradio-core/src/lib/runtime/Makefile.in
gnuradio-core/src/lib/runtime/gr_vmcircbuf_sysv_shm.cc
gnuradio-core/src/lib/swig/Makefile.am
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/blksimpl/dbpsk.py
gnuradio-core/src/python/gnuradio/blksimpl/dqpsk.py
gnuradio-core/src/python/gnuradio/gr/Makefile.am
gnuradio-core/src/python/gnuradio/gr/Makefile.in
gnuradio-core/src/python/gnuradio/gr/qa_noise.py [new file with mode: 0755]
gnuradio-core/src/python/gnuradio/gru/Makefile.in
gnuradio-core/src/python/gnuradio/gruimpl/Makefile.in
gnuradio-core/src/tests/Makefile.am
gnuradio-core/src/tests/Makefile.in
gnuradio-core/src/utils/Makefile.in
gnuradio-examples/Makefile.in
gnuradio-examples/python/channel-coding/README
gnuradio-examples/python/digital/README
gnuradio-examples/python/usrp/Makefile.am
gnuradio-examples/python/usrp/Makefile.in
gnuradio-examples/python/usrp/dsb_tx.py [deleted file]
gr-audio-alsa/Makefile.in
gr-audio-alsa/src/Makefile.am
gr-audio-alsa/src/Makefile.in
gr-audio-jack/Makefile.in
gr-audio-jack/src/Makefile.am
gr-audio-jack/src/Makefile.in
gr-audio-oss/Makefile.in
gr-audio-oss/src/Makefile.am
gr-audio-oss/src/Makefile.in
gr-audio-osx/Makefile.in
gr-audio-osx/src/Makefile.am
gr-audio-osx/src/Makefile.in
gr-audio-portaudio/Makefile.in
gr-audio-portaudio/README
gr-audio-portaudio/src/Makefile.am
gr-audio-portaudio/src/Makefile.in
gr-audio-windows/Makefile.in
gr-audio-windows/src/Makefile.am
gr-audio-windows/src/Makefile.in
gr-gsm-fr-vocoder/Makefile.in
gr-gsm-fr-vocoder/src/lib/Makefile.am
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/lib/Makefile.am
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/lib/Makefile.am
gr-trellis/src/lib/Makefile.in
gr-trellis/src/python/Makefile.in
gr-usrp/Makefile.in
gr-usrp/src/Makefile.am
gr-usrp/src/Makefile.in
gr-usrp/src/run_tests.in
gr-video-sdl/Makefile.in
gr-video-sdl/src/Makefile.am
gr-video-sdl/src/Makefile.in
gr-video-sdl/src/video_sdl_sink_s.cc
gr-video-sdl/src/video_sdl_sink_uc.cc
gr-wxgui/Makefile.in
gr-wxgui/src/Makefile.in
gr-wxgui/src/python/Makefile.in
gr-wxgui/src/python/powermate.py
run_tests.sh.in
usrp/doc/Makefile.am
usrp/doc/Makefile.in
usrp/doc/other/Makefile.in
usrp/firmware/include/Makefile.am
usrp/firmware/include/Makefile.in
usrp/firmware/src/common/Makefile.am
usrp/firmware/src/common/Makefile.in
usrp/firmware/src/usrp2/Makefile.am
usrp/firmware/src/usrp2/Makefile.in
usrp/fpga/Makefile.extra
usrp/fpga/Makefile.in
usrp/fpga/rbf/Makefile.in
usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf
usrp/fpga/rbf/rev2/std_4rx_0tx.rbf
usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf
usrp/fpga/rbf/rev4/std_4rx_0tx.rbf
usrp/fpga/sdr_lib/bus_interface.v [deleted file]
usrp/fpga/sdr_lib/tx_buffer.v
usrp/fpga/toplevel/usrp_std/usrp_std.qsf
usrp/host/apps/Makefile.in
usrp/host/apps/usrper.cc
usrp/host/lib/Makefile.am
usrp/host/lib/Makefile.in
usrp/host/lib/fusb_win32.cc
usrp/host/swig/Makefile.in

index 31bf0839cc709b075626f822a4f20761902d1d89..3414f59be8dc6c3e4f8ee8f43174ea112e5fea97 100644 (file)
@@ -1,6 +1,6 @@
 # -*- Makefile -*-
 #
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -51,25 +51,16 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    -I$(top_builddir)/gnuradio-core/src/lib/swig \
                    $(FFTW3F_CFLAGS)
 
                    -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
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 76ee18b17e87fe8f24451bcf8b28bc4768a719af..2faed5bbbb187a5c35b170b731744bfea2ef818c 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -394,25 +394,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
diff --git a/README b/README
index 90052eed5594825f7b2f29b956265b1a3fbf78c3..8ec162ddea7cfd5bcd0cf1c273f04e1e803f1f40 100644 (file)
--- a/README
+++ b/README
@@ -201,6 +201,10 @@ available.
 As a last resort, build it from source (not recommended!)
 http://www.wxpython.org
 
 As a last resort, build it from source (not recommended!)
 http://www.wxpython.org
 
+(11) xmlto version ? or later.   http://cyberelk.net/tim/xmlto/index.html
+
+Wrapper for XML conversion tools to ease e.g. making html from docbook.
+
 
 ----------------------------------------------------------------
 
 
 ----------------------------------------------------------------
 
index 393e0a7b3f6ad91d03618d3580eddd0a1b66c319..6b2d2507b699b01ca9523d1161120de55484201e 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -370,25 +370,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index b2acbbb0e1be6b87ec951cac560c2c4423fc2212..d2f3a4b66cfd1c533175f5d3aff72bad7b3faf18 100644 (file)
@@ -28,6 +28,13 @@ AC_DEFUN([PYTHON_DEVEL],[
        AC_REQUIRE([AM_PATH_PYTHON])
        AC_REQUIRE([AC_CANONICAL_HOST])
 
        AC_REQUIRE([AM_PATH_PYTHON])
        AC_REQUIRE([AC_CANONICAL_HOST])
 
+       # For Fedora Core 5 and 6, see ticket:39 in Trac
+       if test -f '/etc/redhat-release'; then
+               if  (echo $pyexecdir | grep -q lib64); then
+                       pythondir="$pyexecdir"
+               fi
+       fi
+
        # Check for Python include path
        AC_MSG_CHECKING([for Python include path])
        if test -z "$PYTHON" ; then
        # Check for Python include path
        AC_MSG_CHECKING([for Python include path])
        if test -z "$PYTHON" ; then
@@ -93,22 +100,10 @@ print path
           PYTHON_LDFLAGS="-L$python_stdlib_path -l$libpython_name"
           AC_MSG_RESULT($PYTHON_LDFLAGS) 
           # Replace all backslashes in PYTHON Paths with forward slashes
           PYTHON_LDFLAGS="-L$python_stdlib_path -l$libpython_name"
           AC_MSG_RESULT($PYTHON_LDFLAGS) 
           # Replace all backslashes in PYTHON Paths with forward slashes
-          AC_MSG_CHECKING([for pythondir])
           pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
           pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
-          AC_MSG_RESULT($pythondir)
-          AC_SUBST([pythondir])
-          AC_MSG_CHECKING([for pkgpythondir])
           pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
           pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
-          AC_MSG_RESULT($pkgpythondir)
-          AC_SUBST([pkgpythondir])
-          AC_MSG_CHECKING([for pyexecdir])
           pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
           pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
-          AC_MSG_RESULT($pyexecdir)
-          AC_SUBST([pyexecdir])
-          AC_MSG_CHECKING([for pkgpyexecdir])
           pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
           pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
-          AC_MSG_RESULT($pkgpyexecdir)
-          AC_SUBST([pkgpyexecdir])
          ;;
         esac
 
          ;;
         esac
 
index dff666b0aa057bcbd632a9275c02a883a9f03f3b..8c8848f4f4e576e4cd93d6a23b44a4ca5d4a14a9 100644 (file)
@@ -26,9 +26,7 @@ AC_DEFUN([GRC_GR_WXGUI],[
          gr-wxgui/src/python/Makefile \
     ])
 
          gr-wxgui/src/python/Makefile \
     ])
 
-    # FIXME: this breaks pkgsrc by calling python without a version number
-    # gdt--patch welcome :-)
-    if python -c 'import wx'; then
+    if ${PYTHON} -c 'import wx'; then
        passed=yes
     else
        passed=no
        passed=yes
     else
        passed=no
index c2b3cd5399ccf31056e402a3860240ede81aa545..9465290b943541f313a7d4b5c9f9677742368180 100644 (file)
@@ -85,7 +85,7 @@ AC_DEFUN([LF_CXX_PORTABILITY],[
 
   dnl Test whether C++ has std::isnan
   AC_MSG_CHECKING(whether C++ has std::isnan)
 
   dnl Test whether C++ has std::isnan
   AC_MSG_CHECKING(whether C++ has std::isnan)
-  AC_TRY_COMPILE([#include <math.h>], [
+  AC_TRY_COMPILE([#include <cmath>], [
    std::isnan(0);
 ], [ AC_MSG_RESULT(yes)
        AC_DEFINE(CXX_HAS_STD_ISNAN,[],[Define if has std::isnan]) ],
    std::isnan(0);
 ], [ AC_MSG_RESULT(yes)
        AC_DEFINE(CXX_HAS_STD_ISNAN,[],[Define if has std::isnan]) ],
index d04da58b041bad475483182e52840cc08363ea90..d27bb1197a311aabc9ddc7e939002a26fedbf13f 100755 (executable)
--- a/configure
+++ b/configure
@@ -2487,7 +2487,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=gnuradio
 
 # Define the identity of the package.
  PACKAGE=gnuradio
- VERSION=3.0.2
+ VERSION=3.0.3
 
 
 cat >>confdefs.h <<_ACEOF
 
 
 cat >>confdefs.h <<_ACEOF
@@ -5787,7 +5787,7 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <math.h>
+#include <cmath>
 int
 main ()
 {
 int
 main ()
 {
@@ -22059,6 +22059,13 @@ echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
 
 
 
 
 
 
+       # For Fedora Core 5 and 6, see ticket:39 in Trac
+       if test -f '/etc/redhat-release'; then
+               if  (echo $pyexecdir | grep -q lib64); then
+                       pythondir="$pyexecdir"
+               fi
+       fi
+
        # Check for Python include path
        { echo "$as_me:$LINENO: checking for Python include path" >&5
 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }
        # Check for Python include path
        { echo "$as_me:$LINENO: checking for Python include path" >&5
 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }
@@ -22299,30 +22306,10 @@ print path
           { echo "$as_me:$LINENO: result: $PYTHON_LDFLAGS" >&5
 echo "${ECHO_T}$PYTHON_LDFLAGS" >&6; }
           # Replace all backslashes in PYTHON Paths with forward slashes
           { echo "$as_me:$LINENO: result: $PYTHON_LDFLAGS" >&5
 echo "${ECHO_T}$PYTHON_LDFLAGS" >&6; }
           # Replace all backslashes in PYTHON Paths with forward slashes
-          { echo "$as_me:$LINENO: checking for pythondir" >&5
-echo $ECHO_N "checking for pythondir... $ECHO_C" >&6; }
           pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
           pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
-          { echo "$as_me:$LINENO: result: $pythondir" >&5
-echo "${ECHO_T}$pythondir" >&6; }
-
-          { echo "$as_me:$LINENO: checking for pkgpythondir" >&5
-echo $ECHO_N "checking for pkgpythondir... $ECHO_C" >&6; }
           pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
           pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
-          { echo "$as_me:$LINENO: result: $pkgpythondir" >&5
-echo "${ECHO_T}$pkgpythondir" >&6; }
-
-          { echo "$as_me:$LINENO: checking for pyexecdir" >&5
-echo $ECHO_N "checking for pyexecdir... $ECHO_C" >&6; }
           pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
           pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
-          { echo "$as_me:$LINENO: result: $pyexecdir" >&5
-echo "${ECHO_T}$pyexecdir" >&6; }
-
-          { echo "$as_me:$LINENO: checking for pkgpyexecdir" >&5
-echo $ECHO_N "checking for pkgpyexecdir... $ECHO_C" >&6; }
           pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
           pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
-          { echo "$as_me:$LINENO: result: $pkgpyexecdir" >&5
-echo "${ECHO_T}$pkgpyexecdir" >&6; }
-
          ;;
         esac
 
          ;;
         esac
 
@@ -33945,9 +33932,7 @@ fi
     ac_config_files="$ac_config_files gr-wxgui/Makefile gr-wxgui/src/Makefile gr-wxgui/src/python/Makefile"
 
 
     ac_config_files="$ac_config_files gr-wxgui/Makefile gr-wxgui/src/Makefile gr-wxgui/src/python/Makefile"
 
 
-    # FIXME: this breaks pkgsrc by calling python without a version number
-    # gdt--patch welcome :-)
-    if python -c 'import wx'; then
+    if ${PYTHON} -c 'import wx'; then
        passed=yes
     else
        passed=no
        passed=yes
     else
        passed=no
index 4cc031886f5b0d07df70864f03f2ac2a9119cbda..a6a84bd995629c40cffaea0fde4bb714eb386fba 100644 (file)
@@ -22,7 +22,7 @@ AC_PREREQ(2.57)
 AM_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET([])
 AM_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET([])
-AM_INIT_AUTOMAKE(gnuradio,3.0.2)
+AM_INIT_AUTOMAKE(gnuradio,3.0.3)
 AC_CONFIG_SRCDIR([gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc])
 
 GR_X86_64              dnl check for lib64 suffix
 AC_CONFIG_SRCDIR([gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc])
 
 GR_X86_64              dnl check for lib64 suffix
index 8877e10132d084f73affa0d6acb174bd2eae608f..c514f73224315e5faa20c9db68822d590837b15f 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -391,25 +391,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 7d4e65529a448044331a9e7ed746218c6c079de6..5a71393e1f84388584f4f141484231336df032e2 100644 (file)
@@ -17,7 +17,7 @@
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
 # by quotes) that should identify the project.
 
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = "GNU Radio 2.x"
+PROJECT_NAME           = "GNU Radio @VERSION@"
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 
 # This could be handy for archiving the generated documentation or 
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 
 # This could be handy for archiving the generated documentation or 
@@ -447,7 +447,19 @@ WARN_LOGFILE           =
 
 INPUT                  = @top_srcdir@/gnuradio-core/src/lib \
                          @top_srcdir@/gnuradio-core/src/tests \
 
 INPUT                  = @top_srcdir@/gnuradio-core/src/lib \
                          @top_srcdir@/gnuradio-core/src/tests \
-                         @top_srcdir@/gnuradio-core/doc/other
+                         @top_srcdir@/gnuradio-core/doc/other \
+                        @top_srcdir@/gr-audio-alsa \
+                        @top_srcdir@/gr-audio-jack \
+                        @top_srcdir@/gr-audio-oss \
+                        @top_srcdir@/gr-audio-osx \
+                        @top_srcdir@/gr-audio-portaudio \
+                        @top_srcdir@/gr-gsm-fr-vocoder \
+                        @top_srcdir@/gr-radio-astronomy \
+                        @top_srcdir@/gr-trellis \
+                        @top_srcdir@/gr-usrp \
+                        @top_srcdir@/gr-video-sdl \
+                        @top_srcdir@/usrp/host
+
 
 # If the value of the INPUT tag contains directories, you can use the 
 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
 
 # If the value of the INPUT tag contains directories, you can use the 
 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
@@ -470,11 +482,22 @@ RECURSIVE              = YES
 # excluded from the INPUT source files. This way you can easily exclude a 
 # subdirectory from a directory tree whose root is specified with the INPUT tag.
 
 # excluded from the INPUT source files. This way you can easily exclude a 
 # subdirectory from a directory tree whose root is specified with the INPUT tag.
 
-EXCLUDE                = CVS \
-                         @top_srcdir@/gnuradio-core/src/lib/swig/gnuradio_swig_python.cc \
-                         @top_srcdir@/gnuradio-core/src/lib/atsc \
-                         @top_srcdir@/gnuradio-core/src/lib/io-orig \
-                         @top_srcdir@/gnuradio-core/src/lib/vrx
+EXCLUDE                = CVS .svn .libs .deps \
+                        @top_builddir@/gnuradio-core/src/lib/swig/gnuradio_swig_python_.cc \
+                        @top_builddir@/gr-atsc/src/lib/atsc.cc \
+                        @top_builddir@/gr-audio-alsa/src/audio_alsa.cc \
+                        @top_builddir@/gr-audio-jack/src/audio_jack.cc \
+                        @top_builddir@/gr-audio-oss/src/audio_oss.cc \
+                        @top_builddir@/gr-audio-osx/src/audio_osx.cc \
+                        @top_builddir@/gr-audio-portaudio/src/audio_portaudio.cc \
+                        @top_builddir@/gr-audio-windows/src/audio_windows.cc \
+                        @top_builddir@/gr-gsm-fr-vocoder/src/lib/gsm_full_rate.cc \
+                        @top_builddir@/gr-radio-astronomy/src/lib/ra.cc \
+                        @top_builddir@/gr-trellis/src/lib/trellis.cc \
+                        @top_builddir@/gr-usrp/src/usrp1.cc \
+                        @top_builddir@/gr-video-sdl/src/video_sdl.cc \
+                        @top_builddir@/usrp/host/swig/prims.cc
+
 
 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
 # directories that are symbolic links (a Unix filesystem feature) are excluded 
 
 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
 # directories that are symbolic links (a Unix filesystem feature) are excluded 
index 1d9522d2ebf74940e59e1ad533bcad50734d240d..0582c4c15dfd3591cb436435db015fcf9c5f0d47 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 89cd3adc09cc626319250950c2b9e102292cfb82..34d4fc5c543a4f1ad0bc2b761a6dffde79805e62 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -370,25 +370,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 0ff53bad474e8ceefa0ffacbf34314ab04e167d2..031136302ad82a3bc1f6f3d2655f18fb68cb02f9 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -378,25 +378,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 684a74a6e2a3beb7ff86fc8436f24b96bfa16b55..96ad61b0fb1a2775ceb077520e939c0b1d39fcaa 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -405,25 +405,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 05461a05c1c80f8127fdeb49d932e4bbdfbc5139..5dc053d222ec2c785ed5c280928938bdf299d5df 100644 (file)
@@ -36,7 +36,6 @@ libgnuradio_core_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
 libgnuradio_core_qa_la_SOURCES = bug_work_around_6.cc
 libgnuradio_core_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 \
                                $(LIBGNURADIO_CORE_EXTRA_LDFLAGS)
 libgnuradio_core_qa_la_SOURCES = bug_work_around_6.cc
 libgnuradio_core_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 \
                                $(LIBGNURADIO_CORE_EXTRA_LDFLAGS)
-
 libgnuradio_core_la_LIBADD  =          \
        filter/libfilter.la             \
        g72x/libccitt.la                \
 libgnuradio_core_la_LIBADD  =          \
        filter/libfilter.la             \
        g72x/libccitt.la                \
index 4507c3fb2c468a439436702493ff39110057584a..e3dabe0a06e08fa7d6f493ce9e0bc868e649baf4 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -416,25 +416,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 7eb519d02b63cbc7a72fa7930c0005653ce61f63..32be27044a93567fa7f771496e6c2a152995b320 100644 (file)
@@ -69,7 +69,7 @@ include Makefile.gen
 
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
 
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
-       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(srcdir)/generate_all.py
+       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
 
 
 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
 
 
 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
index c37da6c40d019a7a22c3d9fdd889574690ff36b6..e644255857d2b885b358b334de4a4a12ad46330e 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -548,25 +548,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -1364,7 +1356,7 @@ uninstall-am: uninstall-grincludeHEADERS uninstall-info-am \
 # include $(srcdir)/Makefile.gen
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
 # include $(srcdir)/Makefile.gen
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
-       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(srcdir)/generate_all.py
+       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
 # 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:
 # 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 7b20075d6123a2f3a1cf99f1e8c28f6ac7711c66..66b5c6e9952576ae4568106e0aa5cd47d1e40d8f 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -388,25 +388,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index b87411545b159feb136bef84b2e6a854111b3abb..628c12befbd30dce9e7b56f35625d58ce56be011 100644 (file)
@@ -1,5 +1,5 @@
 #
 #
-# Copyright 2001,2002,2004,2006 Free Software Foundation, Inc.
+# Copyright 2001,2002,2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -91,7 +91,7 @@ include Makefile.gen
 
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
 
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
-       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(srcdir)/generate_all.py
+       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
 
 
 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
 
 
 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
index eb55a7666b6bc4f3accd63ff8f80b26097225c37..5495d60163a94247d58f55e8c30055aa41f6e1e0 100644 (file)
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
 @SET_MAKE@
 
 #
-# Copyright 2001,2002,2004,2006 Free Software Foundation, Inc.
+# Copyright 2001,2002,2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -485,25 +485,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -1687,7 +1679,7 @@ uninstall-am: uninstall-grincludeHEADERS uninstall-info-am \
 # include $(srcdir)/Makefile.gen
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
 # include $(srcdir)/Makefile.gen
 
 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
-       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(srcdir)/generate_all.py
+       PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
 # 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:
 # 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 4656f8c527d2450c445e01997ecb6daeb35bab3c..18253e968000416d269870d2f659ba525cbc1846 100644 (file)
@@ -45,7 +45,7 @@ gr_correlate_access_code_bb::gr_correlate_access_code_bb (
                   gr_make_io_signature (1, 1, sizeof(char)),
                   gr_make_io_signature (1, 1, sizeof(char))),
     d_data_reg(0), d_flag_reg(0), d_flag_bit(0), d_mask(0),
                   gr_make_io_signature (1, 1, sizeof(char)),
                   gr_make_io_signature (1, 1, sizeof(char))),
     d_data_reg(0), d_flag_reg(0), d_flag_bit(0), d_mask(0),
-    d_threshold(threshold), d_flip(0)
+    d_threshold(threshold)
 
 {
   if (!set_access_code(access_code)){
 
 {
   if (!set_access_code(access_code)){
@@ -94,7 +94,7 @@ gr_correlate_access_code_bb::work (int noutput_items,
     // compute output value
     unsigned int t = 0;
 
     // compute output value
     unsigned int t = 0;
 
-    t |= d_flip ^ (((d_data_reg >> 63) & 0x1) << 0);
+    t |= ((d_data_reg >> 63) & 0x1) << 0;
     t |= ((d_flag_reg >> 63) & 0x1) << 1;      // flag bit
     out[i] = t;
     
     t |= ((d_flag_reg >> 63) & 0x1) << 1;      // flag bit
     out[i] = t;
     
@@ -106,8 +106,8 @@ gr_correlate_access_code_bb::work (int noutput_items,
     wrong_bits  = (d_data_reg ^ d_access_code) & d_mask;
     nwrong = gr_count_bits64(wrong_bits);
 
     wrong_bits  = (d_data_reg ^ d_access_code) & d_mask;
     nwrong = gr_count_bits64(wrong_bits);
 
-    // test for access code with up to threshold errors or its compelement
-    new_flag = (nwrong <= d_threshold) || (nwrong >= (64-d_threshold));
+    // test for access code with up to threshold errors
+    new_flag = (nwrong <= d_threshold);
 
 #if 0   
     if(new_flag) {
 
 #if 0   
     if(new_flag) {
@@ -120,7 +120,6 @@ gr_correlate_access_code_bb::work (int noutput_items,
     d_flag_reg = (d_flag_reg << 1);
     if (new_flag) {
       d_flag_reg |= d_flag_bit;
     d_flag_reg = (d_flag_reg << 1);
     if (new_flag) {
       d_flag_reg |= d_flag_bit;
-      d_flip = nwrong >= (64-d_threshold);   // flip bits if this is true
     }
   }
 
     }
   }
 
index 8a2bdefc1ffecaa0edd1d671f08e9a81836b240c..5f9b230765e09680ff9b8f0448f715a6797dda5c 100644 (file)
@@ -62,8 +62,6 @@ class gr_correlate_access_code_bb : public gr_sync_block
   unsigned long long d_mask;           // masks access_code bits (top N bits are set where
                                         //   N is the number of bits in the access code)
   unsigned int      d_threshold;       // how many bits may be wrong in sync vector
   unsigned long long d_mask;           // masks access_code bits (top N bits are set where
                                         //   N is the number of bits in the access code)
   unsigned int      d_threshold;       // how many bits may be wrong in sync vector
-  unsigned int       d_flip;            // flip bits if 180 degress out of sync
-
 
  protected:
   gr_correlate_access_code_bb(const std::string &access_code, int threshold);
 
  protected:
   gr_correlate_access_code_bb(const std::string &access_code, int threshold);
index 994424edf01f15346fa8a74b90c8ca593bbf7c38..87724fcdff495311d3e6b8347e20822d68c6af46 100644 (file)
@@ -272,7 +272,7 @@ gr_firdes::band_reject (double gain,
 
   for (int n = -M; n <= M; n++){
     if (n == 0)
 
   for (int n = -M; n <= M; n++){
     if (n == 0)
-      taps[n + M] = (1.0 + (fwT0 - fwT1)) / M_PI * w[n + M];
+      taps[n + M] = 1.0 + ((fwT0 - fwT1) / M_PI * w[n + M]);
     else {
       taps[n + M] =  (sin (n * fwT0) - sin (n * fwT1)) / (n * M_PI) * w[n + M];
     }
     else {
       taps[n + M] =  (sin (n * fwT0) - sin (n * fwT1)) / (n * M_PI) * w[n + M];
     }
index 6a091b4d5413e47faad38053e557069d460069c0..d486f61eb4141febd8849ca6065e80cce8e85db0 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -408,25 +408,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 2a152b95a20d402d2279234faeb1a0ee3dfdffa9..286a7d1fb9abec1793801bd837184384df46c7b4 100644 (file)
@@ -60,11 +60,11 @@ gr_oscope_guts::gr_oscope_guts (int nchannels, double sample_rate, gr_msg_queue_
     d_update_rate (20),
     d_trigger_level (0),
     d_obi (0),
     d_update_rate (20),
     d_trigger_level (0),
     d_obi (0),
-    d_state (LOOK_FOR_TRIGGER),
+    d_state (HOLD_OFF),
     d_decimator_count (0),
     d_decimator_count_init (1),
     d_hold_off_count (0),
     d_decimator_count (0),
     d_decimator_count_init (1),
     d_hold_off_count (0),
-    d_hold_off_count_init (0),
+    d_hold_off_count_init (OUTPUT_RECORD_SIZE/2-1),
     d_post_trigger_count (0),
     d_post_trigger_count_init (OUTPUT_RECORD_SIZE/2),
     d_prev_sample (0)
     d_post_trigger_count (0),
     d_post_trigger_count_init (OUTPUT_RECORD_SIZE/2),
     d_prev_sample (0)
@@ -77,11 +77,15 @@ gr_oscope_guts::gr_oscope_guts (int nchannels, double sample_rate, gr_msg_queue_
   for (int i = 0; i < MAX_CHANNELS; i++)
     d_buffer[i] = 0;
 
   for (int i = 0; i < MAX_CHANNELS; i++)
     d_buffer[i] = 0;
 
-  for (int i = 0; i < d_nchannels; i++)
+  for (int i = 0; i < d_nchannels; i++){
     d_buffer[i] = new float [OUTPUT_RECORD_SIZE];
     d_buffer[i] = new float [OUTPUT_RECORD_SIZE];
+    for (int j = 0; j < OUTPUT_RECORD_SIZE; j++)
+      d_buffer[i][j] = 0.0;
+  }
 
 
+  // be sure buffer is full before first write
+  enter_hold_off ();
   update_rate_or_decimation_changed ();
   update_rate_or_decimation_changed ();
-  enter_look_for_trigger ();
 }
 
 gr_oscope_guts::~gr_oscope_guts ()
 }
 
 gr_oscope_guts::~gr_oscope_guts ()
@@ -228,9 +232,9 @@ gr_oscope_guts::write_output_records ()
   float *out = (float *)msg->msg();    // get pointer to raw message buffer
 
   for (int ch = 0; ch < d_nchannels; ch++){
   float *out = (float *)msg->msg();    // get pointer to raw message buffer
 
   for (int ch = 0; ch < d_nchannels; ch++){
-    // note that d_obi points at the oldest sample in the buffer
+    // note that d_obi + 1 points at the oldest sample in the buffer
     for (int i = 0; i < OUTPUT_RECORD_SIZE; i++)
     for (int i = 0; i < OUTPUT_RECORD_SIZE; i++)
-      out[i] = d_buffer[ch][wrap_bi(d_obi + i)];
+      out[i] = d_buffer[ch][wrap_bi(d_obi + 1 + i)];
 
     out += OUTPUT_RECORD_SIZE;
   }
 
     out += OUTPUT_RECORD_SIZE;
   }
index 1e6690451e41e048630f91a2835bfbfd7fb7f370..7fa34f1a53241ae14af3d51ba14d9d38079bf5bf 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -388,25 +388,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index ae89a1757501de5a6c19d980d0b9883c4296a5dd..06955d6f31d2622cf96682457a5906e403f3f0c6 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -402,25 +402,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index bcd6db21095ef6790084b521bfa0dfa7d8f0e53f..09fa248e8fa9af54ebf5a72e0cd76136d71a77e7 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -405,25 +405,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 5e0d5e040d634ad7d2e72054fb5e6df949d3f68b..dbd7db77704b3cfe0bc9dbb6134dd0dc1328ccd2 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -414,25 +414,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index fe0322f7348c70641acf288052b1b01055c78f9b..ccb169b95b15281d9881b3f7e5b2361fcd668d1f 100644 (file)
@@ -68,11 +68,13 @@ gr_vmcircbuf_sysv_shm::gr_vmcircbuf_sysv_shm (int size)
 
   if ((shmid2 = shmget (IPC_PRIVATE, 2 * size + 2 * pagesize, IPC_CREAT | 0700)) == -1){
     perror ("gr_vmcircbuf_sysv_shm: shmget (1)");
 
   if ((shmid2 = shmget (IPC_PRIVATE, 2 * size + 2 * pagesize, IPC_CREAT | 0700)) == -1){
     perror ("gr_vmcircbuf_sysv_shm: shmget (1)");
+    shmctl (shmid_guard, IPC_RMID, 0);
     throw std::runtime_error ("gr_vmcircbuf_sysv_shm");
   }
 
   if ((shmid1 = shmget (IPC_PRIVATE, size, IPC_CREAT | 0700)) == -1){
     perror ("gr_vmcircbuf_sysv_shm: shmget (2)");
     throw std::runtime_error ("gr_vmcircbuf_sysv_shm");
   }
 
   if ((shmid1 = shmget (IPC_PRIVATE, size, IPC_CREAT | 0700)) == -1){
     perror ("gr_vmcircbuf_sysv_shm: shmget (2)");
+    shmctl (shmid_guard, IPC_RMID, 0);
     shmctl (shmid2, IPC_RMID, 0);
     throw std::runtime_error ("gr_vmcircbuf_sysv_shm");
   }
     shmctl (shmid2, IPC_RMID, 0);
     throw std::runtime_error ("gr_vmcircbuf_sysv_shm");
   }
index 590b07b856508113c90ad18df6ff2a71885df32f..94e3c9006290ecfc1d2929df1bc88910c123f4bd 100644 (file)
@@ -68,7 +68,7 @@ _gnuradio_swig_python_la_SOURCES =                    \
 
 
 _gnuradio_swig_python_la_LIBADD  =                     \
 
 
 _gnuradio_swig_python_la_LIBADD  =                     \
-       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la       \
+       $(GNURADIO_CORE_LA)                             \
        $(PYTHON_LDFLAGS)                               \
        -lstdc++
 
        $(PYTHON_LDFLAGS)                               \
        -lstdc++
 
@@ -91,7 +91,7 @@ gnuradio_swig_python.cc : gnuradio.i
 
 
 gnuradio_swig_bug_workaround.h : gnuradio_swig_python.cc $(srcdir)/gen-swig-bug-fix
 
 
 gnuradio_swig_bug_workaround.h : gnuradio_swig_python.cc $(srcdir)/gen-swig-bug-fix
-       $(srcdir)/gen-swig-bug-fix gnuradio_swig_python.cc $@
+       $(PYTHON) $(srcdir)/gen-swig-bug-fix gnuradio_swig_python.cc $@
 
 
 # ----------------------------------------------------------------
 
 
 # ----------------------------------------------------------------
index 81a9e088aecb73695f68a9a3bbc40d278e7315b7..04319570459600c4128a30263288c0ac1bbc7c46 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -145,10 +145,11 @@ am__installdirs = "$(DESTDIR)$(grgrlibdir)" \
        "$(DESTDIR)$(swigincludedir)"
 grgrlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(grgrlib_LTLIBRARIES)
        "$(DESTDIR)$(swigincludedir)"
 grgrlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(grgrlib_LTLIBRARIES)
-am__DEPENDENCIES_1 =
-_gnuradio_swig_python_la_DEPENDENCIES =  \
-       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la \
-       $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_1 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
+am__DEPENDENCIES_2 =
+_gnuradio_swig_python_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+       $(am__DEPENDENCIES_2)
 am__gnuradio_swig_python_la_OBJECTS = gnuradio_swig_python.lo
 _gnuradio_swig_python_la_OBJECTS =  \
        $(am__gnuradio_swig_python_la_OBJECTS)
 am__gnuradio_swig_python_la_OBJECTS = gnuradio_swig_python.lo
 _gnuradio_swig_python_la_OBJECTS =  \
        $(am__gnuradio_swig_python_la_OBJECTS)
@@ -409,25 +410,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -472,7 +465,7 @@ _gnuradio_swig_python_la_SOURCES = \
        gnuradio_swig_python.cc         
 
 _gnuradio_swig_python_la_LIBADD = \
        gnuradio_swig_python.cc         
 
 _gnuradio_swig_python_la_LIBADD = \
-       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la       \
+       $(GNURADIO_CORE_LA)                             \
        $(PYTHON_LDFLAGS)                               \
        -lstdc++
 
        $(PYTHON_LDFLAGS)                               \
        -lstdc++
 
@@ -853,7 +846,7 @@ gnuradio_swig_python.cc : gnuradio.i
        else rm -f gnuradio_swig_python.Td; exit 1; fi 
 
 gnuradio_swig_bug_workaround.h : gnuradio_swig_python.cc $(srcdir)/gen-swig-bug-fix
        else rm -f gnuradio_swig_python.Td; exit 1; fi 
 
 gnuradio_swig_bug_workaround.h : gnuradio_swig_python.cc $(srcdir)/gen-swig-bug-fix
-       $(srcdir)/gen-swig-bug-fix gnuradio_swig_python.cc $@
+       $(PYTHON) $(srcdir)/gen-swig-bug-fix gnuradio_swig_python.cc $@
 
 # ----------------------------------------------------------------
 
 
 # ----------------------------------------------------------------
 
index 964b05027cd3515a730742b4061cb971e6a31c87..7a0d7bb7ee98535da3ea0a49f5441fea17b17566 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -380,25 +380,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 495213b9a92290111b331d3d62511c7861cca0f8..e5b29d1603604227a6e5b0d3057a11bd320766e8 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -374,25 +374,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index e0f0ecd65a9c26643c73f5948425d3de0e13cde0..4260ede09d5ad1ca4bac43613a579584c80cdcfb 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -388,25 +388,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index eb3b87f224a95fa7ef205dd4f62f02826cc0a256..1b3af7445ec739acf05da0100ecb921869819f88 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -380,25 +380,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index a793f1cfab8c97e23609eb79219e623882e12c81..f9bf311c17381c711bd37178fad635e59c6a1021 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -380,25 +380,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 7df4f240c5178c131addaffbb2bc361b29cdedce..cf38f02e6cfe55fcaaf273c9d6a1b7bbeb2c3900 100644 (file)
@@ -39,7 +39,7 @@ _def_gray_code = True
 _def_verbose = False
 _def_log = False
 
 _def_verbose = False
 _def_log = False
 
-_def_costas_alpha = 0.05
+_def_costas_alpha = None
 _def_gain_mu = 0.03
 _def_mu = 0.05
 _def_omega_relative_limit = 0.005
 _def_gain_mu = 0.03
 _def_mu = 0.05
 _def_omega_relative_limit = 0.005
@@ -241,10 +241,12 @@ class dbpsk_demod(gr.hier_block):
 
         
         # Costas loop (carrier tracking)
 
         
         # Costas loop (carrier tracking)
-        # FIXME: need to decide how to handle this more generally; do we pull it from higher layer?
-        costas_order = 2
-        beta = .25 * self._costas_alpha * self._costas_alpha
-        self.costas_loop = gr.costas_loop_cc(self._costas_alpha, beta, 0.002, -0.002, costas_order)
+        # The Costas loop is not needed for BPSK, though it can help. Turn the Costas loop on
+        # by setting an alpha value not None.
+        if self._costas_alpha is not None:
+            costas_order = 2
+            beta = .25 * self._costas_alpha * self._costas_alpha
+            self.costas_loop = gr.costas_loop_cc(self._costas_alpha, beta, 0.002, -0.002, costas_order)
 
         # RRC data filter
         ntaps = 11 * self._samples_per_symbol
 
         # RRC data filter
         ntaps = 11 * self._samples_per_symbol
@@ -289,9 +291,14 @@ class dbpsk_demod(gr.hier_block):
             self._setup_logging()
 
         # Connect and Initialize base class
             self._setup_logging()
 
         # Connect and Initialize base class
-        self._fg.connect(self.pre_scaler, self.agc, self.costas_loop,
-                         self.rrc_filter, self.clock_recovery, self.diffdec,
-                         self.slicer, self.symbol_mapper, self.unpack)
+        if self._costas_alpha is not None:   # With Costas Loop
+            self._fg.connect(self.pre_scaler, self.agc, self.costas_loop,
+                             self.rrc_filter, self.clock_recovery, self.diffdec,
+                             self.slicer, self.symbol_mapper, self.unpack)
+        else: # Without Costas Loop
+            self._fg.connect(self.pre_scaler, self.agc,
+                             self.rrc_filter, self.clock_recovery, self.diffdec,
+                             self.slicer, self.symbol_mapper, self.unpack)
 
         gr.hier_block.__init__(self, self._fg, self.pre_scaler, self.unpack)
 
 
         gr.hier_block.__init__(self, self._fg, self.pre_scaler, self.unpack)
 
@@ -306,7 +313,10 @@ class dbpsk_demod(gr.hier_block):
         print "bits per symbol = %d"         % self.bits_per_symbol()
         print "Gray code = %s"               % self._gray_code
         print "RRC roll-off factor = %.2f"   % self._excess_bw
         print "bits per symbol = %d"         % self.bits_per_symbol()
         print "Gray code = %s"               % self._gray_code
         print "RRC roll-off factor = %.2f"   % self._excess_bw
-        print "Costas Loop alpha = %.5f"     % self._costas_alpha
+        if self._costas_alpha is not None:
+            print "Costas Loop alpha = %.5f"     % self._costas_alpha
+        else:
+            print "Costas Loop is turned off"
         print "M&M symbol sync gain = %.5f"  % self._gain_mu
         print "M&M symbol sync mu = %.5f"    % self._mu
         print "M&M omega relative limit = %.5f" % self._omega_relative_limit
         print "M&M symbol sync gain = %.5f"  % self._gain_mu
         print "M&M symbol sync mu = %.5f"    % self._mu
         print "M&M omega relative limit = %.5f" % self._omega_relative_limit
@@ -317,10 +327,11 @@ class dbpsk_demod(gr.hier_block):
                          gr.file_sink(gr.sizeof_gr_complex, "prescaler.dat"))
         self._fg.connect(self.agc,
                          gr.file_sink(gr.sizeof_gr_complex, "agc.dat"))
                          gr.file_sink(gr.sizeof_gr_complex, "prescaler.dat"))
         self._fg.connect(self.agc,
                          gr.file_sink(gr.sizeof_gr_complex, "agc.dat"))
-        self._fg.connect(self.costas_loop,
-                         gr.file_sink(gr.sizeof_gr_complex, "costas_loop.dat"))
-        self._fg.connect((self.costas_loop,1),
-                         gr.file_sink(gr.sizeof_gr_complex, "costas_error.dat"))
+        if self._costas_alpha is not None:
+            self._fg.connect(self.costas_loop,
+                             gr.file_sink(gr.sizeof_gr_complex, "costas_loop.dat"))
+            self._fg.connect((self.costas_loop,1),
+                             gr.file_sink(gr.sizeof_gr_complex, "costas_error.dat"))
         self._fg.connect(self.rrc_filter,
                          gr.file_sink(gr.sizeof_gr_complex, "rrc_filter.dat"))
         self._fg.connect(self.clock_recovery,
         self._fg.connect(self.rrc_filter,
                          gr.file_sink(gr.sizeof_gr_complex, "rrc_filter.dat"))
         self._fg.connect(self.clock_recovery,
index 3b60f2242e2fbf69a41aeea4eedb359a6a133a6f..70024f1e98da3ec1391d5a4bad53030927dc0f04 100644 (file)
@@ -39,7 +39,7 @@ _def_gray_code = True
 _def_verbose = False
 _def_log = False
 
 _def_verbose = False
 _def_log = False
 
-_def_costas_alpha = 0.10
+_def_costas_alpha = None
 _def_gain_mu = 0.03
 _def_mu = 0.05
 _def_omega_relative_limit = 0.005
 _def_gain_mu = 0.03
 _def_mu = 0.05
 _def_omega_relative_limit = 0.005
@@ -238,11 +238,15 @@ class dqpsk_demod(gr.hier_block):
         self.agc = gr.feedforward_agc_cc(16, 1.0)
        
         # Costas loop (carrier tracking)
         self.agc = gr.feedforward_agc_cc(16, 1.0)
        
         # Costas loop (carrier tracking)
-        # FIXME: need to decide how to handle this more generally; do we pull it from higher layer?
-        costas_order = 4
-        beta = .25 * self._costas_alpha * self._costas_alpha
-        #self.costas_loop = gr.costas_loop_cc(self._costas_alpha, beta, 0.1, -0.1, costas_order)
-        self.costas_loop = gr.costas_loop_cc(self._costas_alpha, beta, 0.002, -0.002, costas_order)
+        if self._costas_alpha is None:   # If no alpha value was specified by the user
+            alpha_dir = {2:0.075, 3:0.09, 4:0.09, 5:0.095, 6:0.10, 7:0.105}
+            self._costas_alpha = alpha_dir[self._samples_per_symbol]
+        
+        costas_order = 4        
+        # The value of beta is now set to be underdamped; this value can have a huge impact on the
+        # performance of QPSK. Set to 0.25 for critically damped or higher for underdamped responses.
+        beta = .35 * self._costas_alpha * self._costas_alpha
+        self.costas_loop = gr.costas_loop_cc(self._costas_alpha, beta, 0.02, -0.02, costas_order)
 
         # RRC data filter
         ntaps = 11 * samples_per_symbol
 
         # RRC data filter
         ntaps = 11 * samples_per_symbol
index ec91917b2e3e17b186deb9945554a85999cb07ae..cba76e4408cd65b93979ad445a9709af24312171 100644 (file)
@@ -71,6 +71,7 @@ noinst_PYTHON =                       \
        qa_message.py                   \
        qa_mute.py                      \
        qa_nlog10.py                    \
        qa_message.py                   \
        qa_mute.py                      \
        qa_nlog10.py                    \
+       qa_noise.py                     \
        qa_packed_to_unpacked.py        \
        qa_pipe_fittings.py             \
        qa_rational_resampler.py        \
        qa_packed_to_unpacked.py        \
        qa_pipe_fittings.py             \
        qa_rational_resampler.py        \
index 8b322c580f25c71e34a4e14c438699d5f542c2ce..6e5259078aea41385067b51f262c2f2d926c17ef 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -380,25 +380,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -453,6 +445,7 @@ noinst_PYTHON = \
        qa_message.py                   \
        qa_mute.py                      \
        qa_nlog10.py                    \
        qa_message.py                   \
        qa_mute.py                      \
        qa_nlog10.py                    \
+       qa_noise.py                     \
        qa_packed_to_unpacked.py        \
        qa_pipe_fittings.py             \
        qa_rational_resampler.py        \
        qa_packed_to_unpacked.py        \
        qa_pipe_fittings.py             \
        qa_rational_resampler.py        \
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_noise.py b/gnuradio-core/src/python/gnuradio/gr/qa_noise.py
new file mode 100755 (executable)
index 0000000..9a5007a
--- /dev/null
@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+#
+# Copyright 2007 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.
+# 
+
+from gnuradio import gr, gr_unittest
+
+class test_noise_source(gr_unittest.TestCase):
+
+    def setUp (self):
+        self.fg = gr.flow_graph ()
+
+    def tearDown (self):
+        self.fg = None
+
+    def test_001(self):
+        # Just confirm that we can instantiate a noise source
+        op = gr.noise_source_f(gr.GR_GAUSSIAN, 10, 10)
+
+if __name__ == '__main__':
+    gr_unittest.main ()
+        
index 16509255253f151c9ff1f1d64380a42c2982f6a1..6dda71e7e8d9da55f23d665cc697d1c9b303b4f4 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -380,25 +380,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index ac131b04b284f4c2834c448ee8c6313b2cbc6d13..3e7de789e4c00644530418d3397590547b2921b9 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index f347c1874d4b66b8a67dfd37b24f155af280c5fe..aed3fea9ae158d17c49d0faa2e0c63668c7a38d5 100644 (file)
@@ -33,7 +33,7 @@ TESTS = test_all
 #Test program to test setting up buffers using gr_test which can be run manually
 EXTRA_DIST =                           \
        test_buffers.py
 #Test program to test setting up buffers using gr_test which can be run manually
 EXTRA_DIST =                           \
        test_buffers.py
-       
+
 noinst_PROGRAMS                =       \
        benchmark_dotprod       \
        benchmark_dotprod_fsf   \
 noinst_PROGRAMS                =       \
        benchmark_dotprod       \
        benchmark_dotprod_fsf   \
@@ -50,7 +50,7 @@ noinst_PROGRAMS               =       \
        test_vmcircbuf
 
 
        test_vmcircbuf
 
 
-LIBGNURADIO =  $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
+LIBGNURADIO =  $(GNURADIO_CORE_LA)
 LIBGNURADIOQA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la $(LIBGNURADIO)
 
 benchmark_dotprod_SOURCES = benchmark_dotprod.cc
 LIBGNURADIOQA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la $(LIBGNURADIO)
 
 benchmark_dotprod_SOURCES = benchmark_dotprod.cc
index 3ebbffc923b03267f164cf70f379637d6b682fb0..1dff732ecc8cd5d656dc4b4974f347cc48a524dd 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -144,46 +144,47 @@ am_benchmark_dotprod_OBJECTS = benchmark_dotprod.$(OBJEXT)
 benchmark_dotprod_OBJECTS = $(am_benchmark_dotprod_OBJECTS)
 am__DEPENDENCIES_1 =  \
        $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 benchmark_dotprod_OBJECTS = $(am_benchmark_dotprod_OBJECTS)
 am__DEPENDENCIES_1 =  \
        $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
-benchmark_dotprod_DEPENDENCIES = $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
+benchmark_dotprod_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_dotprod_ccc_OBJECTS = benchmark_dotprod_ccc.$(OBJEXT)
 benchmark_dotprod_ccc_OBJECTS = $(am_benchmark_dotprod_ccc_OBJECTS)
 am_benchmark_dotprod_ccc_OBJECTS = benchmark_dotprod_ccc.$(OBJEXT)
 benchmark_dotprod_ccc_OBJECTS = $(am_benchmark_dotprod_ccc_OBJECTS)
-benchmark_dotprod_ccc_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_dotprod_ccc_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_dotprod_ccf_OBJECTS = benchmark_dotprod_ccf.$(OBJEXT)
 benchmark_dotprod_ccf_OBJECTS = $(am_benchmark_dotprod_ccf_OBJECTS)
 am_benchmark_dotprod_ccf_OBJECTS = benchmark_dotprod_ccf.$(OBJEXT)
 benchmark_dotprod_ccf_OBJECTS = $(am_benchmark_dotprod_ccf_OBJECTS)
-benchmark_dotprod_ccf_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_dotprod_ccf_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_dotprod_fcc_OBJECTS = benchmark_dotprod_fcc.$(OBJEXT)
 benchmark_dotprod_fcc_OBJECTS = $(am_benchmark_dotprod_fcc_OBJECTS)
 am_benchmark_dotprod_fcc_OBJECTS = benchmark_dotprod_fcc.$(OBJEXT)
 benchmark_dotprod_fcc_OBJECTS = $(am_benchmark_dotprod_fcc_OBJECTS)
-benchmark_dotprod_fcc_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_dotprod_fcc_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_dotprod_fsf_OBJECTS = benchmark_dotprod_fsf.$(OBJEXT)
 benchmark_dotprod_fsf_OBJECTS = $(am_benchmark_dotprod_fsf_OBJECTS)
 am_benchmark_dotprod_fsf_OBJECTS = benchmark_dotprod_fsf.$(OBJEXT)
 benchmark_dotprod_fsf_OBJECTS = $(am_benchmark_dotprod_fsf_OBJECTS)
-benchmark_dotprod_fsf_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_dotprod_fsf_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_dotprod_scc_OBJECTS = benchmark_dotprod_scc.$(OBJEXT)
 benchmark_dotprod_scc_OBJECTS = $(am_benchmark_dotprod_scc_OBJECTS)
 am_benchmark_dotprod_scc_OBJECTS = benchmark_dotprod_scc.$(OBJEXT)
 benchmark_dotprod_scc_OBJECTS = $(am_benchmark_dotprod_scc_OBJECTS)
-benchmark_dotprod_scc_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_dotprod_scc_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_nco_OBJECTS = benchmark_nco.$(OBJEXT)
 benchmark_nco_OBJECTS = $(am_benchmark_nco_OBJECTS)
 am_benchmark_nco_OBJECTS = benchmark_nco.$(OBJEXT)
 benchmark_nco_OBJECTS = $(am_benchmark_nco_OBJECTS)
-benchmark_nco_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_nco_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_benchmark_vco_OBJECTS = benchmark_vco.$(OBJEXT)
 benchmark_vco_OBJECTS = $(am_benchmark_vco_OBJECTS)
 am_benchmark_vco_OBJECTS = benchmark_vco.$(OBJEXT)
 benchmark_vco_OBJECTS = $(am_benchmark_vco_OBJECTS)
-benchmark_vco_DEPENDENCIES = $(am__DEPENDENCIES_1)
+benchmark_vco_DEPENDENCIES = $(am__DEPENDENCIES_2)
 am_test_all_OBJECTS = test_all.$(OBJEXT)
 test_all_OBJECTS = $(am_test_all_OBJECTS)
 am_test_all_OBJECTS = test_all.$(OBJEXT)
 test_all_OBJECTS = $(am_test_all_OBJECTS)
-am__DEPENDENCIES_2 =  \
+am__DEPENDENCIES_3 =  \
        $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la \
        $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la \
-       $(am__DEPENDENCIES_1)
-test_all_DEPENDENCIES = $(am__DEPENDENCIES_2)
+       $(am__DEPENDENCIES_2)
+test_all_DEPENDENCIES = $(am__DEPENDENCIES_3)
 am_test_filter_OBJECTS = test_filter.$(OBJEXT)
 test_filter_OBJECTS = $(am_test_filter_OBJECTS)
 am_test_filter_OBJECTS = test_filter.$(OBJEXT)
 test_filter_OBJECTS = $(am_test_filter_OBJECTS)
-test_filter_DEPENDENCIES = $(am__DEPENDENCIES_2)
+test_filter_DEPENDENCIES = $(am__DEPENDENCIES_3)
 am_test_general_OBJECTS = test_general.$(OBJEXT)
 test_general_OBJECTS = $(am_test_general_OBJECTS)
 am_test_general_OBJECTS = test_general.$(OBJEXT)
 test_general_OBJECTS = $(am_test_general_OBJECTS)
-test_general_DEPENDENCIES = $(am__DEPENDENCIES_2)
+test_general_DEPENDENCIES = $(am__DEPENDENCIES_3)
 am_test_runtime_OBJECTS = test_runtime.$(OBJEXT)
 test_runtime_OBJECTS = $(am_test_runtime_OBJECTS)
 am_test_runtime_OBJECTS = test_runtime.$(OBJEXT)
 test_runtime_OBJECTS = $(am_test_runtime_OBJECTS)
-test_runtime_DEPENDENCIES = $(am__DEPENDENCIES_2)
+test_runtime_DEPENDENCIES = $(am__DEPENDENCIES_3)
 am_test_vmcircbuf_OBJECTS = test_vmcircbuf.$(OBJEXT)
 test_vmcircbuf_OBJECTS = $(am_test_vmcircbuf_OBJECTS)
 am_test_vmcircbuf_OBJECTS = test_vmcircbuf.$(OBJEXT)
 test_vmcircbuf_OBJECTS = $(am_test_vmcircbuf_OBJECTS)
-test_vmcircbuf_DEPENDENCIES = $(am__DEPENDENCIES_2)
+test_vmcircbuf_DEPENDENCIES = $(am__DEPENDENCIES_3)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
@@ -452,25 +453,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -490,7 +483,7 @@ TESTS = test_all
 EXTRA_DIST = \
        test_buffers.py
 
 EXTRA_DIST = \
        test_buffers.py
 
-LIBGNURADIO = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
+LIBGNURADIO = $(GNURADIO_CORE_LA)
 LIBGNURADIOQA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la $(LIBGNURADIO)
 benchmark_dotprod_SOURCES = benchmark_dotprod.cc
 benchmark_dotprod_LDADD = $(LIBGNURADIO)
 LIBGNURADIOQA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la $(LIBGNURADIO)
 benchmark_dotprod_SOURCES = benchmark_dotprod.cc
 benchmark_dotprod_LDADD = $(LIBGNURADIO)
index 07fa5d574ebc70061880c7d8b98b4696c014f051..fabc2fd6d9ba0a5c9c62d1369cf134f9a3e0f73e 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -370,25 +370,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 9bd7bc685ab888f301734df68df70c34b80bfe93..1c412223415b26042ab8378124b09ac1eaa1d223 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 13968304a307cf4ec967743fbd049fba5beaa367..d5bad85f57e32dd1a4ddd68d2dc264d0e1c9f513 100644 (file)
@@ -14,9 +14,9 @@ If you just want to see what these programs do, run each of the following:
 ./test_tcm_combined.py fsm_files/awgn1o2_4.fsm 6.0 1000
 ./test_tcm_parallel.py fsm_files/awgn1o2_4.fsm 6.0 1000
 
 ./test_tcm_combined.py fsm_files/awgn1o2_4.fsm 6.0 1000
 ./test_tcm_parallel.py fsm_files/awgn1o2_4.fsm 6.0 1000
 
-./test_sccc_hard.py  fsm_files/awgn1o2_4.fsm fsm_files/awgn1o2_4_msb.fsm 10.0 100
-./test_sccc_soft.py  fsm_files/awgn1o2_4.fsm fsm_files/awgn1o2_4_msb.fsm  8.0 100
-./test_sccc_turbo.py fsm_files/awgn1o2_4.fsm fsm_files/awgn1o2_4_msb.fsm  5.0 100
+./test_sccc_hard.py  fsm_files/awgn1o2_4.fsm fsm_files/awgn2o3_4_msb.fsm 10.0 100
+./test_sccc_soft.py  fsm_files/awgn1o2_4.fsm fsm_files/awgn2o3_4_msb.fsm  8.0 100
+./test_sccc_turbo.py fsm_files/awgn1o2_4.fsm fsm_files/awgn2o3_4_msb.fsm  5.0 100
 
 ./test_viterbi_equalization.py  12.0 100
 ./test_viterbi_equalization1.py 12.0 100
 
 ./test_viterbi_equalization.py  12.0 100
 ./test_viterbi_equalization1.py 12.0 100
index adc3fe0783d50e115e777d5eaa6a0a129a6655fd..9d8a404976e84f186c60c49773419533ebd9ebc7 100644 (file)
@@ -8,7 +8,7 @@ parameter.  The default is 500k.  Some machines will do 1M or more.
 You can select the modulation to use with the -m <modulation> command
 line argument.  The legal values for <modulation> are gmsk, dbpsk and dqpsk.
 
 You can select the modulation to use with the -m <modulation> command
 line argument.  The legal values for <modulation> are gmsk, dbpsk and dqpsk.
 
-* benchmark_tx.py: the receiver half of benchmark_tx.py.
+* benchmark_rx.py: the receiver half of benchmark_tx.py.
 Command line arguments are pretty much the same as rx.  Works well
 with a USRP and RFX transceiver daughterboards.  Will also work
 with TVRX daugherboard, but you'll need to fiddle with the gain.  See
 Command line arguments are pretty much the same as rx.  Works well
 with a USRP and RFX transceiver daughterboards.  Will also work
 with TVRX daugherboard, but you'll need to fiddle with the gain.  See
index 5a8a346a1878b93dce48aecb5a455e0686b27e6c..9000c599c01a9013df038d41c2377233e50f296b 100644 (file)
@@ -23,7 +23,6 @@ EXTRA_DIST =                                  \
        am_rcv.py                               \
        ayfabtu.py                              \
        benchmark_usb.py                        \
        am_rcv.py                               \
        ayfabtu.py                              \
        benchmark_usb.py                        \
-       dsb_tx.py                               \
        flexrf_debug.py                         \
        flexrf_siggen.py                        \
        fm_tx_2_daughterboards.py               \
        flexrf_debug.py                         \
        flexrf_siggen.py                        \
        fm_tx_2_daughterboards.py               \
index 242cde35aaf68a6d5569e98ca93b1c7540c29afb..45f69a5fa590bb398fbb89291fdaad60faba5787 100644 (file)
@@ -319,7 +319,6 @@ EXTRA_DIST = \
        am_rcv.py                               \
        ayfabtu.py                              \
        benchmark_usb.py                        \
        am_rcv.py                               \
        ayfabtu.py                              \
        benchmark_usb.py                        \
-       dsb_tx.py                               \
        flexrf_debug.py                         \
        flexrf_siggen.py                        \
        fm_tx_2_daughterboards.py               \
        flexrf_debug.py                         \
        flexrf_siggen.py                        \
        fm_tx_2_daughterboards.py               \
diff --git a/gnuradio-examples/python/usrp/dsb_tx.py b/gnuradio-examples/python/usrp/dsb_tx.py
deleted file mode 100755 (executable)
index df65761..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env python
-
-from gnuradio import gr, eng_notation
-from gnuradio import usrp
-from gnuradio import audio
-from gnuradio.eng_option import eng_option
-from optparse import OptionParser
-
-
-def build_graph (cordic_freq):
-
-    audio_rate = 32000
-    sw_interp = 4
-    usrp_interp = 1000
-    audio_file = "/home/eb/demo/testing-audio.dat"
-    
-    fg = gr.flow_graph ()
-
-    src = gr.file_source (gr.sizeof_float, audio_file, True)
-    gain = gr.multiply_const_ff (10000)
-
-    interp = gr.interp_fir_filter_fff (sw_interp, (1, 1, 1, 1))
-
-    f2c = gr.float_to_complex ()
-    
-    u = usrp.sink_c (0, usrp_interp)
-    u.set_tx_freq (0, cordic_freq)
-
-    fg.connect (src, gain)
-    fg.connect (gain, interp)
-    fg.connect (interp, (f2c, 0))
-    fg.connect (interp, (f2c, 1))
-    fg.connect (f2c, u)
-
-    return fg
-
-def main ():
-    parser = OptionParser (option_class=eng_option)
-    parser.add_option ("-c", "--cordic-freq", type="eng_float", default=10e6,
-                       help="set Tx cordic frequency to FREQ", metavar="FREQ")
-    (options, args) = parser.parse_args ()
-
-    print "cordic_freq = %s" % (eng_notation.num_to_str (options.cordic_freq))
-    fg = build_graph (options.cordic_freq)
-    
-    fg.start ()
-    raw_input ('Press Enter to quit: ')
-    fg.stop ()
-
-if __name__ == '__main__':
-    main ()
index 0572d3ba1cf32fe3ede0fe1ce5e365c2b8ba56db..0982e705f39ab0ea3395afd11fd0afe195b0d197 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -390,25 +390,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 0f165a0dcaa70ab2c880083653c9069fe1413b4b..a18b9fcedcf21001ccf4bc35c0f42110ceaa249b 100644 (file)
@@ -74,7 +74,7 @@ swiginclude_HEADERS =                         \
 
 _audio_alsa_la_LIBADD =                \
        $(PYTHON_LDFLAGS)               \
 
 _audio_alsa_la_LIBADD =                \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(ALSA_LIBS)                    \
        -lstdc++                                
 
        $(ALSA_LIBS)                    \
        -lstdc++                                
 
index 4776191ed41a95dadfcc53f8e3b1a252e8951e1d..fbf9d6c267b936e9627aeac27b4ec42c951e1240 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _audio_alsa_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _audio_alsa_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
 am__audio_alsa_la_OBJECTS = audio_alsa.lo audio_alsa_sink.lo \
        audio_alsa_source.lo gri_alsa.lo
 _audio_alsa_la_OBJECTS = $(am__audio_alsa_la_OBJECTS)
 am__audio_alsa_la_OBJECTS = audio_alsa.lo audio_alsa_sink.lo \
        audio_alsa_source.lo gri_alsa.lo
 _audio_alsa_la_OBJECTS = $(am__audio_alsa_la_OBJECTS)
@@ -409,25 +411,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -482,7 +476,7 @@ swiginclude_HEADERS = \
 
 _audio_alsa_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _audio_alsa_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(ALSA_LIBS)                    \
        -lstdc++                                
 
        $(ALSA_LIBS)                    \
        -lstdc++                                
 
index 7dc8d2909eb21284389337bbafba131911d83588..46afa8dfe0dc176116640e6b7c3f5f36fab6f387 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -389,25 +389,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 690788707a50c20988b4168d02715e1a0926d1ad..bed67ac35ecb751b262991fd3d24d7179ff23265 100644 (file)
@@ -76,7 +76,7 @@ swiginclude_HEADERS =                         \
 
 _audio_jack_la_LIBADD =                \
        $(PYTHON_LDFLAGS)               \
 
 _audio_jack_la_LIBADD =                \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(JACK_LIBS)                    \
        -lstdc++                                
 
        $(JACK_LIBS)                    \
        -lstdc++                                
 
index b409c390207029f20d53a3ea631e1edca3ef26c3..2332b563b1494a97dd868d68385a12433550d196 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _audio_jack_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _audio_jack_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
 am__audio_jack_la_OBJECTS = audio_jack.lo audio_jack_sink.lo \
        audio_jack_source.lo gri_jack.lo
 _audio_jack_la_OBJECTS = $(am__audio_jack_la_OBJECTS)
 am__audio_jack_la_OBJECTS = audio_jack.lo audio_jack_sink.lo \
        audio_jack_source.lo gri_jack.lo
 _audio_jack_la_OBJECTS = $(am__audio_jack_la_OBJECTS)
@@ -409,25 +411,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -482,7 +476,7 @@ swiginclude_HEADERS = \
 
 _audio_jack_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _audio_jack_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(JACK_LIBS)                    \
        -lstdc++                                
 
        $(JACK_LIBS)                    \
        -lstdc++                                
 
index e01619dd38c745e97640fda3a9e2e123b7eb9b0c..019ac01e3e07b14f41d0dfeff9912e5858e4e99d 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -389,25 +389,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 2fc0bae26356b9d14e03042fa78ed31d0d4d93b5..aebad3f427e3df9b3b997a7516804df0fed5e5ab 100644 (file)
@@ -69,7 +69,7 @@ swiginclude_HEADERS =                         \
 
 _audio_oss_la_LIBADD =                         \
        $(PYTHON_LDFLAGS)               \
 
 _audio_oss_la_LIBADD =                         \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(OSS_LIBS)                     \
        -lstdc++                                
 
        $(OSS_LIBS)                     \
        -lstdc++                                
 
index a63dcad285e912ce3216d297bfe3be1d7db2caba..3d532c43c06a1ae93806e0d060ae5658a7a707bf 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _audio_oss_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _audio_oss_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
 am__audio_oss_la_OBJECTS = audio_oss.lo audio_oss_sink.lo \
        audio_oss_source.lo
 _audio_oss_la_OBJECTS = $(am__audio_oss_la_OBJECTS)
 am__audio_oss_la_OBJECTS = audio_oss.lo audio_oss_sink.lo \
        audio_oss_source.lo
 _audio_oss_la_OBJECTS = $(am__audio_oss_la_OBJECTS)
@@ -408,25 +410,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -477,7 +471,7 @@ swiginclude_HEADERS = \
 
 _audio_oss_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _audio_oss_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(OSS_LIBS)                     \
        -lstdc++                                
 
        $(OSS_LIBS)                     \
        -lstdc++                                
 
index b1364e767a54b9387763da8c7f128eb7b8193e6a..8d4e163980b9f3a07d45baedd46d75f9c0dc3fd2 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 750dd973036e86884cf03ab1135820aaf10739dd..de06c507558de9f452df8e92eea19584bfa5bc79 100644 (file)
@@ -73,7 +73,7 @@ swiginclude_HEADERS =                         \
 
 _audio_osx_la_LIBADD =                         \
        $(PYTHON_LDFLAGS)               \
 
 _audio_osx_la_LIBADD =                         \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        -lstdc++                                
 
 _audio_osx_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version -framework AudioUnit -framework CoreAudio -framework AudioToolbox
        -lstdc++                                
 
 _audio_osx_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version -framework AudioUnit -framework CoreAudio -framework AudioToolbox
index bec7125aca06a9b8a1a694e388b3fdc5daa092fd..d8514e3700233a0fa579d38467e2119d2b64ba0f 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -145,8 +145,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _audio_osx_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _audio_osx_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2)
 am__audio_osx_la_OBJECTS = audio_osx.lo audio_osx_sink.lo \
        audio_osx_source.lo
 _audio_osx_la_OBJECTS = $(am__audio_osx_la_OBJECTS)
 am__audio_osx_la_OBJECTS = audio_osx.lo audio_osx_sink.lo \
        audio_osx_source.lo
 _audio_osx_la_OBJECTS = $(am__audio_osx_la_OBJECTS)
@@ -408,25 +410,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -482,7 +476,7 @@ swiginclude_HEADERS = \
 
 _audio_osx_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _audio_osx_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        -lstdc++                                
 
 _audio_osx_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version -framework AudioUnit -framework CoreAudio -framework AudioToolbox
        -lstdc++                                
 
 _audio_osx_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version -framework AudioUnit -framework CoreAudio -framework AudioToolbox
index 4982a2580aa6c36b023a05192031328c36d475b0..56ee4d8b6feaccacd81d714df3e0dd9455c6a68c 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -389,25 +389,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 6074c0b3270110b9e5e3e493dc1e922b3399ffa4..bd6fac64304bfe439338afaa7dcd2fda10414e87 100644 (file)
@@ -1,3 +1,10 @@
+The instructions below are now obsolete.  Please see:
+
+http://gnuradio.org/trac/wiki/PortAudioInstall
+
+======
+OBSOLETED
+
 These instructions are intended for Linux. On other systems you will have to
 construct something compatible to build gr-audio-portaudio.
 
 These instructions are intended for Linux. On other systems you will have to
 construct something compatible to build gr-audio-portaudio.
 
index f3a60bc04ef70d6988ab1f7c17f0591f9845356e..6a7d2d8fb9ac55cb540db6ec31a55e3a93586f54 100644 (file)
@@ -49,7 +49,7 @@ BUILT_SOURCES =                       \
 ourpython_PYTHON =                     \
        audio_portaudio.py
 
 ourpython_PYTHON =                     \
        audio_portaudio.py
 
-INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS)
+INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(PORTAUDIO_CFLAGS)
 
 SWIGPYTHONARGS = $(SWIGPYTHONFLAGS) $(STD_DEFINES_AND_INCLUDES) -I/usr/include
 
 
 SWIGPYTHONARGS = $(SWIGPYTHONFLAGS) $(STD_DEFINES_AND_INCLUDES) -I/usr/include
 
@@ -75,7 +75,7 @@ swiginclude_HEADERS =                         \
 
 _audio_portaudio_la_LIBADD =           \
        $(PYTHON_LDFLAGS)               \
 
 _audio_portaudio_la_LIBADD =           \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(PORTAUDIO_LIBS)               \
        -lstdc++                                
 
        $(PORTAUDIO_LIBS)               \
        -lstdc++                                
 
index d9b4b097612c57222ca8a98e93f04698a134c45e..803699a243172ba024efb2ce80bb404eeba9c207 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _audio_portaudio_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _audio_portaudio_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
 am__audio_portaudio_la_OBJECTS = audio_portaudio.lo \
        audio_portaudio_sink.lo audio_portaudio_source.lo \
        gri_portaudio.lo
 am__audio_portaudio_la_OBJECTS = audio_portaudio.lo \
        audio_portaudio_sink.lo audio_portaudio_source.lo \
        gri_portaudio.lo
@@ -410,25 +412,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -462,7 +456,7 @@ BUILT_SOURCES = \
 ourpython_PYTHON = \
        audio_portaudio.py
 
 ourpython_PYTHON = \
        audio_portaudio.py
 
-INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS)
+INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(PORTAUDIO_CFLAGS)
 SWIGPYTHONARGS = $(SWIGPYTHONFLAGS) $(STD_DEFINES_AND_INCLUDES) -I/usr/include
 ourlib_LTLIBRARIES = _audio_portaudio.la
 _audio_portaudio_la_SOURCES = \
 SWIGPYTHONARGS = $(SWIGPYTHONFLAGS) $(STD_DEFINES_AND_INCLUDES) -I/usr/include
 ourlib_LTLIBRARIES = _audio_portaudio.la
 _audio_portaudio_la_SOURCES = \
@@ -483,7 +477,7 @@ swiginclude_HEADERS = \
 
 _audio_portaudio_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _audio_portaudio_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(PORTAUDIO_LIBS)               \
        -lstdc++                                
 
        $(PORTAUDIO_LIBS)               \
        -lstdc++                                
 
index f62981a1d318a929d7e487453824d1cf1bff7d21..be633fc836cb5546851e8c40ed96a92088325d04 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 2de14d5dbd4f15e281ceee57a6f1b52c45e6d86b..36deea362ef3447b123d8135335e71e80df229df 100644 (file)
@@ -69,7 +69,7 @@ swiginclude_HEADERS =                         \
 
 _audio_windows_la_LIBADD =             \
        $(PYTHON_LDFLAGS)               \
 
 _audio_windows_la_LIBADD =             \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(WINAUDIO_LIBS)                \
        -lstdc++                                
 
        $(WINAUDIO_LIBS)                \
        -lstdc++                                
 
index bcd61d1dcaf079cf24ae04aba81b8986134d0e29..0dd169987a0d05f360729d9f806f5ee28f0b7cd4 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _audio_windows_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _audio_windows_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
 am__audio_windows_la_OBJECTS = audio_windows.lo audio_windows_sink.lo \
        audio_windows_source.lo
 _audio_windows_la_OBJECTS = $(am__audio_windows_la_OBJECTS)
 am__audio_windows_la_OBJECTS = audio_windows.lo audio_windows_sink.lo \
        audio_windows_source.lo
 _audio_windows_la_OBJECTS = $(am__audio_windows_la_OBJECTS)
@@ -408,25 +410,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -477,7 +471,7 @@ swiginclude_HEADERS = \
 
 _audio_windows_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _audio_windows_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        $(WINAUDIO_LIBS)                \
        -lstdc++                                
 
        $(WINAUDIO_LIBS)                \
        -lstdc++                                
 
index 36034360bfc0a57c0d7c73330f9041696550052e..400d6038f578c45cd06f189dacc8654b722e807c 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -378,25 +378,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 90159dc96986dbe94eff31c82910f75696e7303c..82078779c5fd100dfc7a164c032c0b2c048f6398 100644 (file)
@@ -76,7 +76,7 @@ _gsm_full_rate_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
 _gsm_full_rate_la_LIBADD =     \
        gsm/libgsm.la           \
        $(PYTHON_LDFLAGS)       \
 _gsm_full_rate_la_LIBADD =     \
        gsm/libgsm.la           \
        $(PYTHON_LDFLAGS)       \
-       $(GNURADIO_CORE_LIBS)   \
+       $(GNURADIO_CORE_LA)     \
        -lstdc++                        
 
 gsm_full_rate.cc gsm_full_rate.py: gsm_full_rate.i $(ALL_IFILES)
        -lstdc++                        
 
 gsm_full_rate.cc gsm_full_rate.py: gsm_full_rate.i $(ALL_IFILES)
index cc259c1287a281ceb42207db5197e7de20d70506..67990389e0bfc4cb54a3807907d8da0672f0d422 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -145,8 +145,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _gsm_full_rate_la_DEPENDENCIES = gsm/libgsm.la $(am__DEPENDENCIES_1) \
 _gsm_full_rate_la_DEPENDENCIES = gsm/libgsm.la $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2)
 am__gsm_full_rate_la_OBJECTS = gsm_fr_decode_ps.lo gsm_fr_encode_sp.lo \
        gsm_full_rate.lo
 _gsm_full_rate_la_OBJECTS = $(am__gsm_full_rate_la_OBJECTS)
 am__gsm_full_rate_la_OBJECTS = gsm_fr_decode_ps.lo gsm_fr_encode_sp.lo \
        gsm_full_rate.lo
 _gsm_full_rate_la_OBJECTS = $(am__gsm_full_rate_la_OBJECTS)
@@ -414,25 +416,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -491,7 +485,7 @@ _gsm_full_rate_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
 _gsm_full_rate_la_LIBADD = \
        gsm/libgsm.la           \
        $(PYTHON_LDFLAGS)       \
 _gsm_full_rate_la_LIBADD = \
        gsm/libgsm.la           \
        $(PYTHON_LDFLAGS)       \
-       $(GNURADIO_CORE_LIBS)   \
+       $(GNURADIO_CORE_LA)     \
        -lstdc++                        
 
 
        -lstdc++                        
 
 
index 1b036a33d6f20dcbb2a39893a0da16e4036d58e6..ec6dc2002ac654fe72b00d61aa10c1f70d29aff7 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -393,25 +393,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 61d20029d504e6cc7f5e332ba662b3783a830fff..de15cd578a466ba6b1dccf9c8241f4897b3ad0b2 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -372,25 +372,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index fa124e3601a40844eb55cb7ffc878b811f256d03..80cb51f4955c45fc8d0e9dc7761f8f5deacf3a2a 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 4f6da318a83f1c24e68f20cd504cf9f5c43248a1..4165e76086548807e91a1fe340c253a890a79714 100644 (file)
@@ -65,9 +65,9 @@ _ra_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
 
 # link the library against some comon swig runtime code and the 
 # c++ standard library
 
 # link the library against some comon swig runtime code and the 
 # c++ standard library
-_ra_la_LIBADD =                        \
-       $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+_ra_la_LIBADD =                \
+       $(PYTHON_LDFLAGS)       \
+       $(GNURADIO_CORE_LA)     \
        -lstdc++                        
 
 ra.cc ra.py: $(ALL_IFILES)
        -lstdc++                        
 
 ra.cc ra.py: $(ALL_IFILES)
index 18ee1365d1ec02f8e156091dd854b1a3ef6d7d57..a8c2e484156435841e6aa57b25a981ead24a8a77 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -145,7 +145,9 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
-_ra_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
+_ra_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
 am__ra_la_OBJECTS = ra.lo
 _ra_la_OBJECTS = $(am__ra_la_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 am__ra_la_OBJECTS = ra.lo
 _ra_la_OBJECTS = $(am__ra_la_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
@@ -405,25 +407,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -476,8 +470,8 @@ _ra_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
 # link the library against some comon swig runtime code and the 
 # c++ standard library
 _ra_la_LIBADD = \
 # link the library against some comon swig runtime code and the 
 # c++ standard library
 _ra_la_LIBADD = \
-       $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(PYTHON_LDFLAGS)       \
+       $(GNURADIO_CORE_LA)     \
        -lstdc++                        
 
 
        -lstdc++                        
 
 
index 3c1bcb05c5cbed17c661032e7d3ef203d1e27e7a..7044f506102c8761b2412d9f1891edb9f588aa6c 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -386,25 +386,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 20f32bd9b22c4717f57a1ac318fddb9e48efb766..072c48a769a98ffd9300c2d25aadeafbf095a6f2 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 5881a02a75374c4f193bca429ec4a500f27a0224..5ac7487b18b5655f8fac7f9cb725ca1b7804594b 100644 (file)
@@ -44,8 +44,8 @@ BUILT_XML_FILES =
 
 # ----------------------------------------------------------------
 
 
 # ----------------------------------------------------------------
 
-%.html : %.xml
-       xmlto html-nochunks $<
+gr-trellis.html : gr-trellis.xml
+       xmlto html-nochunks $(top_srcdir)/gr-trellis/doc/gr-trellis.xml
 
 %.xml : % make_numbered_listing.py
        ./make_numbered_listing.py $<
 
 %.xml : % make_numbered_listing.py
        ./make_numbered_listing.py $<
index 1c2f406069d62a51857629cd9bdbc19ee0cca029..ae9880384d3a33680bbc579ace96e51692222127 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -373,25 +373,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -577,8 +569,8 @@ all: $(HTML_FILES)
 
 # ----------------------------------------------------------------
 
 
 # ----------------------------------------------------------------
 
-%.html : %.xml
-       xmlto html-nochunks $<
+gr-trellis.html : gr-trellis.xml
+       xmlto html-nochunks $(top_srcdir)/gr-trellis/doc/gr-trellis.xml
 
 %.xml : % make_numbered_listing.py
        ./make_numbered_listing.py $<
 
 %.xml : % make_numbered_listing.py
        ./make_numbered_listing.py $<
index 466ab6bb7bc784b3a6fd1ff2656a35e84a275727..9fc786634d9e6fcd8c11b3457a8280215eb8fc83 100644 (file)
@@ -80,7 +80,7 @@ _trellis_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
 # c++ standard library
 _trellis_la_LIBADD =                   \
        $(PYTHON_LDFLAGS)               \
 # c++ standard library
 _trellis_la_LIBADD =                   \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        -lstdc++                        
 
 trellis.cc trellis.py: $(ALL_IFILES) $(grinclude_HEADERS)
        -lstdc++                        
 
 trellis.cc trellis.py: $(ALL_IFILES) $(grinclude_HEADERS)
index 13ff7d48a1666ff7de59d87118c5390f17896975..4d2b0ccb210b3fcd9f802262db4849e49630fbdb 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,7 +146,9 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
-_trellis_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
+_trellis_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
 am__objects_1 = trellis_encoder_bb.lo trellis_encoder_bi.lo \
        trellis_encoder_bs.lo trellis_encoder_ii.lo \
        trellis_encoder_si.lo trellis_encoder_ss.lo \
 am__objects_1 = trellis_encoder_bb.lo trellis_encoder_bi.lo \
        trellis_encoder_bs.lo trellis_encoder_ii.lo \
        trellis_encoder_si.lo trellis_encoder_ss.lo \
@@ -416,25 +418,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -555,7 +549,7 @@ _trellis_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
 # c++ standard library
 _trellis_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 # c++ standard library
 _trellis_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
        -lstdc++                        
 
 
        -lstdc++                        
 
 
index ab491bfdc1a011ddffa7d741af5d4fc9a8513f1e..91db030e13a874a31b75d4e6398393cb0c8ed409 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -372,25 +372,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 95167df2c3b65453672a30611e5db234df57f240..1ec8f8feddf40880cca97c659572e9eac48686b0 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 8645ca5294a84ad9895558207003550b6b4bcd35..86c9853a69eef8977986bd7f1ea0efd871bba161 100644 (file)
@@ -94,8 +94,8 @@ _usrp1_la_SOURCES =                   \
 
 _usrp1_la_LIBADD =                     \
        $(PYTHON_LDFLAGS)               \
 
 _usrp1_la_LIBADD =                     \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
-       $(USRP_LIBS)                    \
+       $(GNURADIO_CORE_LA)             \
+       $(USRP_LA)                      \
        -lstdc++
 
 
        -lstdc++
 
 
index 81e6f9ca4cc59eafbc57342411508e5d63a581f1..f41a1f603ab3b13555bc59d7f67572512eaf7e7d 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,11 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
-_usrp1_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
+am__DEPENDENCIES_3 = $(top_builddir)/usrp/host/lib/libusrp.la
+_usrp1_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
+       $(am__DEPENDENCIES_3)
 am__usrp1_la_OBJECTS = usrp1.lo usrp1_sink_base.lo usrp1_sink_c.lo \
        usrp1_sink_s.lo usrp1_source_base.lo usrp1_source_c.lo \
        usrp1_source_s.lo
 am__usrp1_la_OBJECTS = usrp1.lo usrp1_sink_base.lo usrp1_sink_c.lo \
        usrp1_sink_s.lo usrp1_source_base.lo usrp1_source_c.lo \
        usrp1_source_s.lo
@@ -409,25 +412,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -501,8 +496,8 @@ _usrp1_la_SOURCES = \
 
 _usrp1_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _usrp1_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
-       $(USRP_LIBS)                    \
+       $(GNURADIO_CORE_LA)             \
+       $(USRP_LA)                      \
        -lstdc++
 
 _usrp1_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
        -lstdc++
 
 _usrp1_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
index 1f8414b82e2d604ffe03a1a4388070945e8d6959..49e9530cbe6a51728056446d8b52ab2cc4bd0e0d 100644 (file)
@@ -4,6 +4,10 @@
 # 2nd parameter is absolute path to component build directory
 # 3rd parameter is path to Python QA directory
 
 # 2nd parameter is absolute path to component build directory
 # 3rd parameter is path to Python QA directory
 
+# For OS/X
+DYLD_LIBRARY_PATH=@abs_top_builddir@/usrp/host/lib/:@abs_top_builddir@/usrp/host/lib/.libs:$DYLD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH
+
 # For Win32
 PATH=@abs_top_builddir@/usrp/host/lib/.libs:$PATH
 
 # For Win32
 PATH=@abs_top_builddir@/usrp/host/lib/.libs:$PATH
 
index 069363ca4f355c5dbd895af6d88e8f0264efc6c2..ac5ab574b39419044bf4b4931ff5be7314a92462 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 9df1375c2cb24b02824fd17354b84aed2ab565c6..cf760993fd130387b3468739810bef05fb23e2a2 100644 (file)
@@ -69,7 +69,7 @@ swiginclude_HEADERS =                         \
 
 _video_sdl_la_LIBADD =                         \
        $(PYTHON_LDFLAGS)               \
 
 _video_sdl_la_LIBADD =                         \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
         $(SDL_LIBS)                    \
        -lstdc++                                
 
         $(SDL_LIBS)                    \
        -lstdc++                                
 
index 5b0ff6f127a6a8f418a9ea7227ad43453e5df87c..2cc6422d300adedd6258b6baae48e781319f80bf 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -146,8 +146,10 @@ am__installdirs = "$(DESTDIR)$(ourlibdir)" "$(DESTDIR)$(ourpythondir)" \
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 ourlibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(ourlib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 =  \
+       $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 _video_sdl_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 _video_sdl_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
 am__video_sdl_la_OBJECTS = video_sdl.lo video_sdl_sink_uc.lo \
        video_sdl_sink_s.lo
 _video_sdl_la_OBJECTS = $(am__video_sdl_la_OBJECTS)
 am__video_sdl_la_OBJECTS = video_sdl.lo video_sdl_sink_uc.lo \
        video_sdl_sink_s.lo
 _video_sdl_la_OBJECTS = $(am__video_sdl_la_OBJECTS)
@@ -408,25 +410,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -477,7 +471,7 @@ swiginclude_HEADERS = \
 
 _video_sdl_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
 
 _video_sdl_la_LIBADD = \
        $(PYTHON_LDFLAGS)               \
-       $(GNURADIO_CORE_LIBS)           \
+       $(GNURADIO_CORE_LA)             \
         $(SDL_LIBS)                    \
        -lstdc++                                
 
         $(SDL_LIBS)                    \
        -lstdc++                                
 
index dadcb2ffd6757be2c49b6d4de79b04a40be84801..5bed60686909247adde62d90ef7c02f4482e1a7c 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <video_sdl_sink_s.h>
 #include <gr_io_signature.h>
 
 #include <video_sdl_sink_s.h>
 #include <gr_io_signature.h>
-#include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index 6aab881134814aa74c7461fe4ebafa5dc66a5ff4..771bba2f8c8982c3c3982efca6bba0559368087f 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <video_sdl_sink_uc.h>
 #include <gr_io_signature.h>
 
 #include <video_sdl_sink_uc.h>
 #include <gr_io_signature.h>
-#include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index 6530c084af108741e7f3aa10dac93f688ef1b09a..e6277adb3144b1a2dbdcfbf287cb5c77d87f5517 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -389,25 +389,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 2af5b243c35381138e4a26bf2e1b5f8e1266d251..d059ec06d2999f3b78b062d0b8a50a6a275df8da 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 3d297562d8bbbfed8d1289b0f1593269c5783f86..848a1b3dc003096f164dcaf0511cbc37a9347eb7 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index f79e22b124100b06bb7c6be663371f3789547bca..041a2cd6b72fe27f28f5c4da011e219765737d48 100755 (executable)
@@ -25,16 +25,24 @@ Handler for Griffin PowerMate, Contour ShuttlePro & ShuttleXpress USB knobs
 
 This is Linux and wxPython specific.
 """
 
 This is Linux and wxPython specific.
 """
-import select
+
 import os
 import os
-import fcntl
+import sys
 import struct
 import exceptions
 import threading
 import struct
 import exceptions
 import threading
-import sys
 import wx
 from gnuradio import gru
 
 import wx
 from gnuradio import gru
 
+imported_ok = True
+
+try:
+    import select
+    import fcntl
+except ImportError:
+    imported_ok = False
+
+
 # First a little bit of background:
 #
 # The Griffin PowerMate has
 # First a little bit of background:
 #
 # The Griffin PowerMate has
@@ -157,6 +165,9 @@ class powermate(threading.Thread):
     def __init__(self, event_receiver=None, filename=None, **kwargs):
         self.event_receiver = event_receiver
         self.handle = -1
     def __init__(self, event_receiver=None, filename=None, **kwargs):
         self.event_receiver = event_receiver
         self.handle = -1
+        if not imported_ok:
+            raise exceptions.RuntimeError, 'powermate not supported on this platform'
+
         if filename:
             if not self._open_device(filename):
                 raise exceptions.RuntimeError, 'Unable to find powermate'
         if filename:
             if not self._open_device(filename):
                 raise exceptions.RuntimeError, 'Unable to find powermate'
index 1bbd5d8a56b3901883e42fb2b5c5f2f8e57241a3..5e1cbdc990069db1d5caba2f4c577fe75ee8ab42 100644 (file)
@@ -21,7 +21,7 @@ grswigdir=$grswigdir:$grswigdir/.libs
 grpydir=@abs_top_srcdir@/gnuradio-core/src/python
 
 # Where to find core's master library files
 grpydir=@abs_top_srcdir@/gnuradio-core/src/python
 
 # Where to find core's master library files
-grlibdir=@abs_top_srcdir@/gnuradio-core/src/lib
+grlibdir=@abs_top_builddir@/gnuradio-core/src/lib
 grlibdir=$grlibdir:$grlibdir/.libs
 
 # Construct search path for python modules
 grlibdir=$grlibdir:$grlibdir/.libs
 
 # Construct search path for python modules
@@ -29,7 +29,7 @@ PYTHONPATH="$mylibdir:$mysrcdir:$mypydir:$grswigdir:$grpydir:$PYTHONPATH"
 export PYTHONPATH
 
 # For OS/X
 export PYTHONPATH
 
 # For OS/X
-DYLD_LIBRARY_PATH=$grlibdir
+DYLD_LIBRARY_PATH=$grlibdir:$DYLD_LIBRARY_PATH
 export DYLD_LIBRARY_PATH
 
 # For Win32
 export DYLD_LIBRARY_PATH
 
 # For Win32
@@ -44,7 +44,7 @@ export GR_DONT_LOAD_PREFS
 ok=yes
 for file in $3/qa_*.py
 do
 ok=yes
 for file in $3/qa_*.py
 do
-  if ! $file
+  if ! @PYTHON@ $file
   then
     ok=no
   fi  
   then
     ok=no
   fi  
index 89f902e3289bad2103e596f03b1e4318a07c12ae..85f02f32f3279e8b2c6f4e1cd1a512371eb04c56 100644 (file)
@@ -52,7 +52,7 @@ html/index.html:
 docbook-html: usrp_guide.html
 
 usrp_guide.html: usrp_guide.xml
 docbook-html: usrp_guide.html
 
 usrp_guide.html: usrp_guide.xml
-       xmlto html-nochunks $<
+       xmlto html-nochunks $(top_srcdir)/usrp/doc/usrp_guide.xml
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)
index 56c6938453c9274cfd530e59ecdf6a8e97b01b8c..8e8c8b3764e3a6c5bb3b2a8b2c22243c28fb6d59 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -379,25 +379,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -742,7 +734,7 @@ html/index.html:
 docbook-html: usrp_guide.html
 
 usrp_guide.html: usrp_guide.xml
 docbook-html: usrp_guide.html
 
 usrp_guide.html: usrp_guide.xml
-       xmlto html-nochunks $<
+       xmlto html-nochunks $(top_srcdir)/usrp/doc/usrp_guide.xml
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)
index 831c5dd9cf55953ca7262ca7e6574affa38d8266..37aad452e7d5e70bf2e9174481cd27ede6516ee4 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -370,25 +370,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 7214820b99d0234f99f28ccb5a7212e05f94fb0f..f0b082dfcc97e49d3f03edf9c124579ee021cb6d 100644 (file)
@@ -53,7 +53,7 @@ EXTRA_DIST =                  \
        $(CODE_GENERATOR)
 
 fpga_regs_common.v: fpga_regs_common.h generate_regs.py 
        $(CODE_GENERATOR)
 
 fpga_regs_common.v: fpga_regs_common.h generate_regs.py 
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_common.h $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(PYTHON) $(srcdir)/generate_regs.py fpga_regs_common.h $@
 
 fpga_regs_standard.v: fpga_regs_standard.h generate_regs.py
 
 fpga_regs_standard.v: fpga_regs_standard.h generate_regs.py
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_standard.h $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(PYTHON) $(srcdir)/generate_regs.py fpga_regs_standard.h $@
index d5451c79a886995a6ff5794b5b9130c1b582b430..778a741d516896bbca688d3fd452fcdac7262912 100644 (file)
@@ -586,10 +586,10 @@ uninstall-am: uninstall-includeHEADERS uninstall-info-am
 
 
 fpga_regs_common.v: fpga_regs_common.h generate_regs.py 
 
 
 fpga_regs_common.v: fpga_regs_common.h generate_regs.py 
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_common.h $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(PYTHON) $(srcdir)/generate_regs.py fpga_regs_common.h $@
 
 fpga_regs_standard.v: fpga_regs_standard.h generate_regs.py
 
 fpga_regs_standard.v: fpga_regs_standard.h generate_regs.py
-       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(srcdir)/generate_regs.py fpga_regs_standard.h $@
+       PYTHONPATH=$(top_srcdir)/usrp/firmware/include $(PYTHON) $(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:
 # 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 b62baf599bb3d9a94e85c98815426ef430dbbcb3..701bc48c8e6041813a6eff2f4fa7cde0d9fb1474 100644 (file)
@@ -39,7 +39,7 @@ EXTRA_DIST =                  \
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
-       srcdir=$(srcdir) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
+       srcdir=$(srcdir) $(PYTHON) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
 
 CLEANFILES = \
        *.ihx *.lnk *.lst *.map *.mem *.rel *.rst *.sym *.asm *.lib \
 
 CLEANFILES = \
        *.ihx *.lnk *.lst *.map *.mem *.rel *.rst *.sym *.asm *.lib \
index 6ac9185ddf1c95189f348aada65c367b39c45abe..edbf412e84fe67e1e95944ff6b3affce68faf1cd 100644 (file)
@@ -506,7 +506,7 @@ uninstall-am: uninstall-info-am
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
-       srcdir=$(srcdir) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
+       srcdir=$(srcdir) $(PYTHON) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.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:
 # 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 423404a4a4c573b6c0fb40b42c3c23a1eb245764..de7164b4b0ede181e5bb36458c975060771c9d92 100644 (file)
@@ -95,10 +95,10 @@ noinst_SCRIPTS =            \
                -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
 
 .a51.rel:
                -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
 
 .a51.rel:
-       test -f `basename '$<'` || ln -s '$<' .
+       test -f `basename '$<'` || $(LN_S) '$<' .
        test -f ../common/`basename '$<'` -o \
                \! -f `dirname '$<'`/../common/`basename '$<'` \
        test -f ../common/`basename '$<'` -o \
                \! -f `dirname '$<'`/../common/`basename '$<'` \
-               || ln -s `dirname '$<'`/../common/`basename '$<'` ../common/.
+               || $(LN_S) `dirname '$<'`/../common/`basename '$<'` ../common/`basename '$<'`
        $(XAS) `basename '$<'`
 
 
        $(XAS) `basename '$<'`
 
 
@@ -108,11 +108,11 @@ eeprom_boot.ihx: $(EEPROM_BOOT_OBJS) $(LIBDEP)
        $(XCC) $(LINKOPTS) -o $@ $(EEPROM_BOOT_OBJS)
 
 burn-usrp2-eeprom: eeprom_boot.ihx
        $(XCC) $(LINKOPTS) -o $@ $(EEPROM_BOOT_OBJS)
 
 burn-usrp2-eeprom: eeprom_boot.ihx
-       $(srcdir)/../common/build_eeprom.py -r2 eeprom_boot.ihx > $@
+       $(PYTHON) $(srcdir)/../common/build_eeprom.py -r2 eeprom_boot.ihx > $@
        chmod +x $@
 
 burn-usrp4-eeprom: eeprom_boot.ihx
        chmod +x $@
 
 burn-usrp4-eeprom: eeprom_boot.ihx
-       $(srcdir)/../common/build_eeprom.py -r4 eeprom_boot.ihx > $@
+       $(PYTHON) $(srcdir)/../common/build_eeprom.py -r4 eeprom_boot.ihx > $@
        chmod +x $@
 
 
        chmod +x $@
 
 
@@ -159,7 +159,7 @@ DISTCLEANFILES =    \
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
-       srcdir=$(srcdir) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
+       srcdir=$(srcdir) $(PYTHON) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
 
 
 # dependencies
 
 
 # dependencies
index 3c1b05192acd6b7a2cac5f93c4d5a80f365da3a1..e3153372415572d0c3be03e6b144340546fc3801 100644 (file)
@@ -621,21 +621,21 @@ uninstall-am: uninstall-firmware2DATA uninstall-firmware4DATA \
                -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
 
 .a51.rel:
                -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
 
 .a51.rel:
-       test -f `basename '$<'` || ln -s '$<' .
+       test -f `basename '$<'` || $(LN_S) '$<' .
        test -f ../common/`basename '$<'` -o \
                \! -f `dirname '$<'`/../common/`basename '$<'` \
        test -f ../common/`basename '$<'` -o \
                \! -f `dirname '$<'`/../common/`basename '$<'` \
-               || ln -s `dirname '$<'`/../common/`basename '$<'` ../common/.
+               || $(LN_S) `dirname '$<'`/../common/`basename '$<'` ../common/`basename '$<'`
        $(XAS) `basename '$<'`
 
 eeprom_boot.ihx: $(EEPROM_BOOT_OBJS) $(LIBDEP)
        $(XCC) $(LINKOPTS) -o $@ $(EEPROM_BOOT_OBJS)
 
 burn-usrp2-eeprom: eeprom_boot.ihx
        $(XAS) `basename '$<'`
 
 eeprom_boot.ihx: $(EEPROM_BOOT_OBJS) $(LIBDEP)
        $(XCC) $(LINKOPTS) -o $@ $(EEPROM_BOOT_OBJS)
 
 burn-usrp2-eeprom: eeprom_boot.ihx
-       $(srcdir)/../common/build_eeprom.py -r2 eeprom_boot.ihx > $@
+       $(PYTHON) $(srcdir)/../common/build_eeprom.py -r2 eeprom_boot.ihx > $@
        chmod +x $@
 
 burn-usrp4-eeprom: eeprom_boot.ihx
        chmod +x $@
 
 burn-usrp4-eeprom: eeprom_boot.ihx
-       $(srcdir)/../common/build_eeprom.py -r4 eeprom_boot.ihx > $@
+       $(PYTHON) $(srcdir)/../common/build_eeprom.py -r4 eeprom_boot.ihx > $@
        chmod +x $@
 
 blink_leds.ihx: $(BLINK_LEDS_OBJS) $(LIBDEP)
        chmod +x $@
 
 blink_leds.ihx: $(BLINK_LEDS_OBJS) $(LIBDEP)
@@ -655,7 +655,7 @@ std.ihx: $(USRP_OBJS) $(LIBDEP)
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
 all: usrp_gpif.c
 
 usrp_gpif.c usrp_gpif_inline.h : gpif.c
-       srcdir=$(srcdir) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
+       srcdir=$(srcdir) $(PYTHON) $(srcdir)/edit-gpif $(srcdir)/gpif.c usrp_gpif.c usrp_gpif_inline.h
 
 # dependencies
 
 
 # dependencies
 
index 921781190f45376a4dab0d28299c7bc8be5f6daa..0a99496292fa1b2cccf5bfc56e45d1fa9a180bf5 100644 (file)
@@ -59,7 +59,6 @@ EXTRA_DIST =                                           \
        models/ssram.v                                 \
        sdr_lib/adc_interface.v                        \
        sdr_lib/bidir_reg.v                            \
        models/ssram.v                                 \
        sdr_lib/adc_interface.v                        \
        sdr_lib/bidir_reg.v                            \
-       sdr_lib/bus_interface.v                        \
        sdr_lib/cic_decim.v                            \
        sdr_lib/cic_int_shifter.v                      \
        sdr_lib/cic_interp.v                           \
        sdr_lib/cic_decim.v                            \
        sdr_lib/cic_int_shifter.v                      \
        sdr_lib/cic_interp.v                           \
index 757137fa4b4ad367923fecc7bcf52f7d82579a47..326842062c31c3e2cb32b2c993f93b252fde6554 100644 (file)
@@ -387,7 +387,6 @@ EXTRA_DIST = \
        models/ssram.v                                 \
        sdr_lib/adc_interface.v                        \
        sdr_lib/bidir_reg.v                            \
        models/ssram.v                                 \
        sdr_lib/adc_interface.v                        \
        sdr_lib/bidir_reg.v                            \
-       sdr_lib/bus_interface.v                        \
        sdr_lib/cic_decim.v                            \
        sdr_lib/cic_int_shifter.v                      \
        sdr_lib/cic_interp.v                           \
        sdr_lib/cic_decim.v                            \
        sdr_lib/cic_int_shifter.v                      \
        sdr_lib/cic_interp.v                           \
index 2c695368f125a7dbb43e154f25d1c22d54280f52..b45d301d96ec4acdc9ef4372059912ee098069f1 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -370,25 +370,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index 44fd06f776327cef81581b8f863580ca52179304..966bae86571ebe351704d2266efc50bfc8168c8c 100755 (executable)
Binary files a/usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf and b/usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf differ
index e8a8b6ee900a1bcb148fb0bc72e48a1b2cacdbc2..a5a5cf99dc2899a6a753b5d16ccba720af214333 100755 (executable)
Binary files a/usrp/fpga/rbf/rev2/std_4rx_0tx.rbf and b/usrp/fpga/rbf/rev2/std_4rx_0tx.rbf differ
index 44fd06f776327cef81581b8f863580ca52179304..966bae86571ebe351704d2266efc50bfc8168c8c 100755 (executable)
Binary files a/usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf and b/usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf differ
index e8a8b6ee900a1bcb148fb0bc72e48a1b2cacdbc2..a5a5cf99dc2899a6a753b5d16ccba720af214333 100755 (executable)
Binary files a/usrp/fpga/rbf/rev4/std_4rx_0tx.rbf and b/usrp/fpga/rbf/rev4/std_4rx_0tx.rbf differ
diff --git a/usrp/fpga/sdr_lib/bus_interface.v b/usrp/fpga/sdr_lib/bus_interface.v
deleted file mode 100755 (executable)
index b326889..0000000
+++ /dev/null
@@ -1,213 +0,0 @@
-// -*- verilog -*-
-//
-//  USRP - Universal Software Radio Peripheral
-//
-//  Copyright (C) 2003 Matt Ettus
-//
-//  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 of the License, 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
-//
-
-// Interface to Cypress FX2 bus
-// A packet is 512 Bytes.  Each fifo line is 4 bytes
-// Fifo has 1024 or 2048 lines
-
-module bus_interface
-  (     input usbclk,
-       input reset,
-       inout [15:0] usbdata,   // TRISTATE
-       input wire [5:0] usbctl,
-       output wire [5:0] usbrdy,
-       output [31:0] txdata,
-       input [31:0] rxdata,
-       input txclk,
-       input txstrobe,
-       input rxclk,
-       input rxstrobe,
-       output [11:0] debugbus,
-       input clear_status
-       );
-
-   parameter   IN_CHANNELS = 1;
-   parameter   OUT_CHANNELS = 1;
-   parameter   bitmask = (IN_CHANNELS*2)-1;
-
-   wire have_space, have_pkt_rdy;
-   wire WR, RD, OE;
-   reg tx_underrun, rx_overrun;
-   
-   assign WR = usbctl[0];
-   assign RD = usbctl[1];
-   assign OE = usbctl[2];
-   
-   assign usbrdy[0] = have_space;
-   assign usbrdy[1] = have_pkt_rdy;
-   assign usbrdy[2] = tx_underrun;
-   assign usbrdy[3] = rx_overrun;
-   
-   reg [IN_CHANNELS*2*16-1:0] fifo_in;
-   wire [OUT_CHANNELS*2*16-1:0] fifo_out;
-   
-   wire [15:0] usbdata_in = usbdata;
-   
-   reg select_out;
-   reg select_in;
-   
-   reg commit;
-   reg rd_next;
-   reg [15:0] usbdata_out;
-   wire [10:0] txfifolevel,rxfifolevel;
-   reg [8:0] write_count;
-   wire tx_empty;
-   wire tx_full;
-   wire rx_empty;
-   wire rx_full;
-   wire [31:0] txd;
-   wire rdreq;
-       
-   // Tri-state bus macro
-   bustri bustri(.data(usbdata_out),
-                .enabledt(OE),
-                .tridata(usbdata)  );
-
-   //////////////////////////////////////////////
-   // TX Side (USB --> DAC)
-   always @(posedge usbclk, posedge reset)
-     begin
-       if(reset)
-         begin
-            fifo_in <= #1 0;
-            write_count <= #1 0;
-         end
-       else 
-         if(WR & ~write_count[8])
-           begin
-              case(write_count[0])
-                1'b0 : fifo_in[31:16] <= #1 usbdata_in;  // I
-                1'b1 : fifo_in[15:0] <= #1 usbdata_in;   // Q
-              endcase
-              write_count <= #1 write_count + 9'd1;
-           end
-         else
-           write_count <= #1 WR ? write_count : 9'b0;
-     end
-   
-   always @(posedge usbclk)
-     if(reset)
-       commit <= #1 1'b0;
-     else
-       if(write_count[0] && ~write_count[8] && WR)
-        commit <= #1 1'b1;
-       else 
-        commit <= #1 1'b0;
-   
-   assign rdreq = txstrobe & !tx_empty;
-   assign txdata = tx_empty ? 32'b0 : txd;
-   
-   always @(posedge txclk)
-     if(reset)
-       tx_underrun <= 1'b0;
-     else if(txstrobe & tx_empty)
-       tx_underrun <= 1'b1;
-     else if(clear_status)
-       tx_underrun <= 1'b0;
-
-   fifo_1c_2k  txfifo (.data ( fifo_in ),
-                       .wrreq ( commit ),
-                       .wrclk ( usbclk ),
-
-                       .q ( txd ),                     
-                       .rdreq ( rdreq),
-                       .rdclk ( txclk ),
-                       
-                       .aclr ( reset ),
-
-                       .rdempty ( tx_empty ),
-                       .rdusedw (  ),
-                       .wrfull ( tx_full ),
-                       .wrusedw ( txfifolevel )
-                       );
-   
-   assign have_space = (txfifolevel <= (2048-128));
-   
-   //////////////////////////////
-   // Receive FIFO (ADC --> USB)
-
-   always @(posedge rxclk)
-     if(reset)
-       rx_overrun <= 1'b0;
-     else if(rxstrobe & rx_full)
-       rx_overrun <= 1'b1;
-     else if(clear_status)
-       rx_overrun <= 1'b0;
-
-   always @(select_out, fifo_out)
-     case(select_out)
-       0 : usbdata_out = fifo_out[31:16];  // I
-       1 : usbdata_out = fifo_out[15:0];   // Q
-     endcase
-  
-/*
-       always @(posedge usbclk, posedge reset)
-       if(reset)
-               usbdata_out <= #1 16'b0;
-       else
-               if(select_out)
-                       usbdata_out = fifo_out[31:16];
-               else
-                       usbdata_out = fifo_out[15:0];
-       */
-        
-   always @(negedge usbclk, posedge reset)
-     if(reset)
-       select_out <= #1 1'b0;
-     else if(~RD)
-       select_out <= #1 1'b0;
-     else 
-       select_out <= #1 ~select_out;
-   fifo_1c_2k  rxfifo (.data ( rxdata ), // counter ),
-                       .wrreq (rxstrobe & ~rx_full ),
-                       .wrclk ( rxclk ),
-                       
-                       .q ( fifo_out ),
-                       .rdreq ( select_out ),// & RD ), // FIXME
-                       .rdclk ( usbclk ),
-                       
-                       .aclr ( reset ),
-                       
-                       .rdempty ( rx_empty ),
-                       .rdusedw ( rxfifolevel ),
-                       .wrfull ( rx_full ),
-                       .wrusedw (  )
-                       );
-   
-   assign have_pkt_rdy = (rxfifolevel >= 128);
-
-   // Debugging Aids
-   assign debugbus[0] = tx_underrun;
-   assign debugbus[1] = rx_overrun;
-   assign debugbus[2] = tx_empty;
-   assign debugbus[3] = tx_full;
-   assign debugbus[4] = rx_empty;
-   assign debugbus[5] = rx_full;
-   assign debugbus[6] = txstrobe;
-   assign debugbus[7] = rxstrobe;
-   assign debugbus[8] = select_out;
-   assign debugbus[9] = rxstrobe & ~rx_full;
-   assign debugbus[10] = have_space;
-   assign debugbus[11] = have_pkt_rdy;
-   
-endmodule // bus_interface
-
index ff8fd839dc4d50b54f5dfb2c22e4e3a7ebb96b7f..63202c9df9b66bcc3d8a6f9239f51962559abdb9 100644 (file)
@@ -66,20 +66,20 @@ module tx_buffer
          load_next <= #1 4'd0;
        end
      else
          load_next <= #1 4'd0;
        end
      else
-       if((load_next != channels) & !tx_empty)
+       if(load_next != channels)
         begin
            load_next <= #1 load_next + 4'd1;
            case(load_next)
         begin
            load_next <= #1 load_next + 4'd1;
            case(load_next)
-             4'd0 : tx_i_0 <= #1 fifodata;
-             4'd1 : tx_q_0 <= #1 fifodata;
-             4'd2 : tx_i_1 <= #1 fifodata;
-             4'd3 : tx_q_1 <= #1 fifodata;
-             4'd4 : tx_i_2 <= #1 fifodata;
-             4'd5 : tx_q_2 <= #1 fifodata;
-             4'd6 : tx_i_3 <= #1 fifodata;
-             4'd7 : tx_q_3 <= #1 fifodata;
+             4'd0 : tx_i_0 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd1 : tx_q_0 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd2 : tx_i_1 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd3 : tx_q_1 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd4 : tx_i_2 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd5 : tx_q_2 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd6 : tx_i_3 <= #1 tx_empty ? 16'd0 : fifodata;
+             4'd7 : tx_q_3 <= #1 tx_empty ? 16'd0 : fifodata;
            endcase // case(load_next)
            endcase // case(load_next)
-        end // if ((load_next != channels) & !tx_empty)
+        end // if (load_next != channels)
        else if(txstrobe & (load_next == channels))
         begin
            load_next <= #1 4'd0;
        else if(txstrobe & (load_next == channels))
         begin
            load_next <= #1 4'd0;
index 51d7e1ea2b721f3e90bc98606fc09cfb71df8fc1..8297f0f7bb148c3cf4373221fd0913e52a85b72e 100644 (file)
@@ -27,7 +27,7 @@
 # ========================
 set_global_assignment -name ORIGINAL_QUARTUS_VERSION 3.0
 set_global_assignment -name PROJECT_CREATION_TIME_DATE "00:14:04  JULY 13, 2003"
 # ========================
 set_global_assignment -name ORIGINAL_QUARTUS_VERSION 3.0
 set_global_assignment -name PROJECT_CREATION_TIME_DATE "00:14:04  JULY 13, 2003"
-set_global_assignment -name LAST_QUARTUS_VERSION "5.1 SP2"
+set_global_assignment -name LAST_QUARTUS_VERSION 6.1
 
 # Pin & Location Assignments
 # ==========================
 
 # Pin & Location Assignments
 # ==========================
index 09ce317cd879f4bfc8f5fd2c291dfd7ef752adb4..b260914298e9df79c209b8450b518155887c0b50 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -425,25 +425,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
index d70128480344c27f31be6aa6d8e9be7fdc8f4661..8216d79697b62c8859869f42b87b21f596c3576a 100644 (file)
@@ -298,7 +298,7 @@ main (int argc, char **argv)
   else if (strcmp (cmd, "i2c_write") == 0){
     CHKARGS (2);
     int        i2c_addr = strtol (argv[optind], 0, 0);
   else if (strcmp (cmd, "i2c_write") == 0){
     CHKARGS (2);
     int        i2c_addr = strtol (argv[optind], 0, 0);
-    int        len;
+    int        len = 0;
     char *hex_string  = argv[optind + 1];
     unsigned char *buf = hex_string_to_binary (hex_string, &len);
     if (buf == 0)
     char *hex_string  = argv[optind + 1];
     unsigned char *buf = hex_string_to_binary (hex_string, &len);
     if (buf == 0)
index be4b4e7faca3a47cc623968ef65002774cecabca..83f2984e7795420935d4d80e7d1a2a084273ca98 100644 (file)
@@ -146,7 +146,7 @@ noinst_PYTHON =                             \
        dump_data.py
 
 usrp_dbid.py usrp_dbid.h usrp_dbid.cc: gen_usrp_dbid.py usrp_dbid.dat
        dump_data.py
 
 usrp_dbid.py usrp_dbid.h usrp_dbid.cc: gen_usrp_dbid.py usrp_dbid.dat
-       PYTHONPATH=$(top_srcdir)/usrp/src srcdir=$(srcdir) $(srcdir)/gen_usrp_dbid.py $(srcdir)/usrp_dbid.dat
+       PYTHONPATH=$(top_srcdir)/usrp/src srcdir=$(srcdir) $(PYTHON) $(srcdir)/gen_usrp_dbid.py $(srcdir)/usrp_dbid.dat
 
 MOSTLYCLEANFILES = \
        $(BUILT_SOURCES) *~ *.pyc
 
 MOSTLYCLEANFILES = \
        $(BUILT_SOURCES) *~ *.pyc
index e6498be20da4f9809b023fb58b1e66439df5651b..c3269ae91018e5950970fbf8fa3e04890f6e66ee 100644 (file)
@@ -36,7 +36,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -437,25 +437,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
@@ -936,7 +928,7 @@ uninstall-am: uninstall-includeHEADERS uninstall-info-am \
 
 
 usrp_dbid.py usrp_dbid.h usrp_dbid.cc: gen_usrp_dbid.py usrp_dbid.dat
 
 
 usrp_dbid.py usrp_dbid.h usrp_dbid.cc: gen_usrp_dbid.py usrp_dbid.dat
-       PYTHONPATH=$(top_srcdir)/usrp/src srcdir=$(srcdir) $(srcdir)/gen_usrp_dbid.py $(srcdir)/usrp_dbid.dat
+       PYTHONPATH=$(top_srcdir)/usrp/src srcdir=$(srcdir) $(PYTHON) $(srcdir)/gen_usrp_dbid.py $(srcdir)/usrp_dbid.dat
 # 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:
 # 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 43c2d8bafd6ecefac328b9d81c45bb5281f6e8f2..c6e3c972ef89b2386acdd545478a013a87cc0419 100644 (file)
@@ -168,32 +168,32 @@ fusb_ephandle_win32::write (const void *buffer, int nbytes)
     if (d_output_short == 0)
         usb_submit_async(d_context[d_curr],
                         &d_buffer[d_curr*d_block_size], d_block_size);
     if (d_output_short == 0)
         usb_submit_async(d_context[d_curr],
                         &d_buffer[d_curr*d_block_size], d_block_size);
-
-       if (bytes_to_write == 0)
-               return nbytes;
-
-       assert(d_output_short == 0);
   }
 
   }
 
-  d_curr = (d_curr+1)%d_nblocks;
-  buf = &d_buffer[d_curr*d_block_size];
-
-  if (d_outstanding_write != d_nblocks) {
-    d_outstanding_write++;
-  } else {
-    retval = usb_reap_async(d_context[d_curr], USB_TIMEOUT);
-    if (retval < 0) {
-               fprintf(stderr, "%s: usb_reap_async: %s\n",
-                       __FUNCTION__, usb_strerror());
-        return retval;
-      }
-  }
+  while (bytes_to_write > 0) {
+    d_curr = (d_curr+1)%d_nblocks;
+    buf = &d_buffer[d_curr*d_block_size];
+
+    if (d_outstanding_write != d_nblocks) {
+      d_outstanding_write++;
+    } else {
+      retval = usb_reap_async(d_context[d_curr], USB_TIMEOUT);
+      if (retval < 0) {
+                 fprintf(stderr, "%s: usb_reap_async: %s\n",
+                         __FUNCTION__, usb_strerror());
+         return retval;
+       }
+    }
 
 
-  memcpy(buf, (void *) &(((char*)buffer)[a]), bytes_to_write);
+    int ncopy = std::min(bytes_to_write, d_block_size);
+    memcpy(buf, (void *) &(((char*)buffer)[a]), ncopy);
+    bytes_to_write -= ncopy;
+    a += ncopy;
 
 
-  d_output_short = d_block_size - bytes_to_write;
-  if (d_output_short == 0)
-         usb_submit_async(d_context[d_curr], buf, d_block_size);
+    d_output_short = d_block_size - ncopy;
+    if (d_output_short == 0)
+           usb_submit_async(d_context[d_curr], buf, d_block_size);
+  }
 
   return retval < 0 ? retval : nbytes;
 }
 
   return retval < 0 ? retval : nbytes;
 }
@@ -224,27 +224,27 @@ fusb_ephandle_win32::read (void *buffer, int nbytes)
     if (d_input_leftover == 0)
         usb_submit_async(d_context[d_curr],
                         &d_buffer[d_curr*d_block_size], d_block_size);
     if (d_input_leftover == 0)
         usb_submit_async(d_context[d_curr],
                         &d_buffer[d_curr*d_block_size], d_block_size);
-
-       if (bytes_to_read == 0)
-               return nbytes;
-
-       assert(d_input_leftover == 0);
   }
 
   }
 
+  while (bytes_to_read > 0) {
 
 
-  d_curr = (d_curr+1)%d_nblocks;
-  buf = &d_buffer[d_curr*d_block_size];
+    d_curr = (d_curr+1)%d_nblocks;
+    buf = &d_buffer[d_curr*d_block_size];
 
 
-  retval = usb_reap_async(d_context[d_curr], USB_TIMEOUT);
-  if (retval < 0)
-       fprintf(stderr, "%s: usb_reap_async: %s\n",
-                       __FUNCTION__, usb_strerror());
+    retval = usb_reap_async(d_context[d_curr], USB_TIMEOUT);
+    if (retval < 0)
+         fprintf(stderr, "%s: usb_reap_async: %s\n",
+                         __FUNCTION__, usb_strerror());
 
 
-  memcpy((void *) &(((char*)buffer)[a]), buf, bytes_to_read);
+    int ncopy = std::min(bytes_to_read, d_block_size);
+    memcpy((void *) &(((char*)buffer)[a]), buf, ncopy);
+    bytes_to_read -= ncopy;
+    a += ncopy;
 
 
-  d_input_leftover = d_block_size - bytes_to_read;
-  if (d_input_leftover == 0)
-         usb_submit_async(d_context[d_curr], buf, d_block_size);
+    d_input_leftover = d_block_size - ncopy;
+    if (d_input_leftover == 0)
+           usb_submit_async(d_context[d_curr], buf, d_block_size);
+  }
 
   return retval < 0 ? retval : nbytes;
 }
 
   return retval < 0 ? retval : nbytes;
 }
index e3e249b1fd4616c99f8baf76c9e31b9944ec3e61..55109d9d893a185e87c053e9f708cc71270e0c40 100644 (file)
@@ -37,7 +37,7 @@
 
 # -*- Makefile -*-
 #
 
 # -*- Makefile -*-
 #
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
 # 
 # This file is part of GNU Radio
 # 
@@ -403,25 +403,17 @@ GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
                    $(FFTW3F_CFLAGS)
 
 
                    $(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
-
+# How to link in GNU Radio core library from inside the tree
+GNURADIO_CORE_LA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
 
 # This is a dependency for many swig operations
 GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
 
 
 # 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.
+# How to link in the USRP library from inside the tree
 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
                -I$(top_srcdir)/usrp/firmware/include
 
 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
+USRP_LA = $(top_builddir)/usrp/host/lib/libusrp.la
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.
 
 # This used to be set in configure.ac but is now defined here for all 
 # Makefiles when this fragment is included.