1# Copyright © 2017 Dylan Baker 2 3# Permission is hereby granted, free of charge, to any person obtaining a copy 4# of this software and associated documentation files (the "Software"), to deal 5# in the Software without restriction, including without limitation the rights 6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7# copies of the Software, and to permit persons to whom the Software is 8# furnished to do so, subject to the following conditions: 9 10# The above copyright notice and this permission notice shall be included in 11# all copies or substantial portions of the Software. 12 13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19# SOFTWARE. 20 21files_libradeon = files( 22 'r600_buffer_common.c', 23 'r600_cs.h', 24 'r600_gpu_load.c', 25 'r600_perfcounter.c', 26 'r600_pipe_common.c', 27 'r600_pipe_common.h', 28 'r600_query.c', 29 'r600_query.h', 30 'r600_texture.c', 31 'radeon_uvd.c', 32 'radeon_uvd.h', 33 'radeon_vcn_enc_1_2.c', 34 'radeon_vcn_enc.c', 35 'radeon_vcn_enc.h', 36 'radeon_vcn_dec.c', 37 'radeon_vcn_dec.h', 38 'radeon_vce_40_2_2.c', 39 'radeon_vce_50.c', 40 'radeon_vce_52.c', 41 'radeon_vce.c', 42 'radeon_vce.h', 43 'radeon_video.c', 44 'radeon_video.h', 45 'radeon_winsys.h', 46) 47 48libradeon = static_library( 49 'radeon', 50 files_libradeon, 51 c_args : ['-Wstrict-overflow=0', c_vis_args], 52 dependencies : [dep_llvm, dep_clock], 53 include_directories : [ 54 inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_gallium_drivers, inc_amd_common, 55 ], 56) 57