diff options
author | Eric Blossom | 2010-10-22 14:01:49 -0700 |
---|---|---|
committer | Eric Blossom | 2010-11-10 12:10:46 -0800 |
commit | e3ea18ee8732f17151bb00896f982f7859c0e228 (patch) | |
tree | 60e7aa522f806ed38ba5b1bff531e8e070fdd296 /gnuradio-core/src | |
parent | 827f95ce49fadfaeec1ee09185d1502074eb0bbb (diff) | |
download | gnuradio-e3ea18ee8732f17151bb00896f982f7859c0e228.tar.gz gnuradio-e3ea18ee8732f17151bb00896f982f7859c0e228.tar.bz2 gnuradio-e3ea18ee8732f17151bb00896f982f7859c0e228.zip |
Move TOP_SWIG_IFILES outside of if PYTHON
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/lib/swig/Makefile.am | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/gnuradio-core/src/lib/swig/Makefile.am b/gnuradio-core/src/lib/swig/Makefile.am index 83d733f3e..4c15b7e61 100644 --- a/gnuradio-core/src/lib/swig/Makefile.am +++ b/gnuradio-core/src/lib/swig/Makefile.am @@ -28,6 +28,22 @@ if GUILE CLEANFILES += guile/gnuradio* endif +# ---------------------------------------------------------------- +# We've split the previously monstrous gnuradio_swig_python into 6 +# smaller pieces. This reduces compile time coupling and creates +# smaller pieces for the compiler to digest. prior to this change, on +# X86_64, g++'s resident set size was 650MB! +# ---------------------------------------------------------------- + +TOP_SWIG_IFILES = \ + gnuradio_swig_py_runtime.i \ + gnuradio_swig_py_general.i \ + gnuradio_swig_py_gengen.i \ + gnuradio_swig_py_filter.i \ + gnuradio_swig_py_io.i \ + gnuradio_swig_py_hier.i + + if PYTHON AM_CPPFLAGS = -I$(srcdir) $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) \ $(WITH_INCLUDES) @@ -60,21 +76,6 @@ gnuradio_swig_bug_workaround.h : gnuradio_swig_py_runtime.py $(srcdir)/gen-swig- # C/C++ headers get installed in ${prefix}/include/gnuradio grinclude_HEADERS = gnuradio_swig_bug_workaround.h -# ---------------------------------------------------------------- -# We've split the previously monstrous gnuradio_swig_python into 6 -# smaller pieces. This reduces compile time coupling and creates -# smaller pieces for the compiler to digest. prior to this change, on -# X86_64, g++'s resident set size was 650MB! -# ---------------------------------------------------------------- - -TOP_SWIG_IFILES = \ - gnuradio_swig_py_runtime.i \ - gnuradio_swig_py_general.i \ - gnuradio_swig_py_gengen.i \ - gnuradio_swig_py_filter.i \ - gnuradio_swig_py_io.i \ - gnuradio_swig_py_hier.i - # Install so that they end up available as: # import gnuradio.gr # This ends up at: |