blob: f49ad9e0e7ea2b71ba0409c172f1e008514caa32 [file] [log] [blame]
Dylan Bakerd1992252017-09-14 17:57:17 -07001# 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
Dylan Bakerd1992252017-09-14 17:57:17 -070021inc_common = include_directories(
22 '../include', '.', 'mapi', 'mesa', 'gallium/include', 'gallium/auxiliary')
23inc_mesa = include_directories('mesa')
24inc_mapi = include_directories('mapi')
Dylan Baker32180562017-09-20 20:11:32 -070025inc_src = include_directories('.')
26
27libglsl_util = static_library(
28 'glsl_util',
29 files('mesa/main/extensions_table.c', 'mesa/main/imports.c',
30 'mesa/program/prog_parameter.c', 'mesa/program/symbol_table.c',
31 'mesa/program/dummy_errors.c'),
32 include_directories : [inc_common],
33 c_args : [c_vis_args],
34 build_by_default : false,
35)
36
37sha1_h = vcs_tag(
38 input : 'git_sha1.h.in',
39 output : 'git_sha1.h',
40)
Dylan Bakerd1992252017-09-14 17:57:17 -070041
42subdir('gtest')
43subdir('util')
Dylan Baker32180562017-09-20 20:11:32 -070044subdir('mapi/glapi/gen')
45subdir('mapi')
Dylan Bakerd1992252017-09-14 17:57:17 -070046# TODO: opengl
Dylan Bakerd1992252017-09-14 17:57:17 -070047# TODO: osmesa
48subdir('compiler')
49subdir('egl/wayland/wayland-drm')
50subdir('vulkan')
Dylan Baker673dda82017-09-20 11:53:29 -070051subdir('amd')
Dylan Bakerd1992252017-09-14 17:57:17 -070052subdir('intel')
53# TODO: vc4
Dylan Baker32180562017-09-20 20:11:32 -070054subdir('mesa')
Dylan Bakera47c5252017-09-22 12:55:00 -070055subdir('loader')
56subdir('glx')
Dylan Bakerd1992252017-09-14 17:57:17 -070057# TODO: dri_glx
Dylan Bakerd1992252017-09-14 17:57:17 -070058# TODO: egl
Dylan Bakerd1992252017-09-14 17:57:17 -070059# TODO: gallium