root / Makefile.am @ 45b4f703
History | View | Annotate | Download (1.5 kB)
| 1 | # |
|---|---|
| 2 | # Copyright 2001,2006,2008,2009 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 | ACLOCAL_AMFLAGS = -I config |
| 23 | |
| 24 | include $(top_srcdir)/Makefile.common |
| 25 | |
| 26 | EXTRA_DIST += \ |
| 27 | bootstrap \ |
| 28 | configure \ |
| 29 | configure-cell-cross \ |
| 30 | config.h.in \ |
| 31 | run_tests.sh.in \ |
| 32 | Makefile.swig \ |
| 33 | Makefile.swig.gen.t \ |
| 34 | Makefile.par.gen \ |
| 35 | Makefile.gen.gen \ |
| 36 | version.sh |
| 37 | |
| 38 | SUBDIRS = @build_dirs@ |
| 39 | DIST_SUBDIRS = @build_dirs@ @skipped_dirs@ @with_dirs@ |
| 40 | DISTCLEANFILES = gnuradio*.tar.gz |
| 41 | |
| 42 | # we need to check both python and guile support for distcheck |
| 43 | DISTCHECK_CONFIGURE_FLAGS = --enable-python --enable-guile |
| 44 | |
| 45 | if PYTHON |
| 46 | |
| 47 | export pythondir |
| 48 | |
| 49 | install-data-hook: |
| 50 | @if ! python -c "import gnuradio" > /dev/null 2>&1; then\ |
| 51 | printf "\n*** Post-Install Message ***\ |
| 52 | \nWarning: python could not find the gnuradio module.\ |
| 53 | \nMake sure that $${pythondir} is in your PYTHONPATH\n\n";\
|
| 54 | fi |
| 55 | |
| 56 | endif |