summaryrefslogtreecommitdiff
path: root/devel/libelf/buildlink3.mk
blob: 88e9c9edae143a1f91c9a6f0e94a5f2080055042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink3.mk,v 1.3 2006/04/12 10:27:09 rillig Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBELF_BUILDLINK3_MK:=	${LIBELF_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	libelf
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibelf}
BUILDLINK_PACKAGES+=	libelf

.if !empty(LIBELF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libelf+=	libelf>=0.8.5
BUILDLINK_PKGSRCDIR.libelf?=	../../devel/libelf
BUILDLINK_DEPMETHOD.libelf?=	build
.endif	# LIBELF_BUILDLINK3_MK

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}