pkgsrc/lang/sun-jdk14/buildlink3.mk

32 lines
939 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:56 jlam Exp $
2004-05-05 19:20:29 +02:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JDK14_BUILDLINK3_MK:= ${SUN_JDK14_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= sun-jdk14
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jdk14}
BUILDLINK_PACKAGES+= sun-jdk14
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jdk14
2004-05-05 19:20:29 +02:00
.if !empty(SUN_JDK14_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sun-jdk14+= sun-jdk14-[0-9]*
BUILDLINK_ABI_DEPENDS.sun-jdk14?= sun-jdk14>=2.11
2004-05-05 19:20:29 +02:00
BUILDLINK_PKGSRCDIR.sun-jdk14?= ../../lang/sun-jdk14
BUILDLINK_DEPMETHOD.sun-jdk14?= build
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.sun-jre14}
2006-03-02 22:37:31 +01:00
BUILDLINK_CPPFLAGS.sun-jdk14+= \
2004-05-05 19:20:29 +02:00
-I${BUILDLINK_JAVA_PREFIX.sun-jre14}/include \
-I${BUILDLINK_JAVA_PREFIX.sun-jre14}/include/linux
.include "../../lang/sun-jre14/buildlink3.mk"
.endif # SUN_JDK14_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}