Merge jcorgan/hier developer branch into trunk. Enables creation of true hierarchica...
[debian/gnuradio] / gnuradio-examples / c++ / dialtone / 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_LIBS=$(top_builddir)/gr-audio-alsa/src/libgr_audio_alsa.la
29
30 # For compiling outside the tree, these are the usual
31 # INCLUDES = -I/usr/local/include -I/usr/local/include/gnuradio
32 # GNURADIO_CORE_LIBS = -lgnuradio-core
33 # GR_AUDIO_ALSA_LIBS = -lgr_audio_alsa
34
35 noinst_PROGRAMS = dialtone
36     
37 noinst_HEADERS = \
38     dialtone.h
39         
40 dialtone_SOURCES = \
41     dialtone.cc    \
42     main.cc
43
44 dialtone_LDADD = \
45     $(GNURADIO_CORE_LIBS) \
46     $(GR_AUDIO_ALSA_LIBS)
47
48 MOSTLYCLEANFILES = *~