small refactoring of bindings/*/Makefile.am

make consistent use of BUILT_SOURCES with both .cpp and .h
This commit is contained in:
Filippo Giunchedi
2009-07-14 15:50:21 +02:00
parent 5f828c4efc
commit 282258a9a4
4 changed files with 13 additions and 12 deletions
+5 -4
View File
@@ -4,10 +4,11 @@ FREEJ_FLAGS = @SDL_CFLAGS@ @FT2_CFLAGS@ @XIPH_CFLAGS@ @UNICAP_CFLAGS@ \
@FFMPEG_CFLAGS@ @MOZJS_CFLAGS@ @SDLGFX_CFLAGS@
swig_source = freej_py.cpp
python_module = freej.py
python_header = freej_py.h
swig_header = freej_py.h
BUILT_SOURCES = $(swig_source)
python_module = freej.py
BUILT_SOURCES = $(swig_source) $(swig_header)
$(swig_source): $(SWIG_IFACE)
$(SWIG_COMMAND) $(SWIG_PYTHON_OPT) -threads -shadow -o $(swig_source) $(SWIG_IFACE)
@@ -23,4 +24,4 @@ _freej_la_CXXFLAGS = $(FREEJ_FLAGS) $(SWIG_PYTHON_CPPFLAGS)
_freej_la_LDFLAGS = -module -avoid-version
_freej_la_LIBADD = -L$(top_builddir)/src/.libs -lfreej
CLEANFILES = $(swig_source) $(python_module) $(python_header)
CLEANFILES = $(BUILT_SOURCES) $(python_module)