diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-14 02:13:56 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-14 02:13:56 +0000 |
commit | 22ab690666f4be743fc01b79e19d61a0a1c1ab41 (patch) | |
tree | 8754d3f94c2f0db29de67452cb99b60fcbd3dea9 /mail/faces/buildlink.mk | |
parent | a55945c17244691e9fc4f071007dcbbd3a8091fe (diff) | |
download | pkgsrc-22ab690666f4be743fc01b79e19d61a0a1c1ab41.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
Diffstat (limited to 'mail/faces/buildlink.mk')
-rw-r--r-- | mail/faces/buildlink.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/faces/buildlink.mk b/mail/faces/buildlink.mk new file mode 100644 index 00000000000..90c37719f7d --- /dev/null +++ b/mail/faces/buildlink.mk @@ -0,0 +1,34 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/09/14 02:13:56 jlam Exp $ +# +# This Makefile fragment is included by packages that use faces. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.faces to the dependency pattern +# for the version of faces 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(FACES_BUILDLINK_MK) +FACES_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.faces?= faces>=1.1.6 +DEPENDS+= ${BUILDLINK_DEPENDS.faces}:../../mail/faces + +EVAL_PREFIX+= BUILDLINK_PREFIX.faces=faces +BUILDLINK_PREFIX.faces_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.faces= include/compface.h +BUILDLINK_FILES.faces+= lib/libcompfaces.* + +BUILDLINK_TARGETS.faces= faces-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.faces} + +pre-configure: ${BUILDLINK_TARGETS.faces} +faces-buildlink: _BUILDLINK_USE + +.endif # FACES_BUILDLINK_MK |