7a6248d246f206fdbaed2663a1d09d6b01ed968d
[mesa.git] / src / mesa / drivers / dri / r200 / meson.build
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
21 files_r200 = files(
22 'radeon_buffer_objects.c',
23 'radeon_buffer_objects.h',
24 'radeon_cmdbuf.h',
25 'radeon_common.c',
26 'radeon_common.h',
27 'radeon_common_context.c',
28 'radeon_common_context.h',
29 'radeon_debug.c',
30 'radeon_debug.h',
31 'radeon_dma.c',
32 'radeon_dma.h',
33 'radeon_fbo.c',
34 'radeon_fog.c',
35 'radeon_fog.h',
36 'radeon_mipmap_tree.c',
37 'radeon_mipmap_tree.h',
38 'radeon_pixel_read.c',
39 'radeon_queryobj.c',
40 'radeon_queryobj.h',
41 'radeon_span.c',
42 'radeon_span.h',
43 'radeon_tex_copy.c',
44 'radeon_texture.c',
45 'radeon_texture.h',
46 'radeon_tile.c',
47 'radeon_tile.h',
48 'r200_blit.c',
49 'r200_blit.h',
50 'r200_cmdbuf.c',
51 'r200_context.c',
52 'r200_context.h',
53 'r200_fragshader.c',
54 'r200_ioctl.c',
55 'r200_ioctl.h',
56 'r200_maos.c',
57 'r200_maos.h',
58 'r200_reg.h',
59 'r200_sanity.c',
60 'r200_sanity.h',
61 'r200_state.c',
62 'r200_state.h',
63 'r200_state_init.c',
64 'r200_swtcl.c',
65 'r200_swtcl.h',
66 'r200_tcl.c',
67 'r200_tcl.h',
68 'r200_tex.c',
69 'r200_tex.h',
70 'r200_texstate.c',
71 'r200_vertprog.c',
72 'r200_vertprog.h',
73 'radeon_chipset.h',
74 'radeon_screen.c',
75 'radeon_screen.h',
76 'server/radeon_reg.h',
77 )
78
79 libr200 = static_library(
80 'r200',
81 files_r200,
82 include_directories : [
83 inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util, include_directories('server'),
84 ],
85 c_args : ['-DRADEON_R200'],
86 gnu_symbol_visibility : 'hidden',
87 dependencies : [dep_libdrm, dep_libdrm_radeon, idep_xmlconfig_headers],
88 )