diff options
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/Makefile.am | 7 | ||||
-rw-r--r-- | gnuradio-core/src/lib/filter/Makefile.am | 3 | ||||
-rw-r--r-- | gnuradio-core/src/lib/general/Makefile.am | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/gengen/Makefile.am | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/hier/Makefile.am | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/io/Makefile.am | 6 | ||||
-rw-r--r-- | gnuradio-core/src/lib/runtime/Makefile.am | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/swig/Makefile.am | 2 |
8 files changed, 19 insertions, 7 deletions
diff --git a/gnuradio-core/src/lib/Makefile.am b/gnuradio-core/src/lib/Makefile.am index fcb4d4ea5..ef2b17f5a 100644 --- a/gnuradio-core/src/lib/Makefile.am +++ b/gnuradio-core/src/lib/Makefile.am @@ -1,5 +1,5 @@ # -# Copyright 2001,2004 Free Software Foundation, Inc. +# Copyright 2001,2004,2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -24,7 +24,10 @@ include $(top_srcdir)/Makefile.common ## Process this file with automake to produce Makefile.in # We've got to build . before swig -SUBDIRS = missing runtime filter viterbi general gengen g72x reed-solomon io hier . swig +SUBDIRS = missing runtime filter viterbi general gengen g72x reed-solomon io hier . +if PYTHON +SUBDIRS += swig +endif # generate libgnuradio-core.la from the convenience libraries in subdirs diff --git a/gnuradio-core/src/lib/filter/Makefile.am b/gnuradio-core/src/lib/filter/Makefile.am index b7fd0f58a..f46956745 100644 --- a/gnuradio-core/src/lib/filter/Makefile.am +++ b/gnuradio-core/src/lib/filter/Makefile.am @@ -293,7 +293,7 @@ noinst_HEADERS = \ qa_gri_mmse_fir_interpolator_cc.h - +if PYTHON swiginclude_HEADERS = \ filter.i \ filter_generated.i \ @@ -310,6 +310,7 @@ swiginclude_HEADERS = \ gr_single_pole_iir_filter_ff.i \ gr_single_pole_iir_filter_cc.i \ $(GENERATED_I) +endif # Do creation and inclusion of other Makefiles last diff --git a/gnuradio-core/src/lib/general/Makefile.am b/gnuradio-core/src/lib/general/Makefile.am index 4ceb72486..5564ee3d4 100644 --- a/gnuradio-core/src/lib/general/Makefile.am +++ b/gnuradio-core/src/lib/general/Makefile.am @@ -353,6 +353,7 @@ noinst_HEADERS = \ sine_table.h \ qa_gr_math.h +if PYTHON swiginclude_HEADERS = \ general.i \ gr_agc_cc.i \ @@ -478,3 +479,4 @@ swiginclude_HEADERS = \ gr_scrambler_bb.i \ gr_probe_mpsk_snr_c.i \ gr_probe_density_b.i +endif diff --git a/gnuradio-core/src/lib/gengen/Makefile.am b/gnuradio-core/src/lib/gengen/Makefile.am index db7bee02f..4978ad1c5 100644 --- a/gnuradio-core/src/lib/gengen/Makefile.am +++ b/gnuradio-core/src/lib/gengen/Makefile.am @@ -135,11 +135,13 @@ grinclude_HEADERS = \ gr_noise_type.h \ gr_sig_source_waveform.h +if PYTHON swiginclude_HEADERS = \ $(GENERATED_I) \ gr_endianness.i \ gengen.i \ gengen_generated.i +endif # Do creation and inclusion of other Makefiles last diff --git a/gnuradio-core/src/lib/hier/Makefile.am b/gnuradio-core/src/lib/hier/Makefile.am index b525d19b4..e2e7fe886 100644 --- a/gnuradio-core/src/lib/hier/Makefile.am +++ b/gnuradio-core/src/lib/hier/Makefile.am @@ -32,6 +32,8 @@ libhier_la_SOURCES = \ grinclude_HEADERS = \ gr_channel_model.h +if PYTHON swiginclude_HEADERS = \ hier.i \ gr_channel_model.i +endif diff --git a/gnuradio-core/src/lib/io/Makefile.am b/gnuradio-core/src/lib/io/Makefile.am index 4583a033c..9eacd137d 100644 --- a/gnuradio-core/src/lib/io/Makefile.am +++ b/gnuradio-core/src/lib/io/Makefile.am @@ -93,9 +93,7 @@ grinclude_HEADERS = \ gr_wavfile_sink.h \ gri_wavfile.h - - - +if PYTHON swiginclude_HEADERS = \ io.i \ gr_file_sink.i \ @@ -116,4 +114,4 @@ swiginclude_HEADERS = \ gr_udp_source.i \ gr_wavfile_source.i \ gr_wavfile_sink.i - +endif diff --git a/gnuradio-core/src/lib/runtime/Makefile.am b/gnuradio-core/src/lib/runtime/Makefile.am index af5e4980d..14ab464ad 100644 --- a/gnuradio-core/src/lib/runtime/Makefile.am +++ b/gnuradio-core/src/lib/runtime/Makefile.am @@ -135,6 +135,7 @@ noinst_HEADERS = \ qa_gr_vmcircbuf.h \ qa_runtime.h +if PYTHON swiginclude_HEADERS = \ gr_basic_block.i \ gr_block.i \ @@ -154,3 +155,4 @@ swiginclude_HEADERS = \ gr_sync_interpolator.i \ gr_top_block.i \ runtime.i +endif diff --git a/gnuradio-core/src/lib/swig/Makefile.am b/gnuradio-core/src/lib/swig/Makefile.am index 75b152dc0..242f27d9c 100644 --- a/gnuradio-core/src/lib/swig/Makefile.am +++ b/gnuradio-core/src/lib/swig/Makefile.am @@ -21,6 +21,7 @@ include $(top_srcdir)/Makefile.common +if PYTHON AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) -I$(srcdir) \ $(WITH_INCLUDES) @@ -99,3 +100,4 @@ BUILT_SOURCES = \ # Do not distribute the output of SWIG no_dist_files = $(swig_built_sources) +endif |