summaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-make.inc.gfortran
blob: 3985e1f7decd4da874aac682bc809f9d3858ce57 (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
--- INSTALL/make.inc.gfortran.orig	2009-04-16 14:10:16.000000000 -0400
+++ INSTALL/make.inc.gfortran	2010-08-29 10:41:02.000000000 -0400
@@ -8,7 +8,6 @@
 #
 #  The machine (platform) identifier to append to the library names
 #
-PLAT = _LINUX
 #  
 #  Modify the FORTRAN and OPTS definitions to refer to the
 #  compiler and desired compiler options for your machine.  NOOPT
@@ -16,12 +15,12 @@
 #  selected.  Define LOADER and LOADOPTS to refer to the loader and 
 #  desired load options for your machine.
 #
-FORTRAN  = gfortran 
-OPTS     = -O2
+FORTRAN  = %%F77%%
+OPTS     = %%FFLAGS%% %%EXTRAFLAGS%%
 DRVOPTS  = $(OPTS)
-NOOPT    = -O0
-LOADER   = gfortran
-LOADOPTS =
+NOOPT    = -O0 %%EXTRAFLAGS%%
+LOADER   = %%F77%%
+LOADOPTS = %%LDFLAGS%% %%EXTRAFLAGS%%
 #
 # Timer for the SECOND and DSECND routines
 #
@@ -40,9 +39,8 @@
 #  The archiver and the flag(s) to use when building archive (library)
 #  If you system has no ranlib, set RANLIB = echo.
 #
-ARCH     = ar
 ARCHFLAGS= cr
-RANLIB   = ranlib
+RANLIB   = %%RANLIB%%
 #
 #  Location of the extended-precision BLAS (XBLAS) Fortran library
 #  used for building and testing extended-precision routines.  The
@@ -57,8 +55,8 @@
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-BLASLIB      = ../../blas$(PLAT).a
-LAPACKLIB    = lapack$(PLAT).a
-TMGLIB       = tmglib$(PLAT).a
+BLASLIB      = %%BLAS%%
+LAPACKLIB    = liblapack$(PLAT).a
+TMGLIB       = libtmglib$(PLAT).a
 EIGSRCLIB    = eigsrc$(PLAT).a
 LINSRCLIB    = linsrc$(PLAT).a