101e04c3fSmrg# Copyright © 2017 Intel Corporation
201e04c3fSmrg
301e04c3fSmrg# Permission is hereby granted, free of charge, to any person obtaining a copy
401e04c3fSmrg# of this software and associated documentation files (the "Software"), to deal
501e04c3fSmrg# in the Software without restriction, including without limitation the rights
601e04c3fSmrg# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
701e04c3fSmrg# copies of the Software, and to permit persons to whom the Software is
801e04c3fSmrg# furnished to do so, subject to the following conditions:
901e04c3fSmrg
1001e04c3fSmrg# The above copyright notice and this permission notice shall be included in
1101e04c3fSmrg# all copies or substantial portions of the Software.
1201e04c3fSmrg
1301e04c3fSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1401e04c3fSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1501e04c3fSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1601e04c3fSmrg# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1701e04c3fSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1801e04c3fSmrg# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1901e04c3fSmrg# SOFTWARE.
2001e04c3fSmrg
2101e04c3fSmrgfiles_i915 = files(
2201e04c3fSmrg  'i830_context.c',
2301e04c3fSmrg  'i830_context.h',
2401e04c3fSmrg  'i830_reg.h',
2501e04c3fSmrg  'i830_state.c',
2601e04c3fSmrg  'i830_texblend.c',
2701e04c3fSmrg  'i830_texstate.c',
2801e04c3fSmrg  'i830_vtbl.c',
2901e04c3fSmrg  'i915_context.c',
3001e04c3fSmrg  'i915_context.h',
3101e04c3fSmrg  'i915_debug_fp.c',
3201e04c3fSmrg  'i915_debug.h',
3301e04c3fSmrg  'i915_fragprog.c',
3401e04c3fSmrg  'i915_program.c',
3501e04c3fSmrg  'i915_program.h',
3601e04c3fSmrg  'i915_reg.h',
3701e04c3fSmrg  'i915_state.c',
3801e04c3fSmrg  'i915_tex_layout.c',
3901e04c3fSmrg  'i915_texstate.c',
4001e04c3fSmrg  'i915_vtbl.c',
4101e04c3fSmrg  'intel_batchbuffer.c',
4201e04c3fSmrg  'intel_batchbuffer.h',
4301e04c3fSmrg  'intel_blit.c',
4401e04c3fSmrg  'intel_blit.h',
4501e04c3fSmrg  'intel_buffer_objects.c',
4601e04c3fSmrg  'intel_buffer_objects.h',
4701e04c3fSmrg  'intel_buffers.c',
4801e04c3fSmrg  'intel_buffers.h',
4901e04c3fSmrg  'intel_chipset.h',
5001e04c3fSmrg  'intel_clear.c',
5101e04c3fSmrg  'intel_clear.h',
5201e04c3fSmrg  'intel_context.c',
5301e04c3fSmrg  'intel_context.h',
5401e04c3fSmrg  'intel_extensions.c',
5501e04c3fSmrg  'intel_extensions.h',
5601e04c3fSmrg  'intel_fbo.c',
5701e04c3fSmrg  'intel_fbo.h',
5801e04c3fSmrg  'intel_mipmap_tree.c',
5901e04c3fSmrg  'intel_mipmap_tree.h',
6001e04c3fSmrg  'intel_pixel_bitmap.c',
6101e04c3fSmrg  'intel_pixel.c',
6201e04c3fSmrg  'intel_pixel_copy.c',
6301e04c3fSmrg  'intel_pixel_draw.c',
6401e04c3fSmrg  'intel_pixel.h',
6501e04c3fSmrg  'intel_pixel_read.c',
6601e04c3fSmrg  'intel_reg.h',
6701e04c3fSmrg  'intel_regions.c',
6801e04c3fSmrg  'intel_regions.h',
6901e04c3fSmrg  'intel_render.c',
7001e04c3fSmrg  'intel_screen.c',
7101e04c3fSmrg  'intel_screen.h',
7201e04c3fSmrg  'intel_state.c',
7301e04c3fSmrg  'intel_syncobj.c',
7401e04c3fSmrg  'intel_tex.c',
7501e04c3fSmrg  'intel_tex_copy.c',
7601e04c3fSmrg  'intel_tex.h',
7701e04c3fSmrg  'intel_tex_image.c',
7801e04c3fSmrg  'intel_tex_layout.c',
7901e04c3fSmrg  'intel_tex_layout.h',
8001e04c3fSmrg  'intel_tex_obj.h',
8101e04c3fSmrg  'intel_tex_subimage.c',
8201e04c3fSmrg  'intel_tex_validate.c',
8301e04c3fSmrg  'intel_tris.c',
8401e04c3fSmrg  'intel_tris.h',
8501e04c3fSmrg)
8601e04c3fSmrg
8701e04c3fSmrglibi915 = static_library(
8801e04c3fSmrg  'i915',
897ec681f3Smrg  files_i915,
907ec681f3Smrg  include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util],
917ec681f3Smrg  c_args : [no_override_init_args],
927ec681f3Smrg  gnu_symbol_visibility : 'hidden',
937ec681f3Smrg  dependencies : [dep_libdrm, dep_libdrm_intel, idep_mesautil],
9401e04c3fSmrg)
95