summaryrefslogtreecommitdiff
path: root/devel/libatomic_ops/buildlink3.mk
blob: 4f2f9db838ae652ed198d0d7019f71fc50447a1b (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 2008/12/22 02:48:56 jmcneill Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
LIBATOMIC_OPS_BUILDLINK3_MK:=	${LIBATOMIC_OPS_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	libatomic_ops
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibatomic_ops}
BUILDLINK_PACKAGES+=	libatomic_ops
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libatomic_ops

.if ${LIBATOMIC_OPS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libatomic_ops+=	libatomic_ops>=20081024nb1
BUILDLINK_PKGSRCDIR.libatomic_ops?=	../../devel/libatomic_ops
.endif	# LIBATOMIC_OPS_BUILDLINK3_MK

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