20ddd43af8
MesaLib is a 3-D graphics library with an API which is very similar to that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or state machine, it is being used with authorization from Silicon Graphics, Inc. However, the author makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
34 lines
972 B
Makefile
34 lines
972 B
Makefile
# $NetBSD: dri.mk,v 1.1 2018/10/07 23:49:31 ryoon Exp $
|
|
#
|
|
# Currently, this is for convenience only.
|
|
#
|
|
.if !defined(DRI_MK)
|
|
DRI_MK= # defined
|
|
|
|
. if !defined(USE_BUILTIN.MesaLib)
|
|
CHECK_BUILTIN.MesaLib:= yes
|
|
. include "../../graphics/MesaLib/builtin.mk"
|
|
CHECK_BUILTIN.MesaLib:= no
|
|
. endif
|
|
|
|
. if !empty(USE_BUILTIN.MesaLib:M[Nn][Oo])
|
|
. if ${OPSYS} != "Darwin"
|
|
BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.60
|
|
. endif
|
|
. if ${OPSYS} == "Linux"
|
|
BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.9.3
|
|
. endif
|
|
. endif
|
|
. include "../../textproc/expat/buildlink3.mk"
|
|
. include "../../x11/xorgproto/buildlink3.mk"
|
|
# XXX these do not have builtin.mk
|
|
. if ${X11_TYPE} == "modular"
|
|
. include "../../x11/libxshmfence/buildlink3.mk"
|
|
. endif
|
|
. include "../../x11/libXdamage/buildlink3.mk"
|
|
. include "../../x11/libXfixes/buildlink3.mk"
|
|
. include "../../x11/libXxf86vm/buildlink3.mk"
|
|
. if ${OPSYS} != "Darwin"
|
|
. include "../../x11/libdrm/buildlink3.mk"
|
|
. endif
|
|
.endif
|