2 # Copyright 2001,2002,2004,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
24 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_INCLUDES) $(WITH_INCLUDES)
26 #noinst_LTLIBRARIES = libgengen.la libgengen-qa.la
27 noinst_LTLIBRARIES = libgengen.la
29 # ----------------------------------------------------------------
30 # these scripts generate code
38 gr_add_const_XX.cc.t \
44 gr_add_const_vXX.cc.t \
45 gr_add_const_vXX.h.t \
46 gr_add_const_vXX.i.t \
50 gr_chunks_to_symbols_XX.cc.t \
51 gr_chunks_to_symbols_XX.h.t \
52 gr_chunks_to_symbols_XX.i.t \
62 gr_multiply_const_XX.cc.t \
63 gr_multiply_const_XX.h.t \
64 gr_multiply_const_XX.i.t \
65 gr_multiply_vXX.cc.t \
68 gr_multiply_const_vXX.cc.t \
69 gr_multiply_const_vXX.h.t \
70 gr_multiply_const_vXX.i.t \
74 gr_noise_source_X.cc.t \
75 gr_noise_source_X.h.t \
76 gr_noise_source_X.i.t \
77 gr_packed_to_unpacked_XX.cc.t \
78 gr_packed_to_unpacked_XX.h.t \
79 gr_packed_to_unpacked_XX.i.t \
80 gr_peak_detector_XX.cc.t \
81 gr_peak_detector_XX.h.t \
82 gr_peak_detector_XX.i.t \
83 gr_sample_and_hold_XX.cc.t \
84 gr_sample_and_hold_XX.h.t \
85 gr_sample_and_hold_XX.i.t \
86 gr_sig_source_X.cc.t \
92 gr_unpacked_to_packed_XX.cc.t \
93 gr_unpacked_to_packed_XX.h.t \
94 gr_unpacked_to_packed_XX.i.t \
95 gr_vector_source_X.cc.t \
96 gr_vector_source_X.h.t \
97 gr_vector_source_X.i.t \
98 gr_vector_sink_X.cc.t \
99 gr_vector_sink_X.h.t \
100 gr_vector_sink_X.i.t \
114 include $(srcdir)/Makefile.gen
116 $(srcdir)/Makefile.gen $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
117 PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
118 touch $(srcdir)/Makefile.in
120 BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
122 # ----------------------------------------------------------------
127 libgengen_la_SOURCES = \
130 #libgengen_qa_la_SOURCES =
132 grinclude_HEADERS = \
136 gr_sig_source_waveform.h
140 swiginclude_HEADERS = \
146 CLEANFILES = $(BUILT_SOURCES) *.pyc