summaryrefslogtreecommitdiff
path: root/parallel/pvm3/buildlink3.mk
blob: 152458f68224c6c2ee4ca336b0e9519fe4fbc260 (plain)
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
# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:34 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
PVM_BUILDLINK3_MK:=	${PVM_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	pvm
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npvm}
BUILDLINK_PACKAGES+=	pvm
BUILDLINK_ORDER+=	pvm

.if !empty(PVM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pvm+=		pvm>=3.4.3
BUILDLINK_ABI_DEPENDS.pvm+=	pvm>=3.4.5nb1
BUILDLINK_PKGSRCDIR.pvm?=	../../parallel/pvm3

.  include "${BUILDLINK_PKGSRCDIR.pvm}/arch.mk"
BUILDLINK_INCDIRS.pvm?=		pvm3/include
BUILDLINK_LIBDIRS.pvm?=		pvm3/lib/${PVM_ARCH}

.endif	# PVM_BUILDLINK3_MK

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}