diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-22 16:44:18 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-22 16:44:18 +0000 |
commit | 9273f351a36c789718049a00c27f834d0ab6a66f (patch) | |
tree | 128798fc65148c1b504da530e61e78d37dea7ec1 /graphics/mng | |
parent | a0079390c9a1f8ebef15c81319d7a6348035c143 (diff) | |
download | pkgsrc-9273f351a36c789718049a00c27f834d0ab6a66f.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
Diffstat (limited to 'graphics/mng')
-rw-r--r-- | graphics/mng/buildlink.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/mng/buildlink.mk b/graphics/mng/buildlink.mk new file mode 100644 index 00000000000..23af2af912f --- /dev/null +++ b/graphics/mng/buildlink.mk @@ -0,0 +1,34 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/22 16:44:18 jlam Exp $ +# +# This Makefile fragment is included by packages that use mng. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define MNG_REQD to the version of mng 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(MNG_BUILDLINK_MK) +MNG_BUILDLINK_MK= # defined + +MNG_REQD?= 1.0.0 +DEPENDS+= mng>=${MNG_REQD}:../../graphics/mng + +BUILDLINK_PREFIX.mng= ${LOCALBASE} +BUILDLINK_FILES.mng= include/libmng.h +BUILDLINK_FILES.mng+= include/libmng_conf.h +BUILDLINK_FILES.mng+= include/libmng_types.h +BUILDLINK_FILES.mng+= lib/libmng.* + +BUILDLINK_TARGETS.mng= mng-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.mng} + +pre-configure: ${BUILDLINK_TARGETS.mng} +mng-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # MNG_BUILDLINK_MK |