Merged r4632:4645 on jcorgan/linking into trunk. Cleans up linking issues with libto...
[debian/gnuradio] / gnuradio-examples / c++ / dial_tone / Makefile.am
1 #
2 # Copyright 2006 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 2, 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 INCLUDES=$(STD_DEFINES_AND_INCLUDES) \
26          -I$(top_srcdir)/gr-audio-alsa/src 
27
28 GR_AUDIO_ALSA_LA=$(top_builddir)/gr-audio-alsa/src/libgr_audio_alsa.la
29
30 # For compiling outside the tree, these will get fished out by pkgconfig
31
32 noinst_PROGRAMS = dial_tone
33     
34 noinst_HEADERS = \
35     dial_tone.h
36         
37 dial_tone_SOURCES = \
38     dial_tone.cc           \
39     main.cc
40
41 dial_tone_LDADD = \
42     $(GNURADIO_CORE_LA) \
43     $(GR_AUDIO_ALSA_LIBS)
44
45 MOSTLYCLEANFILES = *~