diff options
author | jlam <jlam> | 2001-06-29 19:47:54 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-29 19:47:54 +0000 |
commit | afe89d9c281218ffb6b5bb393ef54a603a5cb3c7 (patch) | |
tree | 27b2a0d60cf5182fae3fc5045038575dcba949cd /textproc/t1lib | |
parent | 562d5c009ec90c352bbc2d0d254de2b04b74e6c5 (diff) | |
download | pkgsrc-afe89d9c281218ffb6b5bb393ef54a603a5cb3c7.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
Diffstat (limited to 'textproc/t1lib')
-rw-r--r-- | textproc/t1lib/buildlink.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/t1lib/buildlink.mk b/textproc/t1lib/buildlink.mk new file mode 100644 index 00000000000..a0cbd10a198 --- /dev/null +++ b/textproc/t1lib/buildlink.mk @@ -0,0 +1,35 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/29 19:47:54 jlam Exp $ +# +# This Makefile fragment is included by packages that use t1lib. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.t1lib to the dependency pattern +# for the version of t1lib 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(T1LIB_BUILDLINK_MK) +T1LIB_BUILDLINK_MK= # defined + +BUILDLINK_DEPENDS.t1lib?= t1lib>=1.0.1 +DEPENDS+= ${BUILDLINK_DEPENDS.t1lib}:../../textproc/t1lib + +BUILDLINK_PREFIX.t1lib= ${LOCALBASE} +BUILDLINK_FILES.t1lib= include/t1lib.h +BUILDLINK_FILES.t1lib+= include/t1libx.h +BUILDLINK_FILES.t1lib+= lib/libt1.* +BUILDLINK_FILES.t1lib+= lib/libt1x.* + +BUILDLINK_TARGETS.t1lib= t1lib-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.t1lib} + +pre-configure: ${BUILDLINK_TARGETS.t1lib} +t1lib-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # T1LIB_BUILDLINK_MK |