diff options
author | jlam <jlam> | 2001-09-14 02:13:56 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-09-14 02:13:56 +0000 |
commit | dccbfb480612394a719571e4ed2c8148bac5cc40 (patch) | |
tree | 8754d3f94c2f0db29de67452cb99b60fcbd3dea9 | |
parent | b11d315bdcb45677c613d0cbf572eb9e764c1275 (diff) | |
download | pkgsrc-dccbfb480612394a719571e4ed2c8148bac5cc40.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
-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 |