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
24 lines
785 B
Makefile
24 lines
785 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:00 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
QALCULATE_BUILDLINK3_MK:= ${QALCULATE_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= qalculate
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqalculate}
|
|
BUILDLINK_PACKAGES+= qalculate
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qalculate
|
|
|
|
.if !empty(QALCULATE_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.qalculate+= qalculate>=0.8.2
|
|
BUILDLINK_ABI_DEPENDS.qalculate?= qalculate>=0.8.2nb2
|
|
BUILDLINK_PKGSRCDIR.qalculate?= ../../math/qalculate
|
|
.endif # QALCULATE_BUILDLINK3_MK
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../math/cln/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|