# # 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 3, 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 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 INCLUDES = \ $(DEFINES) $(OMNITHREAD_INCLUDES) $(PMT_INCLUDES) $(MBLOCK_INCLUDES) \ $(USRP_INCLUDES) $(BOOST_CFLAGS) $(CPPUNIT_INCLUDES) \ -I$(srcdir)/../../apps-inband TESTS = test_inband EXTRA_DIST = \ usrp_server.mbh \ usrp_interface.mbh lib_LTLIBRARIES = \ libusrp_inband.la \ libusrp_inband-qa.la # ------------------------------------------------------------------------ # Build the inband library BUILT_SOURCES = \ usrp_server_mbh.cc \ usrp_interface_mbh.cc usrp_server_mbh.cc : usrp_server.mbh $(COMPILE_MBH) $(srcdir)/usrp_server.mbh usrp_server_mbh.cc usrp_interface_mbh.cc : usrp_interface.mbh $(COMPILE_MBH) $(srcdir)/usrp_interface.mbh usrp_interface_mbh.cc libusrp_inband_la_SOURCES = \ $(BUILT_SOURCES) \ $(srcdir)/../../apps-inband/ui_sincos.c \ 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 libusrp_inband_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 libusrp_inband_la_LIBADD = \ $(MBLOCK_LA) \ $(USRP_LA) \ -lstdc++ include_HEADERS = \ usrp_inband_usb_packet.h \ usrp_rx.h \ usrp_rx_stub.h \ usrp_server.h \ usrp_tx.h \ usrp_tx_stub.h \ usrp_usb_interface.h noinst_HEADERS = \ fake_usrp.h \ qa_inband.h \ qa_inband_packet_prims.h \ qa_inband_usrp_server.h \ 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 \ symbols_usrp_tx_cs.h # ------------------------------------------------------------------------ # Build the qa code in its own library libusrp_inband_qa_la_SOURCES = \ qa_inband.cc \ qa_inband_packet_prims.cc \ qa_inband_usrp_server.cc # magic flags libusrp_inband_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version libusrp_inband_qa_la_LIBADD = \ libusrp_inband.la \ $(PMT_LA) \ $(CPPUNIT_LIBS) \ -lstdc++ # ------------------------------------------------------------------------ noinst_PROGRAMS = \ test_inband \ test_usrp_inband test_inband_SOURCES = test_inband.cc test_inband_LDADD = libusrp_inband-qa.la test_usrp_inband_SOURCES = test_usrp_inband.cc test_usrp_inband_LDADD = libusrp_inband-qa.la MOSTLYCLEANFILES = \ $(BUILT_SOURCES) *~ *.pyc