aboutsummaryrefslogtreecommitdiff
path: root/math/superlu/files/patch-make.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/superlu/files/patch-make.inc')
-rw-r--r--math/superlu/files/patch-make.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/math/superlu/files/patch-make.inc b/math/superlu/files/patch-make.inc
new file mode 100644
index 000000000000..7cf74c43a602
--- /dev/null
+++ b/math/superlu/files/patch-make.inc
@@ -0,0 +1,42 @@
+--- make.inc.orig Wed Sep 4 06:02:16 2002
++++ make.inc Wed Jun 11 08:48:52 2003
+@@ -16,14 +16,15 @@
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+-PLAT = _solaris
++#PLAT =
+
+ #
+ # The name of the libraries to be created/linked to
+ #
+-TMGLIB = tmglib$(PLAT).a
+-SUPERLULIB = superlu$(PLAT).a
+-BLASLIB = ../blas$(PLAT).a
++TMGLIB = libtmg.a
++SUPERLULIB = libsuperlu.a
++BLASDEF = -DUSE_VENDOR_BLAS
++BLASLIB = %%BLAS_LIBS%%
+
+ #
+ # The archiver and the flag(s) to use when building archive (library)
+@@ -33,13 +34,12 @@
+ ARCHFLAGS = cr
+ RANLIB = ranlib
+
+-CC = cc
+-CFLAGS = -xO3 -xcg92
+-#CFLAGS = -Wall -O2
+-FORTRAN = f77
+-FFLAGS = -O
+-LOADER = cc
+-LOADOPTS = #-xO3
++CC = %%CC%%
++CFLAGS = %%CFLAGS%%
++FORTRAN = %%FC%%
++FFLAGS = %%FFLAGS%%
++LOADER = ${CC}
++#LOADOPTS = -O2
+
+ #
+ # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)