summaryrefslogtreecommitdiff
path: root/x11/xbitmaps/buildlink3.mk
blob: b733d67db5ae5adebd3f057e2f79fb02c56f7c75 (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
# $NetBSD: buildlink3.mk,v 1.2 2006/11/06 10:29:33 joerg Exp $

.include "../../mk/bsd.fast.prefs.mk"

.if ${X11_TYPE} != "modular"
.include "../../mk/x11.buildlink3.mk"
.else

BUILDLINK_DEPMETHOD.xbitmaps?=	build

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
XBITMAPS_BUILDLINK3_MK:=	${XBITMAPS_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nxbitmaps}
BUILDLINK_PACKAGES+=	xbitmaps
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xbitmaps

.if ${XBITMAPS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.xbitmaps+=	xbitmaps>=1.0
BUILDLINK_PKGSRCDIR.xbitmaps?=	../../x11/xbitmaps
.endif	# XBITMAPS_BUILDLINK3_MK

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

.endif