blob: 67fa06894c71157ba97e60b28934c784e5c59701 (
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
|
# $NetBSD: buildlink3.mk,v 1.4 2006/04/12 10:27:21 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JDK_BUILDLINK3_MK:= ${JDK_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= jdk
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njdk}
BUILDLINK_PACKAGES+= jdk
.if !empty(JDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jdk+= jdk>=1.1.8
BUILDLINK_PKGSRCDIR.jdk?= ../../lang/jdk
BUILDLINK_JAVA_PREFIX.jdk= ${PREFIX}/java/jdk-1.1.8
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.jdk}
BUILDLINK_CPPFLAGS.jdk= \
-I${BUILDLINK_JAVA_PREFIX.jdk}/include \
-I${BUILDLINK_JAVA_PREFIX.jdk}/include/netbsd
.endif # JDK_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|