xref: /aosp_15_r20/external/mesa3d/src/nouveau/codegen/meson.build (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# Copyright © 2017 Dylan Baker
2# SPDX-License-Identifier: MIT
3
4files_libnouveau_codegen = files(
5  'nv50_ir.cpp',
6  'nv50_ir_bb.cpp',
7  'nv50_ir_build_util.cpp',
8  'nv50_ir_build_util.h',
9  'nv50_ir_driver.h',
10  'nv50_ir_emit_nv50.cpp',
11  'nv50_ir_from_nir.cpp',
12  'nv50_ir_graph.cpp',
13  'nv50_ir_graph.h',
14  'nv50_ir.h',
15  'nv50_ir_inlines.h',
16  'nv50_ir_lowering_helper.cpp',
17  'nv50_ir_lowering_helper.h',
18  'nv50_ir_lowering_nv50.cpp',
19  'nv50_ir_peephole.cpp',
20  'nv50_ir_print.cpp',
21  'nv50_ir_ra.cpp',
22  'nv50_ir_serialize.cpp',
23  'nv50_ir_ssa.cpp',
24  'nv50_ir_target.cpp',
25  'nv50_ir_target.h',
26  'nv50_ir_target_nv50.cpp',
27  'nv50_ir_target_nv50.h',
28  'nv50_ir_util.cpp',
29  'nv50_ir_util.h',
30  'nv50_ir_emit_gv100.cpp',
31  'nv50_ir_emit_gv100.h',
32  'nv50_ir_emit_gk110.cpp',
33  'nv50_ir_emit_gm107.cpp',
34  'nv50_ir_emit_nvc0.cpp',
35  'nv50_ir_lowering_gv100.cpp',
36  'nv50_ir_lowering_gv100.h',
37  'nv50_ir_lowering_gm107.cpp',
38  'nv50_ir_lowering_gm107.h',
39  'nv50_ir_lowering_nvc0.cpp',
40  'nv50_ir_lowering_nvc0.h',
41  'nv50_ir_target_gv100.cpp',
42  'nv50_ir_target_gv100.h',
43  'nv50_ir_target_gm107.cpp',
44  'nv50_ir_target_gm107.h',
45  'nv50_ir_target_nvc0.cpp',
46  'nv50_ir_target_nvc0.h',
47)
48
49libnouveau_codegen = static_library(
50  'nouveau_codegen',
51  files_libnouveau_codegen,
52  include_directories : [
53    inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_mapi, inc_mesa,
54  ],
55  gnu_symbol_visibility : 'hidden',
56  dependencies : [dep_libdrm, idep_mesautil, idep_nir_headers],
57)
58
59idep_nouveau_codegen = declare_dependency(
60  sources : [ 'nv50_ir_driver.h' ],
61  include_directories : include_directories('.'),
62)
63