blob: aeda690ce9bf10b43155e19adffbba5c2dc187ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:39 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
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.ltdl?= libtool>=${LIBTOOL_REQD}
DEPENDS+= ${BUILDLINK_DEPENDS.ltdl}:../../devel/libtool
EVAL_PREFIX+= BUILDLINK_PREFIX.ltdl=libtool
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
.endif # LTDL_BUILDLINK_MK
|