aboutsummaryrefslogtreecommitdiffstats
path: root/math/superlu_mt/files/patch-make.inc
blob: 1c57231ce747a868e45d4c1b6497eb5bafdc3b39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- make.inc    Fri Jan 18 05:53:51 2008
+++ make.inc    Thu Jul  3 12:47:55 2008
@@ -16,13 +16,13 @@
 #
 #  The machine (platform) identifier to append to the library names
 #
-PLAT = _sp
+PLAT = _PTHREAD
 
 #
 #  The name of the libraries to be created/linked to
 #
-TMGLIB       = libtmglib.a
-SUPERLULIB   = libsuperlu_mt$(PLAT).a
+TMGLIB       = libtmg.a
+SUPERLULIB   = libsuperlu_mt.a
 
 # 
 # If you don't have ESSL, you can use the following blaslib instead:
@@ -30,10 +30,10 @@
 # which may be slower than ESSL
 #
 BLASDEF      = -DUSE_VENDOR_BLAS
-BLASLIB   = -lessl
+BLASLIB   = %%BLAS%%
 #BLASLIB   = ../lib/libblas$(PLAT).a
 MATHLIB      = -lm 
-MPLIB    = -lpthread
+MPLIB    = %%PTHREAD_LIBS%%
 
 #  The archiver and the flag(s) to use when building archive (library)
 #  If your system has no ranlib, set RANLIB = echo.
@@ -46,16 +46,17 @@
 PREDEFS        = -D_PTHREAD
 #
 
-CC           = xlc_r
-CFLAGS       = -qarch=pwr5 -qalias=allptrs $(PREDEFS) -DPRNTlevel=0 -O3
-FORTRAN         = xlf
-FFLAGS       = -O3 -qarch=pwr5
-LOADER       = xlc_r
-LOADOPTS     = -bmaxdata:0x80000000
+CC           = %%CC%%
+CFLAGS       = $(PREDEFS) %%CPPFLAGS%% %%CFLAGS%% %%PTHREAD_CFLAGS%%
+FORTRAN      = %%FC%%
+FFLAGS       = %%FFLAGS%%
+LOADER       = %%CC%%
+LOADOPTS     = %%LDFLAGS%%
+NOOPTS       = %%FPIC%%
 #
 #  C preprocessor defs for compilation for the Fortran interface
 #  (-DNoChange, -DAdd_, -DAdd__, or -DUpCase)
 #
-CDEFS        = -DNoChange
+CDEFS        = -DAdd_