diff options
author | jlam <jlam> | 2001-06-20 21:33:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-20 21:33:01 +0000 |
commit | 467a1089e87e5675aa795e66b93b2bab7426843b (patch) | |
tree | e843fdf36d5060c856111b6adbe45433fdbe2bc9 /devel/libtool | |
parent | 41562dbbae1b6183c13ffb7a2e9b62c74852ae2d (diff) | |
download | pkgsrc-467a1089e87e5675aa795e66b93b2bab7426843b.tar.gz |
Add a buildlink.mk file for libltdl.* for use by other package Makefiles.
Diffstat (limited to 'devel/libtool')
-rw-r--r-- | devel/libtool/buildlink.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/libtool/buildlink.mk b/devel/libtool/buildlink.mk new file mode 100644 index 00000000000..9de2093e3c0 --- /dev/null +++ b/devel/libtool/buildlink.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/20 21:33:01 jlam Exp $ +# +# This Makefile fragment is included by packages that use ltdl. +# +# To use this Makefile fragment, simply: +# +# (1) Include this Makefile fragment in the package Makefile, +# (2) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (3) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(LTDL_BUILDLINK_MK) +LTDL_BUILDLINK_MK= # defined + +DEPENDS+= libtool>=${LIBTOOL_REQD}:../../devel/libtool + +BUILDLINK_PREFIX.ltdl= ${LOCALBASE} +BUILDLINK_FILES.ltdl= include/ltdl.h +BUILDLINK_FILES.ltdl+= lib/libltdl.* + +BUILDLINK_TARGETS.ltdl= ltdl-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ltdl} + +pre-configure: ${BUILDLINK_TARGETS.ltdl} +ltdl-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # LTDL_BUILDLINK_MK |