VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/Makefile.kmk@ 78376

Last change on this file since 78376 was 76553, checked in by vboxsync, 6 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 48.1 KB
Line 
1# $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
2## @file
3# Sub-Makefile for the VirtualBox Guest Mesa 3D components
4#
5
6#
7# Copyright (C) 2016-2019 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# Target lists.
23#
24LIBRARIES.win += \
25 VBoxMesaUtilLib \
26 VBoxMesaLib \
27 VBoxMesaWglLib \
28 VBoxMesaGalliumAuxLib \
29 VBoxMesaNineLib \
30 VBoxMesaSVGALib \
31 VBoxMesaSVGAWinsysLib
32LIBRARIES.win.amd64 += \
33 VBoxMesaUtilLib-x86 \
34 VBoxMesaLib-x86 \
35 VBoxMesaWglLib-x86 \
36 VBoxMesaGalliumAuxLib-x86 \
37 VBoxMesaNineLib-x86 \
38 VBoxMesaSVGALib-x86 \
39 VBoxMesaSVGAWinsysLib-x86
40
41
42TEMPLATE_VBoxMesa3DGuestR3Lib = VBox Mesa 3D Guest User Mode Library
43TEMPLATE_VBoxMesa3DGuestR3Lib_EXTENDS = VBoxMesa3DGuestR3Dll
44TEMPLATE_VBoxMesa3DGuestR3Lib_INST = $(INST_ADDITIONS_LIB)
45ifeq ($(KBUILD_TARGET),win)
46# Do not treat warnings as errors, because Mesa code produces too many warnings with MSC.
47TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS = $(filter-out -WX,$(TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS))
48TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS = $(filter-out -WX,$(TEMPLATE_VBoxMesa3DGuestR3Dll_CXXFLAGS))
49# -wd4005: vcc120: '__useHeader' : macro redefinition
50# -wd4013: undefined; assuming extern returning int
51# -wd4018: signed/unsigned mismatch
52# -wd4054: 'type cast' : from function pointer to data pointer 'void *'
53# -wd4057: 'function' : 'int *' differs in indirection to slightly different base types from 'uint32_t *'
54# -wd4090: 'function' : different 'const' qualifiers
55# -wd4098: 'void' function returning a value
56# -wd4099: 'st_src_reg' : type name first seen using 'class' now seen using 'struct'
57# -wd4100: unreferenced formal parameter
58# -wd4101: unreferenced local variable
59# -wd4130: '==' : logical operation on address of string constant
60# -wd4132: 'color' : const object should be initialized
61# -wd4146: unary minus operator applied to unsigned type, result still unsigned
62# -wd4152: nonstandard extension, function/data pointer conversion in expression
63# -wd4189: 'signo' : local variable is initialized but not referenced
64# -wd4200: nonstandard extension used : zero-sized array in struct/union
65# -wd4204: nonstandard extension used : non-constant aggregate initializer
66# -wd4206: nonstandard extension used : translation unit is empty
67# -wd4211: nonstandard extension used : redefined extern to static
68# -wd4221: nonstandard extension used : 'tokens' : cannot be initialized using address of automatic variable 'tokens'
69# -wd4245: '=' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch
70# -wd4255: no function prototype given
71# -wd4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
72# -wd4265: 'ir_variable_refcount_visitor' : class has virtual functions, but destructor is not virtual
73# -wd4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
74# -wd4266: 'void ir_visitor::visit(ir_rvalue *)' : no override available for virtual member function from base 'ir_visitor'; function is hidden
75# -wd4287: unsigned/negative constant mismatch
76# -wd4291: 'void *exec_node::operator new(size_t,void *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
77# -wd4305: truncation from 'double' to 'const float'
78# -wd4306: 'type cast' : conversion from 'int' to 'void *' of greater size
79# -wd4310: cast truncates constant value
80# -wd4311: 'type cast' : pointer truncation from 'void *' to 'unsigned long'
81# -wd4351: new behavior: elements of array '_mesa_glsl_parse_state::cs_input_local_size' will be default initialized
82# -wd4355: 'this' : used in base member initializer list
83# -wd4388: '==' : signed/unsigned mismatch
84# -wd4389: '==' : signed/unsigned mismatch
85# -wd4640: 'ts' : construction of local static object is not thread-safe
86# -wd4668: '__STDC_VERSION__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
87# -wd4700: uninitialized local variable 'tmp' used
88# -wd4701: potentially uninitialized local variable 'query' used
89# -wd4702: unreachable code
90# -wd4703: vcc120: potentially uninitialized local pointer variable 'gen_func' used
91# -wd4756: overflow in constant arithmetic
92# -wd4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
93# -wd4805: '|=' : unsafe mix of type 'GLboolean' and type 'bool' in operation
94# -wd4918: 'y' : invalid character in pragma optimization list
95VBOX_MESA3D_VCC_DISABLED_WARNINGS = \
96 -wd4005 -wd4013 -wd4018 -wd4054 -wd4057 -wd4090 -wd4098 -wd4099 -wd4100 -wd4101 -wd4130 -wd4132 -wd4146 \
97 -wd4152 -wd4189 -wd4200 -wd4204 -wd4206 -wd4211 -wd4221 -wd4245 -wd4255 -wd4258 -wd4265 -wd4267 -wd4266 \
98 -wd4287 -wd4291 -wd4305 -wd4306 -wd4310 -wd4311 -wd4351 -wd4355 -wd4388 -wd4389 -wd4640 -wd4668 -wd4700 \
99 -wd4701 -wd4702 -wd4703 -wd4756 -wd4800 -wd4805 -wd4918
100TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS.win += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
101TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS.win += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
102endif
103TEMPLATE_VBoxMesa3DGuestR3Lib_INCS = \
104 include \
105 $(VBOX_MESA)/include/GL \
106 $(VBOX_MESA)/src/mapi \
107 $(VBOX_MESA)/src/util \
108 $(VBOX_MESA)/src/mesa/main \
109 $(VBOX_MESA)/src/compiler \
110 $(VBOX_MESA)/src/compiler/nir \
111 $(VBOX_MESA)/src/gallium/state_trackers/wgl \
112 $(TEMPLATE_VBoxMesa3DGuestR3Dll_INCS)
113TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS = \
114 $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
115 PACKAGE_VERSION=\"$(VBOX_MESA)\" \
116 PACKAGE_BUGREPORT=\"$(VBOX_MESA)\"
117# For wgl, glapi and mesa
118TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS += \
119 MAPI_MODE_UTIL _GDI32_ BUILD_GL32 KHRONOS_DLL_EXPORTS GL_API=GLAPI GL_APIENTRY=GLAPIENTRY _GLAPI_NO_EXPORTS
120TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS.release = \
121 $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS.release) \
122 NDEBUG
123
124
125#
126# VBoxMesaUtilLib
127#
128VBoxMesaUtilLib_TEMPLATE = VBoxMesa3DGuestR3Lib
129VBoxMesaUtilLib_SOURCES = \
130 $(VBOX_MESA)/src/util/bitscan.c \
131 $(VBOX_MESA)/src/util/build_id.c \
132 $(VBOX_MESA)/src/util/crc32.c \
133 $(VBOX_MESA)/src/util/debug.c \
134 $(VBOX_MESA)/src/util/disk_cache.c \
135 $(VBOX_MESA)/src/util/half_float.c \
136 $(VBOX_MESA)/src/util/hash_table.c \
137 $(VBOX_MESA)/src/util/ralloc.c \
138 $(VBOX_MESA)/src/util/rand_xor.c \
139 $(VBOX_MESA)/src/util/register_allocate.c \
140 $(VBOX_MESA)/src/util/rgtc.c \
141 $(VBOX_MESA)/src/util/set.c \
142 $(VBOX_MESA)/src/util/mesa-sha1.c \
143 $(VBOX_MESA)/src/util/sha1/sha1.c \
144 $(VBOX_MESA)/src/util/slab.c \
145 $(VBOX_MESA)/src/util/string_buffer.c \
146 $(VBOX_MESA)/src/util/strtod.c \
147 $(VBOX_MESA)/src/util/u_atomic.c \
148 $(VBOX_MESA)/src/util/u_queue.c \
149 $(VBOX_MESA)/src/util/u_vector.c
150# Auto-generated
151VBoxMesaUtilLib_SOURCES += \
152 $(VBOX_MESA)/src/util/format_srgb.c
153
154# 32 bit lib for 64 bit build
155VBoxMesaUtilLib-x86_EXTENDS = VBoxMesaUtilLib
156VBoxMesaUtilLib-x86_BLD_TRG_ARCH = x86
157
158
159#
160# VBoxMesaLib
161#
162VBoxMesaLib_TEMPLATE = VBoxMesa3DGuestR3Lib
163VBoxMesaLib_SOURCES = \
164 $(VBOX_MESA)/src/mesa/state_tracker/st_atifs_to_tgsi.c \
165 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_array.c \
166 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_atomicbuf.c \
167 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_blend.c \
168 $(VBOX_MESA)/src/mesa/state_tracker/st_atom.c \
169 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_clip.c \
170 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_constbuf.c \
171 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_depth.c \
172 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_framebuffer.c \
173 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_image.c \
174 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_msaa.c \
175 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_pixeltransfer.c \
176 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_rasterizer.c \
177 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_sampler.c \
178 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_scissor.c \
179 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_shader.c \
180 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_stipple.c \
181 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_storagebuf.c \
182 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_tess.c \
183 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_texture.c \
184 $(VBOX_MESA)/src/mesa/state_tracker/st_atom_viewport.c \
185 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_bitmap.c \
186 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_bitmap_shader.c \
187 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_blit.c \
188 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_bufferobjects.c \
189 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_clear.c \
190 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_compute.c \
191 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_condrender.c \
192 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_copyimage.c \
193 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_drawpixels.c \
194 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_drawpixels_shader.c \
195 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_drawtex.c \
196 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_eglimage.c \
197 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_fbo.c \
198 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_feedback.c \
199 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_flush.c \
200 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_memoryobjects.c \
201 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_msaa.c \
202 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_perfmon.c \
203 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_program.c \
204 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_queryobj.c \
205 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_rasterpos.c \
206 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_readpixels.c \
207 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_strings.c \
208 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_syncobj.c \
209 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_texturebarrier.c \
210 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_texture.c \
211 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_viewport.c \
212 $(VBOX_MESA)/src/mesa/state_tracker/st_cb_xformfb.c \
213 $(VBOX_MESA)/src/mesa/state_tracker/st_context.c \
214 $(VBOX_MESA)/src/mesa/state_tracker/st_copytex.c \
215 $(VBOX_MESA)/src/mesa/state_tracker/st_debug.c \
216 $(VBOX_MESA)/src/mesa/state_tracker/st_draw.c \
217 $(VBOX_MESA)/src/mesa/state_tracker/st_draw_feedback.c \
218 $(VBOX_MESA)/src/mesa/state_tracker/st_extensions.c \
219 $(VBOX_MESA)/src/mesa/state_tracker/st_format.c \
220 $(VBOX_MESA)/src/mesa/state_tracker/st_gen_mipmap.c \
221 $(VBOX_MESA)/src/mesa/state_tracker/st_glsl_to_nir.cpp \
222 $(VBOX_MESA)/src/mesa/state_tracker/st_glsl_to_tgsi.cpp \
223 $(VBOX_MESA)/src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp \
224 $(VBOX_MESA)/src/mesa/state_tracker/st_glsl_to_tgsi_temprename.cpp \
225 $(VBOX_MESA)/src/mesa/state_tracker/st_glsl_types.cpp \
226 $(VBOX_MESA)/src/mesa/state_tracker/st_manager.c \
227 $(VBOX_MESA)/src/mesa/state_tracker/st_mesa_to_tgsi.c \
228 $(VBOX_MESA)/src/mesa/state_tracker/st_nir_lower_builtin.c \
229 $(VBOX_MESA)/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c \
230 $(VBOX_MESA)/src/mesa/state_tracker/st_pbo.c \
231 $(VBOX_MESA)/src/mesa/state_tracker/st_program.c \
232 $(VBOX_MESA)/src/mesa/state_tracker/st_sampler_view.c \
233 $(VBOX_MESA)/src/mesa/state_tracker/st_scissor.c \
234 $(VBOX_MESA)/src/mesa/state_tracker/st_shader_cache.c \
235 $(VBOX_MESA)/src/mesa/state_tracker/st_texture.c \
236 $(VBOX_MESA)/src/mesa/state_tracker/st_tgsi_lower_yuv.c \
237 $(VBOX_MESA)/src/mesa/state_tracker/st_vdpau.c
238VBoxMesaLib_SOURCES += \
239 $(VBOX_MESA)/src/mesa/program/arbprogparse.c \
240 $(VBOX_MESA)/src/mesa/program/ir_to_mesa.cpp \
241 $(VBOX_MESA)/src/mesa/program/lex.yy.c \
242 $(VBOX_MESA)/src/mesa/program/prog_cache.c \
243 $(VBOX_MESA)/src/mesa/program/prog_execute.c \
244 $(VBOX_MESA)/src/mesa/program/prog_instruction.c \
245 $(VBOX_MESA)/src/mesa/program/prog_noise.c \
246 $(VBOX_MESA)/src/mesa/program/prog_opt_constant_fold.c \
247 $(VBOX_MESA)/src/mesa/program/prog_optimize.c \
248 $(VBOX_MESA)/src/mesa/program/prog_parameter.c \
249 $(VBOX_MESA)/src/mesa/program/prog_parameter_layout.c \
250 $(VBOX_MESA)/src/mesa/program/prog_print.c \
251 $(VBOX_MESA)/src/mesa/program/program.c \
252 $(VBOX_MESA)/src/mesa/program/programopt.c \
253 $(VBOX_MESA)/src/mesa/program/program_parse_extra.c \
254 $(VBOX_MESA)/src/mesa/program/program_parse.tab.c \
255 $(VBOX_MESA)/src/mesa/program/prog_statevars.c \
256 $(VBOX_MESA)/src/mesa/program/symbol_table.c
257VBoxMesaLib_SOURCES += \
258 $(VBOX_MESA)/src/mesa/main/accum.c \
259 $(VBOX_MESA)/src/mesa/main/api_arrayelt.c \
260 $(VBOX_MESA)/src/mesa/main/api_exec.c \
261 $(VBOX_MESA)/src/mesa/main/api_loopback.c \
262 $(VBOX_MESA)/src/mesa/main/api_validate.c \
263 $(VBOX_MESA)/src/mesa/main/arbprogram.c \
264 $(VBOX_MESA)/src/mesa/main/arrayobj.c \
265 $(VBOX_MESA)/src/mesa/main/atifragshader.c \
266 $(VBOX_MESA)/src/mesa/main/attrib.c \
267 $(VBOX_MESA)/src/mesa/main/barrier.c \
268 $(VBOX_MESA)/src/mesa/main/bbox.c \
269 $(VBOX_MESA)/src/mesa/main/blend.c \
270 $(VBOX_MESA)/src/mesa/main/blit.c \
271 $(VBOX_MESA)/src/mesa/main/bufferobj.c \
272 $(VBOX_MESA)/src/mesa/main/buffers.c \
273 $(VBOX_MESA)/src/mesa/main/clear.c \
274 $(VBOX_MESA)/src/mesa/main/clip.c \
275 $(VBOX_MESA)/src/mesa/main/colortab.c \
276 $(VBOX_MESA)/src/mesa/main/compute.c \
277 $(VBOX_MESA)/src/mesa/main/condrender.c \
278 $(VBOX_MESA)/src/mesa/main/context.c \
279 $(VBOX_MESA)/src/mesa/main/convolve.c \
280 $(VBOX_MESA)/src/mesa/main/copyimage.c \
281 $(VBOX_MESA)/src/mesa/main/cpuinfo.c \
282 $(VBOX_MESA)/src/mesa/main/debug.c \
283 $(VBOX_MESA)/src/mesa/main/debug_output.c \
284 $(VBOX_MESA)/src/mesa/main/depth.c \
285 $(VBOX_MESA)/src/mesa/main/dlist.c \
286 $(VBOX_MESA)/src/mesa/main/drawpix.c \
287 $(VBOX_MESA)/src/mesa/main/drawtex.c \
288 $(VBOX_MESA)/src/mesa/main/enable.c \
289 $(VBOX_MESA)/src/mesa/main/enums.c \
290 $(VBOX_MESA)/src/mesa/main/errors.c \
291 $(VBOX_MESA)/src/mesa/main/eval.c \
292 $(VBOX_MESA)/src/mesa/main/execmem.c \
293 $(VBOX_MESA)/src/mesa/main/extensions.c \
294 $(VBOX_MESA)/src/mesa/main/extensions_table.c \
295 $(VBOX_MESA)/src/mesa/main/externalobjects.c \
296 $(VBOX_MESA)/src/mesa/main/fbobject.c \
297 $(VBOX_MESA)/src/mesa/main/feedback.c \
298 $(VBOX_MESA)/src/mesa/main/ff_fragment_shader.cpp \
299 $(VBOX_MESA)/src/mesa/main/ffvertex_prog.c \
300 $(VBOX_MESA)/src/mesa/main/fog.c \
301 $(VBOX_MESA)/src/mesa/main/format_fallback.c \
302 $(VBOX_MESA)/src/mesa/main/format_pack.c \
303 $(VBOX_MESA)/src/mesa/main/format_unpack.c \
304 $(VBOX_MESA)/src/mesa/main/formatquery.c \
305 $(VBOX_MESA)/src/mesa/main/formats.c \
306 $(VBOX_MESA)/src/mesa/main/format_utils.c \
307 $(VBOX_MESA)/src/mesa/main/framebuffer.c \
308 $(VBOX_MESA)/src/mesa/main/get.c \
309 $(VBOX_MESA)/src/mesa/main/genmipmap.c \
310 $(VBOX_MESA)/src/mesa/main/getstring.c \
311 $(VBOX_MESA)/src/mesa/main/glformats.c \
312 $(VBOX_MESA)/src/mesa/main/glthread.c \
313 $(VBOX_MESA)/src/mesa/main/hash.c \
314 $(VBOX_MESA)/src/mesa/main/hint.c \
315 $(VBOX_MESA)/src/mesa/main/histogram.c \
316 $(VBOX_MESA)/src/mesa/main/image.c \
317 $(VBOX_MESA)/src/mesa/main/imports.c \
318 $(VBOX_MESA)/src/mesa/main/light.c \
319 $(VBOX_MESA)/src/mesa/main/lines.c \
320 $(VBOX_MESA)/src/mesa/main/marshal.c \
321 $(VBOX_MESA)/src/mesa/main/marshal_generated.c \
322 $(VBOX_MESA)/src/mesa/main/matrix.c \
323 $(VBOX_MESA)/src/mesa/main/mipmap.c \
324 $(VBOX_MESA)/src/mesa/main/mm.c \
325 $(VBOX_MESA)/src/mesa/main/multisample.c \
326 $(VBOX_MESA)/src/mesa/main/objectlabel.c \
327 $(VBOX_MESA)/src/mesa/main/objectpurge.c \
328 $(VBOX_MESA)/src/mesa/main/pack.c \
329 $(VBOX_MESA)/src/mesa/main/pbo.c \
330 $(VBOX_MESA)/src/mesa/main/performance_monitor.c \
331 $(VBOX_MESA)/src/mesa/main/performance_query.c \
332 $(VBOX_MESA)/src/mesa/main/pipelineobj.c \
333 $(VBOX_MESA)/src/mesa/main/pixel.c \
334 $(VBOX_MESA)/src/mesa/main/pixelstore.c \
335 $(VBOX_MESA)/src/mesa/main/pixeltransfer.c \
336 $(VBOX_MESA)/src/mesa/main/points.c \
337 $(VBOX_MESA)/src/mesa/main/polygon.c \
338 $(VBOX_MESA)/src/mesa/main/program_resource.c \
339 $(VBOX_MESA)/src/mesa/main/querymatrix.c \
340 $(VBOX_MESA)/src/mesa/main/queryobj.c \
341 $(VBOX_MESA)/src/mesa/main/rastpos.c \
342 $(VBOX_MESA)/src/mesa/main/readpix.c \
343 $(VBOX_MESA)/src/mesa/main/remap.c \
344 $(VBOX_MESA)/src/mesa/main/renderbuffer.c \
345 $(VBOX_MESA)/src/mesa/main/robustness.c \
346 $(VBOX_MESA)/src/mesa/main/samplerobj.c \
347 $(VBOX_MESA)/src/mesa/main/scissor.c \
348 $(VBOX_MESA)/src/mesa/main/shaderapi.c \
349 $(VBOX_MESA)/src/mesa/main/shaderimage.c \
350 $(VBOX_MESA)/src/mesa/main/shaderobj.c \
351 $(VBOX_MESA)/src/mesa/main/shader_query.cpp \
352 $(VBOX_MESA)/src/mesa/main/shared.c \
353 $(VBOX_MESA)/src/mesa/main/state.c \
354 $(VBOX_MESA)/src/mesa/main/stencil.c \
355 $(VBOX_MESA)/src/mesa/main/syncobj.c \
356 $(VBOX_MESA)/src/mesa/main/texcompress.c \
357 $(VBOX_MESA)/src/mesa/main/texcompress_bptc.c \
358 $(VBOX_MESA)/src/mesa/main/texcompress_cpal.c \
359 $(VBOX_MESA)/src/mesa/main/texcompress_etc.c \
360 $(VBOX_MESA)/src/mesa/main/texcompress_fxt1.c \
361 $(VBOX_MESA)/src/mesa/main/texcompress_rgtc.c \
362 $(VBOX_MESA)/src/mesa/main/texcompress_s3tc.c \
363 $(VBOX_MESA)/src/mesa/main/texenv.c \
364 $(VBOX_MESA)/src/mesa/main/texformat.c \
365 $(VBOX_MESA)/src/mesa/main/texgen.c \
366 $(VBOX_MESA)/src/mesa/main/texgetimage.c \
367 $(VBOX_MESA)/src/mesa/main/teximage.c \
368 $(VBOX_MESA)/src/mesa/main/texobj.c \
369 $(VBOX_MESA)/src/mesa/main/texparam.c \
370 $(VBOX_MESA)/src/mesa/main/texstate.c \
371 $(VBOX_MESA)/src/mesa/main/texstorage.c \
372 $(VBOX_MESA)/src/mesa/main/texstore.c \
373 $(VBOX_MESA)/src/mesa/main/texturebindless.c \
374 $(VBOX_MESA)/src/mesa/main/textureview.c \
375 $(VBOX_MESA)/src/mesa/main/transformfeedback.c \
376 $(VBOX_MESA)/src/mesa/main/uniform_query.cpp \
377 $(VBOX_MESA)/src/mesa/main/uniforms.c \
378 $(VBOX_MESA)/src/mesa/main/varray.c \
379 $(VBOX_MESA)/src/mesa/main/vdpau.c \
380 $(VBOX_MESA)/src/mesa/main/version.c \
381 $(VBOX_MESA)/src/mesa/main/viewport.c \
382 $(VBOX_MESA)/src/mesa/main/vtxfmt.c \
383 $(VBOX_MESA)/src/mesa/main/es1_conversion.c
384VBoxMesaLib_SOURCES += \
385 $(VBOX_MESA)/src/mesa/math/m_debug_clip.c \
386 $(VBOX_MESA)/src/mesa/math/m_debug_norm.c \
387 $(VBOX_MESA)/src/mesa/math/m_debug_xform.c \
388 $(VBOX_MESA)/src/mesa/math/m_eval.c \
389 $(VBOX_MESA)/src/mesa/math/m_matrix.c \
390 $(VBOX_MESA)/src/mesa/math/m_translate.c \
391 $(VBOX_MESA)/src/mesa/math/m_vector.c
392VBoxMesaLib_SOURCES += \
393 $(VBOX_MESA)/src/mesa/vbo/vbo_context.c \
394 $(VBOX_MESA)/src/mesa/vbo/vbo_exec_api.c \
395 $(VBOX_MESA)/src/mesa/vbo/vbo_exec_array.c \
396 $(VBOX_MESA)/src/mesa/vbo/vbo_exec.c \
397 $(VBOX_MESA)/src/mesa/vbo/vbo_exec_draw.c \
398 $(VBOX_MESA)/src/mesa/vbo/vbo_exec_eval.c \
399 $(VBOX_MESA)/src/mesa/vbo/vbo_minmax_index.c \
400 $(VBOX_MESA)/src/mesa/vbo/vbo_noop.c \
401 $(VBOX_MESA)/src/mesa/vbo/vbo_primitive_restart.c \
402 $(VBOX_MESA)/src/mesa/vbo/vbo_rebase.c \
403 $(VBOX_MESA)/src/mesa/vbo/vbo_save_api.c \
404 $(VBOX_MESA)/src/mesa/vbo/vbo_save.c \
405 $(VBOX_MESA)/src/mesa/vbo/vbo_save_draw.c \
406 $(VBOX_MESA)/src/mesa/vbo/vbo_save_loopback.c \
407 $(VBOX_MESA)/src/mesa/vbo/vbo_split.c \
408 $(VBOX_MESA)/src/mesa/vbo/vbo_split_copy.c \
409 $(VBOX_MESA)/src/mesa/vbo/vbo_split_inplace.c
410VBoxMesaLib_SOURCES += \
411 $(VBOX_MESA)/src/compiler/blob.c \
412 $(VBOX_MESA)/src/compiler/glsl_types.cpp \
413 $(VBOX_MESA)/src/compiler/nir_types.cpp \
414 $(VBOX_MESA)/src/compiler/shader_enums.c \
415 $(VBOX_MESA)/src/compiler/glsl/ast_array_index.cpp \
416 $(VBOX_MESA)/src/compiler/glsl/ast_expr.cpp \
417 $(VBOX_MESA)/src/compiler/glsl/ast_function.cpp \
418 $(VBOX_MESA)/src/compiler/glsl/ast_to_hir.cpp \
419 $(VBOX_MESA)/src/compiler/glsl/ast_type.cpp \
420 $(VBOX_MESA)/src/compiler/glsl/builtin_functions.cpp \
421 $(VBOX_MESA)/src/compiler/glsl/builtin_types.cpp \
422 $(VBOX_MESA)/src/compiler/glsl/builtin_variables.cpp \
423 $(VBOX_MESA)/src/compiler/glsl/generate_ir.cpp \
424 $(VBOX_MESA)/src/compiler/glsl/glsl_parser_extras.cpp \
425 $(VBOX_MESA)/src/compiler/glsl/glsl_symbol_table.cpp \
426 $(VBOX_MESA)/src/compiler/glsl/glsl_to_nir.cpp \
427 $(VBOX_MESA)/src/compiler/glsl/hir_field_selection.cpp \
428 $(VBOX_MESA)/src/compiler/glsl/ir_array_refcount.cpp \
429 $(VBOX_MESA)/src/compiler/glsl/ir_basic_block.cpp \
430 $(VBOX_MESA)/src/compiler/glsl/ir_builder.cpp \
431 $(VBOX_MESA)/src/compiler/glsl/ir_clone.cpp \
432 $(VBOX_MESA)/src/compiler/glsl/ir_constant_expression.cpp \
433 $(VBOX_MESA)/src/compiler/glsl/ir.cpp \
434 $(VBOX_MESA)/src/compiler/glsl/ir_equals.cpp \
435 $(VBOX_MESA)/src/compiler/glsl/ir_expression_flattening.cpp \
436 $(VBOX_MESA)/src/compiler/glsl/ir_function_can_inline.cpp \
437 $(VBOX_MESA)/src/compiler/glsl/ir_function_detect_recursion.cpp \
438 $(VBOX_MESA)/src/compiler/glsl/ir_function.cpp \
439 $(VBOX_MESA)/src/compiler/glsl/ir_hierarchical_visitor.cpp \
440 $(VBOX_MESA)/src/compiler/glsl/ir_hv_accept.cpp \
441 $(VBOX_MESA)/src/compiler/glsl/ir_print_visitor.cpp \
442 $(VBOX_MESA)/src/compiler/glsl/ir_reader.cpp \
443 $(VBOX_MESA)/src/compiler/glsl/ir_rvalue_visitor.cpp \
444 $(VBOX_MESA)/src/compiler/glsl/ir_set_program_inouts.cpp \
445 $(VBOX_MESA)/src/compiler/glsl/ir_validate.cpp \
446 $(VBOX_MESA)/src/compiler/glsl/ir_variable_refcount.cpp \
447 $(VBOX_MESA)/src/compiler/glsl/linker.cpp \
448 $(VBOX_MESA)/src/compiler/glsl/link_atomics.cpp \
449 $(VBOX_MESA)/src/compiler/glsl/link_functions.cpp \
450 $(VBOX_MESA)/src/compiler/glsl/link_interface_blocks.cpp \
451 $(VBOX_MESA)/src/compiler/glsl/link_uniforms.cpp \
452 $(VBOX_MESA)/src/compiler/glsl/link_uniform_initializers.cpp \
453 $(VBOX_MESA)/src/compiler/glsl/link_uniform_block_active_visitor.cpp \
454 $(VBOX_MESA)/src/compiler/glsl/link_uniform_blocks.cpp \
455 $(VBOX_MESA)/src/compiler/glsl/link_varyings.cpp \
456 $(VBOX_MESA)/src/compiler/glsl/loop_analysis.cpp \
457 $(VBOX_MESA)/src/compiler/glsl/loop_unroll.cpp \
458 $(VBOX_MESA)/src/compiler/glsl/lower_blend_equation_advanced.cpp \
459 $(VBOX_MESA)/src/compiler/glsl/lower_buffer_access.cpp \
460 $(VBOX_MESA)/src/compiler/glsl/lower_const_arrays_to_uniforms.cpp \
461 $(VBOX_MESA)/src/compiler/glsl/lower_cs_derived.cpp \
462 $(VBOX_MESA)/src/compiler/glsl/lower_discard.cpp \
463 $(VBOX_MESA)/src/compiler/glsl/lower_discard_flow.cpp \
464 $(VBOX_MESA)/src/compiler/glsl/lower_distance.cpp \
465 $(VBOX_MESA)/src/compiler/glsl/lower_if_to_cond_assign.cpp \
466 $(VBOX_MESA)/src/compiler/glsl/lower_instructions.cpp \
467 $(VBOX_MESA)/src/compiler/glsl/lower_int64.cpp \
468 $(VBOX_MESA)/src/compiler/glsl/lower_jumps.cpp \
469 $(VBOX_MESA)/src/compiler/glsl/lower_mat_op_to_vec.cpp \
470 $(VBOX_MESA)/src/compiler/glsl/lower_noise.cpp \
471 $(VBOX_MESA)/src/compiler/glsl/lower_offset_array.cpp \
472 $(VBOX_MESA)/src/compiler/glsl/lower_packed_varyings.cpp \
473 $(VBOX_MESA)/src/compiler/glsl/lower_named_interface_blocks.cpp \
474 $(VBOX_MESA)/src/compiler/glsl/lower_packing_builtins.cpp \
475 $(VBOX_MESA)/src/compiler/glsl/lower_subroutine.cpp \
476 $(VBOX_MESA)/src/compiler/glsl/lower_tess_level.cpp \
477 $(VBOX_MESA)/src/compiler/glsl/lower_texture_projection.cpp \
478 $(VBOX_MESA)/src/compiler/glsl/lower_variable_index_to_cond_assign.cpp \
479 $(VBOX_MESA)/src/compiler/glsl/lower_vec_index_to_cond_assign.cpp \
480 $(VBOX_MESA)/src/compiler/glsl/lower_vec_index_to_swizzle.cpp \
481 $(VBOX_MESA)/src/compiler/glsl/lower_vector.cpp \
482 $(VBOX_MESA)/src/compiler/glsl/lower_vector_derefs.cpp \
483 $(VBOX_MESA)/src/compiler/glsl/lower_vector_insert.cpp \
484 $(VBOX_MESA)/src/compiler/glsl/lower_vertex_id.cpp \
485 $(VBOX_MESA)/src/compiler/glsl/lower_output_reads.cpp \
486 $(VBOX_MESA)/src/compiler/glsl/lower_shared_reference.cpp \
487 $(VBOX_MESA)/src/compiler/glsl/lower_ubo_reference.cpp \
488 $(VBOX_MESA)/src/compiler/glsl/opt_algebraic.cpp \
489 $(VBOX_MESA)/src/compiler/glsl/opt_array_splitting.cpp \
490 $(VBOX_MESA)/src/compiler/glsl/opt_conditional_discard.cpp \
491 $(VBOX_MESA)/src/compiler/glsl/opt_constant_folding.cpp \
492 $(VBOX_MESA)/src/compiler/glsl/opt_constant_propagation.cpp \
493 $(VBOX_MESA)/src/compiler/glsl/opt_constant_variable.cpp \
494 $(VBOX_MESA)/src/compiler/glsl/opt_copy_propagation.cpp \
495 $(VBOX_MESA)/src/compiler/glsl/opt_copy_propagation_elements.cpp \
496 $(VBOX_MESA)/src/compiler/glsl/opt_dead_builtin_variables.cpp \
497 $(VBOX_MESA)/src/compiler/glsl/opt_dead_builtin_varyings.cpp \
498 $(VBOX_MESA)/src/compiler/glsl/opt_dead_code.cpp \
499 $(VBOX_MESA)/src/compiler/glsl/opt_dead_code_local.cpp \
500 $(VBOX_MESA)/src/compiler/glsl/opt_dead_functions.cpp \
501 $(VBOX_MESA)/src/compiler/glsl/opt_flatten_nested_if_blocks.cpp \
502 $(VBOX_MESA)/src/compiler/glsl/opt_flip_matrices.cpp \
503 $(VBOX_MESA)/src/compiler/glsl/opt_function_inlining.cpp \
504 $(VBOX_MESA)/src/compiler/glsl/opt_if_simplification.cpp \
505 $(VBOX_MESA)/src/compiler/glsl/opt_minmax.cpp \
506 $(VBOX_MESA)/src/compiler/glsl/opt_noop_swizzle.cpp \
507 $(VBOX_MESA)/src/compiler/glsl/opt_rebalance_tree.cpp \
508 $(VBOX_MESA)/src/compiler/glsl/opt_redundant_jumps.cpp \
509 $(VBOX_MESA)/src/compiler/glsl/opt_structure_splitting.cpp \
510 $(VBOX_MESA)/src/compiler/glsl/opt_swizzle_swizzle.cpp \
511 $(VBOX_MESA)/src/compiler/glsl/opt_tree_grafting.cpp \
512 $(VBOX_MESA)/src/compiler/glsl/opt_vectorize.cpp \
513 $(VBOX_MESA)/src/compiler/glsl/propagate_invariance.cpp \
514 $(VBOX_MESA)/src/compiler/glsl/s_expression.cpp \
515 $(VBOX_MESA)/src/compiler/glsl/string_to_uint_map.cpp \
516 $(VBOX_MESA)/src/compiler/glsl/shader_cache.cpp \
517 $(VBOX_MESA)/src/compiler/glsl/ir_builder_print_visitor.cpp \
518 $(VBOX_MESA)/src/compiler/glsl/glsl_lexer.cpp \
519 $(VBOX_MESA)/src/compiler/glsl/glsl_parser.cpp \
520 $(VBOX_MESA)/src/compiler/glsl/glcpp/pp.c \
521 $(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-lex.c \
522 $(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-parse.c \
523 $(VBOX_MESA)/src/compiler/nir/nir_constant_expressions.c \
524 $(VBOX_MESA)/src/compiler/nir/nir_opcodes.c \
525 $(VBOX_MESA)/src/compiler/nir/nir_opt_algebraic.c \
526 $(VBOX_MESA)/src/compiler/nir/nir.c \
527 $(VBOX_MESA)/src/compiler/nir/nir_clone.c \
528 $(VBOX_MESA)/src/compiler/nir/nir_control_flow.c \
529 $(VBOX_MESA)/src/compiler/nir/nir_dominance.c \
530 $(VBOX_MESA)/src/compiler/nir/nir_from_ssa.c \
531 $(VBOX_MESA)/src/compiler/nir/nir_gather_info.c \
532 $(VBOX_MESA)/src/compiler/nir/nir_gs_count_vertices.c \
533 $(VBOX_MESA)/src/compiler/nir/nir_inline_functions.c \
534 $(VBOX_MESA)/src/compiler/nir/nir_instr_set.c \
535 $(VBOX_MESA)/src/compiler/nir/nir_intrinsics.c \
536 $(VBOX_MESA)/src/compiler/nir/nir_linking_helpers.c \
537 $(VBOX_MESA)/src/compiler/nir/nir_liveness.c \
538 $(VBOX_MESA)/src/compiler/nir/nir_loop_analyze.c \
539 $(VBOX_MESA)/src/compiler/nir/nir_lower_64bit_packing.c \
540 $(VBOX_MESA)/src/compiler/nir/nir_lower_alpha_test.c \
541 $(VBOX_MESA)/src/compiler/nir/nir_lower_alu_to_scalar.c \
542 $(VBOX_MESA)/src/compiler/nir/nir_lower_atomics.c \
543 $(VBOX_MESA)/src/compiler/nir/nir_lower_atomics_to_ssbo.c \
544 $(VBOX_MESA)/src/compiler/nir/nir_lower_bitmap.c \
545 $(VBOX_MESA)/src/compiler/nir/nir_lower_clamp_color_outputs.c \
546 $(VBOX_MESA)/src/compiler/nir/nir_lower_clip.c \
547 $(VBOX_MESA)/src/compiler/nir/nir_lower_clip_cull_distance_arrays.c \
548 $(VBOX_MESA)/src/compiler/nir/nir_lower_constant_initializers.c \
549 $(VBOX_MESA)/src/compiler/nir/nir_lower_double_ops.c \
550 $(VBOX_MESA)/src/compiler/nir/nir_lower_drawpixels.c \
551 $(VBOX_MESA)/src/compiler/nir/nir_lower_global_vars_to_local.c \
552 $(VBOX_MESA)/src/compiler/nir/nir_lower_gs_intrinsics.c \
553 $(VBOX_MESA)/src/compiler/nir/nir_lower_load_const_to_scalar.c \
554 $(VBOX_MESA)/src/compiler/nir/nir_lower_locals_to_regs.c \
555 $(VBOX_MESA)/src/compiler/nir/nir_lower_idiv.c \
556 $(VBOX_MESA)/src/compiler/nir/nir_lower_indirect_derefs.c \
557 $(VBOX_MESA)/src/compiler/nir/nir_lower_int64.c \
558 $(VBOX_MESA)/src/compiler/nir/nir_lower_io.c \
559 $(VBOX_MESA)/src/compiler/nir/nir_lower_io_to_temporaries.c \
560 $(VBOX_MESA)/src/compiler/nir/nir_lower_io_to_scalar.c \
561 $(VBOX_MESA)/src/compiler/nir/nir_lower_io_types.c \
562 $(VBOX_MESA)/src/compiler/nir/nir_lower_passthrough_edgeflags.c \
563 $(VBOX_MESA)/src/compiler/nir/nir_lower_patch_vertices.c \
564 $(VBOX_MESA)/src/compiler/nir/nir_lower_phis_to_scalar.c \
565 $(VBOX_MESA)/src/compiler/nir/nir_lower_read_invocation_to_scalar.c \
566 $(VBOX_MESA)/src/compiler/nir/nir_lower_regs_to_ssa.c \
567 $(VBOX_MESA)/src/compiler/nir/nir_lower_returns.c \
568 $(VBOX_MESA)/src/compiler/nir/nir_lower_samplers.c \
569 $(VBOX_MESA)/src/compiler/nir/nir_lower_samplers_as_deref.c \
570 $(VBOX_MESA)/src/compiler/nir/nir_lower_system_values.c \
571 $(VBOX_MESA)/src/compiler/nir/nir_lower_tex.c \
572 $(VBOX_MESA)/src/compiler/nir/nir_lower_to_source_mods.c \
573 $(VBOX_MESA)/src/compiler/nir/nir_lower_two_sided_color.c \
574 $(VBOX_MESA)/src/compiler/nir/nir_lower_uniforms_to_ubo.c \
575 $(VBOX_MESA)/src/compiler/nir/nir_lower_vars_to_ssa.c \
576 $(VBOX_MESA)/src/compiler/nir/nir_lower_var_copies.c \
577 $(VBOX_MESA)/src/compiler/nir/nir_lower_vec_to_movs.c \
578 $(VBOX_MESA)/src/compiler/nir/nir_lower_wpos_center.c \
579 $(VBOX_MESA)/src/compiler/nir/nir_lower_wpos_ytransform.c \
580 $(VBOX_MESA)/src/compiler/nir/nir_metadata.c \
581 $(VBOX_MESA)/src/compiler/nir/nir_move_vec_src_uses_to_dest.c \
582 $(VBOX_MESA)/src/compiler/nir/nir_normalize_cubemap_coords.c \
583 $(VBOX_MESA)/src/compiler/nir/nir_opt_conditional_discard.c \
584 $(VBOX_MESA)/src/compiler/nir/nir_opt_constant_folding.c \
585 $(VBOX_MESA)/src/compiler/nir/nir_opt_copy_prop_vars.c \
586 $(VBOX_MESA)/src/compiler/nir/nir_opt_copy_propagate.c \
587 $(VBOX_MESA)/src/compiler/nir/nir_opt_cse.c \
588 $(VBOX_MESA)/src/compiler/nir/nir_opt_dce.c \
589 $(VBOX_MESA)/src/compiler/nir/nir_opt_dead_cf.c \
590 $(VBOX_MESA)/src/compiler/nir/nir_opt_gcm.c \
591 $(VBOX_MESA)/src/compiler/nir/nir_opt_global_to_local.c \
592 $(VBOX_MESA)/src/compiler/nir/nir_opt_if.c \
593 $(VBOX_MESA)/src/compiler/nir/nir_opt_intrinsics.c \
594 $(VBOX_MESA)/src/compiler/nir/nir_opt_loop_unroll.c \
595 $(VBOX_MESA)/src/compiler/nir/nir_opt_move_comparisons.c \
596 $(VBOX_MESA)/src/compiler/nir/nir_opt_peephole_select.c \
597 $(VBOX_MESA)/src/compiler/nir/nir_opt_remove_phis.c \
598 $(VBOX_MESA)/src/compiler/nir/nir_opt_trivial_continues.c \
599 $(VBOX_MESA)/src/compiler/nir/nir_opt_undef.c \
600 $(VBOX_MESA)/src/compiler/nir/nir_phi_builder.c \
601 $(VBOX_MESA)/src/compiler/nir/nir_print.c \
602 $(VBOX_MESA)/src/compiler/nir/nir_propagate_invariant.c \
603 $(VBOX_MESA)/src/compiler/nir/nir_remove_dead_variables.c \
604 $(VBOX_MESA)/src/compiler/nir/nir_repair_ssa.c \
605 $(VBOX_MESA)/src/compiler/nir/nir_search.c \
606 $(VBOX_MESA)/src/compiler/nir/nir_split_var_copies.c \
607 $(VBOX_MESA)/src/compiler/nir/nir_sweep.c \
608 $(VBOX_MESA)/src/compiler/nir/nir_to_lcssa.c \
609 $(VBOX_MESA)/src/compiler/nir/nir_validate.c \
610 $(VBOX_MESA)/src/compiler/nir/nir_worklist.c
611VBoxMesaLib_SOURCES += \
612 $(VBOX_MESA)/src/mapi/glapi/glapi_dispatch.c \
613 $(VBOX_MESA)/src/mapi/glapi/glapi_entrypoint.c \
614 $(VBOX_MESA)/src/mapi/glapi/glapi_getproc.c \
615 $(VBOX_MESA)/src/mapi/glapi/glapi_nop.c \
616 $(VBOX_MESA)/src/mapi/glapi/glapi.c \
617 $(VBOX_MESA)/src/mapi/u_current.c \
618 $(VBOX_MESA)/src/mapi/u_execmem.c
619# Not used
620# $(VBOX_MESA)/src/compiler/glsl/standalone_scaffolding.cpp
621# $(VBOX_MESA)/src/compiler/glsl/standalone.cpp
622
623# Disable optimization for some files, because it takes over 2 minutes to compile them with MSC otherwise.
624$(VBOX_MESA)/src/mesa/main/format_unpack.c_CFLAGS.release += -Od
625$(VBOX_MESA)/src/mesa/main/format_utils.c_CFLAGS.release += -Od
626$(VBOX_MESA)/src/mesa/main/mipmap.c_CFLAGS.release += -Od
627
628# 32 bit lib for 64 bit build
629VBoxMesaLib-x86_EXTENDS = VBoxMesaLib
630VBoxMesaLib-x86_BLD_TRG_ARCH = x86
631
632
633#
634# VBoxMesaWglLib
635#
636VBoxMesaWglLib_TEMPLATE = VBoxMesa3DGuestR3Lib
637VBoxMesaWglLib_SOURCES = \
638 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_context.c \
639 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_device.c \
640 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_ext_context.c \
641 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c \
642 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c \
643 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c \
644 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_ext_rendertexture.c \
645 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_ext_swapinterval.c \
646 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_framebuffer.c \
647 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_getprocaddress.c \
648 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_nopfuncs.c \
649 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_pixelformat.c \
650 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_st.c \
651 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_tls.c \
652 $(VBOX_MESA)/src/gallium/state_trackers/wgl/stw_wgl.c
653
654# 32 bit lib for 64 bit build
655VBoxMesaWglLib-x86_EXTENDS = VBoxMesaWglLib
656VBoxMesaWglLib-x86_BLD_TRG_ARCH = x86
657
658
659#
660# VBoxMesaGalliumAuxLib
661#
662VBoxMesaGalliumAuxLib_TEMPLATE = VBoxMesa3DGuestR3Lib
663VBoxMesaGalliumAuxLib_SOURCES = \
664 $(VBOX_MESA)/src/gallium/auxiliary/cso_cache/cso_cache.c \
665 $(VBOX_MESA)/src/gallium/auxiliary/cso_cache/cso_context.c \
666 $(VBOX_MESA)/src/gallium/auxiliary/cso_cache/cso_hash.c \
667 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_context.c \
668 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_fs.c \
669 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_gs.c \
670 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_aaline.c \
671 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_aapoint.c \
672 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe.c \
673 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_clip.c \
674 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_cull.c \
675 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_flatshade.c \
676 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_offset.c \
677 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_pstipple.c \
678 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_stipple.c \
679 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_twoside.c \
680 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_unfilled.c \
681 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_util.c \
682 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_validate.c \
683 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_vbuf.c \
684 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_wide_line.c \
685 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pipe_wide_point.c \
686 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_prim_assembler.c \
687 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt.c \
688 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_emit.c \
689 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_fetch.c \
690 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c \
691 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c \
692 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c \
693 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_post_vs.c \
694 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_so_emit.c \
695 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_util.c \
696 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_pt_vsplit.c \
697 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_vertex.c \
698 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_vs.c \
699 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_vs_exec.c \
700 $(VBOX_MESA)/src/gallium/auxiliary/draw/draw_vs_variant.c \
701 $(VBOX_MESA)/src/gallium/auxiliary/hud/font.c \
702 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_context.c \
703 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_cpu.c \
704 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_nic.c \
705 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_cpufreq.c \
706 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_diskstat.c \
707 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_sensors_temp.c \
708 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_driver_query.c \
709 $(VBOX_MESA)/src/gallium/auxiliary/hud/hud_fps.c \
710 $(VBOX_MESA)/src/gallium/auxiliary/indices/u_primconvert.c \
711 $(VBOX_MESA)/src/gallium/auxiliary/os/os_misc.c \
712 $(VBOX_MESA)/src/gallium/auxiliary/os/os_process.c \
713 $(VBOX_MESA)/src/gallium/auxiliary/os/os_time.c \
714 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c \
715 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c \
716 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c \
717 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c \
718 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c \
719 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c \
720 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_ondemand.c \
721 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_pool.c \
722 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c \
723 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_cache.c \
724 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_slab.c \
725 $(VBOX_MESA)/src/gallium/auxiliary/pipebuffer/pb_validate.c \
726 $(VBOX_MESA)/src/gallium/auxiliary/postprocess/pp_celshade.c \
727 $(VBOX_MESA)/src/gallium/auxiliary/postprocess/pp_colors.c \
728 $(VBOX_MESA)/src/gallium/auxiliary/postprocess/pp_init.c \
729 $(VBOX_MESA)/src/gallium/auxiliary/postprocess/pp_mlaa.c \
730 $(VBOX_MESA)/src/gallium/auxiliary/postprocess/pp_program.c \
731 $(VBOX_MESA)/src/gallium/auxiliary/postprocess/pp_run.c \
732 $(VBOX_MESA)/src/gallium/auxiliary/rbug/rbug_connection.c \
733 $(VBOX_MESA)/src/gallium/auxiliary/rbug/rbug_context.c \
734 $(VBOX_MESA)/src/gallium/auxiliary/rbug/rbug_core.c \
735 $(VBOX_MESA)/src/gallium/auxiliary/rbug/rbug_demarshal.c \
736 $(VBOX_MESA)/src/gallium/auxiliary/rbug/rbug_shader.c \
737 $(VBOX_MESA)/src/gallium/auxiliary/rbug/rbug_texture.c \
738 $(VBOX_MESA)/src/gallium/auxiliary/rtasm/rtasm_cpu.c \
739 $(VBOX_MESA)/src/gallium/auxiliary/rtasm/rtasm_execmem.c \
740 $(VBOX_MESA)/src/gallium/auxiliary/rtasm/rtasm_x86sse.c \
741 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_aa_point.c \
742 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_build.c \
743 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_dump.c \
744 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_exec.c \
745 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_emulate.c \
746 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c \
747 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_info.c \
748 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_iterate.c \
749 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_lowering.c \
750 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_parse.c \
751 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_point_sprite.c \
752 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_sanity.c \
753 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_scan.c \
754 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_strings.c \
755 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_text.c \
756 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_transform.c \
757 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_two_side.c \
758 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_ureg.c \
759 $(VBOX_MESA)/src/gallium/auxiliary/tgsi/tgsi_util.c \
760 $(VBOX_MESA)/src/gallium/auxiliary/translate/translate.c \
761 $(VBOX_MESA)/src/gallium/auxiliary/translate/translate_cache.c \
762 $(VBOX_MESA)/src/gallium/auxiliary/translate/translate_generic.c \
763 $(VBOX_MESA)/src/gallium/auxiliary/translate/translate_sse.c \
764 $(VBOX_MESA)/src/gallium/auxiliary/util/u_bitmask.c \
765 $(VBOX_MESA)/src/gallium/auxiliary/util/u_blit.c \
766 $(VBOX_MESA)/src/gallium/auxiliary/util/u_blitter.c \
767 $(VBOX_MESA)/src/gallium/auxiliary/util/u_cache.c \
768 $(VBOX_MESA)/src/gallium/auxiliary/util/u_cpu_detect.c \
769 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug.c \
770 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_describe.c \
771 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_flush.c \
772 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_image.c \
773 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_memory.c \
774 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_refcnt.c \
775 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_stack.c \
776 $(VBOX_MESA)/src/gallium/auxiliary/util/u_debug_symbol.c \
777 $(VBOX_MESA)/src/gallium/auxiliary/util/u_dl.c \
778 $(VBOX_MESA)/src/gallium/auxiliary/util/u_draw.c \
779 $(VBOX_MESA)/src/gallium/auxiliary/util/u_draw_quad.c \
780 $(VBOX_MESA)/src/gallium/auxiliary/util/u_dump_defines.c \
781 $(VBOX_MESA)/src/gallium/auxiliary/util/u_dump_state.c \
782 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format.c \
783 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_etc.c \
784 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_latc.c \
785 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_other.c \
786 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_rgtc.c \
787 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_s3tc.c \
788 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_tests.c \
789 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_yuv.c \
790 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_zs.c \
791 $(VBOX_MESA)/src/gallium/auxiliary/util/u_framebuffer.c \
792 $(VBOX_MESA)/src/gallium/auxiliary/util/u_gen_mipmap.c \
793 $(VBOX_MESA)/src/gallium/auxiliary/util/u_handle_table.c \
794 $(VBOX_MESA)/src/gallium/auxiliary/util/u_hash_table.c \
795 $(VBOX_MESA)/src/gallium/auxiliary/util/u_helpers.c \
796 $(VBOX_MESA)/src/gallium/auxiliary/util/u_index_modify.c \
797 $(VBOX_MESA)/src/gallium/auxiliary/util/u_linear.c \
798 $(VBOX_MESA)/src/gallium/auxiliary/util/u_math.c \
799 $(VBOX_MESA)/src/gallium/auxiliary/util/u_mm.c \
800 $(VBOX_MESA)/src/gallium/auxiliary/util/u_network.c \
801 $(VBOX_MESA)/src/gallium/auxiliary/util/u_prim_restart.c \
802 $(VBOX_MESA)/src/gallium/auxiliary/util/u_pstipple.c \
803 $(VBOX_MESA)/src/gallium/auxiliary/util/u_resource.c \
804 $(VBOX_MESA)/src/gallium/auxiliary/util/u_ringbuffer.c \
805 $(VBOX_MESA)/src/gallium/auxiliary/util/u_sampler.c \
806 $(VBOX_MESA)/src/gallium/auxiliary/util/u_simple_shaders.c \
807 $(VBOX_MESA)/src/gallium/auxiliary/util/u_suballoc.c \
808 $(VBOX_MESA)/src/gallium/auxiliary/util/u_surface.c \
809 $(VBOX_MESA)/src/gallium/auxiliary/util/u_surfaces.c \
810 $(VBOX_MESA)/src/gallium/auxiliary/util/u_tests.c \
811 $(VBOX_MESA)/src/gallium/auxiliary/util/u_texture.c \
812 $(VBOX_MESA)/src/gallium/auxiliary/util/u_tile.c \
813 $(VBOX_MESA)/src/gallium/auxiliary/util/u_transfer.c \
814 $(VBOX_MESA)/src/gallium/auxiliary/util/u_upload_mgr.c \
815 $(VBOX_MESA)/src/gallium/auxiliary/util/u_vbuf.c
816# Auto-generated
817VBoxMesaGalliumAuxLib_SOURCES += \
818 $(VBOX_MESA)/src/gallium/auxiliary/indices/u_indices_gen.c \
819 $(VBOX_MESA)/src/gallium/auxiliary/indices/u_unfilled_gen.c \
820 $(VBOX_MESA)/src/gallium/auxiliary/util/u_format_table.c
821
822# 32 bit lib for 64 bit build
823VBoxMesaGalliumAuxLib-x86_EXTENDS = VBoxMesaGalliumAuxLib
824VBoxMesaGalliumAuxLib-x86_BLD_TRG_ARCH = x86
825
826
827#
828# VBoxMesaNineLib
829#
830VBoxMesaNineLib_TEMPLATE = VBoxMesa3DGuestR3Lib
831VBoxMesaNineLib_INCS = \
832 $(VBOX_MESA)/include/D3D9
833VBoxMesaNineLib_DEFS.win = COBJMACROS INC_OLE2
834# -wd4028: formal parameter 4 different from declaration
835# 'nine_context_set_vertex_shader_constant_f' parameter is declared 'const unsigned pConstantData_size'
836# but autogenerated code produces 'unsigned pConstantData_size'.
837VBoxMesaNineLib_CFLAGS.win = -wd4028
838VBoxMesaNineLib_SOURCES = \
839 $(VBOX_MESA)/src/gallium/state_trackers/nine/adapter9.c \
840 $(VBOX_MESA)/src/gallium/state_trackers/nine/authenticatedchannel9.c \
841 $(VBOX_MESA)/src/gallium/state_trackers/nine/basetexture9.c \
842 $(VBOX_MESA)/src/gallium/state_trackers/nine/buffer9.c \
843 $(VBOX_MESA)/src/gallium/state_trackers/nine/cryptosession9.c \
844 $(VBOX_MESA)/src/gallium/state_trackers/nine/cubetexture9.c \
845 $(VBOX_MESA)/src/gallium/state_trackers/nine/device9.c \
846 $(VBOX_MESA)/src/gallium/state_trackers/nine/device9ex.c \
847 $(VBOX_MESA)/src/gallium/state_trackers/nine/device9video.c \
848 $(VBOX_MESA)/src/gallium/state_trackers/nine/guid.c \
849 $(VBOX_MESA)/src/gallium/state_trackers/nine/indexbuffer9.c \
850 $(VBOX_MESA)/src/gallium/state_trackers/nine/iunknown.c \
851 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_buffer_upload.c \
852 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_debug.c \
853 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_dump.c \
854 $(VBOX_MESA)/src/gallium/state_trackers/nine/nineexoverlayextension.c \
855 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_ff.c \
856 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_helpers.c \
857 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_lock.c \
858 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_pipe.c \
859 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_quirk.c \
860 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_queue.c \
861 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_shader.c \
862 $(VBOX_MESA)/src/gallium/state_trackers/nine/nine_state.c \
863 $(VBOX_MESA)/src/gallium/state_trackers/nine/pixelshader9.c \
864 $(VBOX_MESA)/src/gallium/state_trackers/nine/query9.c \
865 $(VBOX_MESA)/src/gallium/state_trackers/nine/resource9.c \
866 $(VBOX_MESA)/src/gallium/state_trackers/nine/stateblock9.c \
867 $(VBOX_MESA)/src/gallium/state_trackers/nine/surface9.c \
868 $(VBOX_MESA)/src/gallium/state_trackers/nine/swapchain9.c \
869 $(VBOX_MESA)/src/gallium/state_trackers/nine/swapchain9ex.c \
870 $(VBOX_MESA)/src/gallium/state_trackers/nine/texture9.c \
871 $(VBOX_MESA)/src/gallium/state_trackers/nine/threadpool.c \
872 $(VBOX_MESA)/src/gallium/state_trackers/nine/vertexbuffer9.c \
873 $(VBOX_MESA)/src/gallium/state_trackers/nine/vertexdeclaration9.c \
874 $(VBOX_MESA)/src/gallium/state_trackers/nine/vertexshader9.c \
875 $(VBOX_MESA)/src/gallium/state_trackers/nine/volume9.c \
876 $(VBOX_MESA)/src/gallium/state_trackers/nine/volumetexture9.c
877
878# 32 bit lib for 64 bit build
879VBoxMesaNineLib-x86_EXTENDS = VBoxMesaNineLib
880VBoxMesaNineLib-x86_BLD_TRG_ARCH = x86
881
882
883#
884# VBoxMesaSVGALib
885#
886VBoxMesaSVGALib_TEMPLATE = VBoxMesa3DGuestR3Lib
887VBoxMesaSVGALib_INCS = \
888 $(VBOX_MESA)/src/gallium/drivers/svga/include
889VBoxMesaSVGALib_SOURCES = \
890 $(VBOX_MESA)/src/gallium/drivers/svga/svga_cmd.c \
891 $(VBOX_MESA)/src/gallium/drivers/svga/svga_cmd_vgpu10.c \
892 $(VBOX_MESA)/src/gallium/drivers/svga/svga_context.c \
893 $(VBOX_MESA)/src/gallium/drivers/svga/svga_draw_arrays.c \
894 $(VBOX_MESA)/src/gallium/drivers/svga/svga_draw.c \
895 $(VBOX_MESA)/src/gallium/drivers/svga/svga_draw_elements.c \
896 $(VBOX_MESA)/src/gallium/drivers/svga/svga_format.c \
897 $(VBOX_MESA)/src/gallium/drivers/svga/svga_link.c \
898 $(VBOX_MESA)/src/gallium/drivers/svga/svga_msg.c \
899 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_blend.c \
900 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_blit.c \
901 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_clear.c \
902 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_constants.c \
903 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_depthstencil.c \
904 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_draw.c \
905 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_flush.c \
906 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_fs.c \
907 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_gs.c \
908 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_misc.c \
909 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_query.c \
910 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_rasterizer.c \
911 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_sampler.c \
912 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_streamout.c \
913 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_vertex.c \
914 $(VBOX_MESA)/src/gallium/drivers/svga/svga_pipe_vs.c \
915 $(VBOX_MESA)/src/gallium/drivers/svga/svga_resource_buffer.c \
916 $(VBOX_MESA)/src/gallium/drivers/svga/svga_resource_buffer_upload.c \
917 $(VBOX_MESA)/src/gallium/drivers/svga/svga_resource.c \
918 $(VBOX_MESA)/src/gallium/drivers/svga/svga_resource_texture.c \
919 $(VBOX_MESA)/src/gallium/drivers/svga/svga_sampler_view.c \
920 $(VBOX_MESA)/src/gallium/drivers/svga/svga_screen.c \
921 $(VBOX_MESA)/src/gallium/drivers/svga/svga_screen_cache.c \
922 $(VBOX_MESA)/src/gallium/drivers/svga/svga_shader.c \
923 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state.c \
924 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_constants.c \
925 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_framebuffer.c \
926 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_fs.c \
927 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_gs.c \
928 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_need_swtnl.c \
929 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_rss.c \
930 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_sampler.c \
931 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_tgsi_transform.c \
932 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_tss.c \
933 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_vdecl.c \
934 $(VBOX_MESA)/src/gallium/drivers/svga/svga_state_vs.c \
935 $(VBOX_MESA)/src/gallium/drivers/svga/svga_surface.c \
936 $(VBOX_MESA)/src/gallium/drivers/svga/svga_swtnl_backend.c \
937 $(VBOX_MESA)/src/gallium/drivers/svga/svga_swtnl_draw.c \
938 $(VBOX_MESA)/src/gallium/drivers/svga/svga_swtnl_state.c \
939 $(VBOX_MESA)/src/gallium/drivers/svga/svga_tgsi.c \
940 $(VBOX_MESA)/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c \
941 $(VBOX_MESA)/src/gallium/drivers/svga/svga_tgsi_insn.c \
942 $(VBOX_MESA)/src/gallium/drivers/svga/svga_tgsi_vgpu10.c \
943 $(VBOX_MESA)/src/gallium/drivers/svga/svgadump/svga_dump.c \
944 $(VBOX_MESA)/src/gallium/drivers/svga/svgadump/svga_shader_dump.c \
945 $(VBOX_MESA)/src/gallium/drivers/svga/svgadump/svga_shader_op.c
946
947# 32 bit lib for 64 bit build
948VBoxMesaSVGALib-x86_EXTENDS = VBoxMesaSVGALib
949VBoxMesaSVGALib-x86_BLD_TRG_ARCH = x86
950
951
952#
953# VBoxMesaSVGAWinsysLib
954#
955VBoxMesaSVGAWinsysLib_TEMPLATE = VBoxMesa3DGuestR3Lib
956VBoxMesaSVGAWinsysLib_INCS += \
957 $(VBOX_MESA)/src/gallium/drivers/svga/include \
958 $(VBOX_MESA)/src/gallium/drivers/svga
959VBoxMesaSVGAWinsysLib_SOURCES = \
960 $(VBOX_MESA)/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c \
961 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_buffer.c \
962 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_context.c \
963 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_fence.c \
964 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_screen_pools.c \
965 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_screen_svga.c \
966 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_surface.c \
967 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_shader.c \
968 $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_query.c
969
970# These will be reimplemented for WDDM
971#VBoxMesaSVGAWinsysLib_SOURCES += \
972# $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_screen.c \
973# $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_screen_dri.c \
974# $(VBOX_MESA)/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c
975
976# 32 bit lib for 64 bit build
977VBoxMesaSVGAWinsysLib-x86_EXTENDS = VBoxMesaSVGAWinsysLib
978VBoxMesaSVGAWinsysLib-x86_BLD_TRG_ARCH = x86
979
980
981include $(FILE_KBUILD_SUB_FOOTER)
982
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette