root / gr-gcell / src / Makefile.am @ 99dc38c8
History | View | Annotate | Download (2.6 kB)
| 1 | # |
|---|---|
| 2 | # Copyright 2008,2009,2010 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 along |
| 17 | # with this program; if not, write to the Free Software Foundation, Inc., |
| 18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 19 | # |
| 20 | |
| 21 | include $(top_srcdir)/Makefile.common |
| 22 | |
| 23 | TESTS = |
| 24 | |
| 25 | SUBDIRS = . examples |
| 26 | |
| 27 | AM_CPPFLAGS = $(GCELL_INCLUDES) $(STD_DEFINES_AND_INCLUDES) \ |
| 28 | $(PYTHON_CPPFLAGS) $(WITH_INCLUDES) |
| 29 | |
| 30 | # ---------------------------------------------------------------- |
| 31 | |
| 32 | noinst_PYTHON = \ |
| 33 | qa_fft.py |
| 34 | |
| 35 | DISTCLEANFILES = \ |
| 36 | gcell.d \ |
| 37 | run_tests |
| 38 | |
| 39 | # ---------------------------------------------------------------- |
| 40 | # The C++ blocks |
| 41 | # ---------------------------------------------------------------- |
| 42 | |
| 43 | # the library for the C++ blocks |
| 44 | lib_LTLIBRARIES = libgnuradio_gcell.la |
| 45 | |
| 46 | libgnuradio_gcell_la_SOURCES = \ |
| 47 | gcell_fft_vcc.cc |
| 48 | |
| 49 | # C/C++ headers get installed in ${prefix}/include/gnuradio
|
| 50 | grinclude_HEADERS = \ |
| 51 | gcell_fft_vcc.h |
| 52 | |
| 53 | libgnuradio_gcell_la_LIBADD = \ |
| 54 | $(GNURADIO_CORE_LA) \ |
| 55 | $(GCELL_LA) |
| 56 | |
| 57 | libgnuradio_gcell_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS) |
| 58 | |
| 59 | if PYTHON |
| 60 | # ---------------------------------------------------------------- |
| 61 | # SWIG stuff |
| 62 | # ---------------------------------------------------------------- |
| 63 | EXTRA_DIST = run_tests.in |
| 64 | TESTS += run_tests |
| 65 | |
| 66 | TOP_SWIG_IFILES = \ |
| 67 | gcell.i |
| 68 | |
| 69 | # Install so that they end up available as: |
| 70 | # import gnuradio.gcell |
| 71 | # This ends up at: |
| 72 | # ${prefix}/lib/python${python_version}/site-packages/gnuradio
|
| 73 | gcell_pythondir_category = \ |
| 74 | gnuradio |
| 75 | |
| 76 | # additional arguments to the SWIG command |
| 77 | gcell_swig_args = \ |
| 78 | $(GCELL_INCLUDES) |
| 79 | |
| 80 | # additional libraries for linking with the SWIG-generated library |
| 81 | gcell_la_swig_libadd = \ |
| 82 | libgnuradio_gcell.la |
| 83 | |
| 84 | # additional SWIG files to be installed |
| 85 | gcell_swiginclude_headers = \ |
| 86 | gc_job_manager.i \ |
| 87 | gcell_fft_vcc.i |
| 88 | |
| 89 | include $(top_srcdir)/Makefile.swig |
| 90 | |
| 91 | # add some of the variables generated inside the Makefile.swig.gen |
| 92 | BUILT_SOURCES = $(swig_built_sources) |
| 93 | |
| 94 | # Do not distribute the output of SWIG |
| 95 | no_dist_files = $(swig_built_sources) |
| 96 | endif |