cda051bb07327f0ed20aabda8598f115598374e1
[debian/gnuradio] / usrp2 / host / lib / Makefile.am
1 #
2 # Copyright 2007,2008,2010 Free Software Foundation, Inc.
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 #
17
18 include $(top_srcdir)/Makefile.common
19
20 AM_CPPFLAGS = \
21     $(USRP2_INCLUDES) \
22     $(BOOST_CPPFLAGS) \
23     $(STD_DEFINES_AND_INCLUDES) \
24     $(CPPUNIT_INCLUDES) \
25     $(GRUEL_INCLUDES) 
26
27 bin_PROGRAMS = usrp2_socket_opener
28 usrp2_socket_opener_SOURCES = usrp2_socket_opener.cc
29
30 lib_LTLIBRARIES = \
31         libusrp2.la
32
33 libusrp2_la_SOURCES = \
34         control.cc \
35         copiers.cc \
36         copy_handler.cc \
37         data_handler.cc \
38         eth_buffer.cc \
39         ethernet.cc \
40         find.cc \
41         open_usrp2_socket.cc \
42         pktfilter.cc \
43         ring.cc \
44         rx_nop_handler.cc \
45         rx_sample_handler.cc \
46         strtod_si.c \
47         usrp2.cc \
48         usrp2_impl.cc
49
50 libusrp2_la_LIBADD = \
51         $(GRUEL_LA) \
52         $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)
53
54 # Private headers not needed for above the API development
55 noinst_HEADERS = \
56         control.h \
57         eth_buffer.h \
58         eth_common.h \
59         ethernet.h \
60         open_usrp2_socket.h \
61         pktfilter.h \
62         ring.h \
63         usrp2_bytesex.h \
64         usrp2_impl.h