summaryrefslogtreecommitdiff
path: root/devel/libelf/buildlink3.mk
blob: c980a7448dc0c76b3c03af1690f453b3a4a5df6d (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.2 2006/04/06 06:21:50 reed 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/+$//}