--- rpl/lapack/blas/Makefile.am 2010/12/21 13:51:24 1.8 +++ rpl/lapack/blas/Makefile.am 2011/11/21 20:37:06 1.9 @@ -2,13 +2,13 @@ noinst_LIBRARIES = libblas.a libblas_a_FFLAGS=$(AM_FFLAGS) -g -DBLAS1 = idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f \ - drot.f drotg.f dscal.f dswap.f drotmg.f drotm.f dsdot.f +DBLAS1=idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f \ + drot.f drotg.f dscal.f dsdot.f dswap.f drotmg.f drotm.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 zdrot.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 zdrot.f -ZB1AUX = idamax.f dasum.f daxpy.f dcopy.f dnrm2.f dscal.f +ZB1AUX=idamax.f dasum.f daxpy.f dcopy.f dnrm2.f dscal.f #--------------------------------------------------------------------- # The following line defines auxiliary routines needed by both the @@ -16,20 +16,20 @@ ZB1AUX = idamax.f dasum.f daxpy.f dcopy. # both the Level 2 and 3 BLAS. #--------------------------------------------------------------------- -ALLBLAS = lsame.f xerbla.f +ALLBLAS = lsame.f xerbla.f xerbla_array.f #--------------------------------------------------------- # Comment out the next 4 definitions if you already have # the Level 2 BLAS. #--------------------------------------------------------- -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 +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 #--------------------------------------------------------- # Comment out the next 4 definitions if you already have @@ -39,6 +39,14 @@ ZBLAS2 = zgemv.f zgbmv.f zhemv.f zhbmv.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 + zhemm.f zherk.f zher2k.f -libblas_a_SOURCES = $(DBLAS1) $(ALLBLAS) $(DBLAS2) $(DBLAS3) $(ZBLAS1) $(ZBLAS2) $(ZBLAS3) +libblas_a_SOURCES = $(ALLBLAS) $(DBLAS1) $(DBLAS2) $(DBLAS3) \ + $(ZBLAS1) $(ZBLAS2) $(ZBLAS3) + +copy: + for i in $(ALLBLAS) $(DBLAS1) $(DBLAS2) $(DBLAS3) \ + $(ZBLAS1) $(ZBLAS2) $(ZBLAS3); \ + do echo $$i && if [ -f $(srcdir)/../SRC/BLAS/SRC/$$i ]; then \ + cp -f $(srcdir)/../SRC/BLAS/SRC/$$i $(srcdir); fi; \ + done