aboutsummaryrefslogtreecommitdiffstats
path: root/math/blas/Makefile
blob: ab2c9f5d11a4a25ec4cbd81ef683a3d37dd95256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:    blas
# Version required:     ?
# Date created:         27 October 1994
# Whom:                 ljo
#
# $Id$
#

DISTNAME=   blas

DISTDIR=${PORTSDIR}/distfiles/${DISTNAME}

MASTER_SITES=   ftp://netlib.att.com/netlib/blas/
.if defined(MASTER_SITE_OVERRIDE)
MASTER_SITES:= ${MASTER_SITE_OVERRIDE}/blas/
.undef MASTER_SITE_OVERRIDE
.endif

EXTRACT_CMD=${.CURDIR}/scripts/uncomp
EXTRACT_SUFX=.Z
EXTRACT_ARGS= ${WRKDIR}

WRKSRC=${WRKDIR}

SRCS =  caxpy.f cblas1.f cblas2.f ccopy.f cdotc.f cdotu.f cgbmv.f cgemv.f \
    cgerc.f cgeru.f chbmv.f chemv.f cher.f cher2.f chpmv.f chpr.f \
    chpr2.f cmach.f crotg.f cscal.f csrot.f csscal.f cswap.f ctbmv.f \
    ctbsv.f ctpmv.f ctpsv.f ctrmv.f ctrsv.f d1mach.f dasum.f daxpy.f \
    dblas1.f dblas2.f dcopy.f ddot.f dgbmv.f dgemv.f dger.f dmach.f \
    dnrm2.f drot.f drotg.f dsbmv.f dscal.f dspmv.f dspr.f dspr2.f \
    dswap.f dsymv.f dsyr.f dsyr2.f dtbmv.f dtbsv.f dtpmv.f dtpsv.f \
    dtrmv.f dtrsv.f esblas2.f esgbmv.f esgemv.f esger.f essbmv.f \
    esspmv.f esspr.f esspr2.f essymv.f essyr.f essyr2.f estbmv.f \
    estbsv.f estpmv.f estpsv.f estrmv.f estrsv.f \
    i1mach.f \
    icamax.f idamax.f isamax.f lsame.f r1mach.f sasum.f saxpy.f \
    sblas1.f sblas2.f scasum.f scnrm2.f scopy.f sdot.f sgbmv.f sgemv.f \
    sger.f smach.f snrm2.f srot.f srotg.f ssbmv.f sscal.f sspmv.f \
    sspr.f sspr2.f sswap.f ssymv.f ssyr.f ssyr2.f stbmv.f stbsv.f \
    stpmv.f stpsv.f strmv.f strsv.f xerbla.f

# fdump.f

DISTFILES=  ${SRCS:.f=.f.Z}

pre-build:
    cp Makefile.lib ${WRKDIR}/Makefile

pre-extract:
    chmod +x scripts/uncomp

.include <bsd.port.mk>