Revision f81c5677 gnuradio-core/src/lib/swig/Makefile.am

b/gnuradio-core/src/lib/swig/Makefile.am
23 23
include $(top_srcdir)/Makefile.swig
24 24

25 25
BUILT_SOURCES = $(grinclude_HEADERS) $(swig_built_sources)
26
CLEANFILES = python/gnuradio*
26

27
CLEANFILES = python/*.cc python/*.h
27 28
if GUILE
28
CLEANFILES += guile/gnuradio*
29
CLEANFILES += guile/*.cc gnuradio/*.scm
29 30
endif
30 31

31 32
# ----------------------------------------------------------------
......
111 112
# include the SWIG-generated .h files in the BUILT SOURCES, since they
112 113
# aren't by default when using Makefile.swig; order doesn't matter.
113 114
PYTHON_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(subst .i,.py,$(HFILE)))
114
#BUILT_SOURCES += $(foreach HFILE,$(PYTHON_GEN), $(subst gnuradio,python/gnuradio,$(HFILE)))
115
BUILT_SOURCES += $(PYTHON_GEN)
115
swig_built_sources += $(PYTHON_GEN)
116 116
endif				# end of if python
117 117

118 118
if GUILE
119
GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(patsubst %.i,%.scm,$(HFILE)))
120
#GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(patsubst %.i,gnuradio/%.scm,$(HFILE)))
121
# BUILT_SOURCES += $(foreach HFILE,$(GUILE_GEN), $(subst gnuradio,guile/gnuradio,$(HFILE)))
122
BUILT_SOURCES += $(GUILE_GEN)
119
#GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(patsubst %.i,%.scm,$(HFILE)))
120
GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(patsubst %.i,gnuradio/%.scm,$(HFILE)))
121
# GUILE_GEN_STAMPS = $(filter %.scm,$(TOP_SWIG_IFILES))
122
swig_built_sources += $(GUILE_GEN)
123 123
endif
124 124

125 125
# Do not distribute the output of SWIG

Also available in: Unified diff