summaryrefslogtreecommitdiff
path: root/graphics/glut/builtin.mk
blob: 0a111da205a6c405cc52feb97409075ccb0ae806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: builtin.mk,v 1.2 2009/02/01 16:22:54 cube Exp $

BUILTIN_PKG:=	glut
PKGCONFIG_FILE.glut=	${X11BASE}/lib/pkgconfig/glut.pc

.include "../../mk/buildlink3/pkgconfig-builtin.mk"

.if !empty(USE_BUILTIN.glut:M[Yy][Ee][Ss])

CHECK_BUILTIN.MesaLib:=	yes
CHECK_BUILTIN.glu:=	yes
.  include "../../graphics/MesaLib/builtin.mk"
.  include "../../graphics/glu/builtin.mk"
CHECK_BUILTIN.MesaLib:=	no
CHECK_BUILTIN.glu:=	no
BUILTIN_PKG:=	glut

.  if !empty(USE_BUILTIN.MesaLib:M[Nn][Oo]) || \
      !empty(USE_BUILTIN.glu:M[Nn][Oo])
USE_BUILTIN.glut=	no
.  endif

.endif

.include "../../mk/x11.builtin.mk"