blob: 8ac6ee99e43a4e6db90c2618934fa9fe8b5fc91f [file] [log] [blame]
Alyssa Rosenzweig9b8cb9f2020-03-09 20:19:29 -04001# Copyright © 2018 Rob Clark
2# Copyright © 2019 Collabora
3
4# Permission is hereby granted, free of charge, to any person obtaining a copy
5# of this software and associated documentation files (the "Software"), to deal
6# in the Software without restriction, including without limitation the rights
7# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8# copies of the Software, and to permit persons to whom the Software is
9# furnished to do so, subject to the following conditions:
10
11# The above copyright notice and this permission notice shall be included in
12# all copies or substantial portions of the Software.
13
14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20# SOFTWARE.
21
22libpanfrost_util_files = files(
Alyssa Rosenzweigf06db4d2020-03-11 20:08:03 -040023 'lcra.c',
24 'lcra.h',
Alyssa Rosenzweigaeb55182020-04-29 17:51:03 -040025 'nir_mod_helpers.c',
Alyssa Rosenzweig86b2b4e2020-10-15 08:45:24 -040026 'nir_undef_to_zero.c',
Alyssa Rosenzweig9b8cb9f2020-03-09 20:19:29 -040027 'pan_ir.c',
28 'pan_ir.h',
Alyssa Rosenzweig933e44d2020-03-11 13:58:10 -040029 'pan_liveness.c',
Alyssa Rosenzweig5c82f8a2020-05-13 11:50:18 -040030 'pan_lower_framebuffer.c',
Alyssa Rosenzweig42319c52020-11-04 08:37:55 -050031 'pan_lower_writeout.c',
Alyssa Rosenzweige6102672020-03-10 16:06:30 -040032 'pan_sysval.c',
Alyssa Rosenzweig9b8cb9f2020-03-09 20:19:29 -040033)
34
35libpanfrost_util = static_library(
36 'panfrost_util',
37 [libpanfrost_util_files],
Eric Engestrom79af3072019-03-05 16:21:47 +000038 include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost_hw],
Alyssa Rosenzweige6102672020-03-10 16:06:30 -040039 dependencies: [idep_nir],
Dylan Bakera8e2d792020-04-24 13:10:41 -070040 c_args : [no_override_init_args],
41 gnu_symbol_visibility : 'hidden',
Alyssa Rosenzweig9b8cb9f2020-03-09 20:19:29 -040042 build_by_default : false,
43)