c16221a4db
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
31 lines
939 B
Makefile
31 lines
939 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:56 jlam Exp $
|
|
|
|
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
|
|
|
|
.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
|
|
BUILDLINK_PKGSRCDIR.sun-jdk14?= ../../lang/sun-jdk14
|
|
BUILDLINK_DEPMETHOD.sun-jdk14?= build
|
|
|
|
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.sun-jre14}
|
|
|
|
BUILDLINK_CPPFLAGS.sun-jdk14+= \
|
|
-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/+$//}
|