summaryrefslogtreecommitdiff
path: root/parallel/pvm3/buildlink2.mk
blob: c69cb0b67c01a6a3c7c802cc08f7334600a99e79 (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
26
27
# $NetBSD: buildlink2.mk,v 1.1 2002/10/02 19:51:52 jlam Exp $

.if !defined(PVM_BUILDLINK2_MK)
PVM_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		pvm
BUILDLINK_DEPENDS.pvm?=		pvm>=3.4.3
BUILDLINK_PKGSRCDIR.pvm?=	../../parallel/pvm3

.include "${BUILDLINK_PKGSRCDIR.pvm}/arch.mk"

EVAL_PREFIX+=	BUILDLINK_PREFIX.pvm=pvm
BUILDLINK_PREFIX.pvm_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.pvm=	pvm3/include/*.h
BUILDLINK_FILES.pvm+=	pvm3/lib/${PVM_ARCH}/libfpvm3.*
BUILDLINK_FILES.pvm+=	pvm3/lib/${PVM_ARCH}/libgpvm3.*
BUILDLINK_FILES.pvm+=	pvm3/lib/${PVM_ARCH}/libpvm3.*
BUILDLINK_FILES.pvm+=	pvm3/lib/${PVM_ARCH}/libpvmtrc.*

BUILDLINK_CPPFLAGS.pvm=	-I${BUILDLINK_PREFIX.pvm}/pvm3/include
BUILDLINK_LDFLAGS.pvm=	-L${BUILDLINK_PREFIX.pvm}/pvm3/lib/${PVM_ARCH}

BUILDLINK_TARGETS+=	pvm-buildlink

pvm-buildlink: _BUILDLINK_USE

.endif	# PVM_BUILDLINK2_MK