• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright © 2017 Dylan Baker
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_libnouveau_codegen = files(
22  'nv50_ir.cpp',
23  'nv50_ir_bb.cpp',
24  'nv50_ir_build_util.cpp',
25  'nv50_ir_build_util.h',
26  'nv50_ir_driver.h',
27  'nv50_ir_emit_nv50.cpp',
28  'nv50_ir_from_nir.cpp',
29  'nv50_ir_graph.cpp',
30  'nv50_ir_graph.h',
31  'nv50_ir.h',
32  'nv50_ir_inlines.h',
33  'nv50_ir_lowering_helper.cpp',
34  'nv50_ir_lowering_helper.h',
35  'nv50_ir_lowering_nv50.cpp',
36  'nv50_ir_peephole.cpp',
37  'nv50_ir_print.cpp',
38  'nv50_ir_ra.cpp',
39  'nv50_ir_serialize.cpp',
40  'nv50_ir_ssa.cpp',
41  'nv50_ir_target.cpp',
42  'nv50_ir_target.h',
43  'nv50_ir_target_nv50.cpp',
44  'nv50_ir_target_nv50.h',
45  'nv50_ir_util.cpp',
46  'nv50_ir_util.h',
47  'nv50_ir_emit_gv100.cpp',
48  'nv50_ir_emit_gv100.h',
49  'nv50_ir_emit_gk110.cpp',
50  'nv50_ir_emit_gm107.cpp',
51  'nv50_ir_emit_nvc0.cpp',
52  'nv50_ir_lowering_gv100.cpp',
53  'nv50_ir_lowering_gv100.h',
54  'nv50_ir_lowering_gm107.cpp',
55  'nv50_ir_lowering_gm107.h',
56  'nv50_ir_lowering_nvc0.cpp',
57  'nv50_ir_lowering_nvc0.h',
58  'nv50_ir_target_gv100.cpp',
59  'nv50_ir_target_gv100.h',
60  'nv50_ir_target_gm107.cpp',
61  'nv50_ir_target_gm107.h',
62  'nv50_ir_target_nvc0.cpp',
63  'nv50_ir_target_nvc0.h',
64)
65
66libnouveau_codegen = static_library(
67  'nouveau_codegen',
68  files_libnouveau_codegen,
69  include_directories : [
70    inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_mapi, inc_mesa,
71  ],
72  gnu_symbol_visibility : 'hidden',
73  dependencies : [dep_libdrm, idep_mesautil, idep_nir_headers],
74)
75
76idep_nouveau_codegen = declare_dependency(
77  sources : [ 'nv50_ir_driver.h' ],
78  include_directories : include_directories('.'),
79)
80