summaryrefslogtreecommitdiff
path: root/lang/sun-jdk6/buildlink3.mk
blob: 1ec9d8472ec3c2fdfc044d12e15c3165b463250b (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
# $NetBSD: buildlink3.mk,v 1.6 2013/02/28 23:03:58 jperkin Exp $

BUILDLINK_TREE+=	sun-jdk6

.if !defined(SUN_JDK6_BUILDLINK3_MK)
SUN_JDK6_BUILDLINK3_MK:=

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

BUILDLINK_PASSTHRU_DIRS+=	${BUILDLINK_JAVA_PREFIX.sun-jre6}

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

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

.include "../../lang/sun-jre6/buildlink3.mk"
.endif # SUN_JDK6_BUILDLINK3_MK

BUILDLINK_TREE+=	-sun-jdk6