diff options
author | Johnathan Corgan | 2011-07-17 16:06:56 -0700 |
---|---|---|
committer | Johnathan Corgan | 2011-07-17 16:09:23 -0700 |
commit | fd1a28f693ed41d4bba9f1c800e79693e4c55ed2 (patch) | |
tree | b0887608bf46d43af8e0a56ec71b6bfee7d6f222 | |
parent | f7b9a0c6922c86cd54c1300ab45209d8e2db13df (diff) | |
download | gnuradio-fd1a28f693ed41d4bba9f1c800e79693e4c55ed2.tar.gz gnuradio-fd1a28f693ed41d4bba9f1c800e79693e4c55ed2.tar.bz2 gnuradio-fd1a28f693ed41d4bba9f1c800e79693e4c55ed2.zip |
gr-vocoder: add skeleton top-level component
-rw-r--r-- | config/Makefile.am | 1 | ||||
-rw-r--r-- | config/grc_gr_vocoder.m4 | 43 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | gr-vocoder/.gitignore | 3 | ||||
-rw-r--r-- | gr-vocoder/Makefile.am | 31 | ||||
-rw-r--r-- | gr-vocoder/apps/.gitignore | 2 | ||||
-rw-r--r-- | gr-vocoder/apps/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/doc/.gitignore | 2 | ||||
-rw-r--r-- | gr-vocoder/doc/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/examples/.gitignore | 3 | ||||
-rw-r--r-- | gr-vocoder/examples/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/gnuradio-vocoder.pc.in | 11 | ||||
-rw-r--r-- | gr-vocoder/grc/.gitignore | 7 | ||||
-rw-r--r-- | gr-vocoder/grc/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/include/.gitignore | 2 | ||||
-rw-r--r-- | gr-vocoder/include/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/lib/.gitignore | 7 | ||||
-rw-r--r-- | gr-vocoder/lib/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/python/.gitignore | 3 | ||||
-rw-r--r-- | gr-vocoder/python/Makefile.am | 24 | ||||
-rw-r--r-- | gr-vocoder/swig/.gitignore | 2 | ||||
-rw-r--r-- | gr-vocoder/swig/Makefile.am | 24 |
22 files changed, 310 insertions, 0 deletions
diff --git a/config/Makefile.am b/config/Makefile.am index 473f88488..be4509f38 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -60,6 +60,7 @@ m4macros = \ grc_gr_trellis.m4 \ grc_gr_usrp.m4 \ grc_gr_video_sdl.m4 \ + grc_gr_vocoder.m4 \ grc_gr_wxgui.m4 \ grc_gruel.m4 \ gr_check_createfilemapping.m4 \ diff --git a/config/grc_gr_vocoder.m4 b/config/grc_gr_vocoder.m4 new file mode 100644 index 000000000..4e1c2355a --- /dev/null +++ b/config/grc_gr_vocoder.m4 @@ -0,0 +1,43 @@ +dnl Copyright 2011 Free Software Foundation, Inc. +dnl +dnl This file is part of GNU Radio +dnl +dnl GNU Radio is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 3, or (at your option) +dnl any later version. +dnl +dnl GNU Radio is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with GNU Radio; see the file COPYING. If not, write to +dnl the Free Software Foundation, Inc., 51 Franklin Street, +dnl Boston, MA 02110-1301, USA. + +AC_DEFUN([GRC_GR_VOCODER],[ + GRC_ENABLE(gr-vocoder) + + dnl Don't do gr-vocoder if gnuradio-core skipped + GRC_CHECK_DEPENDENCY(gr-fr-vocoder, gnuradio-core) + + AC_CONFIG_FILES([\ + gr-vocoder/Makefile \ + gr-vocoder/gnuradio-vocoder.pc \ + gr-vocoder/apps/Makefile \ + gr-vocoder/doc/Makefile \ + gr-vocoder/examples/Makefile \ + gr-vocoder/grc/Makefile \ + gr-vocoder/include/Makefile \ + gr-vocoder/lib/Makefile \ + gr-vocoder/python/Makefile \ + gr-vocoder/swig/Makefile \ + ]) + + GRC_BUILD_CONDITIONAL(gr-vocoder,[ + dnl run_tests is created from run_tests.in. Make it executable. + AC_CONFIG_COMMANDS([run_tests_vocoder], [chmod +x gr-vocoder/python/run_tests]) + ]) +]) diff --git a/configure.ac b/configure.ac index 1ac5960c5..48d5bf94e 100644 --- a/configure.ac +++ b/configure.ac @@ -360,6 +360,7 @@ GRC_GR_USRP dnl this must come after GRC_USRP GRC_GR_USRP2 GRC_GR_GCELL dnl this must come after GRC_GCELL and GRC_GNURADIO_CORE GRC_GR_AUDIO +GRC_GR_VOCODER GRC_GR_ATSC GRC_GR_COMEDI GRC_GR_CVSD_VOCODER diff --git a/gr-vocoder/.gitignore b/gr-vocoder/.gitignore new file mode 100644 index 000000000..a37fc0c1a --- /dev/null +++ b/gr-vocoder/.gitignore @@ -0,0 +1,3 @@ +/Makefile +/Makefile.in +/*.pc diff --git a/gr-vocoder/Makefile.am b/gr-vocoder/Makefile.am new file mode 100644 index 000000000..c280358a8 --- /dev/null +++ b/gr-vocoder/Makefile.am @@ -0,0 +1,31 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = include lib python swig grc apps examples doc + +if PYTHON +SUBDIRS += python swig +endif + +pkgconfigdir = $(libdir)/pkgconfig +dist_pkgconfig_DATA = gnuradio-vocoder.pc diff --git a/gr-vocoder/apps/.gitignore b/gr-vocoder/apps/.gitignore new file mode 100644 index 000000000..b336cc7ce --- /dev/null +++ b/gr-vocoder/apps/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/Makefile.in diff --git a/gr-vocoder/apps/Makefile.am b/gr-vocoder/apps/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/apps/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/doc/.gitignore b/gr-vocoder/doc/.gitignore new file mode 100644 index 000000000..b336cc7ce --- /dev/null +++ b/gr-vocoder/doc/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/Makefile.in diff --git a/gr-vocoder/doc/Makefile.am b/gr-vocoder/doc/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/doc/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/examples/.gitignore b/gr-vocoder/examples/.gitignore new file mode 100644 index 000000000..0a864cc38 --- /dev/null +++ b/gr-vocoder/examples/.gitignore @@ -0,0 +1,3 @@ +/Makefile +/Makefile.in + diff --git a/gr-vocoder/examples/Makefile.am b/gr-vocoder/examples/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/examples/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/gnuradio-vocoder.pc.in b/gr-vocoder/gnuradio-vocoder.pc.in new file mode 100644 index 000000000..7ff4420b6 --- /dev/null +++ b/gr-vocoder/gnuradio-vocoder.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: gnuradio-vocoder +Description: GNU Radio blocks implementing voice codecs +Requires: gnuradio-core +Version: @LIBVER@ +Libs: -L${libdir} -lgnuradio-vocoder +Cflags: -I${includedir} diff --git a/gr-vocoder/grc/.gitignore b/gr-vocoder/grc/.gitignore new file mode 100644 index 000000000..d2e2e9ce8 --- /dev/null +++ b/gr-vocoder/grc/.gitignore @@ -0,0 +1,7 @@ +/Makefile +/Makefile.in +/.libs +/.deps +/gnuradio +/guile +/python diff --git a/gr-vocoder/grc/Makefile.am b/gr-vocoder/grc/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/grc/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/include/.gitignore b/gr-vocoder/include/.gitignore new file mode 100644 index 000000000..b336cc7ce --- /dev/null +++ b/gr-vocoder/include/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/Makefile.in diff --git a/gr-vocoder/include/Makefile.am b/gr-vocoder/include/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/include/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/lib/.gitignore b/gr-vocoder/lib/.gitignore new file mode 100644 index 000000000..d2e2e9ce8 --- /dev/null +++ b/gr-vocoder/lib/.gitignore @@ -0,0 +1,7 @@ +/Makefile +/Makefile.in +/.libs +/.deps +/gnuradio +/guile +/python diff --git a/gr-vocoder/lib/Makefile.am b/gr-vocoder/lib/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/lib/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/python/.gitignore b/gr-vocoder/python/.gitignore new file mode 100644 index 000000000..604b402c5 --- /dev/null +++ b/gr-vocoder/python/.gitignore @@ -0,0 +1,3 @@ +/Makefile +/Makefile.in +/run_tests diff --git a/gr-vocoder/python/Makefile.am b/gr-vocoder/python/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/python/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = diff --git a/gr-vocoder/swig/.gitignore b/gr-vocoder/swig/.gitignore new file mode 100644 index 000000000..b336cc7ce --- /dev/null +++ b/gr-vocoder/swig/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/Makefile.in diff --git a/gr-vocoder/swig/Makefile.am b/gr-vocoder/swig/Makefile.am new file mode 100644 index 000000000..b1c7b44d5 --- /dev/null +++ b/gr-vocoder/swig/Makefile.am @@ -0,0 +1,24 @@ +# +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +SUBDIRS = |