1 # Copyright © 2017 Intel Corporation
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:
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
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
21 inc_include = include_directories('.')
22 inc_d3d9 = include_directories('D3D9')
23 inc_haikugl = include_directories('HaikuGL')
26 if with_gles1 or with_gles2 or with_opengl or with_egl
27 install_headers('KHR/khrplatform.h', subdir : 'KHR')
44 'GLES2/gl2platform.h',
52 'GLES3/gl3platform.h',
66 if with_glx != 'disabled'
83 # Non-upstream headers
87 'EGL/eglextchromium.h',
92 if with_osmesa != 'none'
93 install_headers('GL/osmesa.h', subdir : 'GL')
97 install_headers('GL/internal/dri_interface.h', subdir : 'GL/internal')
100 if with_gallium_st_nine
102 'd3dadapter/d3dadapter9.h', 'd3dadapter/drm.h', 'd3dadapter/present.h',
103 subdir : 'd3dadapter',
107 if with_platform_haiku
109 'HaikuGL/GLRenderer.h', 'HaikuGL/GLView.h', 'HaikuGL/OpenGLKit.h',
114 # Only install the headers if we are building a stand alone implementation and
115 # not an ICD enabled implementation
116 if with_gallium_opencl and not with_opencl_icd
123 'CL/cl_dx9_media_sharing.h',
124 'CL/cl_dx9_media_sharing_intel.h',
131 'CL/cl_va_api_media_sharing_intel.h',
139 install_headers('vulkan/vulkan_intel.h', subdir : 'vulkan')