rearrange includes to always be: internal GR, external, with GR.
[debian/gnuradio] / gnuradio-examples / c++ / dial_tone / Makefile.am
1 #
2 # Copyright 2006,2008,2009,2010 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 = \
26         -I$(top_srcdir)/gr-audio-alsa/src \
27         $(STD_DEFINES_AND_INCLUDES) \
28         $(WITH_INCLUDES)
29
30 GR_AUDIO_ALSA_LA=$(top_builddir)/gr-audio-alsa/src/libgnuradio-audio-alsa.la
31
32 # For compiling outside the tree, these will get fished out by pkgconfig
33
34 noinst_PROGRAMS = dial_tone
35
36 noinst_HEADERS = \
37     dial_tone.h
38
39 dial_tone_SOURCES = \
40     dial_tone.cc           \
41     main.cc
42
43 dial_tone_LDADD = \
44     $(GNURADIO_CORE_LA) \
45     $(GR_AUDIO_ALSA_LA)