summaryrefslogtreecommitdiff
path: root/x11/Xserver/GL/GLcore/Makefile.GLcore
blob: 997dcb20f06af7ed11208ec5ea5b3408c4d3cf44 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#	$NetBSD: Makefile.GLcore,v 1.2 2003/12/21 11:12:32 rtr Exp $

.include <bsd.own.mk>

LIB=		GLcore

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src
SRCS+=		accum.c api_arrayelt.c api_eval.c api_loopback.c \
		api_noop.c api_validate.c attrib.c blend.c buffers.c \
		clip.c colortab.c config.c context.c convolve.c \
		debug.c depth.c dispatch.c dlist.c drawpix.c enable.c \
		enums.c eval.c extensions.c feedback.c fog.c get.c \
		glapi.c glthread.c hash.c hint.c histogram.c image.c \
		imports.c light.c lines.c matrix.c mem.c mmath.c \
		pixel.c points.c polygon.c rastpos.c state.c \
		stencil.c texformat.c teximage.c texobj.c texstate.c \
		texstore.c texutil.c varray.c vtxfmt.c

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src/math
SRCS+=		m_debug_clip.c m_debug_norm.c m_debug_xform.c \
		m_debug_vertex.c m_eval.c m_matrix.c m_translate.c \
		m_vector.c m_vertices.c m_xform.c

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src/array_cache
SRCS+=		ac_context.c ac_import.c

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src/swrast
SRCS+=		s_aaline.c s_aatriangle.c s_accum.c s_alpha.c \
		s_alphabuf.c s_bitmap.c s_blend.c s_buffers.c \
		s_context.c s_copypix.c s_depth.c s_drawpix.c \
		s_feedback.c s_fog.c s_histogram.c s_imaging.c \
		s_lines.c s_logic.c s_masking.c s_pb.c s_pixeltex.c \
		s_points.c s_readpix.c s_scissor.c s_span.c \
		s_stencil.c s_texstore.c s_texture.c s_triangle.c \
		s_zoom.c

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src/swrast_setup
SRCS+=		ss_context.c ss_triangle.c ss_vb.c

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src/tnl
SRCS+=		t_array_api.c t_array_import.c t_context.c t_eval_api.c \
		t_imm_alloc.c t_imm_api.c t_imm_debug.c t_imm_dlist.c \
		t_imm_elt.c t_imm_eval.c t_imm_exec.c t_imm_fixup.c \
		t_pipeline.c t_vb_fog.c t_vb_light.c t_vb_normals.c \
		t_vb_points.c t_vb_render.c t_vb_texgen.c t_vb_texmat.c \
		t_vb_vertex.c

.PATH:		${X11SRCDIR.xc}/extras/Mesa/src/X
.PATH:		${X11SRCDIR.xc}/programs/Xserver/GL/mesa/src/X
.PATH:		${X11SRCDIR.xc}/lib/GL/glx
SRCS+=		compsize.c xf86glx.c xf86glx_util.c xm_api.c xm_dd.c \
		xm_line.c xm_span.c xm_tri.c

XSERVERINCDIR!=	cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}

CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 \
		-I${DESTDIR}${X11INCDIR}/X11/extensions \
 		-I${X11SRCDIR.xc}/extras/Mesa/include \
		-I${X11SRCDIR.xc}/lib/GL/include \
 		-I${X11SRCDIR.xc}/extras/Mesa/src \
		-I${X11SRCDIR.xc}/programs/Xserver/include \
		-I${XSERVERINCDIR} \
 		-I${X11SRCDIR.xc}/extras/Mesa/src/X \
		-I${X11SRCDIR.xc}/programs/Xserver/GL/glx \
		-I${X11SRCDIR.xc}/programs/Xserver/GL/include \
		-I${X11SRCDIR.xc}/programs/Xserver/GL/mesa/src/X

CPPFLAGS+=	-DGLXEXT -DGLX_USE_MESA

.include <bsd.x11.mk>
LIBDIR=	${XMODULEDIR}
.include <bsd.lib.mk>