Imported Upstream version 3.0
[debian/gnuradio] / gnuradio-core / src / tests / Makefile.am
1 #
2 # Copyright 2001 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 2, 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 include $(top_srcdir)/Makefile.common
23
24 INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_INCLUDES)
25
26 # list of programs run by "make check" and "make distcheck"
27
28 TESTS = test_all
29
30
31 #       test_atsc               
32
33 #Test program to test setting up buffers using gr_test which can be run manually
34 EXTRA_DIST =                            \
35         test_buffers.py
36         
37 noinst_PROGRAMS         =       \
38         benchmark_dotprod       \
39         benchmark_dotprod_fsf   \
40         benchmark_dotprod_fcc   \
41         benchmark_dotprod_scc   \
42         benchmark_dotprod_ccc   \
43         benchmark_dotprod_ccf   \
44         benchmark_nco           \
45         benchmark_vco           \
46         test_runtime            \
47         test_general            \
48         test_all                \
49         test_filter             \
50         test_vmcircbuf
51
52
53 LIBGNURADIO =   $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core.la
54 LIBGNURADIOQA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la $(LIBGNURADIO)
55
56 benchmark_dotprod_SOURCES = benchmark_dotprod.cc
57 benchmark_dotprod_LDADD   = $(LIBGNURADIO)
58
59 benchmark_dotprod_fsf_SOURCES = benchmark_dotprod_fsf.cc
60 benchmark_dotprod_fsf_LDADD   = $(LIBGNURADIO)
61
62 benchmark_dotprod_ccf_SOURCES = benchmark_dotprod_ccf.cc
63 benchmark_dotprod_ccf_LDADD   = $(LIBGNURADIO)
64
65 benchmark_dotprod_fcc_SOURCES = benchmark_dotprod_fcc.cc
66 benchmark_dotprod_fcc_LDADD   = $(LIBGNURADIO)
67
68 benchmark_dotprod_scc_SOURCES = benchmark_dotprod_scc.cc
69 benchmark_dotprod_scc_LDADD   = $(LIBGNURADIO)
70
71 benchmark_dotprod_ccc_SOURCES = benchmark_dotprod_ccc.cc
72 benchmark_dotprod_ccc_LDADD   = $(LIBGNURADIO)
73
74 benchmark_nco_SOURCES   = benchmark_nco.cc
75 benchmark_nco_LDADD     = $(LIBGNURADIO)
76
77 benchmark_vco_SOURCES   = benchmark_vco.cc
78 benchmark_vco_LDADD     = $(LIBGNURADIO)
79
80 test_runtime_SOURCES    = test_runtime.cc
81 test_runtime_LDADD      = $(LIBGNURADIOQA)
82
83 test_general_SOURCES    = test_general.cc
84 test_general_LDADD      = $(LIBGNURADIOQA)
85
86 test_filter_SOURCES     = test_filter.cc
87 test_filter_LDADD       = $(LIBGNURADIOQA)
88
89 # test_atsc_SOURCES     = test_atsc.cc
90 #test_atsc_LDADD        = $(LIBGNURADIOQA)
91
92 test_vmcircbuf_SOURCES  = test_vmcircbuf.cc
93 test_vmcircbuf_LDADD    = $(LIBGNURADIOQA)
94
95 test_all_SOURCES        = test_all.cc
96 test_all_LDADD          = $(LIBGNURADIOQA)