summaryrefslogtreecommitdiff
path: root/lang/blackdown-jdk13/buildlink3.mk
blob: 07491a3c3f2aec805149bb573f61ddc11e3da19c (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.4 2006/04/12 10:27:20 rillig Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
BLACKDOWN_JDK13_BUILDLINK3_MK:=	${BLACKDOWN_JDK13_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	blackdown-jdk13
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nblackdown-jdk13}
BUILDLINK_PACKAGES+=	blackdown-jdk13

.if !empty(BLACKDOWN_JDK13_BUILDLINK3_MK:M+)

BUILDLINK_API_DEPENDS.blackdown-jdk13+=	blackdown-jdk13-[0-9]*
BUILDLINK_PKGSRCDIR.blackdown-jdk13?=	../../lang/blackdown-jdk13
BUILDLINK_DEPMETHOD.blackdown-jdk13?=   build

BUILDLINK_PASSTHRU_DIRS+=	${BUILDLINK_JAVA_PREFIX.blackdown-jre13}

BUILDLINK_CPPFLAGS.blackdown-jdk13=					\
	-I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include		\
	-I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include/linux

.include "../../lang/blackdown-jre13/buildlink3.mk"

.endif	# BLACKDOWN_JDK13_BUILDLINK3_MK

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