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
19 lines
557 B
Makefile
19 lines
557 B
Makefile
# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:00 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
LIBUTF_BUILDLINK3_MK:= ${LIBUTF_BUILDLINK3_MK}+
|
|
|
|
.if ${BUILDLINK_DEPTH} == "+"
|
|
BUILDLINK_DEPENDS+= libutf
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibutf}
|
|
BUILDLINK_PACKAGES+= libutf
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libutf
|
|
|
|
.if ${LIBUTF_BUILDLINK3_MK} == "+"
|
|
BUILDLINK_API_DEPENDS.libutf+= libutf>=3.0
|
|
BUILDLINK_PKGSRCDIR.libutf?= ../../misc/libutf
|
|
.endif # LIBUTF_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|