aboutsummaryrefslogtreecommitdiff
path: root/math/lapack
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack')
-rw-r--r--math/lapack/Makefile27
-rw-r--r--math/lapack/distinfo2
-rw-r--r--math/lapack/files/patch-aa57
-rw-r--r--math/lapack/files/patch-ab47
-rw-r--r--math/lapack/files/patch-ac37
-rw-r--r--math/lapack/files/patch-ad22
-rw-r--r--math/lapack/files/patch-ae41
-rw-r--r--math/lapack/files/patch-af102
-rw-r--r--math/lapack/files/patch-ag132
-rw-r--r--math/lapack/pkg-comment1
-rw-r--r--math/lapack/pkg-descr97
-rw-r--r--math/lapack/pkg-plist1189
-rw-r--r--math/lapack/scripts/configure267
13 files changed, 2021 insertions, 0 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile
new file mode 100644
index 000000000000..caba126f2c7e
--- /dev/null
+++ b/math/lapack/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: lapack
+# Version required: 2.0
+# Date created: 2 July 1994
+# Whom: jmz
+#
+# $Id$
+#
+
+DISTNAME= LAPACK
+PKGNAME= lapack-2.0
+CATEGORIES+= math
+MASTER_SITES= ftp://ftp.netlib.org/lapack/
+DISTFILES= lapack.tar.gz manpages.tar.gz
+
+MAINTAINER= jmz@FreeBSD.org
+
+do-install:
+ @install -c -o bin -g bin ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib
+ @install -c -o bin -g bin ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib
+.if !defined(NOMANCOMPRESS)
+ @(cd ${WRKDIR}/blas/man/manl; \
+ for i in *.l; do gzip < $$i >${PREFIX}/man/manl/$$i.gz; done)
+ @(cd ${WRKDIR}/man/manl; \
+ for i in *.l; do gzip < $$i >${PREFIX}/man/manl/$$i.gz; done)
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/lapack/distinfo b/math/lapack/distinfo
new file mode 100644
index 000000000000..bff7c131e741
--- /dev/null
+++ b/math/lapack/distinfo
@@ -0,0 +1,2 @@
+MD5 (lapack.tar.gz) = 614e496f9fd7af39436ad3da5ffd54bd
+MD5 (manpages.tar.gz) = 88201d0b118317986df54f8b0944e305
diff --git a/math/lapack/files/patch-aa b/math/lapack/files/patch-aa
new file mode 100644
index 000000000000..1db931f4c7c6
--- /dev/null
+++ b/math/lapack/files/patch-aa
@@ -0,0 +1,57 @@
+*** make.inc.old Fri Sep 23 18:09:30 1994
+--- make.inc Mon Jul 3 03:37:56 1995
+***************
+*** 6,12 ****
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+! PLAT = _sun4
+ #
+ # Modify the FORTRAN and OPTS definitions to refer to the
+ # compiler and desired compiler options for your machine. NOOPT
+--- 6,12 ----
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+! #PLAT = _sun4
+ #
+ # Modify the FORTRAN and OPTS definitions to refer to the
+ # compiler and desired compiler options for your machine. NOOPT
+***************
+*** 15,22 ****
+ # desired load options for your machine.
+ #
+ FORTRAN = f77
+! OPTS = -O -u
+! NOOPT = -u
+ LOADER = f77
+ LOADOPTS =
+ #
+--- 15,22 ----
+ # desired load options for your machine.
+ #
+ FORTRAN = f77
+! #OPTS = -O2
+! #NOOPT = -u
+ LOADER = f77
+ LOADOPTS =
+ #
+***************
+*** 31,38 ****
+ # machine-specific, optimized BLAS library should be used whenever
+ # possible.)
+ #
+! BLASLIB = ../../blas$(PLAT).a
+ #BLASLIB = -lblas
+! LAPACKLIB = lapack$(PLAT).a
+ TMGLIB = tmglib$(PLAT).a
+ EIGSRCLIB = eigsrc$(PLAT).a
+--- 31,38 ----
+ # machine-specific, optimized BLAS library should be used whenever
+ # possible.)
+ #
+! BLASLIB = ../../BLAS/SRC/libblas.a
+ #BLASLIB = -lblas
+! LAPACKLIB = SRC/liblapack.a
+ TMGLIB = tmglib$(PLAT).a
+ EIGSRCLIB = eigsrc$(PLAT).a
diff --git a/math/lapack/files/patch-ab b/math/lapack/files/patch-ab
new file mode 100644
index 000000000000..2aff51c83cca
--- /dev/null
+++ b/math/lapack/files/patch-ab
@@ -0,0 +1,47 @@
+*** INSTALL/Makefile~ Fri Sep 23 18:10:06 1994
+--- INSTALL/Makefile Mon Jul 3 00:49:05 1995
+***************
+*** 11,21 ****
+ testdlamch: dlamch.o lsame.o dlamchtst.o
+ $(LOADER) -o testdlamch dlamch.o lsame.o dlamchtst.o
+
+! testsecond: second.o secondtst.o
+! $(LOADER) -o testsecond second.o secondtst.o
+
+! testdsecnd: dsecnd.o dsecndtst.o
+! $(LOADER) -o testdsecnd dsecnd.o dsecndtst.o
+
+ slamch.o: slamch.f ; $(FORTRAN) $(NOOPT) -c $<
+ dlamch.o: dlamch.f ; $(FORTRAN) $(NOOPT) -c $<
+--- 11,21 ----
+ testdlamch: dlamch.o lsame.o dlamchtst.o
+ $(LOADER) -o testdlamch dlamch.o lsame.o dlamchtst.o
+
+! testsecond: second.o secondtst.o etime_.o
+! $(LOADER) -o testsecond second.o secondtst.o etime_.o
+
+! testdsecnd: dsecnd.o dsecndtst.o etime_.o
+! $(LOADER) -o testdsecnd dsecnd.o dsecndtst.o etime_.o
+
+ slamch.o: slamch.f ; $(FORTRAN) $(NOOPT) -c $<
+ dlamch.o: dlamch.f ; $(FORTRAN) $(NOOPT) -c $<
+*** /dev/null Sun Jul 2 04:00:02 1995
+--- INSTALL/etime_.c Mon Jul 3 00:47:16 1995
+***************
+*** 0 ****
+--- 1,15 ----
++ #include <sys/types.h>
++ #include <sys/time.h>
++ #include <sys/resource.h>
++
++ float
++ etime_ (float *a)
++ {
++ struct rusage r;
++ float f;
++
++ getrusage(RUSAGE_SELF, &r);
++ f = r.ru_utime.tv_sec + (float) r.ru_utime.tv_usec/1000000;
++ *a = f;
++ return f;
++ }
diff --git a/math/lapack/files/patch-ac b/math/lapack/files/patch-ac
new file mode 100644
index 000000000000..5eabdb0901bb
--- /dev/null
+++ b/math/lapack/files/patch-ac
@@ -0,0 +1,37 @@
+*** Makefile.orig Tue Oct 4 16:42:15 1994
+--- Makefile Mon Oct 9 03:11:46 1995
+***************
+*** 6,12 ****
+
+ include make.inc
+
+! all: install lib testing blas_testing timing blas_timing
+
+ lib: blaslib lapacklib tmglib
+
+--- 6,12 ----
+
+ include make.inc
+
+! all: install lib # testing blas_testing timing blas_timing
+
+ lib: blaslib lapacklib tmglib
+
+***************
+*** 17,23 ****
+ testdlamch; testsecond; testdsecnd; \
+ cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
+ cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
+! cp second.f ../SRC/; cp dsecnd.f ../SRC/ )
+
+ blaslib:
+ ( cd BLAS/SRC; $(MAKE) )
+--- 17,24 ----
+ testdlamch; testsecond; testdsecnd; \
+ cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
+ cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
+! cp second.f ../SRC/; cp dsecnd.f ../SRC/; \
+! cp etime_.c ../SRC/ )
+
+ blaslib:
+ ( cd BLAS/SRC; $(MAKE) )
diff --git a/math/lapack/files/patch-ad b/math/lapack/files/patch-ad
new file mode 100644
index 000000000000..d88b6f107fd7
--- /dev/null
+++ b/math/lapack/files/patch-ad
@@ -0,0 +1,22 @@
+*** BLAS/SRC/zrotg.f~ Fri Oct 30 21:09:39 1992
+--- BLAS/SRC/zrotg.f Mon Jul 3 01:28:54 1995
+***************
+*** 10,17 ****
+ go to 20
+ 10 continue
+ scale = cdabs(ca) + cdabs(cb)
+! norm = scale*dsqrt((cdabs(ca/dcmplx(scale,0.0d0)))**2 +
+! * (cdabs(cb/dcmplx(scale,0.0d0)))**2)
+ alpha = ca /cdabs(ca)
+ c = cdabs(ca) / norm
+ s = alpha * dconjg(cb) / norm
+--- 10,18 ----
+ go to 20
+ 10 continue
+ scale = cdabs(ca) + cdabs(cb)
+! c = (cdabs(ca/dcmplx(scale,0.0d0)))**2 +
+! * (cdabs(cb/dcmplx(scale,0.0d0)))**2
+! norm = scale*dsqrt(c)
+ alpha = ca /cdabs(ca)
+ c = cdabs(ca) / norm
+ s = alpha * dconjg(cb) / norm
diff --git a/math/lapack/files/patch-ae b/math/lapack/files/patch-ae
new file mode 100644
index 000000000000..7c7ca2d70d96
--- /dev/null
+++ b/math/lapack/files/patch-ae
@@ -0,0 +1,41 @@
+*** BLAS/SRC/zrotg.f~ Mon Jul 3 19:23:21 1995
+--- BLAS/SRC/zrotg.f Tue Jul 4 13:11:24 1995
+***************
+*** 3,20 ****
+ double precision c
+ double precision norm,scale
+ double complex alpha
+! if (cdabs(ca) .ne. 0.0d0) go to 10
+ c = 0.0d0
+ s = (1.0d0,0.0d0)
+ ca = cb
+ go to 20
+ 10 continue
+! scale = cdabs(ca) + cdabs(cb)
+! c = (cdabs(ca/dcmplx(scale,0.0d0)))**2 +
+! * (cdabs(cb/dcmplx(scale,0.0d0)))**2
+ norm = scale*dsqrt(c)
+! alpha = ca /cdabs(ca)
+! c = cdabs(ca) / norm
+ s = alpha * dconjg(cb) / norm
+ ca = alpha * norm
+ 20 continue
+--- 3,20 ----
+ double precision c
+ double precision norm,scale
+ double complex alpha
+! if (abs(ca) .ne. 0.0d0) go to 10
+ c = 0.0d0
+ s = (1.0d0,0.0d0)
+ ca = cb
+ go to 20
+ 10 continue
+! scale = abs(ca) + abs(cb)
+! c = (abs(ca/dcmplx(scale,0.0d0)))**2 +
+! * (abs(cb/dcmplx(scale,0.0d0)))**2
+ norm = scale*dsqrt(c)
+! alpha = ca /abs(ca)
+! c = abs(ca) / norm
+ s = alpha * dconjg(cb) / norm
+ ca = alpha * norm
+ 20 continue
diff --git a/math/lapack/files/patch-af b/math/lapack/files/patch-af
new file mode 100644
index 000000000000..afa3a00aa5ce
--- /dev/null
+++ b/math/lapack/files/patch-af
@@ -0,0 +1,102 @@
+*** ./TIMING/EIG/stimee.f~ Fri Nov 18 19:49:14 1994
+--- ./TIMING/EIG/stimee.f Tue Jul 4 19:24:06 1995
+***************
+*** 243,250 ****
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAX( MAXN*( 4*MAXN+2 ),
+! $ 2*LDAMAX+1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 ) )
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+--- 243,249 ----
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAXN*( 4*MAXN+2 ))
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+*** ./TIMING/EIG/ctimee.f~ Fri Nov 18 19:49:34 1994
+--- ./TIMING/EIG/ctimee.f Tue Jul 4 22:37:16 1995
+***************
+*** 262,275 ****
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAX( MAXN*( 4*MAXN+2 ),
+! $ 2*LDAMAX+1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 ) )
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+ INTEGER LRWORK
+! PARAMETER ( LRWORK = MAX( MAXIN*MAXT*MAXPRM,
+! $ 1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 ) )
+ INTEGER NIN, NOUT
+ PARAMETER ( NIN = 5, NOUT = 6 )
+ * ..
+--- 262,273 ----
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAXN*( 4*MAXN+2 ))
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+ INTEGER LRWORK
+! PARAMETER ( LRWORK = 1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 )
+ INTEGER NIN, NOUT
+ PARAMETER ( NIN = 5, NOUT = 6 )
+ * ..
+*** ./TIMING/EIG/dtimee.f~ Fri Nov 18 19:49:24 1994
+--- ./TIMING/EIG/dtimee.f Tue Jul 4 23:41:44 1995
+***************
+*** 243,250 ****
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAX( MAXN*( 4*MAXN+2 ),
+! $ 2*LDAMAX+1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 ) )
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+--- 243,249 ----
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAXN*( 4*MAXN+2 ))
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+*** ./TIMING/EIG/ztimee.f~ Fri Nov 18 19:49:43 1994
+--- ./TIMING/EIG/ztimee.f Wed Jul 5 00:55:56 1995
+***************
+*** 262,275 ****
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAX( MAXN*( 4*MAXN+2 ),
+! $ 2*LDAMAX+1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 ) )
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+ INTEGER LRWORK
+! PARAMETER ( LRWORK = MAX( MAXIN*MAXT*MAXPRM,
+! $ 1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 ) )
+ INTEGER NIN, NOUT
+ PARAMETER ( NIN = 5, NOUT = 6 )
+ * ..
+--- 262,273 ----
+ INTEGER LIWRK2
+ PARAMETER ( LIWRK2 = 6+6*MAXN+5*MAXN*LG2MXN )
+ INTEGER LWORK
+! PARAMETER ( LWORK = MAXN*( 4*MAXN+2 ))
+ INTEGER MAXIN, MAXPRM, MAXT, MAXSUB
+ PARAMETER ( MAXIN = 12, MAXPRM = 10, MAXT = 10,
+ $ MAXSUB = 20 )
+ INTEGER LRWORK
+! PARAMETER ( LRWORK = 1+3*MAXN+2*MAXN*LG2MXN+3*MAXN**2 )
+ INTEGER NIN, NOUT
+ PARAMETER ( NIN = 5, NOUT = 6 )
+ * ..
diff --git a/math/lapack/files/patch-ag b/math/lapack/files/patch-ag
new file mode 100644
index 000000000000..835a5a64eaa6
--- /dev/null
+++ b/math/lapack/files/patch-ag
@@ -0,0 +1,132 @@
+*** TIMING/EIG/zeispack.f~ Fri Sep 23 18:36:18 1994
+--- TIMING/EIG/zeispack.f Wed Jul 5 01:01:51 1995
+***************
+*** 3062,3068 ****
+ DREAL(ZDUMR) = ZDUMR
+ DIMAG(ZDUMI) = (0.0D0,-1.0D0)*ZDUMI
+ CABS1(ZDUM) = DABS(DREAL(ZDUM)) + DABS(DIMAG(ZDUM))
+! CSIGN(ZDUM1,ZDUM2) = CDABS(ZDUM1)*(ZDUM2/CDABS(ZDUM2))
+ *
+ * GET EPS FROM DLAMCH FOR NEW STOPPING CRITERION
+ IF (N.LE.0 .OR. P.LE.0) RETURN
+--- 3062,3068 ----
+ DREAL(ZDUMR) = ZDUMR
+ DIMAG(ZDUMI) = (0.0D0,-1.0D0)*ZDUMI
+ CABS1(ZDUM) = DABS(DREAL(ZDUM)) + DABS(DIMAG(ZDUM))
+! CSIGN(ZDUM1,ZDUM2) = ABS(ZDUM1)*(ZDUM2/ABS(ZDUM2))
+ *
+ * GET EPS FROM DLAMCH FOR NEW STOPPING CRITERION
+ IF (N.LE.0 .OR. P.LE.0) RETURN
+***************
+*** 3281,3287 ****
+ * INCREMENT OP COUNT
+ IOPS = IOPS + 23
+ IF (WANTU) IOPS = IOPS + 6*N
+! T = DCMPLX(CDABS(S(I)),0.0D0)
+ R = S(I)/T
+ S(I) = T
+ IF (I .LT. M) E(I) = E(I)/R
+--- 3281,3287 ----
+ * INCREMENT OP COUNT
+ IOPS = IOPS + 23
+ IF (WANTU) IOPS = IOPS + 6*N
+! T = DCMPLX(ABS(S(I)),0.0D0)
+ R = S(I)/T
+ S(I) = T
+ IF (I .LT. M) E(I) = E(I)/R
+***************
+*** 3294,3300 ****
+ * INCREMENT OP COUNT
+ IOPS = IOPS + 20
+ IF (WANTV) IOPS = IOPS + 6*P
+! T = DCMPLX(CDABS(E(I)),0.0D0)
+ R = T/E(I)
+ E(I) = T
+ S(I+1) = S(I+1)*R
+--- 3294,3300 ----
+ * INCREMENT OP COUNT
+ IOPS = IOPS + 20
+ IF (WANTV) IOPS = IOPS + 6*P
+! T = DCMPLX(ABS(E(I)),0.0D0)
+ R = T/E(I)
+ E(I) = T
+ S(I+1) = S(I+1)*R
+***************
+*** 3346,3358 ****
+ *
+ * INCREMENT OP COUNT
+ IOPST = IOPST + 17
+! TEST = CDABS(S(L)) + CDABS(S(L+1))
+ *
+ * REPLACE STOPPING CRITERION WITH NEW ONE
+ *
+! * ZTEST = TEST + CDABS(E(L))
+ * IF (ZTEST .NE. TEST) GO TO 420
+! IF (CDABS(E(L)) .GT. EPS * TEST) GOTO 420
+ *
+ E(L) = (0.0D0,0.0D0)
+ C ......EXIT
+--- 3346,3358 ----
+ *
+ * INCREMENT OP COUNT
+ IOPST = IOPST + 17
+! TEST = ABS(S(L)) + ABS(S(L+1))
+ *
+ * REPLACE STOPPING CRITERION WITH NEW ONE
+ *
+! * ZTEST = TEST + ABS(E(L))
+ * IF (ZTEST .NE. TEST) GO TO 420
+! IF (ABS(E(L)) .GT. EPS * TEST) GOTO 420
+ *
+ E(L) = (0.0D0,0.0D0)
+ C ......EXIT
+***************
+*** 3374,3387 ****
+ *
+ * INCREMENT OP COUNT
+ IOPST = IOPST + 18
+! IF (LS .NE. M) TEST = TEST + CDABS(E(LS))
+! IF (LS .NE. L + 1) TEST = TEST + CDABS(E(LS-1))
+ *
+ * REPLACE STOPPING CRITERION WITH NEW ONE AS IN LAPACK
+ *
+! * ZTEST = TEST + CDABS(S(LS))
+ * IF (ZTEST .NE. TEST) GO TO 460
+! IF (CDABS(S(LS)) .GT. EPS * TEST) GOTO 460
+ *
+ S(LS) = (0.0D0,0.0D0)
+ C ......EXIT
+--- 3374,3387 ----
+ *
+ * INCREMENT OP COUNT
+ IOPST = IOPST + 18
+! IF (LS .NE. M) TEST = TEST + ABS(E(LS))
+! IF (LS .NE. L + 1) TEST = TEST + ABS(E(LS-1))
+ *
+ * REPLACE STOPPING CRITERION WITH NEW ONE AS IN LAPACK
+ *
+! * ZTEST = TEST + ABS(S(LS))
+ * IF (ZTEST .NE. TEST) GO TO 460
+! IF (ABS(S(LS)) .GT. EPS * TEST) GOTO 460
+ *
+ S(LS) = (0.0D0,0.0D0)
+ C ......EXIT
+***************
+*** 3458,3465 ****
+ *
+ * INCREMENT OP COUNT
+ IOPST = IOPST + 48
+! SCALE = DMAX1(CDABS(S(M)),CDABS(S(M-1)),CDABS(E(M-1)),
+! * CDABS(S(L)),CDABS(E(L)))
+ SM = DREAL(S(M))/SCALE
+ SMM1 = DREAL(S(M-1))/SCALE
+ EMM1 = DREAL(E(M-1))/SCALE
+--- 3458,3465 ----
+ *
+ * INCREMENT OP COUNT
+ IOPST = IOPST + 48
+! SCALE = DMAX1(ABS(S(M)),ABS(S(M-1)),ABS(E(M-1)),
+! * ABS(S(L)),ABS(E(L)))
+ SM = DREAL(S(M))/SCALE
+ SMM1 = DREAL(S(M-1))/SCALE
+ EMM1 = DREAL(E(M-1))/SCALE
diff --git a/math/lapack/pkg-comment b/math/lapack/pkg-comment
new file mode 100644
index 000000000000..72fe42516775
--- /dev/null
+++ b/math/lapack/pkg-comment
@@ -0,0 +1 @@
+LAPACK is a library of Fortran 77 subroutines for linear algebra.
diff --git a/math/lapack/pkg-descr b/math/lapack/pkg-descr
new file mode 100644
index 000000000000..a65449b75255
--- /dev/null
+++ b/math/lapack/pkg-descr
@@ -0,0 +1,97 @@
+==================
+LAPACK README FILE
+==================
+
+VERSION 1.0 : February 29, 1992
+VERSION 1.0a : June 30, 1992
+VERSION 1.0b : October 31, 1992
+VERSION 1.1 : March 31, 1993
+VERSION 2.0 : September 30, 1994
+
+DATE: September 30, 1994
+
+LAPACK is a library of Fortran 77 subroutines for solving
+the most commonly occurring problems in numerical linear algebra.
+It is public-domain software, and can be used freely.
+
+LAPACK is available via netlib, anonymous ftp, world wide web, and a
+tar tape from NAG.
+
+The tar tape contains the Fortran source for LAPACK, the testing programs, and
+the timing programs.
+
+It also contains Fortran code for the Basic Linear Algebra Subprograms
+(the Level 1, 2, and 3 BLAS) needed by LAPACK.
+However this code is intended for use only if there is no other implementation
+of the BLAS already available on your machine; the efficiency of LAPACK
+depends very much on the efficiency of the BLAS.
+
+The complete package, including test code and timing programs in four
+different Fortran data types (real, complex, double precision, double
+complex), contains some 735,000 lines of Fortran source and comments.
+You will need approximately 33 Mbytes to read the complete tape.
+We recommend that you run the testing and timing programs.
+The total space requirements for the testing and timing for all four data
+types, including the object files, is approximately 80 Mbytes.
+
+A README file containing the information in this letter is located
+in the LAPACK directory. Postscript and LaTeX versions of the Quick
+Installation Guide are in the LAPACK/INSTALL directory, in the files
+lawn81.tex, psfig.tex, lawn81.ps, and org2.ps. Consult the Installation
+Guide for further details on installing the package and on what is contained
+in each subdirectory. For complete information on the LAPACK Testing
+and Timing Suites please consult LAPACK Working Note 41 "Installation
+Guide for LAPACK".
+
+It is highly recommended that you obtain a copy of the Second Edition of
+the LAPACK Users' Guide published by SIAM. This second edition will be
+ready sometime in late 1994. This Users' Guide gives a detailed
+description of the philosophy behind LAPACK as well as an explanation of
+its usage. The LAPACK Users' Guide can be purchased from:
+SIAM; 3600 University City Science Center; Philadelphia, PA 19104-2688;
+215-382-9800, FAX 215-386-7999. It will also be available from booksellers.
+To order by email, send email to service@siam.org.
+
+The C version of LAPACK is now available. Refer to the index on netlib
+for more information.
+
+echo "send index from clapack" | mail netlib@ornl.gov
+
+The C++ version of LAPACK is now available. Refer to the index on netlib
+for more information.
+
+echo "send index from c++/lapack++" | mail netlib@ornl.gov
+
+Or, for more information on the distributed-memory version of LAPACK,
+consult the ScaLAPACK index on netlib:
+
+echo "send index from scalapack" | mail netlib@ornl.gov
+
+LAPACK has been thoroughly tested, on many different
+types of computers. The LAPACK project supports the package in the
+sense that reports of errors or poor performance will gain immediate
+attention from the developers. Such reports, descriptions
+of interesting applications, and other comments should be sent by
+electronic mail to lapack@cs.utk.edu.
+
+A list of known problems, bugs, and compiler errors for LAPACK is
+maintained on netlib. For a copy of this report, send email to
+netlib@ornl.gov with a message of the form: send release_notes from lapack.
+
+A number of technical reports were written during the development of
+LAPACK and published as LAPACK Working Notes, initially by Argonne
+National Laboratory and later by the University of Tennessee. Many of
+these reports later appeared as journal articles. Most of these working
+notes are available in postscript form from netlib. To receive a list of
+available reports, send email to netlib@ornl.gov with a message of the
+form: send index from lapack/lawns.
+Otherwise, requests for copies of these working notes can be sent to
+the following address.
+
+LAPACK Project
+c/o J.J. Dongarra
+Computer Science Department
+University of Tennessee
+Knoxville, Tennessee 37996-1301
+USA
+Email: lapack@cs.utk.edu
diff --git a/math/lapack/pkg-plist b/math/lapack/pkg-plist
new file mode 100644
index 000000000000..af7bcb2cee19
--- /dev/null
+++ b/math/lapack/pkg-plist
@@ -0,0 +1,1189 @@
+lib/libblas.a
+lib/libblas.so.2.0
+lib/liblapack.a
+lib/liblapack.so.2.0
+man/manl/cgbmv.l
+man/manl/cgemm.l
+man/manl/cgemv.l
+man/manl/cgerc.l
+man/manl/cgeru.l
+man/manl/chbmv.l
+man/manl/chemm.l
+man/manl/chemv.l
+man/manl/cher.l
+man/manl/cher2.l
+man/manl/cher2k.l
+man/manl/cherk.l
+man/manl/chpmv.l
+man/manl/chpr.l
+man/manl/chpr2.l
+man/manl/cscal.l
+man/manl/csymm.l
+man/manl/csyr2k.l
+man/manl/csyrk.l
+man/manl/ctbmv.l
+man/manl/ctbsv.l
+man/manl/ctpmv.l
+man/manl/ctpsv.l
+man/manl/ctrmm.l
+man/manl/ctrmv.l
+man/manl/ctrsm.l
+man/manl/ctrsv.l
+man/manl/dcabs1.l
+man/manl/dgbmv.l
+man/manl/dgemm.l
+man/manl/dgemv.l
+man/manl/dger.l
+man/manl/dsbmv.l
+man/manl/dspmv.l
+man/manl/dspr.l
+man/manl/dspr2.l
+man/manl/dsymm.l
+man/manl/dsymv.l
+man/manl/dsyr.l
+man/manl/dsyr2.l
+man/manl/dsyr2k.l
+man/manl/dsyrk.l
+man/manl/dtbmv.l
+man/manl/dtbsv.l
+man/manl/dtpmv.l
+man/manl/dtpsv.l
+man/manl/dtrmm.l
+man/manl/dtrmv.l
+man/manl/dtrsm.l
+man/manl/dtrsv.l
+man/manl/lsame.l
+man/manl/sgbmv.l
+man/manl/sgemm.l
+man/manl/sgemv.l
+man/manl/sger.l
+man/manl/ssbmv.l
+man/manl/sspmv.l
+man/manl/sspr.l
+man/manl/sspr2.l
+man/manl/ssymm.l
+man/manl/ssymv.l
+man/manl/ssyr.l
+man/manl/ssyr2.l
+man/manl/ssyr2k.l
+man/manl/ssyrk.l
+man/manl/stbmv.l
+man/manl/stbsv.l
+man/manl/stpmv.l
+man/manl/stpsv.l
+man/manl/strmm.l
+man/manl/strmv.l
+man/manl/strsm.l
+man/manl/strsv.l
+man/manl/xerbla.l
+man/manl/zgbmv.l
+man/manl/zgemm.l
+man/manl/zgemv.l
+man/manl/zgerc.l
+man/manl/zgeru.l
+man/manl/zhbmv.l
+man/manl/zhemm.l
+man/manl/zhemv.l
+man/manl/zher.l
+man/manl/zher2.l
+man/manl/zher2k.l
+man/manl/zherk.l
+man/manl/zhpmv.l
+man/manl/zhpr.l
+man/manl/zhpr2.l
+man/manl/zrotg.l
+man/manl/zscal.l
+man/manl/zsymm.l
+man/manl/zsyr2k.l
+man/manl/zsyrk.l
+man/manl/ztbmv.l
+man/manl/ztbsv.l
+man/manl/ztpmv.l
+man/manl/ztpsv.l
+man/manl/ztrmm.l
+man/manl/ztrmv.l
+man/manl/ztrsm.l
+man/manl/ztrsv.l
+man/manl/cbdsqr.l
+man/manl/cgbbrd.l
+man/manl/cgbcon.l
+man/manl/cgbequ.l
+man/manl/cgbrfs.l
+man/manl/cgbsv.l
+man/manl/cgbsvx.l
+man/manl/cgbtf2.l
+man/manl/cgbtrf.l
+man/manl/cgbtrs.l
+man/manl/cgebak.l
+man/manl/cgebal.l
+man/manl/cgebd2.l
+man/manl/cgebrd.l
+man/manl/cgecon.l
+man/manl/cgeequ.l
+man/manl/cgees.l
+man/manl/cgeesx.l
+man/manl/cgeev.l
+man/manl/cgeevx.l
+man/manl/cgegs.l
+man/manl/cgegv.l
+man/manl/cgehd2.l
+man/manl/cgehrd.l
+man/manl/cgelq2.l
+man/manl/cgelqf.l
+man/manl/cgels.l
+man/manl/cgelss.l
+man/manl/cgelsx.l
+man/manl/cgeql2.l
+man/manl/cgeqlf.l
+man/manl/cgeqpf.l
+man/manl/cgeqr2.l
+man/manl/cgeqrf.l
+man/manl/cgerfs.l
+man/manl/cgerq2.l
+man/manl/cgerqf.l
+man/manl/cgesv.l
+man/manl/cgesvd.l
+man/manl/cgesvx.l
+man/manl/cgetf2.l
+man/manl/cgetrf.l
+man/manl/cgetri.l
+man/manl/cgetrs.l
+man/manl/cggbak.l
+man/manl/cggbal.l
+man/manl/cggglm.l
+man/manl/cgghrd.l
+man/manl/cgglse.l
+man/manl/cggqrf.l
+man/manl/cggrqf.l
+man/manl/cggsvd.l
+man/manl/cggsvp.l
+man/manl/cgtcon.l
+man/manl/cgtrfs.l
+man/manl/cgtsv.l
+man/manl/cgtsvx.l
+man/manl/cgttrf.l
+man/manl/cgttrs.l
+man/manl/chbev.l
+man/manl/chbevd.l
+man/manl/chbevx.l
+man/manl/chbgst.l
+man/manl/chbgv.l
+man/manl/chbtrd.l
+man/manl/checon.l
+man/manl/cheev.l
+man/manl/cheevd.l
+man/manl/cheevx.l
+man/manl/chegs2.l
+man/manl/chegst.l
+man/manl/chegv.l
+man/manl/cherfs.l
+man/manl/chesv.l
+man/manl/chesvx.l
+man/manl/chetd2.l
+man/manl/chetf2.l
+man/manl/chetrd.l
+man/manl/chetrf.l
+man/manl/chetri.l
+man/manl/chetrs.l
+man/manl/chgeqz.l
+man/manl/chpcon.l
+man/manl/chpev.l
+man/manl/chpevd.l
+man/manl/chpevx.l
+man/manl/chpgst.l
+man/manl/chpgv.l
+man/manl/chprfs.l
+man/manl/chpsv.l
+man/manl/chpsvx.l
+man/manl/chptrd.l
+man/manl/chptrf.l
+man/manl/chptri.l
+man/manl/chptrs.l
+man/manl/chsein.l
+man/manl/chseqr.l
+man/manl/clabrd.l
+man/manl/clacgv.l
+man/manl/clacon.l
+man/manl/clacpy.l
+man/manl/clacrm.l
+man/manl/clacrt.l
+man/manl/cladiv.l
+man/manl/claed0.l
+man/manl/claed7.l
+man/manl/claed8.l
+man/manl/claein.l
+man/manl/claesy.l
+man/manl/claev2.l
+man/manl/clags2.l
+man/manl/clagtm.l
+man/manl/clahef.l
+man/manl/clahqr.l
+man/manl/clahrd.l
+man/manl/claic1.l
+man/manl/clangb.l
+man/manl/clange.l
+man/manl/clangt.l
+man/manl/clanhb.l
+man/manl/clanhe.l
+man/manl/clanhp.l
+man/manl/clanhs.l
+man/manl/clanht.l
+man/manl/clansb.l
+man/manl/clansp.l
+man/manl/clansy.l
+man/manl/clantb.l
+man/manl/clantp.l
+man/manl/clantr.l
+man/manl/clapll.l
+man/manl/clapmt.l
+man/manl/claqgb.l
+man/manl/claqge.l
+man/manl/claqhb.l
+man/manl/claqhe.l
+man/manl/claqhp.l
+man/manl/claqsb.l
+man/manl/claqsp.l
+man/manl/claqsy.l
+man/manl/clar2v.l
+man/manl/clarf.l
+man/manl/clarfb.l
+man/manl/clarfg.l
+man/manl/clarft.l
+man/manl/clarfx.l
+man/manl/clargv.l
+man/manl/clarnv.l
+man/manl/clartg.l
+man/manl/clartv.l
+man/manl/clascl.l
+man/manl/claset.l
+man/manl/clasr.l
+man/manl/classq.l
+man/manl/claswp.l
+man/manl/clasyf.l
+man/manl/clatbs.l
+man/manl/clatps.l
+man/manl/clatrd.l
+man/manl/clatrs.l
+man/manl/clatzm.l
+man/manl/clauu2.l
+man/manl/clauum.l
+man/manl/cpbcon.l
+man/manl/cpbequ.l
+man/manl/cpbrfs.l
+man/manl/cpbstf.l
+man/manl/cpbsv.l
+man/manl/cpbsvx.l
+man/manl/cpbtf2.l
+man/manl/cpbtrf.l
+man/manl/cpbtrs.l
+man/manl/cpocon.l
+man/manl/cpoequ.l
+man/manl/cporfs.l
+man/manl/cposv.l
+man/manl/cposvx.l
+man/manl/cpotf2.l
+man/manl/cpotrf.l
+man/manl/cpotri.l
+man/manl/cpotrs.l
+man/manl/cppcon.l
+man/manl/cppequ.l
+man/manl/cpprfs.l
+man/manl/cppsv.l
+man/manl/cppsvx.l
+man/manl/cpptrf.l
+man/manl/cpptri.l
+man/manl/cpptrs.l
+man/manl/cptcon.l
+man/manl/cpteqr.l
+man/manl/cptrfs.l
+man/manl/cptsv.l
+man/manl/cptsvx.l
+man/manl/cpttrf.l
+man/manl/cpttrs.l
+man/manl/crot.l
+man/manl/cspcon.l
+man/manl/cspmv.l
+man/manl/cspr.l
+man/manl/csprfs.l
+man/manl/cspsv.l
+man/manl/cspsvx.l
+man/manl/csptrf.l
+man/manl/csptri.l
+man/manl/csptrs.l
+man/manl/csrot.l
+man/manl/csrscl.l
+man/manl/cstedc.l
+man/manl/cstein.l
+man/manl/csteqr.l
+man/manl/csycon.l
+man/manl/csymv.l
+man/manl/csyr.l
+man/manl/csyrfs.l
+man/manl/csysv.l
+man/manl/csysvx.l
+man/manl/csytf2.l
+man/manl/csytrf.l
+man/manl/csytri.l
+man/manl/csytrs.l
+man/manl/ctbcon.l
+man/manl/ctbrfs.l
+man/manl/ctbtrs.l
+man/manl/ctgevc.l
+man/manl/ctgsja.l
+man/manl/ctpcon.l
+man/manl/ctprfs.l
+man/manl/ctptri.l
+man/manl/ctptrs.l
+man/manl/ctrcon.l
+man/manl/ctrevc.l
+man/manl/ctrexc.l
+man/manl/ctrrfs.l
+man/manl/ctrsen.l
+man/manl/ctrsna.l
+man/manl/ctrsyl.l
+man/manl/ctrti2.l
+man/manl/ctrtri.l
+man/manl/ctrtrs.l
+man/manl/ctzrqf.l
+man/manl/cung2l.l
+man/manl/cung2r.l
+man/manl/cungbr.l
+man/manl/cunghr.l
+man/manl/cungl2.l
+man/manl/cunglq.l
+man/manl/cungql.l
+man/manl/cungqr.l
+man/manl/cungr2.l
+man/manl/cungrq.l
+man/manl/cungtr.l
+man/manl/cunm2l.l
+man/manl/cunm2r.l
+man/manl/cunmbr.l
+man/manl/cunmhr.l
+man/manl/cunml2.l
+man/manl/cunmlq.l
+man/manl/cunmql.l
+man/manl/cunmqr.l
+man/manl/cunmr2.l
+man/manl/cunmrq.l
+man/manl/cunmtr.l
+man/manl/cupgtr.l
+man/manl/cupmtr.l
+man/manl/dbdsqr.l
+man/manl/ddisna.l
+man/manl/dgbbrd.l
+man/manl/dgbcon.l
+man/manl/dgbequ.l
+man/manl/dgbrfs.l
+man/manl/dgbsv.l
+man/manl/dgbsvx.l
+man/manl/dgbtf2.l
+man/manl/dgbtrf.l
+man/manl/dgbtrs.l
+man/manl/dgebak.l
+man/manl/dgebal.l
+man/manl/dgebd2.l
+man/manl/dgebrd.l
+man/manl/dgecon.l
+man/manl/dgeequ.l
+man/manl/dgees.l
+man/manl/dgeesx.l
+man/manl/dgeev.l
+man/manl/dgeevx.l
+man/manl/dgegs.l
+man/manl/dgegv.l
+man/manl/dgehd2.l
+man/manl/dgehrd.l
+man/manl/dgelq2.l
+man/manl/dgelqf.l
+man/manl/dgels.l
+man/manl/dgelss.l
+man/manl/dgelsx.l
+man/manl/dgeql2.l
+man/manl/dgeqlf.l
+man/manl/dgeqpf.l
+man/manl/dgeqr2.l
+man/manl/dgeqrf.l
+man/manl/dgerfs.l
+man/manl/dgerq2.l
+man/manl/dgerqf.l
+man/manl/dgesv.l
+man/manl/dgesvd.l
+man/manl/dgesvx.l
+man/manl/dgetf2.l
+man/manl/dgetrf.l
+man/manl/dgetri.l
+man/manl/dgetrs.l
+man/manl/dggbak.l
+man/manl/dggbal.l
+man/manl/dggglm.l
+man/manl/dgghrd.l
+man/manl/dgglse.l
+man/manl/dggqrf.l
+man/manl/dggrqf.l
+man/manl/dggsvd.l
+man/manl/dggsvp.l
+man/manl/dgtcon.l
+man/manl/dgtrfs.l
+man/manl/dgtsv.l
+man/manl/dgtsvx.l
+man/manl/dgttrf.l
+man/manl/dgttrs.l
+man/manl/dhgeqz.l
+man/manl/dhsein.l
+man/manl/dhseqr.l
+man/manl/dlabad.l
+man/manl/dlabrd.l
+man/manl/dlacon.l
+man/manl/dlacpy.l
+man/manl/dladiv.l
+man/manl/dlae2.l
+man/manl/dlaebz.l
+man/manl/dlaed0.l
+man/manl/dlaed1.l
+man/manl/dlaed2.l
+man/manl/dlaed3.l
+man/manl/dlaed4.l
+man/manl/dlaed5.l
+man/manl/dlaed6.l
+man/manl/dlaed7.l
+man/manl/dlaed8.l
+man/manl/dlaed9.l
+man/manl/dlaeda.l
+man/manl/dlaein.l
+man/manl/dlaev2.l
+man/manl/dlaexc.l
+man/manl/dlag2.l
+man/manl/dlags2.l
+man/manl/dlagtf.l
+man/manl/dlagtm.l
+man/manl/dlagts.l
+man/manl/dlahqr.l
+man/manl/dlahrd.l
+man/manl/dlaic1.l
+man/manl/dlaln2.l
+man/manl/dlamch.l
+man/manl/dlamrg.l
+man/manl/dlangb.l
+man/manl/dlange.l
+man/manl/dlangt.l
+man/manl/dlanhs.l
+man/manl/dlansb.l
+man/manl/dlansp.l
+man/manl/dlanst.l
+man/manl/dlansy.l
+man/manl/dlantb.l
+man/manl/dlantp.l
+man/manl/dlantr.l
+man/manl/dlanv2.l
+man/manl/dlapll.l
+man/manl/dlapmt.l
+man/manl/dlapy2.l
+man/manl/dlapy3.l
+man/manl/dlaqgb.l
+man/manl/dlaqge.l
+man/manl/dlaqsb.l
+man/manl/dlaqsp.l
+man/manl/dlaqsy.l
+man/manl/dlaqtr.l
+man/manl/dlar2v.l
+man/manl/dlarf.l
+man/manl/dlarfb.l
+man/manl/dlarfg.l
+man/manl/dlarft.l
+man/manl/dlarfx.l
+man/manl/dlargv.l
+man/manl/dlarnv.l
+man/manl/dlartg.l
+man/manl/dlartv.l
+man/manl/dlaruv.l
+man/manl/dlas2.l
+man/manl/dlascl.l
+man/manl/dlaset.l
+man/manl/dlasq1.l
+man/manl/dlasq2.l
+man/manl/dlasq3.l
+man/manl/dlasq4.l
+man/manl/dlasr.l
+man/manl/dlasrt.l
+man/manl/dlassq.l
+man/manl/dlasv2.l
+man/manl/dlaswp.l
+man/manl/dlasy2.l
+man/manl/dlasyf.l
+man/manl/dlatbs.l
+man/manl/dlatps.l
+man/manl/dlatrd.l
+man/manl/dlatrs.l
+man/manl/dlatzm.l
+man/manl/dlauu2.l
+man/manl/dlauum.l
+man/manl/dopgtr.l
+man/manl/dopmtr.l
+man/manl/dorg2l.l
+man/manl/dorg2r.l
+man/manl/dorgbr.l
+man/manl/dorghr.l
+man/manl/dorgl2.l
+man/manl/dorglq.l
+man/manl/dorgql.l
+man/manl/dorgqr.l
+man/manl/dorgr2.l
+man/manl/dorgrq.l
+man/manl/dorgtr.l
+man/manl/dorm2l.l
+man/manl/dorm2r.l
+man/manl/dormbr.l
+man/manl/dormhr.l
+man/manl/dorml2.l
+man/manl/dormlq.l
+man/manl/dormql.l
+man/manl/dormqr.l
+man/manl/dormr2.l
+man/manl/dormrq.l
+man/manl/dormtr.l
+man/manl/dpbcon.l
+man/manl/dpbequ.l
+man/manl/dpbrfs.l
+man/manl/dpbstf.l
+man/manl/dpbsv.l
+man/manl/dpbsvx.l
+man/manl/dpbtf2.l
+man/manl/dpbtrf.l
+man/manl/dpbtrs.l
+man/manl/dpocon.l
+man/manl/dpoequ.l
+man/manl/dporfs.l
+man/manl/dposv.l
+man/manl/dposvx.l
+man/manl/dpotf2.l
+man/manl/dpotrf.l
+man/manl/dpotri.l
+man/manl/dpotrs.l
+man/manl/dppcon.l
+man/manl/dppequ.l
+man/manl/dpprfs.l
+man/manl/dppsv.l
+man/manl/dppsvx.l
+man/manl/dpptrf.l
+man/manl/dpptri.l
+man/manl/dpptrs.l
+man/manl/dptcon.l
+man/manl/dpteqr.l
+man/manl/dptrfs.l
+man/manl/dptsv.l
+man/manl/dptsvx.l
+man/manl/dpttrf.l
+man/manl/dpttrs.l
+man/manl/drscl.l
+man/manl/dsbev.l
+man/manl/dsbevd.l
+man/manl/dsbevx.l
+man/manl/dsbgst.l
+man/manl/dsbgv.l
+man/manl/dsbtrd.l
+man/manl/dsecnd.l
+man/manl/dspcon.l
+man/manl/dspev.l
+man/manl/dspevd.l
+man/manl/dspevx.l
+man/manl/dspgst.l
+man/manl/dspgv.l
+man/manl/dsprfs.l
+man/manl/dspsv.l
+man/manl/dspsvx.l
+man/manl/dsptrd.l
+man/manl/dsptrf.l
+man/manl/dsptri.l
+man/manl/dsptrs.l
+man/manl/dstebz.l
+man/manl/dstedc.l
+man/manl/dstein.l
+man/manl/dsteqr.l
+man/manl/dsterf.l
+man/manl/dstev.l
+man/manl/dstevd.l
+man/manl/dstevx.l
+man/manl/dsycon.l
+man/manl/dsyev.l
+man/manl/dsyevd.l
+man/manl/dsyevx.l
+man/manl/dsygs2.l
+man/manl/dsygst.l
+man/manl/dsygv.l
+man/manl/dsyrfs.l
+man/manl/dsysv.l
+man/manl/dsysvx.l
+man/manl/dsytd2.l
+man/manl/dsytf2.l
+man/manl/dsytrd.l
+man/manl/dsytrf.l
+man/manl/dsytri.l
+man/manl/dsytrs.l
+man/manl/dtbcon.l
+man/manl/dtbrfs.l
+man/manl/dtbtrs.l
+man/manl/dtgevc.l
+man/manl/dtgsja.l
+man/manl/dtpcon.l
+man/manl/dtprfs.l
+man/manl/dtptri.l
+man/manl/dtptrs.l
+man/manl/dtrcon.l
+man/manl/dtrevc.l
+man/manl/dtrexc.l
+man/manl/dtrrfs.l
+man/manl/dtrsen.l
+man/manl/dtrsna.l
+man/manl/dtrsyl.l
+man/manl/dtrti2.l
+man/manl/dtrtri.l
+man/manl/dtrtrs.l
+man/manl/dtzrqf.l
+man/manl/dzsum1.l
+man/manl/icmax1.l
+man/manl/ilaenv.l
+man/manl/izmax1.l
+man/manl/lapack.l
+man/manl/lsame.l
+man/manl/lsamen.l
+man/manl/sbdsqr.l
+man/manl/scsum1.l
+man/manl/sdisna.l
+man/manl/second.l
+man/manl/sgbbrd.l
+man/manl/sgbcon.l
+man/manl/sgbequ.l
+man/manl/sgbrfs.l
+man/manl/sgbsv.l
+man/manl/sgbsvx.l
+man/manl/sgbtf2.l
+man/manl/sgbtrf.l
+man/manl/sgbtrs.l
+man/manl/sgebak.l
+man/manl/sgebal.l
+man/manl/sgebd2.l
+man/manl/sgebrd.l
+man/manl/sgecon.l
+man/manl/sgeequ.l
+man/manl/sgees.l
+man/manl/sgeesx.l
+man/manl/sgeev.l
+man/manl/sgeevx.l
+man/manl/sgegs.l
+man/manl/sgegv.l
+man/manl/sgehd2.l
+man/manl/sgehrd.l
+man/manl/sgelq2.l
+man/manl/sgelqf.l
+man/manl/sgels.l
+man/manl/sgelss.l
+man/manl/sgelsx.l
+man/manl/sgeql2.l
+man/manl/sgeqlf.l
+man/manl/sgeqpf.l
+man/manl/sgeqr2.l
+man/manl/sgeqrf.l
+man/manl/sgerfs.l
+man/manl/sgerq2.l
+man/manl/sgerqf.l
+man/manl/sgesv.l
+man/manl/sgesvd.l
+man/manl/sgesvx.l
+man/manl/sgetf2.l
+man/manl/sgetrf.l
+man/manl/sgetri.l
+man/manl/sgetrs.l
+man/manl/sggbak.l
+man/manl/sggbal.l
+man/manl/sggglm.l
+man/manl/sgghrd.l
+man/manl/sgglse.l
+man/manl/sggqrf.l
+man/manl/sggrqf.l
+man/manl/sggsvd.l
+man/manl/sggsvp.l
+man/manl/sgtcon.l
+man/manl/sgtrfs.l
+man/manl/sgtsv.l
+man/manl/sgtsvx.l
+man/manl/sgttrf.l
+man/manl/sgttrs.l
+man/manl/shgeqz.l
+man/manl/shsein.l
+man/manl/shseqr.l
+man/manl/slabad.l
+man/manl/slabrd.l
+man/manl/slacon.l
+man/manl/slacpy.l
+man/manl/sladiv.l
+man/manl/slae2.l
+man/manl/slaebz.l
+man/manl/slaed0.l
+man/manl/slaed1.l
+man/manl/slaed2.l
+man/manl/slaed3.l
+man/manl/slaed4.l
+man/manl/slaed5.l
+man/manl/slaed6.l
+man/manl/slaed7.l
+man/manl/slaed8.l
+man/manl/slaed9.l
+man/manl/slaeda.l
+man/manl/slaein.l
+man/manl/slaev2.l
+man/manl/slaexc.l
+man/manl/slag2.l
+man/manl/slags2.l
+man/manl/slagtf.l
+man/manl/slagtm.l
+man/manl/slagts.l
+man/manl/slahqr.l
+man/manl/slahrd.l
+man/manl/slaic1.l
+man/manl/slaln2.l
+man/manl/slamch.l
+man/manl/slamrg.l
+man/manl/slangb.l
+man/manl/slange.l
+man/manl/slangt.l
+man/manl/slanhs.l
+man/manl/slansb.l
+man/manl/slansp.l
+man/manl/slanst.l
+man/manl/slansy.l
+man/manl/slantb.l
+man/manl/slantp.l
+man/manl/slantr.l
+man/manl/slanv2.l
+man/manl/slapll.l
+man/manl/slapmt.l
+man/manl/slapy2.l
+man/manl/slapy3.l
+man/manl/slaqgb.l
+man/manl/slaqge.l
+man/manl/slaqsb.l
+man/manl/slaqsp.l
+man/manl/slaqsy.l
+man/manl/slaqtr.l
+man/manl/slar2v.l
+man/manl/slarf.l
+man/manl/slarfb.l
+man/manl/slarfg.l
+man/manl/slarft.l
+man/manl/slarfx.l
+man/manl/slargv.l
+man/manl/slarnv.l
+man/manl/slartg.l
+man/manl/slartv.l
+man/manl/slaruv.l
+man/manl/slas2.l
+man/manl/slascl.l
+man/manl/slaset.l
+man/manl/slasq1.l
+man/manl/slasq2.l
+man/manl/slasq3.l
+man/manl/slasq4.l
+man/manl/slasr.l
+man/manl/slasrt.l
+man/manl/slassq.l
+man/manl/slasv2.l
+man/manl/slaswp.l
+man/manl/slasy2.l
+man/manl/slasyf.l
+man/manl/slatbs.l
+man/manl/slatps.l
+man/manl/slatrd.l
+man/manl/slatrs.l
+man/manl/slatzm.l
+man/manl/slauu2.l
+man/manl/slauum.l
+man/manl/sopgtr.l
+man/manl/sopmtr.l
+man/manl/sorg2l.l
+man/manl/sorg2r.l
+man/manl/sorgbr.l
+man/manl/sorghr.l
+man/manl/sorgl2.l
+man/manl/sorglq.l
+man/manl/sorgql.l
+man/manl/sorgqr.l
+man/manl/sorgr2.l
+man/manl/sorgrq.l
+man/manl/sorgtr.l
+man/manl/sorm2l.l
+man/manl/sorm2r.l
+man/manl/sormbr.l
+man/manl/sormhr.l
+man/manl/sorml2.l
+man/manl/sormlq.l
+man/manl/sormql.l
+man/manl/sormqr.l
+man/manl/sormr2.l
+man/manl/sormrq.l
+man/manl/sormtr.l
+man/manl/spbcon.l
+man/manl/spbequ.l
+man/manl/spbrfs.l
+man/manl/spbstf.l
+man/manl/spbsv.l
+man/manl/spbsvx.l
+man/manl/spbtf2.l
+man/manl/spbtrf.l
+man/manl/spbtrs.l
+man/manl/spocon.l
+man/manl/spoequ.l
+man/manl/sporfs.l
+man/manl/sposv.l
+man/manl/sposvx.l
+man/manl/spotf2.l
+man/manl/spotrf.l
+man/manl/spotri.l
+man/manl/spotrs.l
+man/manl/sppcon.l
+man/manl/sppequ.l
+man/manl/spprfs.l
+man/manl/sppsv.l
+man/manl/sppsvx.l
+man/manl/spptrf.l
+man/manl/spptri.l
+man/manl/spptrs.l
+man/manl/sptcon.l
+man/manl/spteqr.l
+man/manl/sptrfs.l
+man/manl/sptsv.l
+man/manl/sptsvx.l
+man/manl/spttrf.l
+man/manl/spttrs.l
+man/manl/srscl.l
+man/manl/ssbev.l
+man/manl/ssbevd.l
+man/manl/ssbevx.l
+man/manl/ssbgst.l
+man/manl/ssbgv.l
+man/manl/ssbtrd.l
+man/manl/sspcon.l
+man/manl/sspev.l
+man/manl/sspevd.l
+man/manl/sspevx.l
+man/manl/sspgst.l
+man/manl/sspgv.l
+man/manl/ssprfs.l
+man/manl/sspsv.l
+man/manl/sspsvx.l
+man/manl/ssptrd.l
+man/manl/ssptrf.l
+man/manl/ssptri.l
+man/manl/ssptrs.l
+man/manl/sstebz.l
+man/manl/sstedc.l
+man/manl/sstein.l
+man/manl/ssteqr.l
+man/manl/ssterf.l
+man/manl/sstev.l
+man/manl/sstevd.l
+man/manl/sstevx.l
+man/manl/ssycon.l
+man/manl/ssyev.l
+man/manl/ssyevd.l
+man/manl/ssyevx.l
+man/manl/ssygs2.l
+man/manl/ssygst.l
+man/manl/ssygv.l
+man/manl/ssyrfs.l
+man/manl/ssysv.l
+man/manl/ssysvx.l
+man/manl/ssytd2.l
+man/manl/ssytf2.l
+man/manl/ssytrd.l
+man/manl/ssytrf.l
+man/manl/ssytri.l
+man/manl/ssytrs.l
+man/manl/stbcon.l
+man/manl/stbrfs.l
+man/manl/stbtrs.l
+man/manl/stgevc.l
+man/manl/stgsja.l
+man/manl/stpcon.l
+man/manl/stprfs.l
+man/manl/stptri.l
+man/manl/stptrs.l
+man/manl/strcon.l
+man/manl/strevc.l
+man/manl/strexc.l
+man/manl/strrfs.l
+man/manl/strsen.l
+man/manl/strsna.l
+man/manl/strsyl.l
+man/manl/strti2.l
+man/manl/strtri.l
+man/manl/strtrs.l
+man/manl/stzrqf.l
+man/manl/xerbla.l
+man/manl/zbcon.l
+man/manl/zbdsqr.l
+man/manl/zdrot.l
+man/manl/zdrscl.l
+man/manl/zgbbrd.l
+man/manl/zgbcon.l
+man/manl/zgbequ.l
+man/manl/zgbrfs.l
+man/manl/zgbsv.l
+man/manl/zgbsvx.l
+man/manl/zgbtf2.l
+man/manl/zgbtrf.l
+man/manl/zgbtrs.l
+man/manl/zgebak.l
+man/manl/zgebal.l
+man/manl/zgebd2.l
+man/manl/zgebrd.l
+man/manl/zgecon.l
+man/manl/zgeequ.l
+man/manl/zgees.l
+man/manl/zgeesx.l
+man/manl/zgeev.l
+man/manl/zgeevx.l
+man/manl/zgegs.l
+man/manl/zgegv.l
+man/manl/zgehd2.l
+man/manl/zgehrd.l
+man/manl/zgelq2.l
+man/manl/zgelqf.l
+man/manl/zgels.l
+man/manl/zgelss.l
+man/manl/zgelsx.l
+man/manl/zgeql2.l
+man/manl/zgeqlf.l
+man/manl/zgeqpf.l
+man/manl/zgeqr2.l
+man/manl/zgeqrf.l
+man/manl/zgerfs.l
+man/manl/zgerq2.l
+man/manl/zgerqf.l
+man/manl/zgesv.l
+man/manl/zgesvd.l
+man/manl/zgesvx.l
+man/manl/zgetf2.l
+man/manl/zgetrf.l
+man/manl/zgetri.l
+man/manl/zgetrs.l
+man/manl/zggbak.l
+man/manl/zggbal.l
+man/manl/zggglm.l
+man/manl/zgghrd.l
+man/manl/zgglse.l
+man/manl/zggqrf.l
+man/manl/zggrqf.l
+man/manl/zggsvd.l
+man/manl/zggsvp.l
+man/manl/zgtcon.l
+man/manl/zgtrfs.l
+man/manl/zgtsv.l
+man/manl/zgtsvx.l
+man/manl/zgttrf.l
+man/manl/zgttrs.l
+man/manl/zhbev.l
+man/manl/zhbevd.l
+man/manl/zhbevx.l
+man/manl/zhbgst.l
+man/manl/zhbgv.l
+man/manl/zhbtrd.l
+man/manl/zhecon.l
+man/manl/zheev.l
+man/manl/zheevd.l
+man/manl/zheevx.l
+man/manl/zhegs2.l
+man/manl/zhegst.l
+man/manl/zhegv.l
+man/manl/zherfs.l
+man/manl/zhesv.l
+man/manl/zhesvx.l
+man/manl/zhetd2.l
+man/manl/zhetf2.l
+man/manl/zhetrd.l
+man/manl/zhetrf.l
+man/manl/zhetri.l
+man/manl/zhetrs.l
+man/manl/zhgeqz.l
+man/manl/zhpcon.l
+man/manl/zhpev.l
+man/manl/zhpevd.l
+man/manl/zhpevx.l
+man/manl/zhpgst.l
+man/manl/zhpgv.l
+man/manl/zhprfs.l
+man/manl/zhpsv.l
+man/manl/zhpsvx.l
+man/manl/zhptrd.l
+man/manl/zhptrf.l
+man/manl/zhptri.l
+man/manl/zhptrs.l
+man/manl/zhsein.l
+man/manl/zhseqr.l
+man/manl/zlabrd.l
+man/manl/zlacgv.l
+man/manl/zlacon.l
+man/manl/zlacpy.l
+man/manl/zlacrm.l
+man/manl/zlacrt.l
+man/manl/zladiv.l
+man/manl/zlaed0.l
+man/manl/zlaed7.l
+man/manl/zlaed8.l
+man/manl/zlaein.l
+man/manl/zlaesy.l
+man/manl/zlaev2.l
+man/manl/zlags2.l
+man/manl/zlagtm.l
+man/manl/zlahef.l
+man/manl/zlahqr.l
+man/manl/zlahrd.l
+man/manl/zlaic1.l
+man/manl/zlangb.l
+man/manl/zlange.l
+man/manl/zlangt.l
+man/manl/zlanhb.l
+man/manl/zlanhe.l
+man/manl/zlanhp.l
+man/manl/zlanhs.l
+man/manl/zlanht.l
+man/manl/zlansb.l
+man/manl/zlansp.l
+man/manl/zlansy.l
+man/manl/zlantb.l
+man/manl/zlantp.l
+man/manl/zlantr.l
+man/manl/zlapll.l
+man/manl/zlapmt.l
+man/manl/zlaqgb.l
+man/manl/zlaqge.l
+man/manl/zlaqhb.l
+man/manl/zlaqhe.l
+man/manl/zlaqhp.l
+man/manl/zlaqsb.l
+man/manl/zlaqsp.l
+man/manl/zlaqsy.l
+man/manl/zlar2v.l
+man/manl/zlarf.l
+man/manl/zlarfb.l
+man/manl/zlarfg.l
+man/manl/zlarft.l
+man/manl/zlarfx.l
+man/manl/zlargv.l
+man/manl/zlarnv.l
+man/manl/zlartg.l
+man/manl/zlartv.l
+man/manl/zlascl.l
+man/manl/zlaset.l
+man/manl/zlasr.l
+man/manl/zlassq.l
+man/manl/zlaswp.l
+man/manl/zlasyf.l
+man/manl/zlatbs.l
+man/manl/zlatps.l
+man/manl/zlatrd.l
+man/manl/zlatrs.l
+man/manl/zlatzm.l
+man/manl/zlauu2.l
+man/manl/zlauum.l
+man/manl/zpbcon.l
+man/manl/zpbequ.l
+man/manl/zpbrfs.l
+man/manl/zpbstf.l
+man/manl/zpbsv.l
+man/manl/zpbsvx.l
+man/manl/zpbtf2.l
+man/manl/zpbtrf.l
+man/manl/zpbtrs.l
+man/manl/zpocon.l
+man/manl/zpoequ.l
+man/manl/zporfs.l
+man/manl/zposv.l
+man/manl/zposvx.l
+man/manl/zpotf2.l
+man/manl/zpotrf.l
+man/manl/zpotri.l
+man/manl/zpotrs.l
+man/manl/zppcon.l
+man/manl/zppequ.l
+man/manl/zpprfs.l
+man/manl/zppsv.l
+man/manl/zppsvx.l
+man/manl/zpptrf.l
+man/manl/zpptri.l
+man/manl/zpptrs.l
+man/manl/zptcon.l
+man/manl/zpteqr.l
+man/manl/zptrfs.l
+man/manl/zptsv.l
+man/manl/zptsvx.l
+man/manl/zpttrf.l
+man/manl/zpttrs.l
+man/manl/zrot.l
+man/manl/zspcon.l
+man/manl/zspmv.l
+man/manl/zspr.l
+man/manl/zsprfs.l
+man/manl/zspsv.l
+man/manl/zspsvx.l
+man/manl/zsptrf.l
+man/manl/zsptri.l
+man/manl/zsptrs.l
+man/manl/zsrscl.l
+man/manl/zstedc.l
+man/manl/zstein.l
+man/manl/zsteqr.l
+man/manl/zsycon.l
+man/manl/zsymv.l
+man/manl/zsyr.l
+man/manl/zsyrfs.l
+man/manl/zsysv.l
+man/manl/zsysvx.l
+man/manl/zsytf2.l
+man/manl/zsytrf.l
+man/manl/zsytri.l
+man/manl/zsytrs.l
+man/manl/ztbcon.l
+man/manl/ztbrfs.l
+man/manl/ztbtrs.l
+man/manl/ztgevc.l
+man/manl/ztgsja.l
+man/manl/ztpcon.l
+man/manl/ztprfs.l
+man/manl/ztptri.l
+man/manl/ztptrs.l
+man/manl/ztrcon.l
+man/manl/ztrevc.l
+man/manl/ztrexc.l
+man/manl/ztrrfs.l
+man/manl/ztrsen.l
+man/manl/ztrsna.l
+man/manl/ztrsyl.l
+man/manl/ztrti2.l
+man/manl/ztrtri.l
+man/manl/ztrtrs.l
+man/manl/ztzrqf.l
+man/manl/zung2l.l
+man/manl/zung2r.l
+man/manl/zungbr.l
+man/manl/zunghr.l
+man/manl/zungl2.l
+man/manl/zunglq.l
+man/manl/zungql.l
+man/manl/zungqr.l
+man/manl/zungr2.l
+man/manl/zungrq.l
+man/manl/zungtr.l
+man/manl/zunm2l.l
+man/manl/zunm2r.l
+man/manl/zunmbr.l
+man/manl/zunmhr.l
+man/manl/zunml2.l
+man/manl/zunmlq.l
+man/manl/zunmql.l
+man/manl/zunmqr.l
+man/manl/zunmr2.l
+man/manl/zunmrq.l
+man/manl/zunmtr.l
+man/manl/zupgtr.l
+man/manl/zupmtr.l
diff --git a/math/lapack/scripts/configure b/math/lapack/scripts/configure
new file mode 100644
index 000000000000..f4b4ab41ef75
--- /dev/null
+++ b/math/lapack/scripts/configure
@@ -0,0 +1,267 @@
+cd $WRKSRC/BLAS/SRC || exit 1
+
+mv Makefile Makefile.old
+
+cat >Makefile <<'END'
+LIB= blas
+SHLIB_MAJOR= 2
+SHLIB_MINOR= 0
+
+SBLAS1= isamax.f sasum.f saxpy.f scopy.f sdot.f snrm2.f \
+ srot.f srotg.f sscal.f sswap.f
+CBLAS1 = scasum.f scnrm2.f icamax.f caxpy.f ccopy.f \
+ cdotc.f cdotu.f csscal.f crotg.f cscal.f cswap.f
+DBLAS1 = idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f \
+ drot.f drotg.f dscal.f dswap.f
+ZBLAS1 = dcabs1.f dzasum.f dznrm2.f izamax.f zaxpy.f zcopy.f \
+ zdotc.f zdotu.f zdscal.f zrotg.f zscal.f zswap.f
+
+ALLBLAS = lsame.f xerbla.f
+
+SBLAS2 = sgemv.f sgbmv.f ssymv.f ssbmv.f sspmv.f \
+ strmv.f stbmv.f stpmv.f strsv.f stbsv.f stpsv.f \
+ sger.f ssyr.f sspr.f ssyr2.f sspr2.f
+CBLAS2 = cgemv.f cgbmv.f chemv.f chbmv.f chpmv.f \
+ ctrmv.f ctbmv.f ctpmv.f ctrsv.f ctbsv.f ctpsv.f \
+ cgerc.f cgeru.f cher.f chpr.f cher2.f chpr2.f
+DBLAS2 = dgemv.f dgbmv.f dsymv.f dsbmv.f dspmv.f \
+ dtrmv.f dtbmv.f dtpmv.f dtrsv.f dtbsv.f dtpsv.f \
+ dger.f dsyr.f dspr.f dsyr2.f dspr2.f
+ZBLAS2 = zgemv.f zgbmv.f zhemv.f zhbmv.f zhpmv.f \
+ ztrmv.f ztbmv.f ztpmv.f ztrsv.f ztbsv.f ztpsv.f \
+ zgerc.f zgeru.f zher.f zhpr.f zher2.f zhpr2.f
+
+SBLAS3 = sgemm.f ssymm.f ssyrk.f ssyr2k.f strmm.f strsm.f
+CBLAS3 = cgemm.f csymm.f csyrk.f csyr2k.f ctrmm.f ctrsm.f \
+ chemm.f cherk.f cher2k.f
+DBLAS3 = dgemm.f dsymm.f dsyrk.f dsyr2k.f dtrmm.f dtrsm.f
+ZBLAS3 = zgemm.f zsymm.f zsyrk.f zsyr2k.f ztrmm.f ztrsm.f \
+ zhemm.f zherk.f zher2k.f
+
+SRCS= $(ALLBLAS) $(SBLAS1) $(SBLAS2) $(SBLAS3) \
+ $(DBLAS1) $(DBLAS2) $(DBLAS3) \
+ $(CBLAS1) $(CBLAS2) $(CBLAS3) \
+ $(ZBLAS1) $(ZBLAS2) $(ZBLAS3)
+
+.include <bsd.lib.mk>
+END
+
+cd $WRKSRC/SRC || exit 1
+mv Makefile Makefile.old
+
+cat >Makefile <<'END'
+LIB= lapack
+SHLIB_MAJOR= 2
+SHLIB_MINOR= 0
+
+ALLAUX = ilaenv.f lsame.f lsamen.f xerbla.f etime_.c
+
+SCLAUX = \
+ sbdsqr.f sdisna.f slabad.f slacpy.f sladiv.f slae2.f slaebz.f \
+ slaed0.f slaed1.f slaed2.f slaed3.f slaed4.f slaed5.f slaed6.f \
+ slaed7.f slaed8.f slaed9.f slaeda.f slaev2.f slagtf.f \
+ slagts.f slamch.f slamrg.f slanst.f slapy2.f slapy3.f slarnv.f \
+ slartg.f slaruv.f \
+ slas2.f slascl.f slaset.f slasq1.f slasq2.f slasq3.f slasq4.f \
+ slasr.f slasrt.f slassq.f slasv2.f spttrf.f sstebz.f sstedc.f \
+ ssteqr.f ssterf.f second.f
+
+DZLAUX = \
+ dbdsqr.f ddisna.f dlabad.f dlacpy.f dladiv.f dlae2.f dlaebz.f \
+ dlaed0.f dlaed1.f dlaed2.f dlaed3.f dlaed4.f dlaed5.f dlaed6.f \
+ dlaed7.f dlaed8.f dlaed9.f dlaeda.f dlaev2.f dlagtf.f \
+ dlagts.f dlamch.f dlamrg.f dlanst.f dlapy2.f dlapy3.f dlarnv.f \
+ dlartg.f dlaruv.f \
+ dlas2.f dlascl.f dlaset.f dlasq1.f dlasq2.f dlasq3.f dlasq4.f \
+ dlasr.f dlasrt.f dlassq.f dlasv2.f dpttrf.f dstebz.f dstedc.f \
+ dsteqr.f dsterf.f dsecnd.f
+
+SLASRC = \
+ sgbbrd.f sgbcon.f sgbequ.f sgbrfs.f sgbsv.f \
+ sgbsvx.f sgbtf2.f sgbtrf.f sgbtrs.f sgebak.f sgebal.f sgebd2.f \
+ sgebrd.f sgecon.f sgeequ.f sgees.f sgeesx.f sgeev.f sgeevx.f \
+ sgegs.f sgegv.f sgehd2.f sgehrd.f sgelq2.f sgelqf.f \
+ sgels.f sgelss.f sgelsx.f sgeql2.f sgeqlf.f \
+ sgeqpf.f sgeqr2.f sgeqrf.f sgerfs.f sgerq2.f sgerqf.f \
+ sgesv.f sgesvd.f sgesvx.f sgetf2.f sgetrf.f sgetri.f \
+ sgetrs.f sggbak.f sggbal.f sggglm.f sgghrd.f sgglse.f sggqrf.f \
+ sggrqf.f sggsvd.f sggsvp.f sgtcon.f sgtrfs.f sgtsv.f \
+ sgtsvx.f sgttrf.f sgttrs.f shgeqz.f \
+ shsein.f shseqr.f slabrd.f slacon.f \
+ slaein.f slaexc.f slag2.f slags2.f slagtm.f slahqr.f \
+ slahrd.f slaic1.f slaln2.f \
+ slangb.f slange.f slangt.f slanhs.f slansb.f slansp.f \
+ slansy.f slantb.f slantp.f slantr.f slanv2.f \
+ slapll.f slapmt.f \
+ slaqgb.f slaqge.f slaqsb.f slaqsp.f slaqsy.f slaqtr.f slar2v.f \
+ slarf.f slarfb.f slarfg.f slarft.f slarfx.f slargv.f slartv.f \
+ slaswp.f slasy2.f slasyf.f \
+ slatbs.f slatps.f slatrd.f slatrs.f slatzm.f slauu2.f slauum.f \
+ sopgtr.f sopmtr.f sorg2l.f sorg2r.f \
+ sorgbr.f sorghr.f sorgl2.f sorglq.f sorgql.f sorgqr.f sorgr2.f \
+ sorgrq.f sorgtr.f sorm2l.f sorm2r.f \
+ sormbr.f sormhr.f sorml2.f sormlq.f sormql.f sormqr.f sormr2.f \
+ sormrq.f sormtr.f spbcon.f spbequ.f spbrfs.f spbstf.f \
+ spbsv.f spbsvx.f \
+ spbtf2.f spbtrf.f spbtrs.f spocon.f spoequ.f sporfs.f sposv.f \
+ sposvx.f spotf2.f spotrf.f spotri.f spotrs.f sppcon.f sppequ.f \
+ spprfs.f sppsv.f sppsvx.f spptrf.f spptri.f spptrs.f sptcon.f \
+ spteqr.f sptrfs.f sptsv.f sptsvx.f spttrs.f srscl.f \
+ ssbev.f ssbevd.f ssbevx.f ssbgst.f ssbgv.f ssbtrd.f sspcon.f \
+ sspev.f sspevd.f \
+ sspevx.f sspgst.f \
+ sspgv.f ssprfs.f sspsv.f sspsvx.f ssptrd.f ssptrf.f ssptri.f \
+ ssptrs.f sstein.f sstev.f sstevd.f sstevx.f \
+ ssycon.f ssyev.f ssyevd.f \
+ ssyevx.f ssygs2.f ssygst.f ssygv.f ssyrfs.f ssysv.f ssysvx.f \
+ ssytd2.f ssytf2.f ssytrd.f ssytrf.f ssytri.f ssytrs.f stbcon.f \
+ stbrfs.f stbtrs.f stgevc.f stgsja.f stpcon.f stprfs.f stptri.f \
+ stptrs.f \
+ strcon.f strevc.f strexc.f strrfs.f strsen.f strsna.f strsyl.f \
+ strti2.f strtri.f strtrs.f stzrqf.f
+
+CLASRC = \
+ cbdsqr.f cgbbrd.f cgbcon.f cgbequ.f cgbrfs.f cgbsv.f cgbsvx.f \
+ cgbtf2.f cgbtrf.f cgbtrs.f cgebak.f cgebal.f cgebd2.f cgebrd.f \
+ cgecon.f cgeequ.f cgees.f cgeesx.f cgeev.f cgeevx.f \
+ cgegs.f cgegv.f cgehd2.f cgehrd.f cgelq2.f cgelqf.f \
+ cgels.f cgelss.f cgelsx.f cgeql2.f cgeqlf.f cgeqpf.f \
+ cgeqr2.f cgeqrf.f cgerfs.f cgerq2.f cgerqf.f \
+ cgesv.f cgesvd.f cgesvx.f cgetf2.f cgetrf.f cgetri.f cgetrs.f \
+ cggbak.f cggbal.f cggglm.f cgghrd.f cgglse.f cggqrf.f cggrqf.f \
+ cggsvd.f cggsvp.f \
+ cgtcon.f cgtrfs.f cgtsv.f cgtsvx.f cgttrf.f cgttrs.f chbev.f \
+ chbevd.f chbevx.f chbgst.f chbgv.f chbtrd.f checon.f cheev.f \
+ cheevd.f cheevx.f chegs2.f chegst.f \
+ chegv.f cherfs.f chesv.f chesvx.f chetd2.f chetf2.f chetrd.f \
+ chetrf.f chetri.f chetrs.f chgeqz.f chpcon.f chpev.f chpevd.f \
+ chpevx.f chpgst.f chpgv.f chprfs.f chpsv.f chpsvx.f \
+ chptrd.f chptrf.f chptri.f chptrs.f chsein.f chseqr.f clabrd.f \
+ clacgv.f clacon.f clacpy.f clacrm.f clacrt.f cladiv.f \
+ claed0.f claed7.f claed8.f \
+ claein.f claesy.f claev2.f clags2.f clagtm.f \
+ clahef.f clahqr.f \
+ clahrd.f claic1.f clangb.f clange.f clangt.f clanhb.f clanhe.f \
+ clanhp.f clanhs.f clanht.f clansb.f clansp.f clansy.f clantb.f \
+ clantp.f clantr.f clapll.f clapmt.f claqgb.f claqge.f \
+ claqhb.f claqhe.f claqhp.f claqsb.f \
+ claqsp.f claqsy.f clar2v.f clarf.f clarfb.f clarfg.f clarft.f \
+ clarfx.f clargv.f clarnv.f clartg.f clartv.f \
+ clascl.f claset.f clasr.f classq.f claswp.f clasyf.f \
+ clatbs.f clatps.f clatrd.f clatrs.f clatzm.f clauu2.f clauum.f \
+ cpbcon.f cpbequ.f cpbrfs.f cpbstf.f cpbsv.f \
+ cpbsvx.f cpbtf2.f cpbtrf.f cpbtrs.f cpocon.f cpoequ.f cporfs.f \
+ cposv.f cposvx.f cpotf2.f cpotrf.f cpotri.f cpotrs.f cppcon.f \
+ cppequ.f cpprfs.f cppsv.f cppsvx.f cpptrf.f cpptri.f cpptrs.f \
+ cptcon.f cpteqr.f cptrfs.f cptsv.f cptsvx.f cpttrf.f cpttrs.f \
+ crot.f cspcon.f cspmv.f cspr.f csprfs.f cspsv.f \
+ cspsvx.f csptrf.f csptri.f csptrs.f csrot.f csrscl.f cstedc.f \
+ cstein.f csteqr.f csycon.f csymv.f \
+ csyr.f csyrfs.f csysv.f csysvx.f csytf2.f csytrf.f csytri.f \
+ csytrs.f ctbcon.f ctbrfs.f ctbtrs.f ctgevc.f ctgsja.f ctpcon.f \
+ ctprfs.f ctptri.f \
+ ctptrs.f ctrcon.f ctrevc.f ctrexc.f ctrrfs.f ctrsen.f ctrsna.f \
+ ctrsyl.f ctrti2.f ctrtri.f ctrtrs.f ctzrqf.f cung2l.f cung2r.f \
+ cungbr.f cunghr.f cungl2.f cunglq.f cungql.f cungqr.f cungr2.f \
+ cungrq.f cungtr.f cunm2l.f cunm2r.f cunmbr.f cunmhr.f cunml2.f \
+ cunmlq.f cunmql.f cunmqr.f cunmr2.f cunmrq.f cunmtr.f cupgtr.f \
+ cupmtr.f icmax1.f scsum1.f
+
+DLASRC = \
+ dgbbrd.f dgbcon.f dgbequ.f dgbrfs.f dgbsv.f \
+ dgbsvx.f dgbtf2.f dgbtrf.f dgbtrs.f dgebak.f dgebal.f dgebd2.f \
+ dgebrd.f dgecon.f dgeequ.f dgees.f dgeesx.f dgeev.f dgeevx.f \
+ dgegs.f dgegv.f dgehd2.f dgehrd.f dgelq2.f dgelqf.f \
+ dgels.f dgelss.f dgelsx.f dgeql2.f dgeqlf.f \
+ dgeqpf.f dgeqr2.f dgeqrf.f dgerfs.f dgerq2.f dgerqf.f \
+ dgesv.f dgesvd.f dgesvx.f dgetf2.f dgetrf.f dgetri.f \
+ dgetrs.f dggbak.f dggbal.f dggglm.f dgghrd.f dgglse.f dggqrf.f \
+ dggrqf.f dggsvd.f dggsvp.f dgtcon.f dgtrfs.f dgtsv.f \
+ dgtsvx.f dgttrf.f dgttrs.f dhgeqz.f \
+ dhsein.f dhseqr.f dlabrd.f dlacon.f \
+ dlaein.f dlaexc.f dlag2.f dlags2.f dlagtm.f dlahqr.f \
+ dlahrd.f dlaic1.f dlaln2.f \
+ dlangb.f dlange.f dlangt.f dlanhs.f dlansb.f dlansp.f \
+ dlansy.f dlantb.f dlantp.f dlantr.f dlanv2.f \
+ dlapll.f dlapmt.f \
+ dlaqgb.f dlaqge.f dlaqsb.f dlaqsp.f dlaqsy.f dlaqtr.f dlar2v.f \
+ dlarf.f dlarfb.f dlarfg.f dlarft.f dlarfx.f dlargv.f dlartv.f \
+ dlaswp.f dlasy2.f dlasyf.f \
+ dlatbs.f dlatps.f dlatrd.f dlatrs.f dlatzm.f dlauu2.f dlauum.f \
+ dopgtr.f dopmtr.f dorg2l.f dorg2r.f \
+ dorgbr.f dorghr.f dorgl2.f dorglq.f dorgql.f dorgqr.f dorgr2.f \
+ dorgrq.f dorgtr.f dorm2l.f dorm2r.f \
+ dormbr.f dormhr.f dorml2.f dormlq.f dormql.f dormqr.f dormr2.f \
+ dormrq.f dormtr.f dpbcon.f dpbequ.f dpbrfs.f dpbstf.f \
+ dpbsv.f dpbsvx.f \
+ dpbtf2.f dpbtrf.f dpbtrs.f dpocon.f dpoequ.f dporfs.f dposv.f \
+ dposvx.f dpotf2.f dpotrf.f dpotri.f dpotrs.f dppcon.f dppequ.f \
+ dpprfs.f dppsv.f dppsvx.f dpptrf.f dpptri.f dpptrs.f dptcon.f \
+ dpteqr.f dptrfs.f dptsv.f dptsvx.f dpttrs.f drscl.f \
+ dsbev.f dsbevd.f dsbevx.f dsbgst.f dsbgv.f dsbtrd.f dspcon.f \
+ dspev.f dspevd.f dspevx.f dspgst.f \
+ dspgv.f dsprfs.f dspsv.f dspsvx.f dsptrd.f dsptrf.f dsptri.f \
+ dsptrs.f dstein.f dstev.f dstevd.f dstevx.f \
+ dsycon.f dsyev.f dsyevd.f \
+ dsyevx.f dsygs2.f dsygst.f dsygv.f dsyrfs.f dsysv.f dsysvx.f \
+ dsytd2.f dsytf2.f dsytrd.f dsytrf.f dsytri.f dsytrs.f dtbcon.f \
+ dtbrfs.f dtbtrs.f dtgevc.f dtgsja.f dtpcon.f dtprfs.f dtptri.f \
+ dtptrs.f \
+ dtrcon.f dtrevc.f dtrexc.f dtrrfs.f dtrsen.f dtrsna.f dtrsyl.f \
+ dtrti2.f dtrtri.f dtrtrs.f dtzrqf.f
+
+ZLASRC = \
+ zbdsqr.f zgbbrd.f zgbcon.f zgbequ.f zgbrfs.f zgbsv.f zgbsvx.f \
+ zgbtf2.f zgbtrf.f zgbtrs.f zgebak.f zgebal.f zgebd2.f zgebrd.f \
+ zgecon.f zgeequ.f zgees.f zgeesx.f zgeev.f zgeevx.f \
+ zgegs.f zgegv.f zgehd2.f zgehrd.f zgelq2.f zgelqf.f \
+ zgels.f zgelss.f zgelsx.f zgeql2.f zgeqlf.f zgeqpf.f \
+ zgeqr2.f zgeqrf.f zgerfs.f zgerq2.f zgerqf.f \
+ zgesv.f zgesvd.f zgesvx.f zgetf2.f zgetrf.f zgetri.f zgetrs.f \
+ zggbak.f zggbal.f zggglm.f zgghrd.f zgglse.f zggqrf.f zggrqf.f \
+ zggsvd.f zggsvp.f \
+ zgtcon.f zgtrfs.f zgtsv.f zgtsvx.f zgttrf.f zgttrs.f zhbev.f \
+ zhbevd.f zhbevx.f zhbgst.f zhbgv.f zhbtrd.f zhecon.f zheev.f \
+ zheevd.f zheevx.f zhegs2.f zhegst.f \
+ zhegv.f zherfs.f zhesv.f zhesvx.f zhetd2.f zhetf2.f zhetrd.f \
+ zhetrf.f zhetri.f zhetrs.f zhgeqz.f zhpcon.f zhpev.f zhpevd.f \
+ zhpevx.f zhpgst.f zhpgv.f zhprfs.f zhpsv.f zhpsvx.f \
+ zhptrd.f zhptrf.f zhptri.f zhptrs.f zhsein.f zhseqr.f zlabrd.f \
+ zlacgv.f zlacon.f zlacpy.f zlacrm.f zlacrt.f zladiv.f \
+ zlaed0.f zlaed7.f zlaed8.f \
+ zlaein.f zlaesy.f zlaev2.f zlags2.f zlagtm.f \
+ zlahef.f zlahqr.f \
+ zlahrd.f zlaic1.f zlangb.f zlange.f zlangt.f zlanhb.f zlanhe.f \
+ zlanhp.f zlanhs.f zlanht.f zlansb.f zlansp.f zlansy.f zlantb.f \
+ zlantp.f zlantr.f zlapll.f zlapmt.f zlaqgb.f zlaqge.f \
+ zlaqhb.f zlaqhe.f zlaqhp.f zlaqsb.f \
+ zlaqsp.f zlaqsy.f zlar2v.f zlarf.f zlarfb.f zlarfg.f zlarft.f \
+ zlarfx.f zlargv.f zlarnv.f zlartg.f zlartv.f \
+ zlascl.f zlaset.f zlasr.f zlassq.f zlaswp.f zlasyf.f \
+ zlatbs.f zlatps.f zlatrd.f zlatrs.f zlatzm.f zlauu2.f zlauum.f \
+ zpbcon.f zpbequ.f zpbrfs.f zpbstf.f zpbsv.f \
+ zpbsvx.f zpbtf2.f zpbtrf.f zpbtrs.f zpocon.f zpoequ.f zporfs.f \
+ zposv.f zposvx.f zpotf2.f zpotrf.f zpotri.f zpotrs.f zppcon.f \
+ zppequ.f zpprfs.f zppsv.f zppsvx.f zpptrf.f zpptri.f zpptrs.f \
+ zptcon.f zpteqr.f zptrfs.f zptsv.f zptsvx.f zpttrf.f zpttrs.f \
+ zrot.f zspcon.f zspmv.f zspr.f zsprfs.f zspsv.f \
+ zspsvx.f zsptrf.f zsptri.f zsptrs.f zdrot.f zdrscl.f zstedc.f \
+ zstein.f zsteqr.f zsycon.f zsymv.f \
+ zsyr.f zsyrfs.f zsysv.f zsysvx.f zsytf2.f zsytrf.f zsytri.f \
+ zsytrs.f ztbcon.f ztbrfs.f ztbtrs.f ztgevc.f ztgsja.f ztpcon.f \
+ ztprfs.f ztptri.f \
+ ztptrs.f ztrcon.f ztrevc.f ztrexc.f ztrrfs.f ztrsen.f ztrsna.f \
+ ztrsyl.f ztrti2.f ztrtri.f ztrtrs.f ztzrqf.f zung2l.f zung2r.f \
+ zungbr.f zunghr.f zungl2.f zunglq.f zungql.f zungqr.f zungr2.f \
+ zungrq.f zungtr.f zunm2l.f zunm2r.f zunmbr.f zunmhr.f zunml2.f \
+ zunmlq.f zunmql.f zunmqr.f zunmr2.f zunmrq.f zunmtr.f zupgtr.f \
+ zupmtr.f izmax1.f dzsum1.f
+
+SRCS= $(ALLAUX) $(SLASRC) $(SCLAUX) \
+ $(CLASRC) $(DLASRC) $(DZLAUX) \
+ $(ZLASRC)
+
+.include <bsd.lib.mk>
+END
+
+exit 0