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
27 lines
872 B
Makefile
27 lines
872 B
Makefile
# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:53 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
SANE_BACKENDS_BUILDLINK3_MK:= ${SANE_BACKENDS_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= sane-backends
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsane-backends}
|
|
BUILDLINK_PACKAGES+= sane-backends
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sane-backends
|
|
|
|
.if !empty(SANE_BACKENDS_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.sane-backends+= sane-backends>=1.0.3
|
|
BUILDLINK_ABI_DEPENDS.sane-backends+= sane-backends>=1.0.17nb1
|
|
BUILDLINK_PKGSRCDIR.sane-backends?= ../../graphics/sane-backends
|
|
.endif # SANE_BACKENDS_BUILDLINK3_MK
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OPSYS} != "SunOS")
|
|
. include "../../devel/libusb/buildlink3.mk"
|
|
.endif
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|