No empty .Rs/.Re
[netbsd-mini2440.git] / external / mit / xorg / lib / libGL / Makefile.mesa
blobe740d7a682847ddc8678d95cef3288dff442b65d
2 SRCS.mesa=      api_arrayelt.c \
3                 api_exec.c \
4                 api_loopback.c \
5                 api_noop.c \
6                 api_validate.c \
7                 accum.c \
8                 attrib.c \
9                 arrayobj.c \
10                 blend.c \
11                 bufferobj.c \
12                 buffers.c \
13                 clear.c \
14                 clip.c \
15                 colortab.c \
16                 context.c \
17                 convolve.c \
18                 debug.c \
19                 depth.c \
20                 depthstencil.c \
21                 dlist.c \
22                 dlopen.c \
23                 drawpix.c \
24                 enable.c \
25                 enums.c \
26                 MESAeval.c \
27                 execmem.c \
28                 extensions.c \
29                 fbobject.c \
30                 feedback.c \
31                 ffvertex_prog.c \
32                 fog.c \
33                 framebuffer.c \
34                 get.c \
35                 getstring.c \
36                 hash.c \
37                 hint.c \
38                 histogram.c \
39                 image.c \
40                 imports.c \
41                 light.c \
42                 lines.c \
43                 matrix.c \
44                 mipmap.c \
45                 mm.c \
46                 multisample.c \
47                 MESApixel.c \
48                 pixelstore.c \
49                 points.c \
50                 polygon.c \
51                 queryobj.c \
52                 rastpos.c \
53                 rbadaptors.c \
54                 readpix.c \
55                 renderbuffer.c \
56                 scissor.c \
57                 shaders.c \
58                 state.c \
59                 stencil.c \
60                 texcompress.c \
61                 texcompress_s3tc.c \
62                 texcompress_fxt1.c \
63                 texenv.c \
64                 texenvprogram.c \
65                 texformat.c \
66                 texgen.c \
67                 teximage.c \
68                 texobj.c \
69                 texparam.c \
70                 texrender.c \
71                 texstate.c \
72                 texstore.c \
73                 varray.c \
74                 vtxfmt.c
77 # XXX  avoid source name clashes with glx
78 .PATH:          ${X11SRCDIR.MesaLib}/src/mesa/main
79 BUILDSYMLINKS=  ${X11SRCDIR.MesaLib}/src/mesa/main/pixel.c MESApixel.c \
80                 ${X11SRCDIR.MesaLib}/src/mesa/main/eval.c MESAeval.c
84 # math
85 .PATH:          ${X11SRCDIR.MesaLib}/src/mesa/math
86 SRCS.math=      m_debug_clip.c \
87                 m_debug_norm.c \
88                 m_debug_xform.c \
89                 m_eval.c \
90                 m_matrix.c \
91                 m_translate.c \
92                 m_vector.c \
93                 m_xform.c
96 # swrast
97 .PATH:          ${X11SRCDIR.MesaLib}/src/mesa/swrast
98 SRCS.swrast=    _aaline.c \
99                 s_aatriangle.c \
100                 s_accum.c \
101                 s_alpha.c \
102                 s_atifragshader.c \
103                 s_bitmap.c \
104                 s_blend.c \
105                 s_blit.c \
106                 s_buffers.c \
107                 s_copypix.c \
108                 s_context.c \
109                 s_depth.c \
110                 s_drawpix.c \
111                 s_feedback.c \
112                 s_fog.c \
113                 s_fragprog.c \
114                 s_imaging.c \
115                 s_lines.c \
116                 s_logic.c \
117                 s_masking.c \
118                 s_points.c \
119                 s_readpix.c \
120                 s_span.c \
121                 s_stencil.c \
122                 s_texcombine.c \
123                 s_texfilter.c \
124                 s_texstore.c \
125                 s_triangle.c \
126                 s_zoom.c
129 # swrast_setup
130 .PATH:          ${X11SRCDIR.MesaLib}/src/mesa/swrast_setup
131 SRCS.ss=        ss_context.c \
132                 ss_triangle.c
135 # tnl
136 .PATH:          ${X11SRCDIR.MesaLib}/src/mesa/tnl
137 SRCS.tnl=       t_context.c \
138                 t_pipeline.c \
139                 t_draw.c \
140                 t_rasterpos.c \
141                 t_vb_program.c \
142                 t_vb_render.c \
143                 t_vb_texgen.c \
144                 t_vb_texmat.c \
145                 t_vb_vertex.c \
146                 t_vb_cull.c \
147                 t_vb_fog.c \
148                 t_vb_light.c \
149                 t_vb_normals.c 
150                 t_vb_points.c \
151                 t_vp_build.c \
152                 t_vertex.c \
153                 t_vertex_sse.c \
154                 t_vertex_generic.c
157 .for fn in ${SRCS.glx} ${SRCS.dri} ${SRCS.mesa}
158 CPPFLAGS.${fn}+=-I${X11SRCDIR.xc}/lib/GL/dri \
159                 -I${X11SRCDIR.xc}/lib/GL/glx \
160                 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
161                 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel \
162                 -I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
163                 -I${X11SRCDIR.MesaLib}/src/mesa/array_cache \
164                 -I${X11SRCDIR.MesaLib}/src/mesa \
165                 -I${X11SRCDIR.MesaLib}/src/mesa/swrast_setup \
166                 -I${X11SRCDIR.MesaLib}/src/mesa/tnl \
167                 -I${X11SRCDIR.MesaLib}/src/mesa/include
168 CPPFLAGS.${fn}+=${X11FLAGS.DRI}
169 .endfor
171 SRCS+=  ${SRCS.dri} ${SRCS.mesa} ${SRCS.ac} ${SRCS.math} \
172         ${SRCS.swrast} ${SRCS.ss} ${SRCS.tnl}