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_memory_helper.c', 42 'nine_pipe.c', 43 'nine_quirk.c', 44 'nine_queue.c', 45 'nine_shader.c', 46 'nine_state.c', 47 'pixelshader9.c', 48 'query9.c', 49 'resource9.c', 50 'stateblock9.c', 51 'surface9.c', 52 'swapchain9.c', 53 'swapchain9ex.c', 54 'texture9.c', 55 'threadpool.c', 56 'vertexbuffer9.c', 57 'vertexdeclaration9.c', 58 'vertexshader9.c', 59 'volume9.c', 60 'volumetexture9.c', 61) 62 63libnine_st = static_library( 64 'nine_st', 65 nine_st_files, 66 gnu_symbol_visibility : 'hidden', 67 include_directories : [ 68 inc_d3d9, inc_gallium, inc_include, inc_src, inc_gallium_aux, 69 ], 70 dependencies : [ 71 dep_thread, idep_nir, idep_nir_headers 72 ], 73 link_with : [ 74 libmesa_gallium 75 ] 76) 77