Statistics
| Branch: | Tag: | Revision:

root / Makefile.am @ a7449985

History | View | Annotate | Download (1.5 kB)

1 5d69a524 jcorgan
#
2 503efe1f jcorgan
# Copyright 2001,2006,2008,2009 Free Software Foundation, Inc.
3 5d69a524 jcorgan
# 
4 5d69a524 jcorgan
# This file is part of GNU Radio
5 5d69a524 jcorgan
# 
6 5d69a524 jcorgan
# GNU Radio is free software; you can redistribute it and/or modify
7 5d69a524 jcorgan
# it under the terms of the GNU General Public License as published by
8 937b719d eb
# the Free Software Foundation; either version 3, or (at your option)
9 5d69a524 jcorgan
# any later version.
10 5d69a524 jcorgan
# 
11 5d69a524 jcorgan
# GNU Radio is distributed in the hope that it will be useful,
12 5d69a524 jcorgan
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13 5d69a524 jcorgan
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 5d69a524 jcorgan
# GNU General Public License for more details.
15 5d69a524 jcorgan
# 
16 5d69a524 jcorgan
# You should have received a copy of the GNU General Public License
17 5d69a524 jcorgan
# along with GNU Radio; see the file COPYING.  If not, write to
18 86f5c924 eb
# the Free Software Foundation, Inc., 51 Franklin Street,
19 86f5c924 eb
# Boston, MA 02110-1301, USA.
20 5d69a524 jcorgan
# 
21 5d69a524 jcorgan
22 83abf580 jcorgan
ACLOCAL_AMFLAGS = -I config
23 83abf580 jcorgan
24 5d69a524 jcorgan
include $(top_srcdir)/Makefile.common
25 5d69a524 jcorgan
26 d692a41f Eric Blossom
EXTRA_DIST += \
27 f86aa748 eb
	bootstrap \
28 6b5a0200 jcorgan
	configure \
29 28361a1b eb
	configure-cell-cross \
30 6b5a0200 jcorgan
	config.h.in \
31 c3f962a1 jcorgan
	run_tests.sh.in \
32 c3f962a1 jcorgan
	Makefile.swig \
33 c3f962a1 jcorgan
	Makefile.swig.gen.t \
34 c3f962a1 jcorgan
	Makefile.par.gen \
35 b67e3270 jcorgan
	Makefile.gen.gen \
36 56496536 Johnathan Corgan
	version.sh
37 503efe1f jcorgan
38 daeac310 eb
SUBDIRS = @build_dirs@
39 daeac310 eb
DIST_SUBDIRS = @build_dirs@ @skipped_dirs@ @with_dirs@
40 56496536 Johnathan Corgan
DISTCLEANFILES = gnuradio*.tar.gz
41 9cdea550 Josh Blum
42 d629da65 Rob Savoye
# we need to check both python and guile support for distcheck
43 d629da65 Rob Savoye
DISTCHECK_CONFIGURE_FLAGS = --enable-python --enable-guile
44 d629da65 Rob Savoye
45 9cdea550 Josh Blum
if PYTHON
46 9cdea550 Josh Blum
47 9cdea550 Josh Blum
export pythondir
48 9cdea550 Josh Blum
49 9cdea550 Josh Blum
install-data-hook:
50 9cdea550 Josh Blum
	@if ! python -c "import gnuradio" > /dev/null 2>&1; then\
51 9cdea550 Josh Blum
		printf "\n*** Post-Install Message ***\
52 9cdea550 Josh Blum
		\nWarning: python could not find the gnuradio module.\
53 9cdea550 Josh Blum
		\nMake sure that $${pythondir} is in your PYTHONPATH\n\n";\
54 9cdea550 Josh Blum
	fi
55 9cdea550 Josh Blum
56 9cdea550 Josh Blum
endif