summaryrefslogtreecommitdiff
path: root/lang/sun-jdk7/buildlink3.mk
blob: 8371b01d6494895eca497e0230b50fa2853c9337 (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
30
31
# $NetBSD: buildlink3.mk,v 1.4 2018/01/07 13:04:20 rillig Exp $

BUILDLINK_TREE+=	sun-jdk7

.if !defined(SUN_JDK7_BUILDLINK3_MK)
SUN_JDK7_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.sun-jdk7+=	sun-jdk7-[0-9]*
BUILDLINK_ABI_DEPENDS.sun-jdk7+=	sun-jdk7>=7.0.9
BUILDLINK_PKGSRCDIR.sun-jdk7?=		../../lang/sun-jdk7
BUILDLINK_DEPMETHOD.sun-jdk7?=		build

BUILDLINK_PASSTHRU_DIRS+=	${BUILDLINK_JAVA_PREFIX.sun-jre7}

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

.if ${OPSYS} == "SunOS"
BUILDLINK_CPPFLAGS.sun-jdk7=						\
	-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include			\
	-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include/solaris
.else
BUILDLINK_CPPFLAGS.sun-jdk7=						\
	-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include			\
	-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include/linux
.endif

BUILDLINK_DEPMETHOD.sun-jre7?=	${BUILDLINK_DEPMETHOD.sun-jdk7}
.include "../../lang/sun-jre7/buildlink3.mk"
.endif # SUN_JDK7_BUILDLINK3_MK

BUILDLINK_TREE+=	-sun-jdk7