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