<p><b>mmwolf@sandia.gov</b> 2009-12-16 11:28:08 -0700 (Wed, 16 Dec 2009)</p><p>Added third party library support for Zoltan in Makefile<br>
</p><hr noshade><pre><font color="gray">Modified: trunk/swmodel/Makefile
===================================================================
--- trunk/swmodel/Makefile        2009-12-15 23:35:01 UTC (rev 82)
+++ trunk/swmodel/Makefile        2009-12-16 18:28:08 UTC (rev 83)
@@ -39,7 +39,24 @@
CPP = cpp -C -P -traditional
RANLIB = ranlib
+#########################
+# Section for Zoltan TPL
+#########################
+ifdef ZOLTAN_HOME
+ ifdef ZOLTAN_INCLUDE
+ FCINCLUDES += -I$(ZOLTAN_INCLUDE)
+ else
+ FCINCLUDES += -I$(ZOLTAN_HOME)/include
+ endif
+ ifdef ZOLTAN_LIBPATH
+ LIBS += -L$(ZOLTAN_LIBPATH) -lzoltan
+ else
+ LIBS += -L$(ZOLTAN_HOME)/lib -lzoltan
+ endif
+endif
+#########################
+
all: reg_includes externals swmodel_main
reg_includes:
</font>
</pre>