added OSMESA_DRIVER_OBJECTS and COMMON_DRIVER_OBJECTS
[mesa.git] / src / mesa / sources
1 ### Lists of source files, included by Makefiles
2
3 MAIN_SOURCES = \
4 main/api_arrayelt.c \
5 main/api_loopback.c \
6 main/api_noop.c \
7 main/api_validate.c \
8 main/accum.c \
9 main/arbparse.c \
10 main/arbprogram.c \
11 main/arbfragparse.c \
12 main/arbvertparse.c \
13 main/attrib.c \
14 main/blend.c \
15 main/bufferobj.c \
16 main/buffers.c \
17 main/clip.c \
18 main/colortab.c \
19 main/context.c \
20 main/convolve.c \
21 main/debug.c \
22 main/depth.c \
23 main/dispatch.c \
24 main/dlist.c \
25 main/drawpix.c \
26 main/enable.c \
27 main/enums.c \
28 main/eval.c \
29 main/extensions.c \
30 main/feedback.c \
31 main/fog.c \
32 main/get.c \
33 main/hash.c \
34 main/hint.c \
35 main/histogram.c \
36 main/image.c \
37 main/imports.c \
38 main/light.c \
39 main/lines.c \
40 main/matrix.c \
41 main/nvprogram.c \
42 main/nvfragparse.c \
43 main/nvvertexec.c \
44 main/nvvertparse.c \
45 main/occlude.c \
46 main/pixel.c \
47 main/points.c \
48 main/polygon.c \
49 main/program.c \
50 main/rastpos.c \
51 main/state.c \
52 main/stencil.c \
53 main/texcompress.c \
54 main/texformat.c \
55 main/teximage.c \
56 main/texobj.c \
57 main/texstate.c \
58 main/texstore.c \
59 main/texutil.c \
60 main/varray.c \
61 main/vtxfmt.c
62
63 GLAPI_SOURCES = \
64 glapi/glapi.c \
65 glapi/glthread.c
66
67 MATH_SOURCES = \
68 math/m_debug_clip.c \
69 math/m_debug_norm.c \
70 math/m_debug_xform.c \
71 math/m_eval.c \
72 math/m_matrix.c \
73 math/m_translate.c \
74 math/m_vector.c \
75 math/m_xform.c
76
77 ARRAY_CACHE_SOURCES = \
78 array_cache/ac_context.c \
79 array_cache/ac_import.c
80
81 SWRAST_SOURCES = \
82 swrast/s_aaline.c \
83 swrast/s_aatriangle.c \
84 swrast/s_accum.c \
85 swrast/s_alpha.c \
86 swrast/s_alphabuf.c \
87 swrast/s_auxbuffer.c \
88 swrast/s_bitmap.c \
89 swrast/s_blend.c \
90 swrast/s_buffers.c \
91 swrast/s_copypix.c \
92 swrast/s_context.c \
93 swrast/s_depth.c \
94 swrast/s_drawpix.c \
95 swrast/s_feedback.c \
96 swrast/s_fog.c \
97 swrast/s_imaging.c \
98 swrast/s_lines.c \
99 swrast/s_logic.c \
100 swrast/s_masking.c \
101 swrast/s_nvfragprog.c \
102 swrast/s_pixeltex.c \
103 swrast/s_points.c \
104 swrast/s_readpix.c \
105 swrast/s_span.c \
106 swrast/s_stencil.c \
107 swrast/s_texture.c \
108 swrast/s_texstore.c \
109 swrast/s_triangle.c \
110 swrast/s_zoom.c
111
112 SWRAST_SETUP_SOURCES = \
113 swrast_setup/ss_context.c \
114 swrast_setup/ss_triangle.c
115
116 TNL_SOURCES = \
117 tnl/t_array_api.c \
118 tnl/t_array_import.c \
119 tnl/t_context.c \
120 tnl/t_pipeline.c \
121 tnl/t_save_api.c \
122 tnl/t_save_loopback.c \
123 tnl/t_save_playback.c \
124 tnl/t_vb_fog.c \
125 tnl/t_vb_light.c \
126 tnl/t_vb_normals.c \
127 tnl/t_vb_points.c \
128 tnl/t_vb_program.c \
129 tnl/t_vb_render.c \
130 tnl/t_vb_texgen.c \
131 tnl/t_vb_texmat.c \
132 tnl/t_vb_vertex.c \
133 tnl/t_vertex.c \
134 tnl/t_vtx_api.c \
135 tnl/t_vtx_eval.c \
136 tnl/t_vtx_exec.c
137
138 ASM_C_SOURCES = \
139 x86/common_x86.c \
140 x86/x86.c \
141 x86/3dnow.c \
142 x86/sse.c \
143 sparc/sparc.c
144
145 X86_SOURCES = \
146 x86/common_x86_asm.S \
147 x86/glapi_x86.S \
148 x86/x86_xform2.S \
149 x86/x86_xform3.S \
150 x86/x86_xform4.S \
151 x86/x86_cliptest.S \
152 x86/mmx_blend.S \
153 x86/3dnow_xform1.S \
154 x86/3dnow_xform2.S \
155 x86/3dnow_xform3.S \
156 x86/3dnow_xform4.S \
157 x86/3dnow_normal.S \
158 x86/sse_xform1.S \
159 x86/sse_xform2.S \
160 x86/sse_xform3.S \
161 x86/sse_xform4.S \
162 x86/sse_normal.S
163
164 SPARC_SOURCES = \
165 sparc/clip.S \
166 sparc/glapi_sparc.S \
167 sparc/norm.S \
168 sparc/xform.S
169
170 COMMON_DRIVER_SOURCES = \
171 drivers/common/driverfuncs.c
172
173 X11_DRIVER_SOURCES = \
174 drivers/x11/glxapi.c \
175 drivers/x11/fakeglx.c \
176 drivers/x11/xfonts.c \
177 drivers/x11/xm_api.c \
178 drivers/x11/xm_dd.c \
179 drivers/x11/xm_line.c \
180 drivers/x11/xm_span.c \
181 drivers/x11/xm_tri.c
182
183 OSMESA_DRIVER_SOURCES = \
184 drivers/osmesa/osmesa.c
185
186 GLIDE_DRIVER_SOURCES = \
187 drivers/glide/fxapi.c \
188 drivers/glide/fxdd.c \
189 drivers/glide/fxddspan.c \
190 drivers/glide/fxddtex.c \
191 drivers/glide/fxsetup.c \
192 drivers/glide/fxtexman.c \
193 drivers/glide/fxtris.c \
194 drivers/glide/fxvb.c \
195 drivers/glide/fxglidew.c \
196 drivers/glide/fxg.c
197
198 SVGA_DRIVER_SOURCES = \
199 drivers/svga/svgamesa.c \
200 drivers/svga/svgamesa8.c \
201 drivers/svga/svgamesa15.c \
202 drivers/svga/svgamesa16.c \
203 drivers/svga/svgamesa24.c \
204 drivers/svga/svgamesa32.c
205
206 FBDEV_DRIVER_SOURCES = \
207 drivers/fbdev/glfbdev.c
208
209
210 ### All the core C sources
211
212 CORE_SOURCES = \
213 $(MAIN_SOURCES) \
214 $(GLAPI_SOURCES) \
215 $(MATH_SOURCES) \
216 $(ARRAY_CACHE_SOURCES) \
217 $(TNL_SOURCES) \
218 $(SWRAST_SOURCES) \
219 $(SWRAST_SETUP_SOURCES) \
220 $(ASM_C_SOURCES)
221
222
223
224 ### Object files
225
226 CORE_OBJECTS = $(CORE_SOURCES:.c=.o)
227
228 OSMESA_DRIVER_OBJECTS = $(OSMESA_DRIVER_SOURCES:.c=.o)
229
230 COMMON_DRIVER_OBJECTS = $(COMMON_DRIVER_SOURCES:.c=.o)
231
232
233
234 ### Include directories
235
236 INCLUDE_DIRS = \
237 -I$(TOP)/include \
238 -I$(TOP)/src/mesa \
239 -I$(TOP)/src/mesa/main \
240 -I$(TOP)/src/mesa/glapi \
241 -I$(TOP)/src/mesa/math \
242 -I$(TOP)/src/mesa/tnl \
243 -I$(TOP)/src/mesa/swrast \
244 -I$(TOP)/src/mesa/swrast_setup