From: Marcelo M. <mar...@us...> - 2004-11-21 19:37:44
|
Update of /cvsroot/swig/SWIG/Examples/python/swigrun In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23783/Examples/python/swigrun Modified Files: Makefile example.cxx Log Message: using the global runtime.swg instead of python/pyrunalias.swg. Now the same solution can be used in other languages Index: example.cxx =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/python/swigrun/example.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** example.cxx 18 Nov 2004 00:39:09 -0000 1.1 --- example.cxx 21 Nov 2004 19:36:25 -0000 1.2 *************** *** 4,8 **** #include "swigrun.swg" #include "pyrun.swg" ! #include "pyrunalias.swg" #include "example.h" --- 4,8 ---- #include "swigrun.swg" #include "pyrun.swg" ! #include "runtime.swg" #include "example.h" Index: Makefile =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/python/swigrun/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 18 Nov 2004 00:39:09 -0000 1.1 --- Makefile 21 Nov 2004 19:36:25 -0000 1.2 *************** *** 10,17 **** $(SWIG) -co swigrun.swg $(SWIG) -o pyrun.swg -co python/pyrun.swg ! $(SWIG) -o pyrunalias.swg -co python/pyrunalias.swg $(MAKE) -f $(TOP)/Makefile $(SWIGLIB) CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp ! rm -f swigrun.swg pyrun.swg pyrunalias.swg static:: --- 10,17 ---- $(SWIG) -co swigrun.swg $(SWIG) -o pyrun.swg -co python/pyrun.swg ! $(SWIG) -o runtime.swg -co runtime.swg $(MAKE) -f $(TOP)/Makefile $(SWIGLIB) CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp ! rm -f *.swg static:: *************** *** 22,26 **** $(MAKE) -f $(TOP)/Makefile python_clean rm -f $(TARGET).py ! rm -f swigrun.swg pyrun.swg pyrunalias.swg check: all --- 22,26 ---- $(MAKE) -f $(TOP)/Makefile python_clean rm -f $(TARGET).py ! rm -f *.swg check: all |