Merged r7478:7608 from michaelld/t186 into trunk. Adds ability to compile GNU Radio...
[debian/gnuradio] / usrp / host / apps-inband / Makefile.am
1 #
2 # Copyright 2003,2006,2008 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
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)
9 # any later version.
10
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.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 INCLUDES =      \
25         $(DEFINES) $(OMNITHREAD_INCLUDES) $(PMT_INCLUDES) $(MBLOCK_INCLUDES) \
26         $(USRP_INCLUDES) $(USRP_INBAND_INCLUDES) $(BOOST_CFLAGS) \
27         $(CPPUNIT_INCLUDES) $(WITH_INCLUDES)
28
29
30 bin_PROGRAMS =                          
31
32 noinst_PROGRAMS =                       \
33         test_usrp_inband_cs             \
34         test_usrp_inband_ping           \
35         test_usrp_inband_registers      \
36         test_usrp_inband_rx             \
37         test_usrp_inband_tx             \
38         test_usrp_inband_timestamps     \
39         test_usrp_inband_overrun        \
40         test_usrp_inband_underrun       \
41         test_gmac_tx                    \
42         read_packets
43
44 noinst_HEADERS =                        \
45         ui_nco.h                        \
46         ui_sincos.h                     \
47         gmac.h                          \
48         gmac_symbols.h                  
49
50
51 EXTRA_DIST =                            \
52         gmac.mbh
53
54 #------------------------------------------------------------------
55 # Build gmac sources
56
57 BUILT_SOURCES =                         \
58         gmac_mbh.cc
59
60 gmac_mbh.cc : gmac.mbh
61         $(COMPILE_MBH) $(srcdir)/gmac.mbh gmac_mbh.cc
62
63
64 test_usrp_inband_cs_SOURCES     = test_usrp_inband_cs.cc ui_sincos.c
65 test_usrp_inband_cs_LDADD       = $(USRP_LA) $(USRP_INBAND_LA)
66
67 test_usrp_inband_ping_SOURCES   = test_usrp_inband_ping.cc 
68 test_usrp_inband_ping_LDADD     = $(USRP_LA) $(USRP_INBAND_LA)
69
70 test_usrp_inband_tx_SOURCES     = test_usrp_inband_tx.cc ui_sincos.c
71 test_usrp_inband_tx_LDADD       = $(USRP_LA) $(USRP_INBAND_LA)
72
73 test_usrp_inband_timestamps_SOURCES     = test_usrp_inband_timestamps.cc ui_sincos.c
74 test_usrp_inband_timestamps_LDADD       = $(USRP_LA) $(USRP_INBAND_LA)
75
76 test_usrp_inband_registers_SOURCES      = test_usrp_inband_registers.cc ui_sincos.c
77 test_usrp_inband_registers_LDADD        = $(USRP_LA) $(USRP_INBAND_LA)
78
79 test_usrp_inband_overrun_SOURCES        = test_usrp_inband_overrun.cc
80 test_usrp_inband_overrun_LDADD          = $(USRP_LA) $(USRP_INBAND_LA)
81
82 test_usrp_inband_underrun_SOURCES       = test_usrp_inband_underrun.cc
83 test_usrp_inband_underrun_LDADD         = $(USRP_LA) $(USRP_INBAND_LA)
84
85 test_usrp_inband_rx_SOURCES     = test_usrp_inband_rx.cc ui_sincos.c
86 test_usrp_inband_rx_LDADD       = $(USRP_LA) $(USRP_INBAND_LA)
87
88 test_gmac_tx_SOURCES    = test_gmac_tx.cc gmac.cc gmac_mbh.cc ui_sincos.c
89 test_gmac_tx_LDADD      = $(USRP_LA) $(USRP_INBAND_LA)
90
91 read_packets_SOURCES = read_packets.cc
92 read_packets_LDADD = $(USRP_LA) $(USRP_INBAND_LA)