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 \
41 gr_add_const_vXX.cc.t \
42 gr_add_const_vXX.h.t \
43 gr_add_const_vXX.i.t \
47 gr_chunks_to_symbols_XX.cc.t \
48 gr_chunks_to_symbols_XX.h.t \
49 gr_chunks_to_symbols_XX.i.t \
53 gr_integrate_XX.cc.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_const_vXX.cc.t \
66 gr_multiply_const_vXX.h.t \
67 gr_multiply_const_vXX.i.t \
71 gr_noise_source_X.cc.t \
72 gr_noise_source_X.h.t \
73 gr_noise_source_X.i.t \
74 gr_packed_to_unpacked_XX.cc.t \
75 gr_packed_to_unpacked_XX.h.t \
76 gr_packed_to_unpacked_XX.i.t \
77 gr_peak_detector_XX.cc.t \
78 gr_peak_detector_XX.h.t \
79 gr_peak_detector_XX.i.t \
80 gr_sample_and_hold_XX.cc.t \
81 gr_sample_and_hold_XX.h.t \
82 gr_sample_and_hold_XX.i.t \
83 gr_sig_source_X.cc.t \
89 gr_unpacked_to_packed_XX.cc.t \
90 gr_unpacked_to_packed_XX.h.t \
91 gr_unpacked_to_packed_XX.i.t \
92 gr_vector_source_X.cc.t \
93 gr_vector_source_X.h.t \
94 gr_vector_source_X.i.t \
95 gr_vector_sink_X.cc.t \
96 gr_vector_sink_X.h.t \
97 gr_vector_sink_X.i.t \
104 gr_and_const_XX.cc.t \
105 gr_and_const_XX.h.t \
106 gr_and_const_XX.i.t \
113 gr_moving_average_XX.cc.t \
114 gr_moving_average_XX.h.t \
115 gr_moving_average_XX.i.t
117 # Source built by Python into $(builddir)
124 # ----------------------------------------------------------------
129 libgengen_la_SOURCES = \
132 grinclude_HEADERS = \
136 gr_sig_source_waveform.h
138 swiginclude_HEADERS = \
144 # Do creation and inclusion of other Makefiles last
146 # include the srcdir's Makefile.gen; doing this creates an implicit
147 # dependency between $(srcdir)/Makefile.in and $(srcdir)/Makefile.gen.
148 include $(srcdir)/Makefile.gen
150 # common way for generating local Makefile.gen
151 makefile_gen_gen_command = PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) do_makefile=1 do_sources=0 $(PYTHON) $(srcdir)/generate_all.py
152 include $(top_srcdir)/Makefile.gen.gen
154 # common way for generating sources from templates when using
155 # BUILT_SOURCES, using parallel build protection.
156 gen_sources = $(BUILT_SOURCES)
157 gen_sources_deps = $(core_generator)
158 par_gen_command = PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
159 include $(top_srcdir)/Makefile.par.gen