2 # Copyright 2007,2008 Free Software Foundation, Inc.
4 # This file is part of GNU Radio
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License along
17 # with this program; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 include $(top_srcdir)/Makefile.common
24 $(DEFINES) $(OMNITHREAD_INCLUDES) $(PMT_INCLUDES) $(MBLOCK_INCLUDES) \
25 $(USRP_INCLUDES) $(BOOST_CFLAGS) $(CPPUNIT_INCLUDES) \
26 -I$(srcdir)/../../apps-inband $(WITH_INCLUDES)
38 # ------------------------------------------------------------------------
39 # Build the inband library
45 usrp_server_mbh.cc : usrp_server.mbh
46 $(COMPILE_MBH) $(srcdir)/usrp_server.mbh usrp_server_mbh.cc
48 usrp_interface_mbh.cc : usrp_interface.mbh
49 $(COMPILE_MBH) $(srcdir)/usrp_interface.mbh usrp_interface_mbh.cc
51 libusrp_inband_la_SOURCES = \
53 $(srcdir)/../../apps-inband/ui_sincos.c \
54 usrp_inband_usb_packet.cc \
62 libusrp_inband_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
64 libusrp_inband_la_LIBADD = \
70 usrp_inband_usb_packet.h \
81 qa_inband_packet_prims.h \
82 qa_inband_usrp_server.h \
83 symbols_usrp_channel.h \
84 symbols_usrp_interface_cs.h \
85 symbols_usrp_low_level_cs.h \
87 symbols_usrp_rx_cs.h \
88 symbols_usrp_server_cs.h \
92 # ------------------------------------------------------------------------
93 # Build the qa code in its own library
95 libusrp_inband_qa_la_SOURCES = \
97 qa_inband_packet_prims.cc \
98 qa_inband_usrp_server.cc
101 libusrp_inband_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
103 libusrp_inband_qa_la_LIBADD = \
109 # ------------------------------------------------------------------------
115 test_inband_SOURCES = test_inband.cc
116 test_inband_LDADD = libusrp_inband-qa.la
118 test_usrp_inband_SOURCES = test_usrp_inband.cc
119 test_usrp_inband_LDADD = libusrp_inband-qa.la
122 $(BUILT_SOURCES) *~ *.pyc