[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4457 - in gnuradio/branches/developers/jcorgan/ticket
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r4457 - in gnuradio/branches/developers/jcorgan/ticket-138: . omnithread |
Date: |
Mon, 12 Feb 2007 13:49:22 -0700 (MST) |
Author: jcorgan
Date: 2007-02-12 13:49:21 -0700 (Mon, 12 Feb 2007)
New Revision: 4457
Modified:
gnuradio/branches/developers/jcorgan/ticket-138/Makefile.common
gnuradio/branches/developers/jcorgan/ticket-138/omnithread/Makefile.am
gnuradio/branches/developers/jcorgan/ticket-138/run_tests.sh.in
Log:
Trial fix for ticket:138
Modified: gnuradio/branches/developers/jcorgan/ticket-138/Makefile.common
===================================================================
--- gnuradio/branches/developers/jcorgan/ticket-138/Makefile.common
2007-02-12 19:06:59 UTC (rev 4456)
+++ gnuradio/branches/developers/jcorgan/ticket-138/Makefile.common
2007-02-12 20:49:21 UTC (rev 4457)
@@ -54,12 +54,18 @@
-I$(top_builddir)/gnuradio-core/src/lib/swig \
$(FFTW3F_CFLAGS)
+# How to link in the top-level omnithreads library
+OMNITHREAD_INCLUDES = -I$(top_srcdir)/omnithread
+OMNITHREAD_LIBS = -L$(top_builddir)/omnithread -lgromnithread
-# These used to be set in PKGCONFIG but now point to the current
-# build tree.
-# FIXME shouldn't -lfftw3f -lm just be extracted from libgnuradio-core.la ???
-GNURADIO_CORE_LIBS = -L$(top_builddir)/gnuradio-core/src/lib \
- -lgnuradio-core -lfftw3f -lm
+# How to link in GNU Radio core library
+# Note: Win32 libtool cannot extract DLL dependencies already stored in
+# libgnuradio-core, so the core's dependencies must be repeated here
+# This is redundant but harmless on non-Win32 platforms
+GNURADIO_CORE_LIBS = $(OMNITHREAD_LIBS) \
+ $(FFTW3F_LIBS) \
+ -L$(top_builddir)/gnuradio-core/src/lib \
+ -lgnuradio-core
# This is a dependency for many swig operations
GNURADIO_I = $(top_srcdir)/gnuradio-core/src/lib/swig/gnuradio.i
@@ -74,9 +80,6 @@
PMT_INCLUDES = -I$(top_srcdir)/pmt/src/lib
PMT_LIBS = -L$(top_builddir)/pmt/src/lib -lpmt
-OMNITHREAD_INCLUDES = -I$(top_srcdir)/omnithread
-OMNITHREAD_LIBS = -L$(top_builddir)/omnithread -lgromnithread
-
# This used to be set in configure.ac but is now defined here for all
# Makefiles when this fragment is included.
STD_DEFINES_AND_INCLUDES=$(DEFINES) $(OMNITHREAD_INCLUDES)
$(GNURADIO_INCLUDES) $(BOOST_CFLAGS)
Modified: gnuradio/branches/developers/jcorgan/ticket-138/omnithread/Makefile.am
===================================================================
--- gnuradio/branches/developers/jcorgan/ticket-138/omnithread/Makefile.am
2007-02-12 19:06:59 UTC (rev 4456)
+++ gnuradio/branches/developers/jcorgan/ticket-138/omnithread/Makefile.am
2007-02-12 20:49:21 UTC (rev 4457)
@@ -44,6 +44,8 @@
nt.cc
endif
+libgromnithread_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+
libgromnithread_la_LIBADD = \
$(PTHREAD_LIBS)
Modified: gnuradio/branches/developers/jcorgan/ticket-138/run_tests.sh.in
===================================================================
--- gnuradio/branches/developers/jcorgan/ticket-138/run_tests.sh.in
2007-02-12 19:06:59 UTC (rev 4456)
+++ gnuradio/branches/developers/jcorgan/ticket-138/run_tests.sh.in
2007-02-12 20:49:21 UTC (rev 4457)
@@ -23,9 +23,12 @@
# Where to find core's python modules
address@hidden@/gnuradio-core/src/python
-# Where to find core's master library files
address@hidden@/gnuradio-core/src/lib
-grlibdir=$grlibdir:$grlibdir/.libs
+# Where to find core's master library files and dependencies
address@hidden@/omnithread
+gromnidir=$gromnidir:$gromnidir/.libs
address@hidden@/gnuradio-core/src/lib
+grcoredir=$grlibdir:$grlibdir/.libs
+grlibdir=$gromnidir:$grcoredir
# Construct search path for python modules
PYTHONPATH="$mylibdir:$mysrcdir:$mypydir:$grswigdir:$grswigsrcdir:$grpydir:$PYTHONPATH"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4457 - in gnuradio/branches/developers/jcorgan/ticket-138: . omnithread,
jcorgan <=