summaryrefslogtreecommitdiff
path: root/x11/inputproto/buildlink3.mk
blob: e38e8b6ee32a17acfa5d92b7ef5347ebf19ba10e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: buildlink3.mk,v 1.2 2007/01/23 14:28:15 joerg Exp $

BUILDLINK_DEPMETHOD.inputproto?=	build

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
INPUTPROTO_BUILDLINK3_MK:=	${INPUTPROTO_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ninputproto}
BUILDLINK_PACKAGES+=	inputproto
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}inputproto

.if ${INPUTPROTO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.inputproto+=	inputproto>=1.4
BUILDLINK_PKGSRCDIR.inputproto?=	../../x11/inputproto
.endif	# INPUTPROTO_BUILDLINK3_MK

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