1b8e80941Smrg# Copyright © 2017 Intel Corporation
2b8e80941Smrg
3b8e80941Smrg# Permission is hereby granted, free of charge, to any person obtaining a copy
4b8e80941Smrg# of this software and associated documentation files (the "Software"), to deal
5b8e80941Smrg# in the Software without restriction, including without limitation the rights
6b8e80941Smrg# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7b8e80941Smrg# copies of the Software, and to permit persons to whom the Software is
8b8e80941Smrg# furnished to do so, subject to the following conditions:
9b8e80941Smrg
10b8e80941Smrg# The above copyright notice and this permission notice shall be included in
11b8e80941Smrg# all copies or substantial portions of the Software.
12b8e80941Smrg
13b8e80941Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14b8e80941Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15b8e80941Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16b8e80941Smrg# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17b8e80941Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18b8e80941Smrg# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19b8e80941Smrg# SOFTWARE.
20b8e80941Smrg
21b8e80941Smrgfiles_nouveau_vieux = files(
22b8e80941Smrg  'nouveau_array.c',
23b8e80941Smrg  'nouveau_array.h',
24b8e80941Smrg  'nouveau_bufferobj.c',
25b8e80941Smrg  'nouveau_bufferobj.h',
26b8e80941Smrg  'nouveau_context.c',
27b8e80941Smrg  'nouveau_context.h',
28b8e80941Smrg  'nouveau_driver.c',
29b8e80941Smrg  'nouveau_driver.h',
30b8e80941Smrg  'nouveau_fbo.c',
31b8e80941Smrg  'nouveau_fbo.h',
32b8e80941Smrg  'nouveau_gldefs.h',
33b8e80941Smrg  'nouveau_local.h',
34b8e80941Smrg  'nouveau_render.h',
35b8e80941Smrg  'nouveau_scratch.c',
36b8e80941Smrg  'nouveau_scratch.h',
37b8e80941Smrg  'nouveau_screen.c',
38b8e80941Smrg  'nouveau_screen.h',
39b8e80941Smrg  'nouveau_span.c',
40b8e80941Smrg  'nouveau_state.c',
41b8e80941Smrg  'nouveau_state.h',
42b8e80941Smrg  'nouveau_surface.c',
43b8e80941Smrg  'nouveau_surface.h',
44b8e80941Smrg  'nouveau_texture.c',
45b8e80941Smrg  'nouveau_texture.h',
46b8e80941Smrg  'nouveau_util.h',
47b8e80941Smrg  'nv01_2d.xml.h',
48b8e80941Smrg  'nv04_3d.xml.h',
49b8e80941Smrg  'nv04_context.c',
50b8e80941Smrg  'nv04_context.h',
51b8e80941Smrg  'nv04_driver.h',
52b8e80941Smrg  'nv04_render.c',
53b8e80941Smrg  'nv04_state_fb.c',
54b8e80941Smrg  'nv04_state_frag.c',
55b8e80941Smrg  'nv04_state_raster.c',
56b8e80941Smrg  'nv04_state_tex.c',
57b8e80941Smrg  'nv04_surface.c',
58b8e80941Smrg  'nv10_3d.xml.h',
59b8e80941Smrg  'nv10_context.c',
60b8e80941Smrg  'nv10_driver.h',
61b8e80941Smrg  'nv10_render.c',
62b8e80941Smrg  'nv10_state_fb.c',
63b8e80941Smrg  'nv10_state_frag.c',
64b8e80941Smrg  'nv10_state_polygon.c',
65b8e80941Smrg  'nv10_state_raster.c',
66b8e80941Smrg  'nv10_state_tex.c',
67b8e80941Smrg  'nv10_state_tnl.c',
68b8e80941Smrg  'nv20_3d.xml.h',
69b8e80941Smrg  'nv20_context.c',
70b8e80941Smrg  'nv20_driver.h',
71b8e80941Smrg  'nv20_render.c',
72b8e80941Smrg  'nv20_state_fb.c',
73b8e80941Smrg  'nv20_state_frag.c',
74b8e80941Smrg  'nv20_state_polygon.c',
75b8e80941Smrg  'nv20_state_raster.c',
76b8e80941Smrg  'nv20_state_tex.c',
77b8e80941Smrg  'nv20_state_tnl.c',
78b8e80941Smrg  'nv_m2mf.xml.h',
79b8e80941Smrg  'nv_object.xml.h',
80b8e80941Smrg)
81b8e80941Smrg
82b8e80941Smrglibnouveau_vieux = static_library(
83b8e80941Smrg  'nouveau_vieux',
84b8e80941Smrg  [files_nouveau_vieux, xmlpool_options_h],
85b8e80941Smrg  include_directories : [inc_common, inc_dri_common, inc_util],
86b8e80941Smrg  c_args : [c_vis_args],
87b8e80941Smrg  cpp_args : [cpp_vis_args],
88b8e80941Smrg  dependencies : [dep_libdrm, dep_libdrm_nouveau],
89b8e80941Smrg)
90