xLA_xxRFSX_EXTENDED; parameter comments: pull various dimension specifications contai...
[platform/upstream/lapack.git] / INSTALL / make.inc.gfortran_debug
1 ####################################################################
2 #  LAPACK make include file.                                       #
3 #  LAPACK, Version 3.7.0                                           #
4 #  December 2016                                                   #
5 ####################################################################
6
7 SHELL = /bin/sh
8
9 #  CC is the C compiler, normally invoked with options CFLAGS.
10 #
11 CC     = gcc
12 CFLAGS = -g
13
14 #  Modify the FORTRAN and OPTS definitions to refer to the compiler
15 #  and desired compiler options for your machine.  NOOPT refers to
16 #  the compiler options desired when NO OPTIMIZATION is selected.
17 #
18 #  Note: During a regular execution, LAPACK might create NaN and Inf
19 #  and handle these quantities appropriately. As a consequence, one
20 #  should not compile LAPACK with flags such as -ffpe-trap=overflow.
21 #
22 FORTRAN = gfortran -fimplicit-none -g -frecursive
23 OPTS    =
24 DRVOPTS = $(OPTS)
25 NOOPT   = -g -O0 -frecursive
26
27 #  Define LOADER and LOADOPTS to refer to the loader and desired
28 #  load options for your machine.
29 #
30 LOADER   = gfortran -g
31 LOADOPTS =
32
33 #  The archiver and the flag(s) to use when building an archive
34 #  (library).  If your system has no ranlib, set RANLIB = echo.
35 #
36 ARCH      = ar
37 ARCHFLAGS = cr
38 RANLIB    = ranlib
39
40 #  Timer for the SECOND and DSECND routines
41 #
42 #  Default:  SECOND and DSECND will use a call to the
43 #  EXTERNAL FUNCTION ETIME
44 #TIMER = EXT_ETIME
45 #  For RS6K:  SECOND and DSECND will use a call to the
46 #  EXTERNAL FUNCTION ETIME_
47 #TIMER = EXT_ETIME_
48 #  For gfortran compiler:  SECOND and DSECND will use a call to the
49 #  INTERNAL FUNCTION ETIME
50 #TIMER = INT_ETIME
51 #  If your Fortran compiler does not provide etime (like Nag Fortran
52 #  Compiler, etc...) SECOND and DSECND will use a call to the
53 #  INTERNAL FUNCTION CPU_TIME
54 TIMER = INT_CPU_TIME
55 #  If none of these work, you can use the NONE value.
56 #  In that case, SECOND and DSECND will always return 0.
57 #TIMER = NONE
58
59 #  Uncomment the following line to include deprecated routines in
60 #  the LAPACK library.
61 #
62 #BUILD_DEPRECATED = Yes
63
64 #  LAPACKE has the interface to some routines from tmglib.
65 #  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
66 #
67 #LAPACKE_WITH_TMG = Yes
68
69 #  Location of the extended-precision BLAS (XBLAS) Fortran library
70 #  used for building and testing extended-precision routines.  The
71 #  relevant routines will be compiled and XBLAS will be linked only
72 #  if USEXBLAS is defined.
73 #
74 #USEXBLAS = Yes
75 #XBLASLIB = -lxblas
76
77 #  The location of the libraries to which you will link.  (The
78 #  machine-specific, optimized BLAS library should be used whenever
79 #  possible.)
80 #
81 BLASLIB      = ../../librefblas.a
82 CBLASLIB     = ../../libcblas.a
83 LAPACKLIB    = liblapack.a
84 TMGLIB       = libtmglib.a
85 LAPACKELIB   = liblapacke.a