aboutsummaryrefslogtreecommitdiff
path: root/make.inc.example
diff options
context:
space:
mode:
authorjason <jason@8a072113-8704-0410-8d35-dd094bca7971>2008-10-28 01:38:50 +0000
committerjason <jason@8a072113-8704-0410-8d35-dd094bca7971>2008-10-28 01:38:50 +0000
commitbaba851215b44ac3b60b9248eb02bcce7eb76247 (patch)
tree8c0f5c006875532a30d4409f5e94b0f310ff00a7 /make.inc.example
Move LAPACK trunk into position.
Diffstat (limited to 'make.inc.example')
-rw-r--r--make.inc.example70
1 files changed, 70 insertions, 0 deletions
diff --git a/make.inc.example b/make.inc.example
new file mode 100644
index 00000000..fa0548e7
--- /dev/null
+++ b/make.inc.example
@@ -0,0 +1,70 @@
+####################################################################
+# LAPACK make include file. #
+# LAPACK, Version 3.1.1 #
+# February 2007 #
+####################################################################
+#
+# See the INSTALL/ directory for more examples.
+#
+SHELL = /bin/sh
+#
+# 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
+# refers to the compiler options desired when NO OPTIMIZATION is
+# selected. Define LOADER and LOADOPTS to refer to the loader and
+# desired load options for your machine.
+#
+FORTRAN = g77
+OPTS = -funroll-all-loops -O3
+DRVOPTS = $(OPTS)
+NOOPT =
+LOADER = g77
+LOADOPTS =
+#
+# For XBLAS library
+# Modify the CC and CFLAGS definitions to refer to the
+# compiler and desired compiler options for your machine.
+# Define LINKER and LINKOPTS to refer to the loader and
+# desired load options for your machine.
+#
+CC = gcc
+CFLAGS = -O3 -Dx86
+LINKER = $(CC)
+LDFLAGS =
+EXTRA_LIBS = -lm
+#
+# Timer for the SECOND and DSECND routines
+#
+# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
+TIMER = EXT_ETIME
+# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
+# TIMER = EXT_ETIME_
+# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
+# TIMER = INT_ETIME
+# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
+# SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
+# TIMER = INT_CPU_TIME
+# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
+# TIMER = NONE
+#
+# 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
+#
+# The location of the libraries to which you will link. (The
+# machine-specific, optimized BLAS library should be used whenever
+# possible.)
+#
+XBLASLIB = libxblas.a
+BLASLIB = ../../blas$(PLAT).a
+LAPACKLIB = lapack$(PLAT).a
+TMGLIB = tmglib$(PLAT).a
+EIGSRCLIB = eigsrc$(PLAT).a
+LINSRCLIB = linsrc$(PLAT).a