1####################################################################
2#  LAPACK make include file.                                       #
3####################################################################
4
5SHELL = /bin/sh
6
7#  CC is the C compiler, normally invoked with options CFLAGS.
8#
9CC = cc
10CFLAGS = -O4
11
12#  Modify the FC and FFLAGS definitions to the desired compiler
13#  and desired compiler options for your machine.  NOOPT refers to
14#  the compiler options desired when NO OPTIMIZATION is selected.
15#
16FC = f77
17FFLAGS = -O4 -fpe1
18FFLAGS_DRV = $(FFLAGS)
19FFLAGS_NOOPT =
20
21#  Define LDFLAGS to the desired linker options for your machine.
22#
23LDFLAGS =
24
25#  The archiver and the flag(s) to use when building an archive
26#  (library).  If your system has no ranlib, set RANLIB = echo.
27#
28AR = ar
29ARFLAGS = cr
30RANLIB = ranlib
31
32#  Timer for the SECOND and DSECND routines
33#
34#  Default:  SECOND and DSECND will use a call to the
35#  EXTERNAL FUNCTION ETIME
36TIMER = EXT_ETIME
37#  For RS6K:  SECOND and DSECND will use a call to the
38#  EXTERNAL FUNCTION ETIME_
39#TIMER = EXT_ETIME_
40#  For gfortran compiler:  SECOND and DSECND will use a call to the
41#  INTERNAL FUNCTION ETIME
42#TIMER = INT_ETIME
43#  If your Fortran compiler does not provide etime (like Nag Fortran
44#  Compiler, etc...) SECOND and DSECND will use a call to the
45#  INTERNAL FUNCTION CPU_TIME
46#TIMER = INT_CPU_TIME
47#  If none of these work, you can use the NONE value.
48#  In that case, SECOND and DSECND will always return 0.
49#TIMER = NONE
50
51#  Uncomment the following line to include deprecated routines in
52#  the LAPACK library.
53#
54#BUILD_DEPRECATED = Yes
55
56#  LAPACKE has the interface to some routines from tmglib.
57#  If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
58#
59#LAPACKE_WITH_TMG = Yes
60
61#  Location of the extended-precision BLAS (XBLAS) Fortran library
62#  used for building and testing extended-precision routines.  The
63#  relevant routines will be compiled and XBLAS will be linked only
64#  if USEXBLAS is defined.
65#
66#USEXBLAS = Yes
67#XBLASLIB = -lxblas
68
69#  The location of the libraries to which you will link.  (The
70#  machine-specific, optimized BLAS library should be used whenever
71#  possible.)
72#
73#BLASLIB      = $(TOPSRCDIR)/librefblas.a
74BLASLIB      = -ldxml
75CBLASLIB     = $(TOPSRCDIR)/libcblas.a
76LAPACKLIB    = $(TOPSRCDIR)/liblapack.a
77TMGLIB       = $(TOPSRCDIR)/libtmglib.a
78LAPACKELIB   = $(TOPSRCDIR)/liblapacke.a
79