1# Copyright © 2017 Intel Corporation 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_r100 = files( 22 'radeon_buffer_objects.c', 23 'radeon_buffer_objects.h', 24 'radeon_cmdbuf.h', 25 'radeon_common.c', 26 'radeon_common_context.c', 27 'radeon_common_context.h', 28 'radeon_common.h', 29 'radeon_debug.c', 30 'radeon_debug.h', 31 'radeon_dma.c', 32 'radeon_dma.h', 33 'radeon_fbo.c', 34 'radeon_fog.c', 35 'radeon_fog.h', 36 'radeon_mipmap_tree.c', 37 'radeon_mipmap_tree.h', 38 'radeon_pixel_read.c', 39 'radeon_queryobj.c', 40 'radeon_queryobj.h', 41 'radeon_span.c', 42 'radeon_span.h', 43 'radeon_tex_copy.c', 44 'radeon_texture.c', 45 'radeon_texture.h', 46 'radeon_tile.c', 47 'radeon_tile.h', 48 'radeon_blit.c', 49 'radeon_blit.h', 50 'radeon_context.c', 51 'radeon_context.h', 52 'radeon_chipset.h', 53 'radeon_ioctl.c', 54 'radeon_ioctl.h', 55 'radeon_maos.c', 56 'radeon_maos.h', 57 'radeon_maos_vbtmp.h', 58 'radeon_sanity.c', 59 'radeon_sanity.h', 60 'radeon_screen.c', 61 'radeon_screen.h', 62 'radeon_state.c', 63 'radeon_state.h', 64 'radeon_state_init.c', 65 'radeon_swtcl.c', 66 'radeon_swtcl.h', 67 'radeon_tcl.c', 68 'radeon_tcl.h', 69 'radeon_tex.c', 70 'radeon_tex.h', 71 'radeon_texstate.c', 72 'server/radeon_reg.h', 73) 74 75libr100 = static_library( 76 'r100', 77 files_r100, 78 include_directories : [ 79 inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util, include_directories('server'), 80 ], 81 c_args : ['-DRADEON_R100'], 82 gnu_symbol_visibility : 'hidden', 83 dependencies : [dep_libdrm, dep_libdrm_radeon], 84) 85