diff options
author | jtb <jtb@pkgsrc.org> | 2002-05-03 20:52:59 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2002-05-03 20:52:59 +0000 |
commit | 62d91ea8fa02c1fe40f9bb2d8de8d0de17b082a1 (patch) | |
tree | 896e2f877ef82971a0ee8ce14374507ba16282c2 | |
parent | 133865a2911145ca79f6a1530e259be167f7acf7 (diff) | |
download | pkgsrc-62d91ea8fa02c1fe40f9bb2d8de8d0de17b082a1.tar.gz |
Add buildlink.mk for hdf5.
-rw-r--r-- | devel/hdf5/buildlink.mk | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/devel/hdf5/buildlink.mk b/devel/hdf5/buildlink.mk new file mode 100644 index 00000000000..2ead8d4c96e --- /dev/null +++ b/devel/hdf5/buildlink.mk @@ -0,0 +1,65 @@ +# $NetBSD: buildlink.mk,v 1.1 2002/05/03 20:52:59 jtb Exp $ +# +# This Makefile fragment is included by packages that use hdf5. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.hdf5 to the dependency pattern +# for the version of hdf5 desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(HDF5_BUILDLINK_MK) +HDF5_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.hdf5?= hdf5>=1.4.3 +BUILD_DEPENDS+= ${BUILDLINK_DEPENDS.hdf5}:../../devel/hdf5 + +EVAL_PREFIX+= BUILDLINK_PREFIX.hdf5=hdf5 +BUILDLINK_PREFIX.hdf5_DEFAULT= ${LOCALBASE} + +BUILDLINK_FILES.hdf5= include/H5ACpublic.h +BUILDLINK_FILES.hdf5+= include/H5Apublic.h +BUILDLINK_FILES.hdf5+= include/H5Bpublic.h +BUILDLINK_FILES.hdf5+= include/H5Dpublic.h +BUILDLINK_FILES.hdf5+= include/H5Epublic.h +BUILDLINK_FILES.hdf5+= include/H5FDcore.h +BUILDLINK_FILES.hdf5+= include/H5FDfamily.h +BUILDLINK_FILES.hdf5+= include/H5FDgass.h +BUILDLINK_FILES.hdf5+= include/H5FDlog.h +BUILDLINK_FILES.hdf5+= include/H5FDmpio.h +BUILDLINK_FILES.hdf5+= include/H5FDmulti.h +BUILDLINK_FILES.hdf5+= include/H5FDpublic.h +BUILDLINK_FILES.hdf5+= include/H5FDsec2.h +BUILDLINK_FILES.hdf5+= include/H5FDsrb.h +BUILDLINK_FILES.hdf5+= include/H5FDstdio.h +BUILDLINK_FILES.hdf5+= include/H5FDstream.h +BUILDLINK_FILES.hdf5+= include/H5Fpublic.h +BUILDLINK_FILES.hdf5+= include/H5Gpublic.h +BUILDLINK_FILES.hdf5+= include/H5HGpublic.h +BUILDLINK_FILES.hdf5+= include/H5HLpublic.h +BUILDLINK_FILES.hdf5+= include/H5Ipublic.h +BUILDLINK_FILES.hdf5+= include/H5MMpublic.h +BUILDLINK_FILES.hdf5+= include/H5Opublic.h +BUILDLINK_FILES.hdf5+= include/H5Ppublic.h +BUILDLINK_FILES.hdf5+= include/H5Rpublic.h +BUILDLINK_FILES.hdf5+= include/H5Spublic.h +BUILDLINK_FILES.hdf5+= include/H5Tpublic.h +BUILDLINK_FILES.hdf5+= include/H5Zpublic.h +BUILDLINK_FILES.hdf5+= include/H5api_adpt.h +BUILDLINK_FILES.hdf5+= include/H5pubconf.h +BUILDLINK_FILES.hdf5+= include/H5public.h +BUILDLINK_FILES.hdf5+= lib/libhdf5.* + +BUILDLINK_TARGETS.hdf5= hdf5-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.hdf5} + +pre-configure: ${BUILDLINK_TARGETS.hdf5} +hdf5-buildlink: _BUILDLINK_USE + +.endif # HDF5_BUILDLINK_MK |