1 dnl Copyright 2001,2002,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc.
3 dnl This file is part of GNU Radio
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)
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.
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.
20 AC_DEFUN([GRC_GNURADIO_CORE],[
21 GRC_ENABLE([gnuradio-core])
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/gengen/Makefile \
38 gnuradio-core/src/lib/io/Makefile \
39 gnuradio-core/src/lib/missing/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/blks2/Makefile \
47 gnuradio-core/src/python/gnuradio/blks2impl/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/python/gnuradio/vocoder/Makefile \
53 gnuradio-core/src/tests/Makefile \
54 gnuradio-core/src/utils/Makefile \
58 # Don't do gnuradio-core if omnithread skipped
59 # There *has* to be a better way to check if a value is in a string
60 for dir in $skipped_dirs
62 if test x$dir = xomnithread; then
63 AC_MSG_RESULT([Component gnuradio-core requires omnithread, which is not being built.])
68 GRC_BUILD_CONDITIONAL([gnuradio-core],[
69 dnl run_tests is created from run_tests.in. Make it executable.
70 AC_CONFIG_COMMANDS([run_tests_core], [chmod +x gnuradio-core/src/python/gnuradio/gr/run_tests])
72 dnl kludge up initial swig dependency files
73 AC_CONFIG_COMMANDS([swig_deps], [
74 touch gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.d
75 touch gnuradio-core/src/lib/swig/gnuradio_swig_py_general.d
76 touch gnuradio-core/src/lib/swig/gnuradio_swig_py_gengen.d
77 touch gnuradio-core/src/lib/swig/gnuradio_swig_py_filter.d
78 touch gnuradio-core/src/lib/swig/gnuradio_swig_py_io.d