diff options
-rw-r--r-- | math/blas/Makefile | 4 | ||||
-rw-r--r-- | math/blas/buildlink3.mk | 22 | ||||
-rw-r--r-- | math/lapack/Makefile | 4 | ||||
-rw-r--r-- | math/lapack/buildlink3.mk | 22 |
4 files changed, 48 insertions, 4 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile index de6a90dc785..34d7b76fd33 100644 --- a/math/blas/Makefile +++ b/math/blas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2004/01/20 12:20:04 agc Exp $ +# $NetBSD: Makefile,v 1.16 2004/02/26 15:26:05 adam Exp $ # DISTNAME= blas @@ -15,7 +15,7 @@ HOMEPAGE= http://www.netlib.org/blas/ COMMENT= Basic Linear Algebra Subprograms (Fortran) WRKSRC= ${WRKDIR} -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_FORTRAN= YES USE_LIBTOOL= YES diff --git a/math/blas/buildlink3.mk b/math/blas/buildlink3.mk new file mode 100644 index 00000000000..ba4ad4b5da2 --- /dev/null +++ b/math/blas/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/26 15:26:05 adam Exp $ +# +# This Makefile fragment is included by packages that use blas. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +BLAS_BUILDLINK3_MK:= ${BLAS_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= blas +.endif + +.if !empty(BLAS_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= blas +BUILDLINK_DEPENDS.blas+= blas>=1.0nb2 +BUILDLINK_PKGSRCDIR.blas?= ../../math/blas + +.endif # BLAS_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 1b3d3656ed1..318e8e38cdd 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/01/20 12:20:05 agc Exp $ +# $NetBSD: Makefile,v 1.13 2004/02/26 15:26:29 adam Exp $ # DISTNAME= lapack @@ -18,7 +18,7 @@ COMMENT= Linear Algebra PACKage WRKSRC= ${WRKDIR}/LAPACK DIST_SUBDIR= lapack-20010201 -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_FORTRAN= YES USE_LIBTOOL= YES ALL_TARGET= lapacklib diff --git a/math/lapack/buildlink3.mk b/math/lapack/buildlink3.mk new file mode 100644 index 00000000000..dd46365f1bd --- /dev/null +++ b/math/lapack/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/26 15:26:29 adam Exp $ +# +# This Makefile fragment is included by packages that use lapack. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LAPACK_BUILDLINK3_MK:= ${LAPACK_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= lapack +.endif + +.if !empty(LAPACK_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= lapack +BUILDLINK_DEPENDS.lapack+= lapack>=20010201nb1 +BUILDLINK_PKGSRCDIR.lapack?= ../../math/lapack + +.endif # LAPACK_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |