diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-20 21:33:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-20 21:33:01 +0000 |
commit | 9f139334e9f07b9c63ecc04c032e93adad93884f (patch) | |
tree | e843fdf36d5060c856111b6adbe45433fdbe2bc9 /devel/libtool | |
parent | 86527b6c0adde2a98a8685b267e32b5aa91170c5 (diff) | |
download | pkgsrc-9f139334e9f07b9c63ecc04c032e93adad93884f.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 |