b5f5c346be4083bf52bf6beb07d3538a24ec9ccd
[debian/gnuradio] / gnuradio-core / src / lib / general / Makefile.am
1 #
2 # Copyright 2001,2002,2004,2006,2007,2008,2009 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 noinst_LTLIBRARIES = libgeneral.la libgeneral-qa.la
27
28 BUILT_SOURCES = 
29
30 # ----------------------------------------------------------------
31
32 EXTRA_DIST =                            \
33         gen_sine_table.py               \
34         gr_constants.cc.in                      
35
36 libgeneral_la_SOURCES =                 \
37         gr_additive_scrambler_bb.cc     \
38         gr_agc_cc.cc                    \
39         gr_agc_ff.cc                    \
40         gr_agc2_cc.cc                   \
41         gr_agc2_ff.cc                   \
42         gr_align_on_samplenumbers_ss.cc \
43         gr_bin_statistics_f.cc          \
44         gr_binary_slicer_fb.cc          \
45         gr_bytes_to_syms.cc             \
46         gr_char_to_float.cc             \
47         gr_check_counting_s.cc          \
48         gr_check_lfsr_32k_s.cc          \
49         gr_circular_file.cc             \
50         gr_clock_recovery_mm_cc.cc      \
51         gr_clock_recovery_mm_ff.cc      \
52         gr_complex_to_interleaved_short.cc \
53         gr_complex_to_xxx.cc            \
54         gr_conjugate_cc.cc              \
55         gr_copy.cc                      \
56         gr_constellation_decoder_cb.cc  \
57         gr_correlate_access_code_bb.cc  \
58         gr_costas_loop_cc.cc            \
59         gr_count_bits.cc                \
60         gr_cpfsk_bc.cc                  \
61         gr_crc32.cc                     \
62         gr_ctcss_squelch_ff.cc          \
63         gr_dd_mpsk_sync_cc.cc           \
64         gr_decode_ccsds_27_fb.cc        \
65         gr_deinterleave.cc              \
66         gr_delay.cc                     \
67         gr_diff_decoder_bb.cc           \
68         gr_diff_encoder_bb.cc           \
69         gr_diff_phasor_cc.cc            \
70         gr_dpll_bb.cc                   \
71         gr_encode_ccsds_27_bb.cc        \
72         gr_fake_channel_coder_pp.cc     \
73         gr_fast_atan2f.cc               \
74         gr_feedforward_agc_cc.cc        \
75         gr_feval.cc                     \
76         gr_fft_vcc.cc                   \
77         gr_fft_vcc_fftw.cc              \
78         gr_fft_vfc.cc                   \
79         gr_firdes.cc                    \
80         gr_fll_band_edge_cc.cc          \
81         gr_float_to_char.cc             \
82         gr_float_to_complex.cc          \
83         gr_float_to_short.cc            \
84         gr_float_to_uchar.cc            \
85         gr_fmdet_cf.cc                  \
86         gr_frequency_modulator_fc.cc    \
87         gr_fxpt.cc                      \
88         gr_framer_sink_1.cc             \
89         gr_glfsr_source_b.cc            \
90         gr_glfsr_source_f.cc            \
91         gr_head.cc                      \
92         gr_interleave.cc                \
93         gr_interleaved_short_to_complex.cc \
94         gr_iqcomp_cc.cc                 \
95         gr_keep_one_in_n.cc             \
96         gr_kludge_copy.cc               \
97         gr_lfsr_32k_source_s.cc         \
98         gr_lms_dfe_cc.cc                \
99         gr_lms_dfe_ff.cc                \
100         gr_map_bb.cc                    \
101         gr_math.cc                      \
102         gr_misc.cc                      \
103         gr_mpsk_receiver_cc.cc          \
104         gr_nlog10_ff.cc                 \
105         gr_nop.cc                       \
106         gr_null_sink.cc                 \
107         gr_null_source.cc               \
108         gr_ofdm_frame_acquisition.cc    \
109         gr_ofdm_cyclic_prefixer.cc      \
110         gr_ofdm_demapper_vcb.cc         \
111         gr_ofdm_mapper_bcv.cc           \
112         gr_ofdm_frame_sink.cc           \
113         gr_ofdm_insert_preamble.cc      \
114         gr_ofdm_sampler.cc              \
115         gr_pa_2x2_phase_combiner.cc     \
116         gr_packet_sink.cc               \
117         gr_peak_detector2_fb.cc         \
118         gr_phase_modulator_fc.cc        \
119         gr_pll_carriertracking_cc.cc    \
120         gr_pll_freqdet_cf.cc            \
121         gr_pll_refout_cc.cc             \
122         gr_pn_correlator_cc.cc          \
123         gr_constants.cc                 \
124         gr_prefs.cc                     \
125         gr_probe_avg_mag_sqrd_c.cc      \
126         gr_probe_avg_mag_sqrd_cf.cc     \
127         gr_probe_avg_mag_sqrd_f.cc      \
128         gr_probe_signal_f.cc            \
129         gr_pwr_squelch_cc.cc            \
130         gr_pwr_squelch_ff.cc            \
131         gr_quadrature_demod_cf.cc       \
132         gr_rail_ff.cc                   \
133         gr_random.cc                    \
134         gr_regenerate_bb.cc             \
135         gr_remez.cc                     \
136         gr_repeat.cc                    \
137         gr_reverse.cc                   \
138         gr_rms_cf.cc                    \
139         gr_rms_ff.cc                    \
140         gr_short_to_float.cc            \
141         gr_simple_correlator.cc         \
142         gr_simple_framer.cc             \
143         gr_simple_squelch_cc.cc         \
144         gr_skiphead.cc                  \
145         gr_squash_ff.cc                 \
146         gr_squelch_base_cc.cc           \
147         gr_squelch_base_ff.cc           \
148         gr_stream_mux.cc                \
149         gr_stream_to_streams.cc         \
150         gr_stream_to_vector.cc          \
151         gr_streams_to_stream.cc         \
152         gr_streams_to_vector.cc         \
153         gr_stretch_ff.cc                \
154         gr_test.cc                      \
155         gr_threshold_ff.cc              \
156         gr_throttle.cc                  \
157         gr_uchar_to_float.cc            \
158         gr_vco_f.cc                     \
159         gr_vector_to_stream.cc          \
160         gr_vector_to_streams.cc         \
161         gr_wavelet_ff.cc                \
162         gr_wvps_ff.cc                   \
163         gri_add_const_ss_generic.cc     \
164         gri_char_to_float.cc            \
165         gri_debugger_hook.cc            \
166         gri_fft.cc                      \
167         gri_float_to_char.cc            \
168         gri_float_to_short.cc           \
169         gri_float_to_uchar.cc           \
170         gri_glfsr.cc                    \
171         gri_interleaved_short_to_complex.cc \
172         gri_short_to_float.cc           \
173         gri_uchar_to_float.cc           \
174         malloc16.c                      \
175         gr_unpack_k_bits_bb.cc          \
176         gr_descrambler_bb.cc            \
177         gr_scrambler_bb.cc              \
178         gr_probe_mpsk_snr_c.cc          \
179         gr_probe_density_b.cc
180
181 libgeneral_qa_la_SOURCES =              \
182         qa_general.cc                   \
183         qa_gr_circular_file.cc          \
184         qa_gr_firdes.cc                 \
185         qa_gr_fxpt.cc                   \
186         qa_gr_fxpt_nco.cc               \
187         qa_gr_fxpt_vco.cc               \
188         qa_gr_math.cc                   \
189         qa_gri_lfsr.cc
190
191 grinclude_HEADERS =                     \
192         gr_additive_scrambler_bb.h      \
193         gr_agc_cc.h                     \
194         gr_agc_ff.h                     \
195         gr_agc2_cc.h                    \
196         gr_agc2_ff.h                    \
197         gr_align_on_samplenumbers_ss.h  \
198         gr_bin_statistics_f.h           \
199         gr_binary_slicer_fb.h           \
200         gr_bytes_to_syms.h              \
201         gr_char_to_float.h              \
202         gr_check_counting_s.h           \
203         gr_check_lfsr_32k_s.h           \
204         gr_circular_file.h              \
205         gr_clock_recovery_mm_cc.h       \
206         gr_clock_recovery_mm_ff.h       \
207         gr_complex_to_interleaved_short.h \
208         gr_complex_to_xxx.h             \
209         gr_conjugate_cc.h               \
210         gr_constellation_decoder_cb.h   \
211         gr_copy.h                       \
212         gr_correlate_access_code_bb.h   \
213         gr_costas_loop_cc.h             \
214         gr_count_bits.h                 \
215         gr_cpfsk_bc.h                   \
216         gr_crc32.h                      \
217         gr_ctcss_squelch_ff.h           \
218         gr_dd_mpsk_sync_cc.h            \
219         gr_decode_ccsds_27_fb.h         \
220         gr_diff_decoder_bb.h            \
221         gr_diff_encoder_bb.h            \
222         gr_deinterleave.h               \
223         gr_delay.h                      \
224         gr_diff_phasor_cc.h             \
225         gr_dpll_bb.h                    \
226         gr_encode_ccsds_27_bb.h         \
227         gr_expj.h                       \
228         gr_fake_channel_coder_pp.h      \
229         gr_feedforward_agc_cc.h         \
230         gr_feval.h                      \
231         gr_fft_vcc.h                    \
232         gr_fft_vcc_fftw.h               \
233         gr_fft_vfc.h                    \
234         gr_firdes.h                     \
235         gr_fll_band_edge_cc.h           \
236         gr_float_to_char.h              \
237         gr_float_to_complex.h           \
238         gr_float_to_short.h             \
239         gr_float_to_uchar.h             \
240         gr_fmdet_cf.h                   \
241         gr_framer_sink_1.h              \
242         gr_frequency_modulator_fc.h     \
243         gr_fxpt.h                       \
244         gr_fxpt_nco.h                   \
245         gr_fxpt_vco.h                   \
246         gr_glfsr_source_b.h             \
247         gr_glfsr_source_f.h             \
248         gr_head.h                       \
249         gr_interleave.h                 \
250         gr_interleaved_short_to_complex.h \
251         gr_iqcomp_cc.h                  \
252         gr_keep_one_in_n.h              \
253         gr_kludge_copy.h                \
254         gr_lfsr_32k_source_s.h          \
255         gr_lms_dfe_cc.h                 \
256         gr_lms_dfe_ff.h                 \
257         gr_log2_const.h                 \
258         gr_map_bb.h                     \
259         gr_math.h                       \
260         gr_misc.h                       \
261         gr_mpsk_receiver_cc.h           \
262         gr_nco.h                        \
263         gr_nlog10_ff.h                  \
264         gr_nop.h                        \
265         gr_null_sink.h                  \
266         gr_null_source.h                \
267         gr_ofdm_frame_acquisition.h     \
268         gr_ofdm_cyclic_prefixer.h       \
269         gr_ofdm_demapper_vcb.h          \
270         gr_ofdm_mapper_bcv.h            \
271         gr_ofdm_frame_sink.h            \
272         gr_ofdm_insert_preamble.h       \
273         gr_ofdm_sampler.h               \
274         gr_pa_2x2_phase_combiner.h      \
275         gr_packet_sink.h                \
276         gr_peak_detector2_fb.h          \
277         gr_phase_modulator_fc.h         \
278         gr_pll_carriertracking_cc.h     \
279         gr_pll_freqdet_cf.h             \
280         gr_pll_refout_cc.h              \
281         gr_pn_correlator_cc.h           \
282         gr_constants.h                  \
283         gr_prefs.h                      \
284         gr_probe_avg_mag_sqrd_c.h       \
285         gr_probe_avg_mag_sqrd_cf.h      \
286         gr_probe_avg_mag_sqrd_f.h       \
287         gr_probe_signal_f.h             \
288         gr_pwr_squelch_cc.h             \
289         gr_pwr_squelch_ff.h             \
290         gr_quadrature_demod_cf.h        \
291         gr_rail_ff.h                    \
292         gr_random.h                     \
293         gr_regenerate_bb.h              \
294         gr_remez.h                      \
295         gr_repeat.h                     \
296         gr_reverse.h                    \
297         gr_rms_cf.h                     \
298         gr_rms_ff.h                     \
299         gr_short_to_float.h             \
300         gr_simple_correlator.h          \
301         gr_simple_framer.h              \
302         gr_simple_framer_sync.h         \
303         gr_simple_squelch_cc.h          \
304         gr_squash_ff.h                  \
305         gr_skiphead.h                   \
306         gr_squelch_base_cc.h            \
307         gr_squelch_base_ff.h            \
308         gr_stream_mux.h                 \
309         gr_stream_to_streams.h          \
310         gr_stream_to_vector.h           \
311         gr_streams_to_stream.h          \
312         gr_streams_to_vector.h          \
313         gr_stretch_ff.h                 \
314         gr_test_types.h                 \
315         gr_test.h                       \
316         gr_threshold_ff.h               \
317         gr_throttle.h                   \
318         gr_uchar_to_float.h             \
319         gr_vco.h                        \
320         gr_vco_f.h                      \
321         gr_vector_to_stream.h           \
322         gr_vector_to_streams.h          \
323         gr_wavelet_ff.h                 \
324         gr_wvps_ff.h                    \
325         gri_add_const_ss.h              \
326         gri_agc_cc.h                    \
327         gri_agc_ff.h                    \
328         gri_agc2_cc.h                   \
329         gri_agc2_ff.h                   \
330         gri_char_to_float.h             \
331         gri_debugger_hook.h             \
332         gri_fft.h                       \
333         gri_float_to_char.h             \
334         gri_float_to_short.h            \
335         gri_float_to_uchar.h            \
336         gri_lfsr.h                      \
337         gri_glfsr.h                     \
338         gri_interleaved_short_to_complex.h \
339         gri_lfsr_15_1_0.h               \
340         gri_lfsr_32k.h                  \
341         gri_short_to_float.h            \
342         gri_uchar_to_float.h            \
343         malloc16.h                      \
344         random.h                        \
345         gr_unpack_k_bits_bb.h           \
346         gr_descrambler_bb.h             \
347         gr_scrambler_bb.h               \
348         gr_probe_mpsk_snr_c.h           \
349         gr_probe_density_b.h
350
351 noinst_HEADERS =                        \
352         qa_general.h                    \
353         qa_gr_circular_file.h           \
354         qa_gr_firdes.h                  \
355         qa_gr_fxpt.h                    \
356         qa_gr_fxpt_nco.h                \
357         qa_gr_fxpt_vco.h                \
358         qa_gri_lfsr.h                   \
359         sine_table.h                    \
360         qa_gr_math.h
361
362 if PYTHON
363 swiginclude_HEADERS =                   \
364         general.i                       \
365         gr_additive_scrambler_bb.i      \
366         gr_agc_cc.i                     \
367         gr_agc_ff.i                     \
368         gr_agc2_cc.i                    \
369         gr_agc2_ff.i                    \
370         gr_align_on_samplenumbers_ss.i  \
371         gr_bin_statistics_f.i           \
372         gr_binary_slicer_fb.i           \
373         gr_bytes_to_syms.i              \
374         gr_char_to_float.i              \
375         gr_check_counting_s.i           \
376         gr_check_lfsr_32k_s.i           \
377         gr_clock_recovery_mm_cc.i       \
378         gr_clock_recovery_mm_ff.i       \
379         gr_complex_to_interleaved_short.i \
380         gr_complex_to_xxx.i             \
381         gr_conjugate_cc.i               \
382         gr_constellation_decoder_cb.i   \
383         gr_copy.i                       \
384         gr_correlate_access_code_bb.i   \
385         gr_costas_loop_cc.i             \
386         gr_cpfsk_bc.i                   \
387         gr_crc32.i                      \
388         gr_ctcss_squelch_ff.i           \
389         gr_dd_mpsk_sync_cc.i            \
390         gr_decode_ccsds_27_fb.i         \
391         gr_diff_decoder_bb.i            \
392         gr_diff_encoder_bb.i            \
393         gr_diff_phasor_cc.i             \
394         gr_dpll_bb.i                    \
395         gr_deinterleave.i               \
396         gr_delay.i                      \
397         gr_encode_ccsds_27_bb.i         \
398         gr_fake_channel_coder_pp.i      \
399         gr_feedforward_agc_cc.i         \
400         gr_feval.i                      \
401         gr_fft_vcc.i                    \
402         gr_fft_vfc.i                    \
403         gr_firdes.i                     \
404         gr_fll_band_edge_cc.i           \
405         gr_float_to_char.i              \
406         gr_float_to_complex.i           \
407         gr_float_to_short.i             \
408         gr_float_to_uchar.i             \
409         gr_fmdet_cf.i                   \
410         gr_frequency_modulator_fc.i     \
411         gr_framer_sink_1.i              \
412         gr_glfsr_source_b.i             \
413         gr_glfsr_source_f.i             \
414         gr_head.i                       \
415         gr_interleave.i                 \
416         gr_interleaved_short_to_complex.i \
417         gr_iqcomp_cc.i                  \
418         gr_keep_one_in_n.i              \
419         gr_kludge_copy.i                \
420         gr_lfsr_32k_source_s.i          \
421         gr_lms_dfe_cc.i                 \
422         gr_lms_dfe_ff.i                 \
423         gr_map_bb.i                     \
424         gr_mpsk_receiver_cc.i           \
425         gr_nlog10_ff.i                  \
426         gr_nop.i                        \
427         gr_null_sink.i                  \
428         gr_null_source.i                \
429         gr_ofdm_frame_acquisition.i     \
430         gr_ofdm_cyclic_prefixer.i       \
431         gr_ofdm_demapper_vcb.i          \
432         gr_ofdm_mapper_bcv.i            \
433         gr_ofdm_frame_sink.i            \
434         gr_ofdm_insert_preamble.i       \
435         gr_ofdm_sampler.i               \
436         gr_pa_2x2_phase_combiner.i      \
437         gr_packet_sink.i                \
438         gr_peak_detector2_fb.i          \
439         gr_phase_modulator_fc.i         \
440         gr_pll_carriertracking_cc.i     \
441         gr_pll_freqdet_cf.i             \
442         gr_pll_refout_cc.i              \
443         gr_pn_correlator_cc.i           \
444         gr_constants.i                  \
445         gr_prefs.i                      \
446         gr_probe_avg_mag_sqrd_c.i       \
447         gr_probe_avg_mag_sqrd_cf.i      \
448         gr_probe_avg_mag_sqrd_f.i       \
449         gr_probe_signal_f.i             \
450         gr_pwr_squelch_cc.i             \
451         gr_pwr_squelch_ff.i             \
452         gr_quadrature_demod_cf.i        \
453         gr_rail_ff.i                    \
454         gr_regenerate_bb.i              \
455         gr_remez.i                      \
456         gr_rms_cf.i                     \
457         gr_rms_ff.i                     \
458         gr_repeat.i                     \
459         gr_short_to_float.i             \
460         gr_simple_correlator.i          \
461         gr_simple_framer.i              \
462         gr_simple_squelch_cc.i          \
463         gr_skiphead.i                   \
464         gr_squash_ff.i                  \
465         gr_squelch_base_cc.i            \
466         gr_squelch_base_ff.i            \
467         gr_stream_mux.i                 \
468         gr_stream_to_streams.i          \
469         gr_stream_to_vector.i           \
470         gr_streams_to_stream.i          \
471         gr_streams_to_vector.i          \
472         gr_stretch_ff.i                 \
473         gr_test.i                       \
474         gr_threshold_ff.i               \
475         gr_throttle.i                   \
476         gr_uchar_to_float.i             \
477         gr_vco_f.i                      \
478         gr_vector_to_stream.i           \
479         gr_vector_to_streams.i          \
480         gr_unpack_k_bits_bb.i           \
481         gr_wavelet_ff.i                 \
482         gr_wvps_ff.i                    \
483         gri_agc_cc.i                    \
484         gri_agc_ff.i                    \
485         gri_agc2_cc.i                   \
486         gri_agc2_ff.i                   \
487         gr_descrambler_bb.i             \
488         gr_scrambler_bb.i               \
489         gr_probe_mpsk_snr_c.i           \
490         gr_probe_density_b.i
491 endif