pkgsrc-wip/jdk15/buildlink3.mk
Geert Hendrickx b79afa759e Import jdk15, Sun's Java Development Kit 1.5.0, based on Eyesbeyond's patchset-2.
Marked as BROKEN since it doesn't build yet, but already committed so that others
can also look at it (requested by joerg@).
2005-09-28 13:56:35 +00:00

27 lines
769 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/09/28 13:56:35 ghen Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JDK15_BUILDLINK3_MK:= ${JDK15_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= jdk15
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njdk15}
BUILDLINK_PACKAGES+= jdk15
.if !empty(JDK15_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.jdk15+= jdk15>=1.5.0.2
BUILDLINK_PKGSRCDIR.jdk15?= ../../wip/jdk15
BUILDLINK_JAVA_PREFIX.jdk15= ${PREFIX}/java/jdk-1.5.0
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.jdk15}
BUILDLINK_CPPFLAGS.jdk15= \
-I${BUILDLINK_JAVA_PREFIX.jdk15}/include \
-I${BUILDLINK_JAVA_PREFIX.jdk15}/include/netbsd
.endif # JDK15_BUILDLINK3_MK
.include "../../mk/x11.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}