Path: blob/21.2-virgl/src/gallium/drivers/svga/meson.build
4570 views
# Copyright © 2017 Intel Corporation12# Permission is hereby granted, free of charge, to any person obtaining a copy3# of this software and associated documentation files (the "Software"), to deal4# in the Software without restriction, including without limitation the rights5# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell6# copies of the Software, and to permit persons to whom the Software is7# furnished to do so, subject to the following conditions:89# The above copyright notice and this permission notice shall be included in10# all copies or substantial portions of the Software.1112# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR13# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,14# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE15# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER16# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,17# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE18# SOFTWARE.1920files_svga = files(21'svga_cmd.c',22'svga_cmd_vgpu10.c',23'svga_context.c',24'svga_draw_arrays.c',25'svga_draw.c',26'svga_draw_elements.c',27'svga_format.c',28'svga_link.c',29'svga_pipe_blend.c',30'svga_pipe_blit.c',31'svga_pipe_clear.c',32'svga_pipe_constants.c',33'svga_pipe_depthstencil.c',34'svga_pipe_draw.c',35'svga_pipe_flush.c',36'svga_pipe_fs.c',37'svga_pipe_gs.c',38'svga_pipe_ts.c',39'svga_pipe_misc.c',40'svga_pipe_query.c',41'svga_pipe_rasterizer.c',42'svga_pipe_sampler.c',43'svga_pipe_streamout.c',44'svga_pipe_vertex.c',45'svga_pipe_vs.c',46'svga_resource_buffer.c',47'svga_resource_buffer_upload.c',48'svga_resource.c',49'svga_resource_texture.c',50'svga_sampler_view.c',51'svga_screen.c',52'svga_screen_cache.c',53'svga_shader.c',54'svga_state.c',55'svga_state_constants.c',56'svga_state_framebuffer.c',57'svga_state_fs.c',58'svga_state_gs.c',59'svga_state_ts.c',60'svga_state_need_swtnl.c',61'svga_state_rss.c',62'svga_state_sampler.c',63'svga_state_tgsi_transform.c',64'svga_state_tss.c',65'svga_state_vdecl.c',66'svga_state_vs.c',67'svga_surface.c',68'svga_swtnl_backend.c',69'svga_swtnl_draw.c',70'svga_swtnl_state.c',71'svga_tgsi.c',72'svga_tgsi_decl_sm30.c',73'svga_tgsi_insn.c',74'svga_tgsi_vgpu10.c',75'svgadump/svga_dump.c',76'svgadump/svga_shader_dump.c',77'svgadump/svga_shader_op.c',78)7980libsvga = static_library(81'svga',82[files_svga, sha1_h],83c_args : [c_msvc_compat_args],84gnu_symbol_visibility : 'hidden',85include_directories : [86inc_src, inc_include, inc_gallium, inc_gallium_aux,87include_directories('include')88],89dependencies : idep_mesautil,90)9192svga_deps = [libsvga]93if not with_platform_windows94svga_deps += libsvgadrm95endif9697driver_svga = declare_dependency(98compile_args : '-DGALLIUM_VMWGFX',99link_with : svga_deps,100)101102103