28 lines
823 B
Makefile
28 lines
823 B
Makefile
# $NetBSD: buildlink3.mk,v 1.5 2004/05/09 04:16:06 minskim Exp $
|
|
#
|
|
# This Makefile fragment is included by packages that use libX11.
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
LIBX11_BUILDLINK3_MK:= ${LIBX11_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= libX11
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibX11}
|
|
BUILDLINK_PACKAGES+= libX11
|
|
|
|
.if !empty(LIBX11_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.libX11+= libX11>=6.2.1
|
|
BUILDLINK_PKGSRCDIR.libX11?= ../../wip/libX11
|
|
.endif # LIBX11_BUILDLINK3_MK
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
LIBS+= ${BUILDLINK_LDADD.pthread}
|
|
|
|
.include "../../x11/xextensions/buildlink3.mk"
|
|
.include "../../wip/xproto/buildlink3.mk"
|
|
.include "../../wip/xtrans/buildlink3.mk"
|
|
.include "../../wip/libXau/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|