diff options
author | jlam <jlam> | 2002-10-02 19:51:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-02 19:51:52 +0000 |
commit | 9b939f83b08d805105d6c944b750aa4d841b2b4c (patch) | |
tree | 63b7cae3f5aa2fe6f82bca97955682de77b69232 | |
parent | a62a470d05b826d6569c5e4f5dded1688517ee81 (diff) | |
download | pkgsrc-9b939f83b08d805105d6c944b750aa4d841b2b4c.tar.gz |
Add buildlink2.mk file for use by other package Makefiles (in particular,
math/scilab/Makefile already uses it. Thanks wiz!).
-rw-r--r-- | parallel/pvm3/buildlink2.mk | 27 |
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 |