Path: blob/21.2-virgl/src/gallium/targets/omx/meson.build
4565 views
# Copyright © 2017-2018 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.1920# TODO: support non-static targets21# Static targets are always enabled in autotools (unless you modify22# configure.ac)2324omx_link_args = []25omx_link_depends = []2627if with_ld_version_script28omx_link_args += ['-Wl,--version-script', join_paths(meson.current_source_dir(), 'omx.sym')]29omx_link_depends += files('omx.sym')30endif3132libomx_gallium = shared_library(33'omx_mesa',34'target.c',35gnu_symbol_visibility : 'hidden',36link_args : [omx_link_args, ld_args_gc_sections],37include_directories : [38inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,39],40link_whole : [libomx_st],41link_with : [42libgalliumvlwinsys, libgalliumvl, libgallium,43libpipe_loader_static, libws_null, libwsw, libswdri, libswkmsdri,44],45link_depends : omx_link_depends,46dependencies : [idep_mesautil, driver_r600, driver_radeonsi, driver_nouveau],47install : true,48install_dir : omx_drivers_path,49)505152