summaryrefslogtreecommitdiff
path: root/math/blas/files
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-07 07:14:24 +0000
committerjlam <jlam@pkgsrc.org>2008-03-07 07:14:24 +0000
commitdfad6be3e9bf48784290153819569b2d86234030 (patch)
treeb143e6c93f99c74948d05a90f011706c5e1ea725 /math/blas/files
parent421295ae102b2b15c75428d868c09662bec2ef3f (diff)
downloadpkgsrc-dfad6be3e9bf48784290153819569b2d86234030.tar.gz
Update math/blas to version 1.1. Changes from version 1.0 include:
- The addition of several new routines for complex number operations. - Minor changes in the function implementations to use the new operations. + Support user-destdir installation. + Move Makefile for building the BLAS library from patch-aa into files/Makefile.blas. It's simpler to edit this file than to create new patches.
Diffstat (limited to 'math/blas/files')
-rw-r--r--math/blas/files/Makefile.blas38
1 files changed, 38 insertions, 0 deletions
diff --git a/math/blas/files/Makefile.blas b/math/blas/files/Makefile.blas
new file mode 100644
index 00000000000..c4ae5188b59
--- /dev/null
+++ b/math/blas/files/Makefile.blas
@@ -0,0 +1,38 @@
+prefix= ${PREFIX}
+libdir= $(prefix)/lib
+
+OBJS= caxpy.o ccopy.o cdotc.o cdotu.o cgbmv.o cgemm.o cgemv.o cgerc.o \
+ cgeru.o chbmv.o chemm.o chemv.o cher.o cher2.o cher2k.o cherk.o \
+ chpmv.o chpr.o chpr2.o crotg.o cscal.o csrot.o csscal.o cswap.o \
+ csymm.o csyr2k.o csyrk.o ctbmv.o ctbsv.o ctpmv.o ctpsv.o \
+ ctrmm.o ctrmv.o ctrsm.o ctrsv.o dasum.o daxpy.o dcabs1.o \
+ dcopy.o ddot.o dgbmv.o dgemm.o dgemv.o dger.o dnrm2.o drot.o \
+ drotg.o drotm.o drotmg.o dsbmv.o dscal.o dsdot.o dspmv.o dspr.o \
+ dspr2.o dswap.o dsymm.o dsymv.o dsyr.o dsyr2.o dsyr2k.o dsyrk.o \
+ dtbmv.o dtbsv.o dtpmv.o dtpsv.o dtrmm.o dtrmv.o dtrsm.o dtrsv.o \
+ dzasum.o dznrm2.o icamax.o idamax.o isamax.o izamax.o lsame.o \
+ sasum.o saxpy.o scabs1.o scasum.o scnrm2.o scopy.o sdot.o \
+ sdsdot.o sgbmv.o sgemm.o sgemv.o sger.o snrm2.o srot.o srotg.o \
+ srotm.o srotmg.o ssbmv.o sscal.o sspmv.o sspr.o sspr2.o sswap.o \
+ ssymm.o ssymv.o ssyr.o ssyr2.o ssyr2k.o ssyrk.o stbmv.o stbsv.o \
+ stpmv.o stpsv.o strmm.o strmv.o strsm.o strsv.o xerbla.o \
+ zaxpy.o zcopy.o zdotc.o zdotu.o zdrot.o zdscal.o zgbmv.o \
+ zgemm.o zgemv.o zgerc.o zgeru.o zhbmv.o zhemm.o zhemv.o zher.o \
+ zher2.o zher2k.o zherk.o zhpmv.o zhpr.o zhpr2.o zrotg.o zscal.o \
+ zswap.o zsymm.o zsyr2k.o zsyrk.o ztbmv.o ztbsv.o ztpmv.o \
+ ztpsv.o ztrmm.o ztrmv.o ztrsm.o ztrsv.o
+
+all: libblas.la
+
+.f.o:
+ ${LIBTOOL} --mode=compile --tag=CC ${COMPILE.f} ${.IMPSRC}
+
+libblas.la: $(OBJS)
+ ${LIBTOOL} --mode=link ${CC} -o ${.TARGET} ${OBJS:.o=.lo} \
+ -rpath $(libdir) \
+ -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR}
+
+install: libblas.la
+ ${BSD_INSTALL_LIB_DIR} ${DESTDIR}$(libdir)
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libblas.la \
+ ${DESTDIR}$(libdir)