Imported Upstream version 3.2.2
[debian/gnuradio] / gnuradio-core / src / tests / Makefile.am
1 #
2 # Copyright 2001,2008 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
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 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_INCLUDES) $(WITH_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         benchmark_dotprod
37
38
39 noinst_PROGRAMS         =       \
40         benchmark_dotprod_fff   \
41         benchmark_dotprod_fsf   \
42         benchmark_dotprod_fcc   \
43         benchmark_dotprod_scc   \
44         benchmark_dotprod_ccc   \
45         benchmark_dotprod_ccf   \
46         benchmark_nco           \
47         benchmark_vco           \
48         test_all                \
49         test_runtime            \
50         test_general            \
51         test_filter             \
52         test_vmcircbuf
53
54 #bin_PROGRAMS = \
55 #       test_all
56
57
58 noinst_SCRIPTS = \
59         benchmark_dotprod
60
61
62 LIBGNURADIO =   $(GNURADIO_CORE_LA)
63 LIBGNURADIOQA = $(top_builddir)/gnuradio-core/src/lib/libgnuradio-core-qa.la $(LIBGNURADIO)
64
65 benchmark_dotprod_fff_SOURCES = benchmark_dotprod_fff.cc
66 benchmark_dotprod_fff_LDADD   = $(LIBGNURADIO)
67
68 benchmark_dotprod_fsf_SOURCES = benchmark_dotprod_fsf.cc
69 benchmark_dotprod_fsf_LDADD   = $(LIBGNURADIO)
70
71 benchmark_dotprod_ccf_SOURCES = benchmark_dotprod_ccf.cc
72 benchmark_dotprod_ccf_LDADD   = $(LIBGNURADIO)
73
74 benchmark_dotprod_fcc_SOURCES = benchmark_dotprod_fcc.cc
75 benchmark_dotprod_fcc_LDADD   = $(LIBGNURADIO)
76
77 benchmark_dotprod_scc_SOURCES = benchmark_dotprod_scc.cc
78 benchmark_dotprod_scc_LDADD   = $(LIBGNURADIO)
79
80 benchmark_dotprod_ccc_SOURCES = benchmark_dotprod_ccc.cc
81 benchmark_dotprod_ccc_LDADD   = $(LIBGNURADIO)
82
83 benchmark_nco_SOURCES   = benchmark_nco.cc
84 benchmark_nco_LDADD     = $(LIBGNURADIO)
85
86 benchmark_vco_SOURCES   = benchmark_vco.cc
87 benchmark_vco_LDADD     = $(LIBGNURADIO)
88
89 test_runtime_SOURCES    = test_runtime.cc
90 test_runtime_LDADD      = $(LIBGNURADIOQA)
91
92 test_general_SOURCES    = test_general.cc
93 test_general_LDADD      = $(LIBGNURADIOQA)
94
95 test_filter_SOURCES     = test_filter.cc
96 test_filter_LDADD       = $(LIBGNURADIOQA)
97
98 # test_atsc_SOURCES     = test_atsc.cc
99 #test_atsc_LDADD        = $(LIBGNURADIOQA)
100
101 test_vmcircbuf_SOURCES  = test_vmcircbuf.cc
102 test_vmcircbuf_LDADD    = $(LIBGNURADIOQA)
103
104 test_all_SOURCES        = test_all.cc
105 test_all_LDADD          = $(LIBGNURADIOQA)