2007-05-02 04:08:47 +00:00
|
|
|
#
|
2008-02-08 23:32:10 +00:00
|
|
|
# Copyright 2007,2008 Free Software Foundation, Inc.
|
2007-05-02 04:08:47 +00:00
|
|
|
#
|
|
|
|
# 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
|
2007-07-21 03:44:38 +00:00
|
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
2007-05-02 04:08:47 +00:00
|
|
|
# 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 this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.common
|
|
|
|
|
2008-02-21 19:16:45 +00:00
|
|
|
AM_CPPFLAGS = \
|
2007-05-02 04:08:47 +00:00
|
|
|
$(DEFINES) $(OMNITHREAD_INCLUDES) $(PMT_INCLUDES) $(MBLOCK_INCLUDES) \
|
2008-08-19 23:09:56 +00:00
|
|
|
$(USRP_INCLUDES) $(BOOST_CPPFLAGS) $(CPPUNIT_INCLUDES) \
|
2008-02-08 23:32:10 +00:00
|
|
|
-I$(srcdir)/../../apps-inband $(WITH_INCLUDES)
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
TESTS = test_inband
|
|
|
|
|
2007-05-02 04:46:01 +00:00
|
|
|
EXTRA_DIST = \
|
2007-09-05 01:43:43 +00:00
|
|
|
usrp_server.mbh \
|
|
|
|
usrp_interface.mbh
|
|
|
|
|
2007-05-02 04:08:47 +00:00
|
|
|
lib_LTLIBRARIES = \
|
2008-11-03 20:08:39 +00:00
|
|
|
libusrp-inband.la \
|
|
|
|
libusrp-inband-qa.la
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# Build the inband library
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2007-09-05 01:43:43 +00:00
|
|
|
usrp_server_mbh.cc \
|
|
|
|
usrp_interface_mbh.cc
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
usrp_server_mbh.cc : usrp_server.mbh
|
2007-05-03 17:20:42 +00:00
|
|
|
$(COMPILE_MBH) $(srcdir)/usrp_server.mbh usrp_server_mbh.cc
|
2007-05-02 04:08:47 +00:00
|
|
|
|
2007-09-05 01:43:43 +00:00
|
|
|
usrp_interface_mbh.cc : usrp_interface.mbh
|
2007-11-10 01:03:04 +00:00
|
|
|
$(COMPILE_MBH) $(srcdir)/usrp_interface.mbh usrp_interface_mbh.cc
|
2007-09-05 01:43:43 +00:00
|
|
|
|
2007-05-02 04:08:47 +00:00
|
|
|
libusrp_inband_la_SOURCES = \
|
|
|
|
$(BUILT_SOURCES) \
|
2007-09-05 20:18:28 +00:00
|
|
|
$(srcdir)/../../apps-inband/ui_sincos.c \
|
2007-09-05 01:43:43 +00:00
|
|
|
usrp_inband_usb_packet.cc \
|
|
|
|
usrp_rx.cc \
|
|
|
|
usrp_rx_stub.cc \
|
|
|
|
usrp_server.cc \
|
|
|
|
usrp_tx.cc \
|
|
|
|
usrp_tx_stub.cc \
|
|
|
|
usrp_usb_interface.cc
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
libusrp_inband_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
|
|
|
|
|
|
|
|
libusrp_inband_la_LIBADD = \
|
|
|
|
$(MBLOCK_LA) \
|
2007-09-05 20:18:28 +00:00
|
|
|
$(USRP_LA) \
|
2007-05-02 04:08:47 +00:00
|
|
|
-lstdc++
|
|
|
|
|
|
|
|
include_HEADERS = \
|
2007-09-05 01:43:43 +00:00
|
|
|
usrp_inband_usb_packet.h \
|
|
|
|
usrp_rx.h \
|
|
|
|
usrp_rx_stub.h \
|
|
|
|
usrp_server.h \
|
|
|
|
usrp_tx.h \
|
|
|
|
usrp_tx_stub.h \
|
2009-01-17 04:42:26 +00:00
|
|
|
usrp_usb_interface.h
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
qa_inband.h \
|
|
|
|
qa_inband_packet_prims.h \
|
|
|
|
qa_inband_usrp_server.h \
|
2007-09-05 01:43:43 +00:00
|
|
|
symbols_usrp_channel.h \
|
|
|
|
symbols_usrp_interface_cs.h \
|
|
|
|
symbols_usrp_low_level_cs.h \
|
|
|
|
symbols_usrp_rx.h \
|
|
|
|
symbols_usrp_rx_cs.h \
|
|
|
|
symbols_usrp_server_cs.h \
|
|
|
|
symbols_usrp_tx.h \
|
2008-02-08 23:32:10 +00:00
|
|
|
symbols_usrp_tx_cs.h
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# Build the qa code in its own library
|
|
|
|
|
|
|
|
libusrp_inband_qa_la_SOURCES = \
|
|
|
|
qa_inband.cc \
|
|
|
|
qa_inband_packet_prims.cc \
|
2008-02-08 23:32:10 +00:00
|
|
|
qa_inband_usrp_server.cc
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
# magic flags
|
|
|
|
libusrp_inband_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
|
|
|
|
|
|
|
|
libusrp_inband_qa_la_LIBADD = \
|
2008-11-03 20:08:39 +00:00
|
|
|
libusrp-inband.la \
|
2008-01-06 01:09:51 +00:00
|
|
|
$(PMT_LA) \
|
2007-05-02 04:08:47 +00:00
|
|
|
$(CPPUNIT_LIBS) \
|
|
|
|
-lstdc++
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
2008-04-30 03:52:31 +00:00
|
|
|
test_inband
|
2007-05-02 04:08:47 +00:00
|
|
|
|
|
|
|
test_inband_SOURCES = test_inband.cc
|
2008-11-03 20:08:39 +00:00
|
|
|
test_inband_LDADD = libusrp-inband-qa.la
|