2 # Copyright 2001,2002,2004,2005,2006,2007,2008 Free Software Foundation, Inc.
4 # This file is part of GNU Radio
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)
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.
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.
22 include $(top_srcdir)/Makefile.common
25 # This directory contains mostly filter routines, plus a few
26 # other performance critical items
29 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_INCLUDES) $(WITH_INCLUDES)
31 noinst_LTLIBRARIES = libfilter.la libfilter-qa.la
33 # ----------------------------------------------------------------
34 # these scripts generate FIR code
39 generate_gr_fir_XXX.py \
40 generate_gr_fir_filter_XXX.py \
41 generate_gr_interp_fir_filter_XXX.py \
42 generate_gr_rational_resampler_base_XXX.py \
43 generate_gr_fir_sysconfig.py \
44 generate_gr_fir_sysconfig_generic.py \
45 generate_gr_fir_util.py \
46 generate_gr_freq_xlating_fir_filter_XXX.py \
50 gr_fir_XXX_generic.cc.t \
51 gr_fir_XXX_generic.h.t \
52 gr_fir_filter_XXX.cc.t \
53 gr_fir_filter_XXX.h.t \
54 gr_fir_filter_XXX.i.t \
55 gr_interp_fir_filter_XXX.cc.t \
56 gr_interp_fir_filter_XXX.h.t \
57 gr_interp_fir_filter_XXX.i.t \
58 gr_rational_resampler_base_XXX.cc.t \
59 gr_rational_resampler_base_XXX.h.t \
60 gr_rational_resampler_base_XXX.i.t \
61 gr_freq_xlating_fir_filter_XXX.cc.t \
62 gr_freq_xlating_fir_filter_XXX.h.t \
63 gr_freq_xlating_fir_filter_XXX.i.t
65 include $(srcdir)/Makefile.gen
67 $(srcdir)/Makefile.gen $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
68 PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
69 touch $(srcdir)/Makefile.in
71 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
74 # ----------------------------------------------------------------
75 # MD_CPU and MD_SUBCPU are set at configure time by way of
76 # gnuradio/config/gr_set_md_cpu.m4.
77 # It indicates which set of machine dependent code we should be building.
78 # We currently implement "generic" and "x86"
81 # <foo>_CODE entry for each set of machine specific speedups
92 gr_fir_sysconfig_x86.cc \
109 float_dotprod_sse.S \
110 float_dotprod_3dnow.S \
111 complex_dotprod_3dnowext.S \
112 complex_dotprod_3dnow.S \
113 complex_dotprod_sse.S \
114 ccomplex_dotprod_3dnowext.S \
115 ccomplex_dotprod_3dnow.S \
116 ccomplex_dotprod_sse.S \
117 fcomplex_dotprod_3dnow.S \
118 fcomplex_dotprod_sse.S \
119 short_dotprod_mmx.S \
123 float_dotprod_sse64.S \
124 float_dotprod_3dnow64.S \
125 complex_dotprod_3dnowext64.S \
126 complex_dotprod_3dnow64.S \
127 complex_dotprod_sse64.S \
128 ccomplex_dotprod_3dnowext64.S \
129 ccomplex_dotprod_3dnow64.S \
130 ccomplex_dotprod_sse64.S \
131 fcomplex_dotprod_3dnow64.S \
132 fcomplex_dotprod_sse64.S \
133 short_dotprod_mmx64.S \
138 qa_float_dotprod_x86.cc \
139 qa_complex_dotprod_x86.cc \
140 qa_ccomplex_dotprod_x86.cc
143 # include each <foo>_CODE entry here...
145 EXTRA_libfilter_la_SOURCES = \
155 3dnow_float_dotprod_really_simple.S \
156 3dnow_float_dotprod_simple.S \
160 # work around automake deficiency
161 libfilter_la_common_SOURCES = \
163 gr_adaptive_fir_ccf.cc \
164 gr_cma_equalizer_cc.cc \
165 gr_fft_filter_ccc.cc \
166 gr_fft_filter_fff.cc \
168 gr_filter_delay_fc.cc \
169 gr_fractional_interpolator_ff.cc \
170 gr_fractional_interpolator_cc.cc \
172 gr_iir_filter_ffd.cc \
174 gr_single_pole_iir_filter_ff.cc \
175 gr_single_pole_iir_filter_cc.cc \
177 gri_mmse_fir_interpolator.cc \
178 gri_mmse_fir_interpolator_cc.cc \
179 complex_dotprod_generic.cc \
180 ccomplex_dotprod_generic.cc \
181 float_dotprod_generic.c \
182 short_dotprod_generic.c
184 libfilter_qa_la_common_SOURCES = \
191 qa_gri_mmse_fir_interpolator.cc \
192 qa_gri_mmse_fir_interpolator_cc.cc
195 libfilter_la_SOURCES = $(libfilter_la_common_SOURCES) $(generic_CODE)
196 libfilter_qa_la_SOURCES = $(libfilter_qa_la_common_SOURCES) $(generic_qa_CODE)
201 libfilter_la_SOURCES = $(libfilter_la_common_SOURCES) $(x86_64_SUBCODE) $(x86_CODE)
203 libfilter_la_SOURCES = $(libfilter_la_common_SOURCES) $(x86_SUBCODE) $(x86_CODE)
206 libfilter_qa_la_SOURCES = $(libfilter_qa_la_common_SOURCES) $(x86_qa_CODE)
210 grinclude_HEADERS = \
212 complex_dotprod_generic.h \
213 complex_dotprod_x86.h \
214 fcomplex_dotprod_x86.h \
215 ccomplex_dotprod_generic.h \
216 ccomplex_dotprod_x86.h \
217 float_dotprod_generic.h \
218 float_dotprod_x86.h \
219 gr_adaptive_fir_ccf.h \
220 gr_cma_equalizer_cc.h \
222 gr_fft_filter_ccc.h \
223 gr_fft_filter_fff.h \
224 gr_filter_delay_fc.h \
225 gr_fir_sysconfig_x86.h \
226 gr_fractional_interpolator_ff.h \
227 gr_fractional_interpolator_cc.h \
230 gr_iir_filter_ffd.h \
233 gr_single_pole_iir.h \
234 gr_single_pole_iir_filter_ff.h \
235 gr_single_pole_iir_filter_cc.h \
238 gri_mmse_fir_interpolator.h \
239 gri_mmse_fir_interpolator_cc.h \
241 short_dotprod_generic.h \
242 short_dotprod_x86.h \
259 interpolator_taps.h \
260 qa_complex_dotprod_x86.h \
261 qa_ccomplex_dotprod_x86.h \
263 qa_float_dotprod_x86.h \
269 qa_gri_mmse_fir_interpolator.h \
270 qa_gri_mmse_fir_interpolator_cc.h
274 swiginclude_HEADERS = \
277 gr_adaptive_fir_ccf.i \
278 gr_cma_equalizer_cc.i \
279 gr_fft_filter_ccc.i \
280 gr_fft_filter_fff.i \
281 gr_filter_delay_fc.i \
282 gr_fractional_interpolator_ff.i \
283 gr_fractional_interpolator_cc.i \
286 gr_iir_filter_ffd.i \
287 gr_single_pole_iir_filter_ff.i \
288 gr_single_pole_iir_filter_cc.i \
292 CLEANFILES = $(BUILT_SOURCES) *.pyc