2 # Copyright 2001,2002,2004,2006,2007,2008,2009 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 \
56 gr_integrate_XX.cc.t \
65 gr_multiply_const_XX.cc.t \
66 gr_multiply_const_XX.h.t \
67 gr_multiply_const_XX.i.t \
68 gr_multiply_vXX.cc.t \
71 gr_multiply_const_vXX.cc.t \
72 gr_multiply_const_vXX.h.t \
73 gr_multiply_const_vXX.i.t \
77 gr_noise_source_X.cc.t \
78 gr_noise_source_X.h.t \
79 gr_noise_source_X.i.t \
80 gr_packed_to_unpacked_XX.cc.t \
81 gr_packed_to_unpacked_XX.h.t \
82 gr_packed_to_unpacked_XX.i.t \
83 gr_peak_detector_XX.cc.t \
84 gr_peak_detector_XX.h.t \
85 gr_peak_detector_XX.i.t \
86 gr_sample_and_hold_XX.cc.t \
87 gr_sample_and_hold_XX.h.t \
88 gr_sample_and_hold_XX.i.t \
89 gr_sig_source_X.cc.t \
95 gr_unpacked_to_packed_XX.cc.t \
96 gr_unpacked_to_packed_XX.h.t \
97 gr_unpacked_to_packed_XX.i.t \
98 gr_vector_source_X.cc.t \
99 gr_vector_source_X.h.t \
100 gr_vector_source_X.i.t \
101 gr_vector_sink_X.cc.t \
102 gr_vector_sink_X.h.t \
103 gr_vector_sink_X.i.t \
110 gr_and_const_XX.cc.t \
111 gr_and_const_XX.h.t \
112 gr_and_const_XX.i.t \
119 gr_moving_average_XX.cc.t \
120 gr_moving_average_XX.h.t \
121 gr_moving_average_XX.i.t
123 # Source built by Python into $(builddir)
130 # ----------------------------------------------------------------
135 libgengen_la_SOURCES = \
138 grinclude_HEADERS = \
142 gr_sig_source_waveform.h
144 swiginclude_HEADERS = \
150 # Do creation and inclusion of other Makefiles last
152 # include the srcdir's Makefile.gen; doing this creates an implicit
153 # dependency between $(srcdir)/Makefile.in and $(srcdir)/Makefile.gen.
154 include $(srcdir)/Makefile.gen
156 # common way for generating local Makefile.gen
157 makefile_gen_gen_command = PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) do_makefile=1 do_sources=0 $(PYTHON) $(srcdir)/generate_all.py
158 include $(top_srcdir)/Makefile.gen.gen
160 # common way for generating sources from templates when using
161 # BUILT_SOURCES, using parallel build protection.
162 gen_sources = $(BUILT_SOURCES)
163 gen_sources_deps = $(core_generator)
164 par_gen_command = PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
165 include $(top_srcdir)/Makefile.par.gen