Merged r10071:10164 from features/cppdb-test into trunk. Implements the fully native...
[debian/gnuradio] / gr-usrp / apps / Makefile.am
1 #
2 # Copyright 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 # For compiling within the GNU Radio build tree
25 AM_CPPFLAGS=$(STD_DEFINES_AND_INCLUDES) \
26          -I$(top_srcdir)/gr-usrp/src \
27          -I$(top_srcdir)/usrp/host/lib/legacy \
28          -I$(top_srcdir)/usrp/firmware/include \
29          $(WITH_INCLUDES)
30
31 GR_USRP_LA=$(top_builddir)/gr-usrp/src/libgnuradio-usrp.la
32
33 # For compiling outside the tree, these will get fished out by pkgconfig
34
35 noinst_PROGRAMS = \
36         usrp_rx_cfile \
37         usrp_siggen
38
39 noinst_HEADERS =        \
40         usrp_rx_cfile.h \
41         usrp_siggen.h
42
43 usrp_rx_cfile_SOURCES =         \
44     usrp_rx_cfile.cc
45
46 usrp_rx_cfile_LDADD = \
47         $(BOOST_PROGRAM_OPTIONS_LIB) \
48         $(GR_USRP_LA)
49
50 usrp_siggen_SOURCES =   \
51     usrp_siggen.cc
52
53 usrp_siggen_LDADD = \
54         $(BOOST_PROGRAM_OPTIONS_LIB) \
55         $(GR_USRP_LA)
56
57 MOSTLYCLEANFILES = *~