diff options
author | Nick Foster | 2010-12-14 17:44:34 -0800 |
---|---|---|
committer | Nick Foster | 2010-12-14 17:44:34 -0800 |
commit | 87a9b14e0b0e2c2d0dcd75d42f2a15211265f102 (patch) | |
tree | 9bd785c041ca7e4346ea8606e88451bde7620877 /volk/lib/Makefile.am | |
parent | 26415a1445490cc3230c5d793a41703931ae9d01 (diff) | |
download | gnuradio-87a9b14e0b0e2c2d0dcd75d42f2a15211265f102.tar.gz gnuradio-87a9b14e0b0e2c2d0dcd75d42f2a15211265f102.tar.bz2 gnuradio-87a9b14e0b0e2c2d0dcd75d42f2a15211265f102.zip |
Volk: added references to libs instead of specifying them directly
Diffstat (limited to 'volk/lib/Makefile.am')
-rw-r--r-- | volk/lib/Makefile.am | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/volk/lib/Makefile.am b/volk/lib/Makefile.am index d38004f2a..faab4a010 100644 --- a/volk/lib/Makefile.am +++ b/volk/lib/Makefile.am @@ -133,14 +133,21 @@ libvolk_runtime_la_SOURCES = \ $(universal_runtime_CODE) endif +volk_orc_LDFLAGS = \ + $(ORC_LDFLAGS) \ + -lorc-0.4 + +volk_orc_LIBADD = \ + ../orc/libvolk_orc.la - +if HAVE_ORC +libvolk_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 $(volk_orc_LDFLAGS) +libvolk_runtime_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 $(volk_orc_LDFLAGS) +libvolk_la_LIBADD = $(volk_orc_LIBADD) +else libvolk_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 libvolk_runtime_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 -if HAVE_ORC -libvolk_la_LIBADD = ../orc/libvolk_orc.la -libvolk_la_LDFLAGS += -lorc-0.4 -libvolk_runtime_la_LDFLAGS += -lorc-0.4 +libvolk_la_LIBADD = endif @@ -243,12 +250,6 @@ libvolk_qa_la_LIBADD = \ libvolk.la \ libvolk_runtime.la \ $(CPPUNIT_LIBS) - -if HAVE_ORC -libvolk_qa_la_LIBADD += \ - ../orc/libvolk_orc.la - libvolk_qa_la_LDFLAGS += -lorc-0.4 -endif # ---------------------------------------------------------------- # headers that don't get installed @@ -353,7 +354,7 @@ noinst_PROGRAMS = \ test_all test_all_SOURCES = test_all.cc -test_all_LDADD = libvolk_qa.la ../orc/libvolk_orc.la +test_all_LDADD = libvolk_qa.la distclean-local: |