summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parallel/pvm3/buildlink2.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/parallel/pvm3/buildlink2.mk b/parallel/pvm3/buildlink2.mk
new file mode 100644
index 00000000000..c69cb0b67c0
--- /dev/null
+++ b/parallel/pvm3/buildlink2.mk
@@ -0,0 +1,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