]> git.gag.com Git - debian/gnuradio/blob - gr-usrp/apps/Makefile.am
Fix include paths for VPATH build (Michael Dickens). Note, this was one of thoses...
[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\${abs_top_builddir}/usrp/host/lib/legacy \
29          -I$(top_srcdir)/usrp/firmware/include \
30          $(WITH_INCLUDES)
31
32 GR_USRP_LA=$(top_builddir)/gr-usrp/src/libgnuradio-usrp.la
33
34 # For compiling outside the tree, these will get fished out by pkgconfig
35
36 noinst_PROGRAMS = \
37         usrp_rx_cfile \
38         usrp_siggen
39
40 noinst_HEADERS =        \
41         usrp_rx_cfile.h \
42         usrp_siggen.h
43
44 usrp_rx_cfile_SOURCES =         \
45     usrp_rx_cfile.cc
46
47 usrp_rx_cfile_LDADD = \
48         $(BOOST_PROGRAM_OPTIONS_LIB) \
49         $(GR_USRP_LA)
50
51 usrp_siggen_SOURCES =   \
52     usrp_siggen.cc
53
54 usrp_siggen_LDADD = \
55         $(BOOST_PROGRAM_OPTIONS_LIB) \
56         $(GR_USRP_LA)
57
58 MOSTLYCLEANFILES = *~