summaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-make.inc.gfortran
blob: 8bc5c2efe9037cd879a9abd8c81b19bdf5f2e3d2 (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
--- INSTALL/make.inc.gfortran.orig	2007-02-24 05:07:35.000000000 +0900
+++ INSTALL/make.inc.gfortran	2007-09-29 10:22:01.000000000 +0900
@@ -8,7 +8,7 @@
 #
 #  The machine (platform) identifier to append to the library names
 #
-PLAT = _LINUX
+PLAT = _FREEBSD
 #  
 #  Modify the FORTRAN and OPTS definitions to refer to the
 #  compiler and desired compiler options for your machine.  NOOPT
@@ -16,11 +16,11 @@
 #  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
+NOOPT    = -O0 %%EXTRAFLAGS%%
+LOADER   = %%F77%%
 LOADOPTS =
 #
 # Timer for the SECOND and DSECND routines
@@ -48,7 +48,7 @@
 #  machine-specific, optimized BLAS library should be used whenever
 #  possible.)
 #
-BLASLIB      = ../../blas$(PLAT).a
+BLASLIB      = %%BLAS%%
 LAPACKLIB    = lapack$(PLAT).a
 TMGLIB       = tmglib$(PLAT).a
 EIGSRCLIB    = eigsrc$(PLAT).a