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
21nine_st_files = files(
22  'adapter9.c',
23  'authenticatedchannel9.c',
24  'basetexture9.c',
25  'buffer9.c',
26  'cryptosession9.c',
27  'cubetexture9.c',
28  'device9.c',
29  'device9ex.c',
30  'device9video.c',
31  'guid.c',
32  'indexbuffer9.c',
33  'iunknown.c',
34  'nine_buffer_upload.c',
35  'nine_debug.c',
36  'nine_dump.c',
37  'nineexoverlayextension.c',
38  'nine_ff.c',
39  'nine_helpers.c',
40  'nine_lock.c',
41  'nine_pipe.c',
42  'nine_quirk.c',
43  'nine_queue.c',
44  'nine_shader.c',
45  'nine_state.c',
46  'pixelshader9.c',
47  'query9.c',
48  'resource9.c',
49  'stateblock9.c',
50  'surface9.c',
51  'swapchain9.c',
52  'swapchain9ex.c',
53  'texture9.c',
54  'threadpool.c',
55  'vertexbuffer9.c',
56  'vertexdeclaration9.c',
57  'vertexshader9.c',
58  'volume9.c',
59  'volumetexture9.c',
60)
61
62libnine_st = static_library(
63  'nine_st',
64  nine_st_files,
65  c_args : c_vis_args,
66  include_directories : [
67    inc_d3d9, inc_gallium, inc_include, inc_src, inc_gallium_aux,
68  ],
69  dependencies : dep_thread,
70)
71