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_CPPFLAGS) $(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 \
76 usrp_usb_interface.h \
77 symbols_usrp_channel.h \
78 symbols_usrp_interface_cs.h \
79 symbols_usrp_low_level_cs.h \
81 symbols_usrp_rx_cs.h \
82 symbols_usrp_server_cs.h \
88 qa_inband_packet_prims.h \
89 qa_inband_usrp_server.h
91 # ------------------------------------------------------------------------
92 # Build the qa code in its own library
94 libusrp_inband_qa_la_SOURCES = \
96 qa_inband_packet_prims.cc \
97 qa_inband_usrp_server.cc
100 libusrp_inband_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
102 libusrp_inband_qa_la_LIBADD = \
108 # ------------------------------------------------------------------------
113 test_inband_SOURCES = test_inband.cc
114 test_inband_LDADD = libusrp-inband-qa.la
117 $(BUILT_SOURCES) *~ *.pyc