1 # $NetBSD: Makefile.GLcore,v 1.9 2005/05/14 19:27:56 martin Exp $
5 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/main
6 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/glapi
7 SRCS+= accum.c api_arrayelt.c api_loopback.c api_noop.c \
8 api_validate.c attrib.c blend.c buffers.c bufferobj.c clip.c \
10 context.c convolve.c debug.c depth.c dispatch.c dlist.c \
11 drawpix.c enable.c enums.c eval.c extensions.c feedback.c \
12 fog.c get.c glapi.c glthread.c hash.c hint.c histogram.c \
13 image.c imports.c light.c lines.c matrix.c occlude.c pixel.c \
14 points.c polygon.c rastpos.c state.c stencil.c texcompress.c \
15 texformat.c texcompress_fxt1.c texcompress_s3tc.c teximage.c \
16 texobj.c texstate.c texstore.c varray.c vtxfmt.c
19 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/array_cache
20 SRCS+= ac_context.c ac_import.c
23 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/math
24 SRCS+= m_debug_clip.c m_debug_norm.c m_debug_xform.c m_eval.c \
25 m_matrix.c m_translate.c m_vector.c m_xform.c
28 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/swrast
29 SRCS+= s_aaline.c s_aatriangle.c s_accum.c s_alpha.c s_alphabuf.c \
30 s_bitmap.c s_blend.c s_buffers.c s_context.c s_copypix.c \
31 s_depth.c s_drawpix.c s_feedback.c s_fog.c \
32 s_imaging.c s_lines.c s_logic.c s_masking.c s_pixeltex.c \
33 s_points.c s_readpix.c s_span.c s_stencil.c s_texstore.c \
34 s_texture.c s_triangle.c s_zoom.c s_nvfragprog.c \
38 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/swrast_setup
39 SRCS+= ss_context.c ss_triangle.c
42 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/shader
43 SRCS+= arbprogram.c nvprogram.c arbfragparse.c arbvertparse.c program.c \
44 nvvertexec.c nvfragparse.c arbprogparse.c grammar_mesa.c \
48 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/tnl
49 SRCS+= t_array_api.c t_array_import.c t_context.c \
50 t_pipeline.c t_vb_fog.c t_vb_light.c t_vb_normals.c \
51 t_vb_points.c t_vb_program.c t_vb_render.c t_vb_texgen.c \
52 t_vb_texmat.c t_vb_vertex.c t_vtx_api.c t_vtx_generic.c \
53 t_vtx_eval.c t_save_api.c t_vtx_exec.c t_vertex.c t_vertex_c.c \
54 t_save_playback.c t_save_loopback.c
57 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/drivers/x11
58 SRCS+= xm_api.c xm_dd.c xm_line.c xm_span.c xm_tri.c
61 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/drivers/dri/common
62 SRCS+= glcontextmodes.c
65 .PATH: ${X11SRCDIR.xc}/extras/Mesa/src/mesa/drivers//common
69 .PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/mesa/X
70 .PATH: ${X11SRCDIR.xc}/lib/GL/glx
71 SRCS+= compsize.c xf86glx.c xf86glx_util.c
74 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
75 -I${DESTDIR}${X11INCDIR}/X11/extensions \
76 -I${X11SRCDIR.xc}/extras/Mesa/include \
77 -I${X11SRCDIR.xc}/lib/GL/glx \
78 -I${X11SRCDIR.xc}/lib/GL/include \
79 -I${X11SRCDIR.xc}/extras/Mesa/include \
80 -I${X11SRCDIR.xc}/extras/Mesa/src/mesa \
81 -I${X11SRCDIR.xc}/extras/Mesa/src/mesa/main \
82 -I${X11SRCDIR.xc}/extras/Mesa/src/mesa/glapi \
83 -I${X11SRCDIR.xc}/extras/Mesa/src/mesa/shader \
84 -I${X11SRCDIR.xc}/extras/Mesa/src/mesa/drivers/x11 \
85 -I${X11SRCDIR.xc}/extras/Mesa/src/mesa/drivers/dri/common \
86 -I${X11SRCDIR.xc}/programs/Xserver/include \
88 -I${X11SRCDIR.xc}/extras/Mesa/src/X \
89 -I${X11SRCDIR.xc}/programs/Xserver/GL/glx \
90 -I${X11SRCDIR.xc}/programs/Xserver/GL/include \
91 -I${X11SRCDIR.xc}/programs/Xserver/GL/mesa/X
93 CPPFLAGS+= ${X11FLAGS.EXTENSION} -DGLXEXT -DGLX_USE_MESA