diff options
author | Eric Blossom | 2010-11-21 19:43:39 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-21 19:43:39 -0800 |
commit | e4eb47f0dd55485693e70ec2f45f79912fa899c4 (patch) | |
tree | f35760f67423c1547717ceaacdf16672870129b8 /Makefile.swig | |
parent | 6f6a9f3f2f089c94e58a4202ee5ff2c47d1baf1f (diff) | |
download | gnuradio-e4eb47f0dd55485693e70ec2f45f79912fa899c4.tar.gz gnuradio-e4eb47f0dd55485693e70ec2f45f79912fa899c4.tar.bz2 gnuradio-e4eb47f0dd55485693e70ec2f45f79912fa899c4.zip |
Clean up lib/swig/Makefile.am, Makefile.common and Makefile.swig
Confirmed that it builds and make checks on all four combintations
of --{enable,disable}-{python,guile}.
Have not tested make dist, but expect that there may be some problems
with it. I'm pretty sure that not all files that need to be removed
from the distribution are removed, and make clean may still be leaving
some files around.
Diffstat (limited to 'Makefile.swig')
-rw-r--r-- | Makefile.swig | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.swig b/Makefile.swig index 03b7c92a3..c6b36ddef 100644 --- a/Makefile.swig +++ b/Makefile.swig @@ -1,6 +1,6 @@ # -*- Makefile -*- # -# Copyright 2009 Free Software Foundation, Inc. +# Copyright 2009,2010 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -25,6 +25,9 @@ ## in Makefile.am's which require SWIG wrapping / compilation. ## For just installing .i files, this Makefile is not required. +CLEANFILES = python/*.cc python/*.h python/*.lo python/*.o +CLEANFILES += guile/*.cc gnuradio/*.scm guile/*.lo guile/*.o + ## swig flags ## -w511 turns off keyword argument warning ## "-outdir $(builddir)" writes all generated output files to @@ -32,9 +35,6 @@ ## In some older autotools, $(builddir) is not defined, so ## just use '.' instead. -CLEANFILES = python/*.cc python/*.h python/*.lo python/*.o -CLEANFILES += guile/*.cc gnuradio/*.scm guile/*.lo guile/*.o - SWIG_PYTHON_FLAGS = \ -fvirtual \ -python \ @@ -144,3 +144,6 @@ if GUILE GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(patsubst %.i,gnuradio/%.scm,$(HFILE))) swig_built_sources += $(GUILE_GEN) endif + +no_dist_dirs = python gnuradio guile +no_dist_files = $(swig_built_sources) |