Imported Upstream version 3.0.4
[debian/gnuradio] / config / grc_gnuradio_core.m4
1 dnl Copyright 2001,2002,2003,2004,2005,2006 Free Software Foundation, Inc.
2 dnl 
3 dnl This file is part of GNU Radio
4 dnl 
5 dnl GNU Radio is free software; you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; either version 3, or (at your option)
8 dnl any later version.
9 dnl 
10 dnl GNU Radio is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 dnl GNU General Public License for more details.
14 dnl 
15 dnl You should have received a copy of the GNU General Public License
16 dnl along with GNU Radio; see the file COPYING.  If not, write to
17 dnl the Free Software Foundation, Inc., 51 Franklin Street,
18 dnl Boston, MA 02110-1301, USA.
19
20 AC_DEFUN([GRC_GNURADIO_CORE],[
21     GRC_ENABLE([gnuradio-core])
22
23     AC_CONFIG_FILES([ \
24         gnuradio-core/Makefile
25         gnuradio-core/gnuradio-core.pc \
26         gnuradio-core/doc/Doxyfile \
27         gnuradio-core/doc/Makefile \
28         gnuradio-core/doc/other/Makefile \
29         gnuradio-core/doc/xml/Makefile \
30         gnuradio-core/src/Makefile \
31         gnuradio-core/src/gen_interpolator_taps/Makefile \
32         gnuradio-core/src/lib/Makefile \
33         gnuradio-core/src/lib/filter/Makefile \
34         gnuradio-core/src/lib/g72x/Makefile \
35         gnuradio-core/src/lib/general/Makefile \
36         gnuradio-core/src/lib/general/gr_prefix.cc \
37         gnuradio-core/src/lib/io/Makefile \
38         gnuradio-core/src/lib/missing/Makefile \
39         gnuradio-core/src/lib/omnithread/Makefile \
40         gnuradio-core/src/lib/reed-solomon/Makefile \
41         gnuradio-core/src/lib/runtime/Makefile \
42         gnuradio-core/src/lib/swig/Makefile \
43         gnuradio-core/src/python/Makefile \
44         gnuradio-core/src/python/bin/Makefile \
45         gnuradio-core/src/python/gnuradio/Makefile \
46         gnuradio-core/src/python/gnuradio/blks/Makefile \
47         gnuradio-core/src/python/gnuradio/blksimpl/Makefile \
48         gnuradio-core/src/python/gnuradio/gr/Makefile \
49         gnuradio-core/src/python/gnuradio/gr/run_tests \
50         gnuradio-core/src/python/gnuradio/gru/Makefile \
51         gnuradio-core/src/python/gnuradio/gruimpl/Makefile \
52         gnuradio-core/src/tests/Makefile \
53         gnuradio-core/src/utils/Makefile \
54     ])
55     
56     passed=yes
57     GRC_BUILD_CONDITIONAL([gnuradio-core],[
58         dnl run_tests is created from run_tests.in.  Make it executable.
59         AC_CONFIG_COMMANDS([run_tests_core], [chmod +x gnuradio-core/src/python/gnuradio/gr/run_tests])
60
61         dnl kludge up initial swig dependency file
62         AC_CONFIG_COMMANDS([swig_deps], [touch gnuradio-core/src/lib/swig/gnuradio_swig_python.d])
63     ])
64 ])