summaryrefslogtreecommitdiff
path: root/sysutils/fam
diff options
context:
space:
mode:
authorrh <rh>2002-05-12 10:43:10 +0000
committerrh <rh>2002-05-12 10:43:10 +0000
commitcb5a805b051a58c007165e1615130af6b0ab746a (patch)
tree4ba5ffb8e5410630752f570ddac2b61f4a69c46e /sysutils/fam
parentc3e21fbd7327fb55e071d48838d5f680a1c853a1 (diff)
downloadpkgsrc-cb5a805b051a58c007165e1615130af6b0ab746a.tar.gz
Add buildlink.mk
Diffstat (limited to 'sysutils/fam')
-rw-r--r--sysutils/fam/buildlink.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/fam/buildlink.mk b/sysutils/fam/buildlink.mk
new file mode 100644
index 00000000000..737ad8a2991
--- /dev/null
+++ b/sysutils/fam/buildlink.mk
@@ -0,0 +1,38 @@
+# $NetBSD: buildlink.mk,v 1.1 2002/05/12 10:43:10 rh Exp $
+#
+# This Makefile fragment is included by packages that use fam.
+#
+# This file was created automatically using createbuildlink 1.6.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.fam to the dependency pattern
+# for the version of fam 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(FAM_BUILDLINK_MK)
+FAM_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.fam?= fam>=2.6.7
+DEPENDS+= ${BUILDLINK_DEPENDS.fam}:../../sysutils/fam
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.fam=fam
+BUILDLINK_PREFIX.fam_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.fam+= include/fam.h
+BUILDLINK_FILES.fam+= lib/fam/editconf.perl
+BUILDLINK_FILES.fam+= lib/libfam.*
+
+
+BUILDLINK_TARGETS.fam= fam-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.fam}
+
+pre-configure: ${BUILDLINK_TARGETS}
+fam-buildlink: _BUILDLINK_USE
+
+.endif # FAM_BUILDLINK_MK