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_i915 = files( 22 'i830_context.c', 23 'i830_context.h', 24 'i830_reg.h', 25 'i830_state.c', 26 'i830_texblend.c', 27 'i830_texstate.c', 28 'i830_vtbl.c', 29 'i915_context.c', 30 'i915_context.h', 31 'i915_debug_fp.c', 32 'i915_debug.h', 33 'i915_fragprog.c', 34 'i915_program.c', 35 'i915_program.h', 36 'i915_reg.h', 37 'i915_state.c', 38 'i915_tex_layout.c', 39 'i915_texstate.c', 40 'i915_vtbl.c', 41 'intel_batchbuffer.c', 42 'intel_batchbuffer.h', 43 'intel_blit.c', 44 'intel_blit.h', 45 'intel_buffer_objects.c', 46 'intel_buffer_objects.h', 47 'intel_buffers.c', 48 'intel_buffers.h', 49 'intel_chipset.h', 50 'intel_clear.c', 51 'intel_clear.h', 52 'intel_context.c', 53 'intel_context.h', 54 'intel_extensions.c', 55 'intel_extensions.h', 56 'intel_fbo.c', 57 'intel_fbo.h', 58 'intel_mipmap_tree.c', 59 'intel_mipmap_tree.h', 60 'intel_pixel_bitmap.c', 61 'intel_pixel.c', 62 'intel_pixel_copy.c', 63 'intel_pixel_draw.c', 64 'intel_pixel.h', 65 'intel_pixel_read.c', 66 'intel_reg.h', 67 'intel_regions.c', 68 'intel_regions.h', 69 'intel_render.c', 70 'intel_screen.c', 71 'intel_screen.h', 72 'intel_state.c', 73 'intel_syncobj.c', 74 'intel_tex.c', 75 'intel_tex_copy.c', 76 'intel_tex.h', 77 'intel_tex_image.c', 78 'intel_tex_layout.c', 79 'intel_tex_layout.h', 80 'intel_tex_obj.h', 81 'intel_tex_subimage.c', 82 'intel_tex_validate.c', 83 'intel_tris.c', 84 'intel_tris.h', 85) 86 87libi915 = static_library( 88 'i915', 89 files_i915, 90 include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util], 91 c_args : [no_override_init_args], 92 gnu_symbol_visibility : 'hidden', 93 dependencies : [dep_libdrm, dep_libdrm_intel, idep_mesautil], 94) 95