2 # Copyright 2001,2002,2004,2006 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 2, 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
24 INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_INCLUDES)
26 noinst_LTLIBRARIES = libgeneral.la libgeneral-qa.la
28 # ----------------------------------------------------------------
29 # these scripts generate code
37 gr_add_const_XX.cc.t \
40 gr_chunks_to_symbols_XX.cc.t \
41 gr_chunks_to_symbols_XX.h.t \
42 gr_chunks_to_symbols_XX.i.t \
49 gr_multiply_const_XX.cc.t \
50 gr_multiply_const_XX.h.t \
51 gr_multiply_const_XX.i.t \
55 gr_noise_source_X.cc.t \
56 gr_noise_source_X.h.t \
57 gr_noise_source_X.i.t \
58 gr_packed_to_unpacked_XX.cc.t \
59 gr_packed_to_unpacked_XX.h.t \
60 gr_packed_to_unpacked_XX.i.t \
61 gr_sig_source_X.cc.t \
67 gr_unpacked_to_packed_XX.cc.t \
68 gr_unpacked_to_packed_XX.h.t \
69 gr_unpacked_to_packed_XX.i.t \
70 gr_vector_source_X.cc.t \
71 gr_vector_source_X.h.t \
72 gr_vector_source_X.i.t \
73 gr_vector_sink_X.cc.t \
74 gr_vector_sink_X.h.t \
77 # include $(srcdir)/Makefile.gen
81 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
82 PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(srcdir)/generate_all.py
85 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
87 # ----------------------------------------------------------------
94 libgeneral_la_SOURCES = \
98 gr_align_on_samplenumbers_ss.cc \
99 gr_binary_slicer_fb.cc \
100 gr_bytes_to_syms.cc \
101 gr_char_to_float.cc \
102 gr_check_counting_s.cc \
103 gr_check_lfsr_32k_s.cc \
104 gr_circular_file.cc \
105 gr_clock_recovery_mm_cc.cc \
106 gr_clock_recovery_mm_ff.cc \
107 gr_complex_to_interleaved_short.cc \
108 gr_complex_to_xxx.cc \
110 gr_constellation_decoder_cb.cc \
111 gr_correlate_access_code_bb.cc \
112 gr_costas_loop_cc.cc \
115 gr_ctcss_squelch_ff.cc \
116 gr_dd_mpsk_sync_cc.cc \
118 gr_diff_decoder_bb.cc \
119 gr_diff_encoder_bb.cc \
120 gr_diff_phasor_cc.cc \
121 gr_fake_channel_coder_pp.cc \
127 gr_float_to_char.cc \
128 gr_float_to_complex.cc \
129 gr_float_to_short.cc \
130 gr_float_to_uchar.cc \
131 gr_frequency_modulator_fc.cc \
133 gr_framer_sink_1.cc \
136 gr_interleaved_short_to_complex.cc \
137 gr_keep_one_in_n.cc \
139 gr_lfsr_32k_source_s.cc \
149 gr_pa_2x2_phase_combiner.cc \
151 gr_phase_modulator_fc.cc \
152 gr_pll_carriertracking_cc.cc \
153 gr_pll_freqdet_cf.cc \
154 gr_pll_refout_cc.cc \
157 gr_probe_avg_mag_sqrd_c.cc \
158 gr_probe_avg_mag_sqrd_f.cc \
159 gr_probe_signal_f.cc \
160 gr_pwr_squelch_cc.cc \
161 gr_pwr_squelch_ff.cc \
162 gr_quadrature_demod_cf.cc \
168 gr_short_to_float.cc \
169 gr_simple_correlator.cc \
170 gr_simple_framer.cc \
171 gr_simple_squelch_cc.cc \
173 gr_squelch_base_cc.cc \
174 gr_squelch_base_ff.cc \
175 gr_stream_to_streams.cc \
176 gr_stream_to_vector.cc \
177 gr_streams_to_stream.cc \
178 gr_streams_to_vector.cc \
180 gr_sync_decimator.cc \
181 gr_sync_interpolator.cc \
185 gr_uchar_to_float.cc \
187 gr_vector_to_stream.cc \
188 gr_vector_to_streams.cc \
189 gri_add_const_ss_generic.cc \
190 gri_char_to_float.cc \
191 gri_debugger_hook.cc \
193 gri_float_to_char.cc \
194 gri_float_to_short.cc \
195 gri_float_to_uchar.cc \
196 gri_interleaved_short_to_complex.cc \
197 gri_short_to_float.cc \
198 gri_uchar_to_float.cc \
200 gr_unpack_k_bits_bb.cc
202 libgeneral_qa_la_SOURCES = \
204 qa_gr_circular_file.cc \
212 grinclude_HEADERS = \
216 gr_align_on_samplenumbers_ss.h \
217 gr_binary_slicer_fb.h \
220 gr_check_counting_s.h \
221 gr_check_lfsr_32k_s.h \
223 gr_clock_recovery_mm_cc.h \
224 gr_clock_recovery_mm_ff.h \
225 gr_complex_to_interleaved_short.h \
226 gr_complex_to_xxx.h \
228 gr_constellation_decoder_cb.h \
229 gr_correlate_access_code_bb.h \
230 gr_costas_loop_cc.h \
233 gr_ctcss_squelch_ff.h \
234 gr_dd_mpsk_sync_cc.h \
235 gr_diff_decoder_bb.h \
236 gr_diff_encoder_bb.h \
238 gr_diff_phasor_cc.h \
241 gr_fake_channel_coder_pp.h \
247 gr_float_to_complex.h \
248 gr_float_to_short.h \
249 gr_float_to_uchar.h \
251 gr_frequency_modulator_fc.h \
257 gr_interleaved_short_to_complex.h \
260 gr_lfsr_32k_source_s.h \
273 gr_pa_2x2_phase_combiner.h \
275 gr_phase_modulator_fc.h \
276 gr_pll_carriertracking_cc.h \
277 gr_pll_freqdet_cf.h \
281 gr_probe_avg_mag_sqrd_c.h \
282 gr_probe_avg_mag_sqrd_f.h \
283 gr_probe_signal_f.h \
284 gr_pwr_squelch_cc.h \
285 gr_pwr_squelch_ff.h \
286 gr_quadrature_demod_cf.h \
292 gr_short_to_float.h \
293 gr_sig_source_waveform.h \
294 gr_simple_correlator.h \
296 gr_simple_framer_sync.h \
297 gr_simple_squelch_cc.h \
299 gr_squelch_base_cc.h \
300 gr_squelch_base_ff.h \
301 gr_stream_to_streams.h \
302 gr_stream_to_vector.h \
303 gr_streams_to_stream.h \
304 gr_streams_to_vector.h \
306 gr_sync_decimator.h \
307 gr_sync_interpolator.h \
312 gr_uchar_to_float.h \
315 gr_vector_to_stream.h \
316 gr_vector_to_streams.h \
320 gri_char_to_float.h \
321 gri_debugger_hook.h \
323 gri_float_to_char.h \
324 gri_float_to_short.h \
325 gri_float_to_uchar.h \
326 gri_interleaved_short_to_complex.h \
329 gri_short_to_float.h \
330 gri_uchar_to_float.h \
333 gr_unpack_k_bits_bb.h
338 qa_gr_circular_file.h \
345 swiginclude_HEADERS = \
348 general_generated.i \
351 gr_align_on_samplenumbers_ss.i \
352 gr_binary_slicer_fb.i \
355 gr_check_counting_s.i \
356 gr_check_lfsr_32k_s.i \
357 gr_clock_recovery_mm_cc.i \
358 gr_clock_recovery_mm_ff.i \
359 gr_complex_to_interleaved_short.i \
360 gr_complex_to_xxx.i \
362 gr_constellation_decoder_cb.i \
363 gr_correlate_access_code_bb.i \
364 gr_costas_loop_cc.i \
366 gr_ctcss_squelch_ff.i \
367 gr_dd_mpsk_sync_cc.i \
368 gr_diff_decoder_bb.i \
369 gr_diff_encoder_bb.i \
370 gr_diff_phasor_cc.i \
373 gr_fake_channel_coder_pp.i \
379 gr_float_to_complex.i \
380 gr_float_to_short.i \
381 gr_float_to_uchar.i \
382 gr_frequency_modulator_fc.i \
386 gr_interleaved_short_to_complex.i \
389 gr_lfsr_32k_source_s.i \
397 gr_pa_2x2_phase_combiner.i \
399 gr_phase_modulator_fc.i \
400 gr_pll_carriertracking_cc.i \
401 gr_pll_freqdet_cf.i \
405 gr_probe_avg_mag_sqrd_c.i \
406 gr_probe_avg_mag_sqrd_f.i \
407 gr_probe_signal_f.i \
408 gr_pwr_squelch_cc.i \
409 gr_pwr_squelch_ff.i \
410 gr_quadrature_demod_cf.i \
414 gr_short_to_float.i \
415 gr_simple_correlator.i \
417 gr_simple_squelch_cc.i \
419 gr_squelch_base_cc.i \
420 gr_squelch_base_ff.i \
421 gr_stream_to_streams.i \
422 gr_stream_to_vector.i \
423 gr_streams_to_stream.i \
424 gr_streams_to_vector.i \
426 gr_sync_decimator.i \
427 gr_sync_interpolator.i \
431 gr_uchar_to_float.i \
433 gr_vector_to_stream.i \
434 gr_vector_to_streams.i \
437 gr_unpack_k_bits_bb.i
440 CLEANFILES = $(BUILT_SOURCES) *.pyc