2 # Copyright 2001,2002,2004,2006,2007 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 \
43 gr_add_const_vXX.cc.t \
44 gr_add_const_vXX.h.t \
45 gr_add_const_vXX.i.t \
46 gr_chunks_to_symbols_XX.cc.t \
47 gr_chunks_to_symbols_XX.h.t \
48 gr_chunks_to_symbols_XX.i.t \
55 gr_multiply_const_XX.cc.t \
56 gr_multiply_const_XX.h.t \
57 gr_multiply_const_XX.i.t \
58 gr_multiply_vXX.cc.t \
61 gr_multiply_const_vXX.cc.t \
62 gr_multiply_const_vXX.h.t \
63 gr_multiply_const_vXX.i.t \
67 gr_noise_source_X.cc.t \
68 gr_noise_source_X.h.t \
69 gr_noise_source_X.i.t \
70 gr_packed_to_unpacked_XX.cc.t \
71 gr_packed_to_unpacked_XX.h.t \
72 gr_packed_to_unpacked_XX.i.t \
73 gr_sig_source_X.cc.t \
79 gr_unpacked_to_packed_XX.cc.t \
80 gr_unpacked_to_packed_XX.h.t \
81 gr_unpacked_to_packed_XX.i.t \
82 gr_vector_source_X.cc.t \
83 gr_vector_source_X.h.t \
84 gr_vector_source_X.i.t \
85 gr_vector_sink_X.cc.t \
86 gr_vector_sink_X.h.t \
89 # include $(srcdir)/Makefile.gen
93 $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
94 PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
97 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
99 # ----------------------------------------------------------------
106 libgeneral_la_SOURCES = \
112 gr_align_on_samplenumbers_ss.cc \
113 gr_binary_slicer_fb.cc \
114 gr_bytes_to_syms.cc \
115 gr_char_to_float.cc \
116 gr_check_counting_s.cc \
117 gr_check_lfsr_32k_s.cc \
118 gr_circular_file.cc \
119 gr_clock_recovery_mm_cc.cc \
120 gr_clock_recovery_mm_ff.cc \
121 gr_complex_to_interleaved_short.cc \
122 gr_complex_to_xxx.cc \
124 gr_constellation_decoder_cb.cc \
125 gr_correlate_access_code_bb.cc \
126 gr_costas_loop_cc.cc \
129 gr_ctcss_squelch_ff.cc \
130 gr_dd_mpsk_sync_cc.cc \
132 gr_diff_decoder_bb.cc \
133 gr_diff_encoder_bb.cc \
134 gr_diff_phasor_cc.cc \
135 gr_fake_channel_coder_pp.cc \
137 gr_feedforward_agc_cc.cc \
142 gr_float_to_char.cc \
143 gr_float_to_complex.cc \
144 gr_float_to_short.cc \
145 gr_float_to_uchar.cc \
146 gr_frequency_modulator_fc.cc \
148 gr_framer_sink_1.cc \
151 gr_interleaved_short_to_complex.cc \
152 gr_keep_one_in_n.cc \
154 gr_lfsr_32k_source_s.cc \
164 gr_pa_2x2_phase_combiner.cc \
166 gr_phase_modulator_fc.cc \
167 gr_pll_carriertracking_cc.cc \
168 gr_pll_freqdet_cf.cc \
169 gr_pll_refout_cc.cc \
172 gr_probe_avg_mag_sqrd_c.cc \
173 gr_probe_avg_mag_sqrd_f.cc \
174 gr_probe_signal_f.cc \
175 gr_pwr_squelch_cc.cc \
176 gr_pwr_squelch_ff.cc \
177 gr_quadrature_demod_cf.cc \
183 gr_short_to_float.cc \
184 gr_simple_correlator.cc \
185 gr_simple_framer.cc \
186 gr_simple_squelch_cc.cc \
188 gr_squelch_base_cc.cc \
189 gr_squelch_base_ff.cc \
190 gr_stream_to_streams.cc \
191 gr_stream_to_vector.cc \
192 gr_streams_to_stream.cc \
193 gr_streams_to_vector.cc \
195 gr_sync_decimator.cc \
196 gr_sync_interpolator.cc \
200 gr_uchar_to_float.cc \
202 gr_vector_to_stream.cc \
203 gr_vector_to_streams.cc \
204 gri_add_const_ss_generic.cc \
205 gri_char_to_float.cc \
206 gri_debugger_hook.cc \
208 gri_float_to_char.cc \
209 gri_float_to_short.cc \
210 gri_float_to_uchar.cc \
211 gri_interleaved_short_to_complex.cc \
212 gri_short_to_float.cc \
213 gri_uchar_to_float.cc \
215 gr_unpack_k_bits_bb.cc
217 libgeneral_qa_la_SOURCES = \
219 qa_gr_circular_file.cc \
227 grinclude_HEADERS = \
233 gr_align_on_samplenumbers_ss.h \
234 gr_binary_slicer_fb.h \
237 gr_check_counting_s.h \
238 gr_check_lfsr_32k_s.h \
240 gr_clock_recovery_mm_cc.h \
241 gr_clock_recovery_mm_ff.h \
242 gr_complex_to_interleaved_short.h \
243 gr_complex_to_xxx.h \
245 gr_constellation_decoder_cb.h \
246 gr_correlate_access_code_bb.h \
247 gr_costas_loop_cc.h \
250 gr_ctcss_squelch_ff.h \
251 gr_dd_mpsk_sync_cc.h \
252 gr_diff_decoder_bb.h \
253 gr_diff_encoder_bb.h \
255 gr_diff_phasor_cc.h \
258 gr_fake_channel_coder_pp.h \
259 gr_feedforward_agc_cc.h \
265 gr_float_to_complex.h \
266 gr_float_to_short.h \
267 gr_float_to_uchar.h \
269 gr_frequency_modulator_fc.h \
275 gr_interleaved_short_to_complex.h \
278 gr_lfsr_32k_source_s.h \
291 gr_pa_2x2_phase_combiner.h \
293 gr_phase_modulator_fc.h \
294 gr_pll_carriertracking_cc.h \
295 gr_pll_freqdet_cf.h \
299 gr_probe_avg_mag_sqrd_c.h \
300 gr_probe_avg_mag_sqrd_f.h \
301 gr_probe_signal_f.h \
302 gr_pwr_squelch_cc.h \
303 gr_pwr_squelch_ff.h \
304 gr_quadrature_demod_cf.h \
310 gr_short_to_float.h \
311 gr_sig_source_waveform.h \
312 gr_simple_correlator.h \
314 gr_simple_framer_sync.h \
315 gr_simple_squelch_cc.h \
317 gr_squelch_base_cc.h \
318 gr_squelch_base_ff.h \
319 gr_stream_to_streams.h \
320 gr_stream_to_vector.h \
321 gr_streams_to_stream.h \
322 gr_streams_to_vector.h \
324 gr_sync_decimator.h \
325 gr_sync_interpolator.h \
330 gr_uchar_to_float.h \
333 gr_vector_to_stream.h \
334 gr_vector_to_streams.h \
340 gri_char_to_float.h \
341 gri_debugger_hook.h \
343 gri_float_to_char.h \
344 gri_float_to_short.h \
345 gri_float_to_uchar.h \
346 gri_interleaved_short_to_complex.h \
349 gri_short_to_float.h \
350 gri_uchar_to_float.h \
353 gr_unpack_k_bits_bb.h
358 qa_gr_circular_file.h \
365 swiginclude_HEADERS = \
368 general_generated.i \
373 gr_align_on_samplenumbers_ss.i \
374 gr_binary_slicer_fb.i \
377 gr_check_counting_s.i \
378 gr_check_lfsr_32k_s.i \
379 gr_clock_recovery_mm_cc.i \
380 gr_clock_recovery_mm_ff.i \
381 gr_complex_to_interleaved_short.i \
382 gr_complex_to_xxx.i \
384 gr_constellation_decoder_cb.i \
385 gr_correlate_access_code_bb.i \
386 gr_costas_loop_cc.i \
388 gr_ctcss_squelch_ff.i \
389 gr_dd_mpsk_sync_cc.i \
390 gr_diff_decoder_bb.i \
391 gr_diff_encoder_bb.i \
392 gr_diff_phasor_cc.i \
395 gr_fake_channel_coder_pp.i \
396 gr_feedforward_agc_cc.i \
402 gr_float_to_complex.i \
403 gr_float_to_short.i \
404 gr_float_to_uchar.i \
405 gr_frequency_modulator_fc.i \
409 gr_interleaved_short_to_complex.i \
412 gr_lfsr_32k_source_s.i \
420 gr_pa_2x2_phase_combiner.i \
422 gr_phase_modulator_fc.i \
423 gr_pll_carriertracking_cc.i \
424 gr_pll_freqdet_cf.i \
428 gr_probe_avg_mag_sqrd_c.i \
429 gr_probe_avg_mag_sqrd_f.i \
430 gr_probe_signal_f.i \
431 gr_pwr_squelch_cc.i \
432 gr_pwr_squelch_ff.i \
433 gr_quadrature_demod_cf.i \
437 gr_short_to_float.i \
438 gr_simple_correlator.i \
440 gr_simple_squelch_cc.i \
442 gr_squelch_base_cc.i \
443 gr_squelch_base_ff.i \
444 gr_stream_to_streams.i \
445 gr_stream_to_vector.i \
446 gr_streams_to_stream.i \
447 gr_streams_to_vector.i \
449 gr_sync_decimator.i \
450 gr_sync_interpolator.i \
454 gr_uchar_to_float.i \
456 gr_vector_to_stream.i \
457 gr_vector_to_streams.i \
458 gr_unpack_k_bits_bb.i \
465 CLEANFILES = $(BUILT_SOURCES) *.pyc