blob: 7a5f3577ab2d20b7ba677f7e1b4800b4fb300414 (
plain)
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
|
$NetBSD: patch-aa,v 1.3 2004/07/19 13:47:51 wiz Exp $
--- make.inc.orig 2004-02-05 20:01:19.000000000 +0100
+++ make.inc
@@ -16,29 +16,30 @@
#
# 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 = tmglib.a
+SUPERLULIB = libsuperlu.a
+BLASDEF = -DUSE_VENDOR_BLAS
+BLASLIB = -L${BLAS_PREFIX}/lib -lblas
#
# The archiver and the flag(s) to use when building archive (library)
# If your system has no ranlib, set RANLIB = echo.
#
-ARCH = ar
-ARCHFLAGS = cr
-RANLIB = ranlib
+ARCH = ${AR}
+ARCHFLAGS = cru
+#RANLIB = ranlib
-CC = cc
-CFLAGS = -xO3 -xcg92
-FORTRAN = f77
-FFLAGS = -O
-LOADER = cc
-LOADOPTS = -xO3
+#CC = cc
+#CFLAGS = -xO3 -xcg92
+FORTRAN = ${FC}
+#FFLAGS = -O
+LOADER = ${CC}
+LOADOPTS = ${LDFLAGS}
#
# C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
@@ -47,4 +48,4 @@ CDEFS = -DAdd_
#
# The directory in which Matlab is installed
#
-MATLAB = /usr/sww/matlab
+# MATLAB = /usr/sww/matlab
|