[GRASS-SVN] r38901 - grass/branches/develbranch_6/swig/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 28 09:45:31 EDT 2009
Author: martinl
Date: 2009-08-28 09:45:31 -0400 (Fri, 28 Aug 2009)
New Revision: 38901
Modified:
grass/branches/develbranch_6/swig/python/Makefile
Log:
glynn: Force building of intermediate files
(merge from trunk, r38887)
Modified: grass/branches/develbranch_6/swig/python/Makefile
===================================================================
--- grass/branches/develbranch_6/swig/python/Makefile 2009-08-28 13:42:53 UTC (rev 38900)
+++ grass/branches/develbranch_6/swig/python/Makefile 2009-08-28 13:45:31 UTC (rev 38901)
@@ -44,10 +44,13 @@
LIBFILES := $(patsubst %,$(DSTDIR)/_%.so,$(MODULES))
PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__)
+LLIBFILES := $(patsubst %,_%.so,$(MODULES))
+WRAPFILES := $(patsubst %,%_wrap.c,$(MODULES))
+LPYFILES := $(patsubst %,%.py,$(MODULES))
default:
$(MAKE) $(DSTDIR)
- $(MAKE) $(LIBFILES) $(PYFILES)
+ $(MAKE) $(LLIBFILES) $(WRAPFILES) $(LPYFILES) $(LIBFILES) $(PYFILES)
%_wrap.c %.py: ../include/%.i $(EXTRA_SWIG)
$(SWIG) $(SWIGFLAGS) -python -o $*_wrap.c -module $* -shadow $<
@@ -75,6 +78,10 @@
.PHONY: numptr
+.SECONDARY: $(patsubst %,%.py,$(MODULES))
+
+.SECONDARY: $(patsubst %,%_wrap.c,$(MODULES))
+
.SECONDARY: $(patsubst %,$(OBJDIR)/%_wrap.o,$(MODULES))
.SECONDARY: $(patsubst %,_%.so,$(MODULES))
More information about the grass-commit
mailing list