2 # Copyright 2007 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
40 # ------------------------------------------------------------------------
41 # Build the inband library
47 usrp_server_mbh.cc : usrp_server.mbh
48 $(COMPILE_MBH) $(srcdir)/usrp_server.mbh usrp_server_mbh.cc
50 usrp_interface_mbh.cc : usrp_interface.mbh
51 $(COMPILE_MBH) usrp_interface.mbh usrp_interface_mbh.cc
53 libusrp_inband_la_SOURCES = \
55 ../../apps/ui_sincos.c \
56 usrp_inband_usb_packet.cc \
64 libusrp_inband_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
66 libusrp_inband_la_LIBADD = \
68 ../legacy/libusrp.la \
72 usrp_inband_usb_packet.h \
83 qa_inband_packet_prims.h \
84 qa_inband_usrp_server.h \
85 symbols_usrp_channel.h \
86 symbols_usrp_interface_cs.h \
87 symbols_usrp_low_level_cs.h \
89 symbols_usrp_rx_cs.h \
90 symbols_usrp_server_cs.h \
95 # ------------------------------------------------------------------------
96 # Build the qa code in its own library
98 libusrp_inband_qa_la_SOURCES = \
100 qa_inband_packet_prims.cc \
101 qa_inband_usrp_server.cc
104 libusrp_inband_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
106 # link against c++ standard library
107 libusrp_inband_qa_la_LIBADD = \
110 ../legacy/libusrp.la \
114 # ------------------------------------------------------------------------
120 test_inband_SOURCES = test_inband.cc
121 test_inband_LDADD = libusrp_inband-qa.la
123 test_usrp_inband_SOURCES = test_usrp_inband.cc
124 test_usrp_inband_LDADD = libusrp_inband-qa.la
128 $(BUILT_SOURCES) *~ *.pyc