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 = \
100 gr_align_on_samplenumbers_ss.cc \
101 gr_binary_slicer_fb.cc \
102 gr_bytes_to_syms.cc \
103 gr_char_to_float.cc \
104 gr_check_counting_s.cc \
105 gr_check_lfsr_32k_s.cc \
106 gr_circular_file.cc \
107 gr_clock_recovery_mm_cc.cc \
108 gr_clock_recovery_mm_ff.cc \
109 gr_complex_to_interleaved_short.cc \
110 gr_complex_to_xxx.cc \
112 gr_constellation_decoder_cb.cc \
113 gr_correlate_access_code_bb.cc \
114 gr_costas_loop_cc.cc \
117 gr_ctcss_squelch_ff.cc \
118 gr_dd_mpsk_sync_cc.cc \
120 gr_diff_decoder_bb.cc \
121 gr_diff_encoder_bb.cc \
122 gr_diff_phasor_cc.cc \
123 gr_fake_channel_coder_pp.cc \
125 gr_feedforward_agc_cc.cc \
130 gr_float_to_char.cc \
131 gr_float_to_complex.cc \
132 gr_float_to_short.cc \
133 gr_float_to_uchar.cc \
134 gr_frequency_modulator_fc.cc \
136 gr_framer_sink_1.cc \
139 gr_interleaved_short_to_complex.cc \
140 gr_keep_one_in_n.cc \
142 gr_lfsr_32k_source_s.cc \
152 gr_pa_2x2_phase_combiner.cc \
154 gr_phase_modulator_fc.cc \
155 gr_pll_carriertracking_cc.cc \
156 gr_pll_freqdet_cf.cc \
157 gr_pll_refout_cc.cc \
160 gr_probe_avg_mag_sqrd_c.cc \
161 gr_probe_avg_mag_sqrd_f.cc \
162 gr_probe_signal_f.cc \
163 gr_pwr_squelch_cc.cc \
164 gr_pwr_squelch_ff.cc \
165 gr_quadrature_demod_cf.cc \
171 gr_short_to_float.cc \
172 gr_simple_correlator.cc \
173 gr_simple_framer.cc \
174 gr_simple_squelch_cc.cc \
176 gr_squelch_base_cc.cc \
177 gr_squelch_base_ff.cc \
178 gr_stream_to_streams.cc \
179 gr_stream_to_vector.cc \
180 gr_streams_to_stream.cc \
181 gr_streams_to_vector.cc \
183 gr_sync_decimator.cc \
184 gr_sync_interpolator.cc \
188 gr_uchar_to_float.cc \
190 gr_vector_to_stream.cc \
191 gr_vector_to_streams.cc \
192 gri_add_const_ss_generic.cc \
193 gri_char_to_float.cc \
194 gri_debugger_hook.cc \
196 gri_float_to_char.cc \
197 gri_float_to_short.cc \
198 gri_float_to_uchar.cc \
199 gri_interleaved_short_to_complex.cc \
200 gri_short_to_float.cc \
201 gri_uchar_to_float.cc \
203 gr_unpack_k_bits_bb.cc
205 libgeneral_qa_la_SOURCES = \
207 qa_gr_circular_file.cc \
215 grinclude_HEADERS = \
221 gr_align_on_samplenumbers_ss.h \
222 gr_binary_slicer_fb.h \
225 gr_check_counting_s.h \
226 gr_check_lfsr_32k_s.h \
228 gr_clock_recovery_mm_cc.h \
229 gr_clock_recovery_mm_ff.h \
230 gr_complex_to_interleaved_short.h \
231 gr_complex_to_xxx.h \
233 gr_constellation_decoder_cb.h \
234 gr_correlate_access_code_bb.h \
235 gr_costas_loop_cc.h \
238 gr_ctcss_squelch_ff.h \
239 gr_dd_mpsk_sync_cc.h \
240 gr_diff_decoder_bb.h \
241 gr_diff_encoder_bb.h \
243 gr_diff_phasor_cc.h \
246 gr_fake_channel_coder_pp.h \
247 gr_feedforward_agc_cc.h \
253 gr_float_to_complex.h \
254 gr_float_to_short.h \
255 gr_float_to_uchar.h \
257 gr_frequency_modulator_fc.h \
263 gr_interleaved_short_to_complex.h \
266 gr_lfsr_32k_source_s.h \
279 gr_pa_2x2_phase_combiner.h \
281 gr_phase_modulator_fc.h \
282 gr_pll_carriertracking_cc.h \
283 gr_pll_freqdet_cf.h \
287 gr_probe_avg_mag_sqrd_c.h \
288 gr_probe_avg_mag_sqrd_f.h \
289 gr_probe_signal_f.h \
290 gr_pwr_squelch_cc.h \
291 gr_pwr_squelch_ff.h \
292 gr_quadrature_demod_cf.h \
298 gr_short_to_float.h \
299 gr_sig_source_waveform.h \
300 gr_simple_correlator.h \
302 gr_simple_framer_sync.h \
303 gr_simple_squelch_cc.h \
305 gr_squelch_base_cc.h \
306 gr_squelch_base_ff.h \
307 gr_stream_to_streams.h \
308 gr_stream_to_vector.h \
309 gr_streams_to_stream.h \
310 gr_streams_to_vector.h \
312 gr_sync_decimator.h \
313 gr_sync_interpolator.h \
318 gr_uchar_to_float.h \
321 gr_vector_to_stream.h \
322 gr_vector_to_streams.h \
328 gri_char_to_float.h \
329 gri_debugger_hook.h \
331 gri_float_to_char.h \
332 gri_float_to_short.h \
333 gri_float_to_uchar.h \
334 gri_interleaved_short_to_complex.h \
337 gri_short_to_float.h \
338 gri_uchar_to_float.h \
341 gr_unpack_k_bits_bb.h
346 qa_gr_circular_file.h \
353 swiginclude_HEADERS = \
356 general_generated.i \
361 gr_align_on_samplenumbers_ss.i \
362 gr_binary_slicer_fb.i \
365 gr_check_counting_s.i \
366 gr_check_lfsr_32k_s.i \
367 gr_clock_recovery_mm_cc.i \
368 gr_clock_recovery_mm_ff.i \
369 gr_complex_to_interleaved_short.i \
370 gr_complex_to_xxx.i \
372 gr_constellation_decoder_cb.i \
373 gr_correlate_access_code_bb.i \
374 gr_costas_loop_cc.i \
376 gr_ctcss_squelch_ff.i \
377 gr_dd_mpsk_sync_cc.i \
378 gr_diff_decoder_bb.i \
379 gr_diff_encoder_bb.i \
380 gr_diff_phasor_cc.i \
383 gr_fake_channel_coder_pp.i \
384 gr_feedforward_agc_cc.i \
390 gr_float_to_complex.i \
391 gr_float_to_short.i \
392 gr_float_to_uchar.i \
393 gr_frequency_modulator_fc.i \
397 gr_interleaved_short_to_complex.i \
400 gr_lfsr_32k_source_s.i \
408 gr_pa_2x2_phase_combiner.i \
410 gr_phase_modulator_fc.i \
411 gr_pll_carriertracking_cc.i \
412 gr_pll_freqdet_cf.i \
416 gr_probe_avg_mag_sqrd_c.i \
417 gr_probe_avg_mag_sqrd_f.i \
418 gr_probe_signal_f.i \
419 gr_pwr_squelch_cc.i \
420 gr_pwr_squelch_ff.i \
421 gr_quadrature_demod_cf.i \
425 gr_short_to_float.i \
426 gr_simple_correlator.i \
428 gr_simple_squelch_cc.i \
430 gr_squelch_base_cc.i \
431 gr_squelch_base_ff.i \
432 gr_stream_to_streams.i \
433 gr_stream_to_vector.i \
434 gr_streams_to_stream.i \
435 gr_streams_to_vector.i \
437 gr_sync_decimator.i \
438 gr_sync_interpolator.i \
442 gr_uchar_to_float.i \
444 gr_vector_to_stream.i \
445 gr_vector_to_streams.i \
446 gr_unpack_k_bits_bb.i \
453 CLEANFILES = $(BUILT_SOURCES) *.pyc