[cig-commits] r18936 - in short/3D/PyLith/trunk/modulesrc: bc faults feassemble friction materials meshio mpi problems topology utils

knepley at geodynamics.org knepley at geodynamics.org
Sun Sep 18 14:28:13 PDT 2011


Author: knepley
Date: 2011-09-18 14:28:13 -0700 (Sun, 18 Sep 2011)
New Revision: 18936

Modified:
   short/3D/PyLith/trunk/modulesrc/bc/Makefile.am
   short/3D/PyLith/trunk/modulesrc/faults/Makefile.am
   short/3D/PyLith/trunk/modulesrc/feassemble/Makefile.am
   short/3D/PyLith/trunk/modulesrc/friction/Makefile.am
   short/3D/PyLith/trunk/modulesrc/materials/Makefile.am
   short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am
   short/3D/PyLith/trunk/modulesrc/mpi/Makefile.am
   short/3D/PyLith/trunk/modulesrc/problems/Makefile.am
   short/3D/PyLith/trunk/modulesrc/topology/Makefile.am
   short/3D/PyLith/trunk/modulesrc/utils/Makefile.am
Log:
Add in PETSc include to SWIG build


Modified: short/3D/PyLith/trunk/modulesrc/bc/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/bc/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/bc/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -64,7 +64,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/bc_wrap.cxx $(srcdir)/bc.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/faults/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/faults/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/faults/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -67,7 +67,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/faults_wrap.cxx $(srcdir)/faults.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/feassemble/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/feassemble/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/feassemble/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -76,7 +76,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/feassemble_wrap.cxx $(srcdir)/feassemble.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/friction/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/friction/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/friction/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -60,7 +60,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/friction_wrap.cxx $(srcdir)/friction.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/materials/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/materials/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/materials/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -70,7 +70,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/materials_wrap.cxx $(srcdir)/materials.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/meshio/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -64,7 +64,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/meshio_wrap.cxx $(srcdir)/meshio.py: $(swig_sources)
-	$(SWIG) $(PYLITH_SWIG_CPPFLAGS) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) $(PYLITH_SWIG_CPPFLAGS) -Wall -c++ -python $<
 endif
 
 if ENABLE_HDF5

Modified: short/3D/PyLith/trunk/modulesrc/mpi/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/mpi/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/mpi/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -50,7 +50,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/mpi_wrap.cxx $(srcdir)/mpi.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/problems/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/problems/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/problems/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -59,7 +59,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/problems_wrap.cxx $(srcdir)/problems.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/topology/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/topology/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/topology/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -60,7 +60,7 @@
 
 if ENABLE_SWIG
 $(srcdir)/topology_wrap.cxx $(srcdir)/topology.py: $(swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 

Modified: short/3D/PyLith/trunk/modulesrc/utils/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/modulesrc/utils/Makefile.am	2011-09-18 20:51:44 UTC (rev 18935)
+++ short/3D/PyLith/trunk/modulesrc/utils/Makefile.am	2011-09-18 21:28:13 UTC (rev 18936)
@@ -89,7 +89,7 @@
 	$(SWIG) -Wall -c++ -python $<
 
 $(srcdir)/utils_wrap.cxx $(srcdir)/utils.py: $(utils_swig_sources)
-	$(SWIG) -Wall -c++ -python $<
+	$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
 endif
 
 



More information about the CIG-COMMITS mailing list