summaryrefslogtreecommitdiff
path: root/math/superlu
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-06-10 23:52:16 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-06-10 23:52:16 +0000
commit5ffecbbe29f176c7bdb9be18d793ecc5963456e6 (patch)
treee55ff06611b2c90babec98e7a53ecb57eb9c005f /math/superlu
parentHonor CFLAGS, CC and so on. (diff)
Forgot to add files/patch-make.inc
Notes
Notes: svn path=/head/; revision=82717
Diffstat (limited to 'math/superlu')
-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)