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 21files_nouveau_vieux = files( 22 'nouveau_array.c', 23 'nouveau_array.h', 24 'nouveau_bufferobj.c', 25 'nouveau_bufferobj.h', 26 'nouveau_context.c', 27 'nouveau_context.h', 28 'nouveau_driver.c', 29 'nouveau_driver.h', 30 'nouveau_fbo.c', 31 'nouveau_fbo.h', 32 'nouveau_gldefs.h', 33 'nouveau_local.h', 34 'nouveau_render.h', 35 'nouveau_scratch.c', 36 'nouveau_scratch.h', 37 'nouveau_screen.c', 38 'nouveau_screen.h', 39 'nouveau_span.c', 40 'nouveau_state.c', 41 'nouveau_state.h', 42 'nouveau_surface.c', 43 'nouveau_surface.h', 44 'nouveau_texture.c', 45 'nouveau_texture.h', 46 'nouveau_util.h', 47 'nv01_2d.xml.h', 48 'nv04_3d.xml.h', 49 'nv04_context.c', 50 'nv04_context.h', 51 'nv04_driver.h', 52 'nv04_render.c', 53 'nv04_state_fb.c', 54 'nv04_state_frag.c', 55 'nv04_state_raster.c', 56 'nv04_state_tex.c', 57 'nv04_surface.c', 58 'nv10_3d.xml.h', 59 'nv10_context.c', 60 'nv10_driver.h', 61 'nv10_render.c', 62 'nv10_state_fb.c', 63 'nv10_state_frag.c', 64 'nv10_state_polygon.c', 65 'nv10_state_raster.c', 66 'nv10_state_tex.c', 67 'nv10_state_tnl.c', 68 'nv20_3d.xml.h', 69 'nv20_context.c', 70 'nv20_driver.h', 71 'nv20_render.c', 72 'nv20_state_fb.c', 73 'nv20_state_frag.c', 74 'nv20_state_polygon.c', 75 'nv20_state_raster.c', 76 'nv20_state_tex.c', 77 'nv20_state_tnl.c', 78 'nv_m2mf.xml.h', 79 'nv_object.xml.h', 80) 81 82libnouveau_vieux = static_library( 83 'nouveau_vieux', 84 [files_nouveau_vieux, xmlpool_options_h], 85 include_directories : [inc_common, inc_dri_common, inc_util], 86 c_args : [c_vis_args], 87 cpp_args : [cpp_vis_args], 88 dependencies : [dep_libdrm, dep_libdrm_nouveau], 89) 90 91dri_drivers += libnouveau_vieux 92dri_link += 'nouveau_vieux_dri.so' 93