2017-09-13 12:46:13 -06:00
|
|
|
# Copyright © 2017-2018 Intel Corporation
|
|
|
|
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
|
|
# in the Software without restriction, including without limitation the rights
|
|
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
|
|
# all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
# SOFTWARE.
|
|
|
|
|
|
|
|
project(
|
|
|
|
'libdrm',
|
|
|
|
['c'],
|
2024-01-13 02:37:07 -07:00
|
|
|
version : '2.4.120',
|
2017-09-13 12:46:13 -06:00
|
|
|
license : 'MIT',
|
2023-09-01 13:23:35 -06:00
|
|
|
meson_version : '>= 0.59',
|
2022-07-25 09:37:32 -06:00
|
|
|
default_options : ['buildtype=debugoptimized', 'c_std=c11'],
|
2017-09-13 12:46:13 -06:00
|
|
|
)
|
|
|
|
|
2022-09-10 23:09:17 -06:00
|
|
|
if ['windows', 'darwin'].contains(host_machine.system())
|
|
|
|
error('unsupported OS: @0@'.format(host_machine.system()))
|
|
|
|
endif
|
|
|
|
|
2017-09-13 12:46:13 -06:00
|
|
|
pkg = import('pkgconfig')
|
|
|
|
|
2018-03-20 08:54:45 -06:00
|
|
|
config = configuration_data()
|
|
|
|
|
2018-03-20 08:59:40 -06:00
|
|
|
config.set10('UDEV', get_option('udev'))
|
2017-09-13 12:46:13 -06:00
|
|
|
with_freedreno_kgsl = get_option('freedreno-kgsl')
|
|
|
|
with_install_tests = get_option('install-test-programs')
|
2022-07-28 04:18:33 -06:00
|
|
|
with_tests = get_option('tests')
|
2017-09-13 12:46:13 -06:00
|
|
|
|
|
|
|
dep_threads = dependency('threads')
|
|
|
|
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
|
2021-04-22 17:03:38 -06:00
|
|
|
android = cc.compiles('''int func() { return __ANDROID__; }''')
|
|
|
|
|
2019-10-23 15:57:51 -06:00
|
|
|
symbols_check = find_program('symbols-check.py')
|
|
|
|
prog_nm = find_program('nm')
|
|
|
|
|
2017-09-13 12:46:13 -06:00
|
|
|
# Check for atomics
|
|
|
|
intel_atomics = false
|
|
|
|
lib_atomics = false
|
|
|
|
|
2021-02-01 04:23:20 -07:00
|
|
|
python3 = import('python').find_installation()
|
2022-01-19 12:09:07 -07:00
|
|
|
format_mod_static_table = custom_target(
|
|
|
|
'format_mod_static_table',
|
|
|
|
output : 'generated_static_table_fourcc.h',
|
|
|
|
input : 'include/drm/drm_fourcc.h',
|
2021-02-01 04:23:20 -07:00
|
|
|
command : [python3, files('gen_table_fourcc.py'), '@INPUT@', '@OUTPUT@'])
|
|
|
|
|
2018-02-07 07:20:52 -07:00
|
|
|
dep_atomic_ops = dependency('atomic_ops', required : false)
|
2018-07-16 15:01:40 -06:00
|
|
|
if cc.links('''
|
2017-09-13 12:46:13 -06:00
|
|
|
int atomic_add(int *i) { return __sync_add_and_fetch (i, 1); }
|
|
|
|
int atomic_cmpxchg(int *i, int j, int k) { return __sync_val_compare_and_swap (i, j, k); }
|
2018-07-16 15:01:40 -06:00
|
|
|
int main() { }
|
2017-09-13 12:46:13 -06:00
|
|
|
''',
|
|
|
|
name : 'Intel Atomics')
|
|
|
|
intel_atomics = true
|
|
|
|
with_atomics = true
|
2018-02-07 07:20:52 -07:00
|
|
|
dep_atomic_ops = []
|
|
|
|
elif dep_atomic_ops.found()
|
2017-09-13 12:46:13 -06:00
|
|
|
lib_atomics = true
|
|
|
|
with_atomics = true
|
|
|
|
elif cc.has_function('atomic_cas_uint')
|
|
|
|
with_atomics = true
|
|
|
|
else
|
|
|
|
with_atomics = false
|
|
|
|
endif
|
|
|
|
|
|
|
|
config.set10('HAVE_LIBDRM_ATOMIC_PRIMITIVES', intel_atomics)
|
|
|
|
config.set10('HAVE_LIB_ATOMIC_OPS', lib_atomics)
|
|
|
|
|
2022-09-28 00:49:40 -06:00
|
|
|
dep_pciaccess = dependency('pciaccess', version : '>= 0.10', required : get_option('intel'))
|
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_intel = get_option('intel') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_intel requires atomics') \
|
|
|
|
.require(dep_pciaccess.found(), error_message : 'libdrm_intel requires libpciaccess') \
|
2023-10-24 10:59:39 -06:00
|
|
|
.disable_auto_if(not host_machine.cpu_family().startswith('x86')) \
|
2023-09-01 13:23:35 -06:00
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('Intel', with_intel)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_radeon = get_option('radeon') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_radeon requires atomics') \
|
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('Radeon', with_radeon)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_amdgpu = get_option('amdgpu') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_amdgpu requires atomics') \
|
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('AMDGPU', with_amdgpu)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_nouveau = get_option('nouveau') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_nouveau requires atomics') \
|
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('Nouveau', with_nouveau)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_vmwgfx = get_option('vmwgfx').allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('vmwgfx', with_vmwgfx)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_omap = get_option('omap') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_omap requires atomics') \
|
|
|
|
.enabled()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('OMAP', with_omap)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_freedreno = get_option('freedreno') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_freedreno requires atomics') \
|
|
|
|
.disable_auto_if(not ['arm', 'aarch64'].contains(host_machine.cpu_family())) \
|
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('Freedreno', with_freedreno)
|
|
|
|
summary('Freedreon-kgsl', with_freedreno_kgsl)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_tegra = get_option('tegra') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_tegra requires atomics') \
|
|
|
|
.disable_auto_if(not ['arm', 'aarch64'].contains(host_machine.cpu_family())) \
|
|
|
|
.enabled()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('Tegra', with_tegra)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_etnaviv = get_option('etnaviv') \
|
|
|
|
.require(with_atomics, error_message : 'libdrm_etnaviv requires atomics') \
|
|
|
|
.disable_auto_if(not ['arm', 'aarch64', 'arc', 'mips', 'mips64', 'loongarch64'].contains(host_machine.cpu_family())) \
|
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('Etnaviv', with_etnaviv)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2022-08-22 10:04:52 -06:00
|
|
|
with_exynos = get_option('exynos').enabled()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('EXYNOS', with_exynos)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2023-09-01 13:23:35 -06:00
|
|
|
with_vc4 = get_option('vc4') \
|
|
|
|
.disable_auto_if(not ['arm', 'aarch64'].contains(host_machine.cpu_family())) \
|
|
|
|
.allowed()
|
2022-01-19 12:26:21 -07:00
|
|
|
summary('VC4', with_vc4)
|
2017-09-13 12:46:13 -06:00
|
|
|
|
|
|
|
# Among others FreeBSD does not have a separate dl library.
|
|
|
|
if not cc.has_function('dlsym')
|
|
|
|
dep_dl = cc.find_library('dl', required : with_nouveau)
|
|
|
|
else
|
|
|
|
dep_dl = []
|
|
|
|
endif
|
|
|
|
# clock_gettime might require -rt, or it might not. find out
|
|
|
|
if not cc.has_function('clock_gettime', prefix : '#define _GNU_SOURCE\n#include <time.h>')
|
|
|
|
# XXX: untested
|
|
|
|
dep_rt = cc.find_library('rt')
|
|
|
|
else
|
|
|
|
dep_rt = []
|
|
|
|
endif
|
|
|
|
dep_m = cc.find_library('m', required : false)
|
2020-03-29 14:45:52 -06:00
|
|
|
|
|
|
|
# The header is not required on Linux, and is in fact deprecated in glibc 2.30+
|
|
|
|
if ['linux'].contains(host_machine.system())
|
|
|
|
config.set10('HAVE_SYS_SYSCTL_H', false)
|
|
|
|
else
|
|
|
|
# From Niclas Zeising:
|
|
|
|
# FreeBSD requires sys/types.h for sys/sysctl.h, so add it as part of
|
|
|
|
# the includes when checking for headers.
|
|
|
|
config.set10('HAVE_SYS_SYSCTL_H',
|
|
|
|
cc.compiles('#include <sys/types.h>\n#include <sys/sysctl.h>', name : 'sys/sysctl.h works'))
|
|
|
|
endif
|
|
|
|
|
|
|
|
foreach header : ['sys/select.h', 'alloca.h']
|
2022-01-19 12:10:58 -07:00
|
|
|
config.set10('HAVE_' + header.underscorify().to_upper(), cc.check_header(header))
|
2018-03-12 10:17:55 -06:00
|
|
|
endforeach
|
2020-03-29 14:45:52 -06:00
|
|
|
|
2019-09-14 15:22:03 -06:00
|
|
|
if (cc.has_header_symbol('sys/sysmacros.h', 'major') and
|
|
|
|
cc.has_header_symbol('sys/sysmacros.h', 'minor') and
|
|
|
|
cc.has_header_symbol('sys/sysmacros.h', 'makedev'))
|
2017-09-13 12:46:13 -06:00
|
|
|
config.set10('MAJOR_IN_SYSMACROS', true)
|
2019-09-14 15:22:03 -06:00
|
|
|
endif
|
|
|
|
if (cc.has_header_symbol('sys/mkdev.h', 'major') and
|
|
|
|
cc.has_header_symbol('sys/mkdev.h', 'minor') and
|
|
|
|
cc.has_header_symbol('sys/mkdev.h', 'makedev'))
|
2017-09-13 12:46:13 -06:00
|
|
|
config.set10('MAJOR_IN_MKDEV', true)
|
|
|
|
endif
|
2018-01-26 10:04:28 -07:00
|
|
|
config.set10('HAVE_OPEN_MEMSTREAM', cc.has_function('open_memstream'))
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2022-01-19 11:43:04 -07:00
|
|
|
libdrm_c_args = cc.get_supported_arguments([
|
|
|
|
'-Wsign-compare', '-Werror=undef', '-Werror=implicit-function-declaration',
|
|
|
|
'-Wpointer-arith', '-Wwrite-strings', '-Wstrict-prototypes',
|
|
|
|
'-Wmissing-prototypes', '-Wmissing-declarations', '-Wnested-externs',
|
|
|
|
'-Wpacked', '-Wswitch-enum', '-Wmissing-format-attribute',
|
|
|
|
'-Wstrict-aliasing=2', '-Winit-self', '-Winline', '-Wshadow',
|
|
|
|
'-Wdeclaration-after-statement', '-Wold-style-definition',
|
|
|
|
'-Wno-unused-parameter', '-Wno-attributes', '-Wno-long-long',
|
|
|
|
'-Wno-missing-field-initializers'])
|
2017-09-13 12:46:13 -06:00
|
|
|
|
|
|
|
dep_cunit = dependency('cunit', version : '>= 2.1', required : false)
|
2022-08-22 10:10:16 -06:00
|
|
|
dep_cairo = dependency('cairo', required : get_option('cairo-tests'))
|
|
|
|
with_cairo_tests = dep_cairo.found()
|
|
|
|
|
|
|
|
valgrind_version = []
|
|
|
|
if with_freedreno
|
|
|
|
valgrind_version = '>=3.10.0'
|
2018-02-19 05:55:27 -07:00
|
|
|
endif
|
2022-08-22 10:10:16 -06:00
|
|
|
dep_valgrind = dependency('valgrind', required : get_option('valgrind'), version : valgrind_version)
|
|
|
|
with_valgrind = dep_valgrind.found()
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2022-08-22 10:10:16 -06:00
|
|
|
prog_rst2man = find_program('rst2man', 'rst2man.py', required: get_option('man-pages'))
|
|
|
|
with_man_pages = prog_rst2man.found()
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2022-01-19 12:12:43 -07:00
|
|
|
config.set10('HAVE_VISIBILITY', cc.has_function_attribute('visibility:hidden'))
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2018-01-26 09:23:01 -07:00
|
|
|
foreach t : [
|
2018-01-26 09:17:53 -07:00
|
|
|
[with_exynos, 'EXYNOS'],
|
2018-01-26 08:19:03 -07:00
|
|
|
[with_freedreno_kgsl, 'FREEDRENO_KGSL'],
|
2018-01-26 09:23:01 -07:00
|
|
|
[with_intel, 'INTEL'],
|
|
|
|
[with_nouveau, 'NOUVEAU'],
|
|
|
|
[with_radeon, 'RADEON'],
|
|
|
|
[with_vc4, 'VC4'],
|
|
|
|
[with_vmwgfx, 'VMWGFX'],
|
2018-02-19 05:55:27 -07:00
|
|
|
[with_cairo_tests, 'CAIRO'],
|
|
|
|
[with_valgrind, 'VALGRIND'],
|
2018-01-26 09:23:01 -07:00
|
|
|
]
|
2018-01-26 09:21:30 -07:00
|
|
|
config.set10('HAVE_@0@'.format(t[1]), t[0])
|
2017-09-13 12:46:13 -06:00
|
|
|
endforeach
|
2018-01-26 08:19:03 -07:00
|
|
|
if with_freedreno_kgsl and not with_freedreno
|
|
|
|
error('cannot enable freedreno-kgsl without freedreno support')
|
2017-09-13 12:46:13 -06:00
|
|
|
endif
|
|
|
|
config.set10('_GNU_SOURCE', true)
|
intel: determine target endianness using meson
The endianness of the target is currently determined based on
preprocessor symbols. Unfortunately some symbols checked are wrong
(sparc64-linux-gnu-gcc does not define __BIG_ENDIAN__ or SPARC), and
several checks for big-endian architectures are missing.
Fix this by introducing a new preprocessor symbol HAVE_BIG_ENDIAN, which
is set based on meson's knowledge of the target endianness.
Android.common.mk does not need an update, as Android is always
little-endian (https://developer.android.com/ndk/guides/abis.html).
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
v5:
- Add Reviewed-by,
v4:
- Replace explicit #ifdef checks by a define set by meson,
v3:
- No changes,
v2:
- Add arm, aarch64, microblaze, s390, and sh.
2022-03-03 09:39:12 -07:00
|
|
|
|
|
|
|
if target_machine.endian() == 'big'
|
|
|
|
config.set('HAVE_BIG_ENDIAN', 1)
|
|
|
|
endif
|
|
|
|
|
2017-09-13 12:46:13 -06:00
|
|
|
config_file = configure_file(
|
|
|
|
configuration : config,
|
|
|
|
output : 'config.h',
|
|
|
|
)
|
2019-12-17 02:08:02 -07:00
|
|
|
add_project_arguments('-include', '@0@'.format(config_file), language : 'c')
|
2017-09-13 12:46:13 -06:00
|
|
|
|
|
|
|
inc_root = include_directories('.')
|
|
|
|
inc_drm = include_directories('include/drm')
|
|
|
|
|
2021-04-22 17:03:38 -06:00
|
|
|
libdrm_files = [files(
|
|
|
|
'xf86drm.c', 'xf86drmHash.c', 'xf86drmRandom.c', 'xf86drmSL.c',
|
|
|
|
'xf86drmMode.c'
|
|
|
|
),
|
|
|
|
config_file, format_mod_static_table
|
|
|
|
]
|
|
|
|
|
2021-11-17 13:50:01 -07:00
|
|
|
# Build an unversioned so on android
|
2021-04-22 17:03:38 -06:00
|
|
|
if android
|
2021-11-17 13:50:01 -07:00
|
|
|
libdrm_kw = {}
|
2021-04-22 17:03:38 -06:00
|
|
|
else
|
2021-11-17 13:50:01 -07:00
|
|
|
libdrm_kw = {'version' : '2.4.0'}
|
2021-04-22 17:03:38 -06:00
|
|
|
endif
|
2017-09-13 12:46:13 -06:00
|
|
|
|
2021-11-17 13:50:01 -07:00
|
|
|
libdrm = library(
|
|
|
|
'drm',
|
|
|
|
libdrm_files,
|
|
|
|
c_args : libdrm_c_args,
|
|
|
|
dependencies : [dep_valgrind, dep_rt, dep_m],
|
|
|
|
include_directories : inc_drm,
|
|
|
|
install : true,
|
|
|
|
kwargs : libdrm_kw,
|
2022-01-19 11:42:20 -07:00
|
|
|
gnu_symbol_visibility : 'hidden',
|
2021-11-17 13:50:01 -07:00
|
|
|
)
|
|
|
|
|
2019-11-11 16:51:04 -07:00
|
|
|
test(
|
|
|
|
'core-symbols-check',
|
|
|
|
symbols_check,
|
|
|
|
args : [
|
|
|
|
'--lib', libdrm,
|
|
|
|
'--symbols-file', files('core-symbols.txt'),
|
2023-09-01 14:10:41 -06:00
|
|
|
'--nm', prog_nm.full_path(),
|
2019-11-11 16:51:04 -07:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-09-13 12:46:13 -06:00
|
|
|
ext_libdrm = declare_dependency(
|
|
|
|
link_with : libdrm,
|
2018-02-07 16:35:24 -07:00
|
|
|
include_directories : [inc_root, inc_drm],
|
2017-09-13 12:46:13 -06:00
|
|
|
)
|
|
|
|
|
2021-11-17 13:57:54 -07:00
|
|
|
if meson.version().version_compare('>= 0.54.0')
|
|
|
|
meson.override_dependency('libdrm', ext_libdrm)
|
|
|
|
endif
|
|
|
|
|
2017-09-13 12:46:13 -06:00
|
|
|
install_headers('libsync.h', 'xf86drm.h', 'xf86drmMode.h')
|
|
|
|
install_headers(
|
|
|
|
'include/drm/drm.h', 'include/drm/drm_fourcc.h', 'include/drm/drm_mode.h',
|
|
|
|
'include/drm/drm_sarea.h', 'include/drm/i915_drm.h',
|
|
|
|
'include/drm/mach64_drm.h', 'include/drm/mga_drm.h',
|
2018-08-13 18:29:21 -06:00
|
|
|
'include/drm/msm_drm.h', 'include/drm/nouveau_drm.h',
|
|
|
|
'include/drm/qxl_drm.h', 'include/drm/r128_drm.h',
|
|
|
|
'include/drm/radeon_drm.h', 'include/drm/amdgpu_drm.h',
|
|
|
|
'include/drm/savage_drm.h', 'include/drm/sis_drm.h',
|
|
|
|
'include/drm/tegra_drm.h', 'include/drm/vc4_drm.h',
|
2017-09-13 12:46:13 -06:00
|
|
|
'include/drm/via_drm.h', 'include/drm/virtgpu_drm.h',
|
|
|
|
subdir : 'libdrm',
|
|
|
|
)
|
|
|
|
if with_vmwgfx
|
|
|
|
install_headers('include/drm/vmwgfx_drm.h', subdir : 'libdrm')
|
|
|
|
endif
|
|
|
|
|
|
|
|
pkg.generate(
|
2022-01-19 12:14:17 -07:00
|
|
|
libdrm,
|
2017-09-13 12:46:13 -06:00
|
|
|
name : 'libdrm',
|
|
|
|
subdirs : ['.', 'libdrm'],
|
|
|
|
description : 'Userspace interface to kernel DRM services',
|
|
|
|
)
|
2018-01-26 04:18:30 -07:00
|
|
|
|
2017-09-13 12:46:13 -06:00
|
|
|
if with_intel
|
|
|
|
subdir('intel')
|
|
|
|
endif
|
|
|
|
if with_nouveau
|
|
|
|
subdir('nouveau')
|
|
|
|
endif
|
|
|
|
if with_radeon
|
|
|
|
subdir('radeon')
|
|
|
|
endif
|
|
|
|
if with_amdgpu
|
|
|
|
subdir('amdgpu')
|
|
|
|
endif
|
|
|
|
if with_omap
|
|
|
|
subdir('omap')
|
|
|
|
endif
|
|
|
|
if with_exynos
|
|
|
|
subdir('exynos')
|
|
|
|
endif
|
|
|
|
if with_freedreno
|
|
|
|
subdir('freedreno')
|
|
|
|
endif
|
|
|
|
if with_tegra
|
|
|
|
subdir('tegra')
|
|
|
|
endif
|
|
|
|
if with_vc4
|
|
|
|
subdir('vc4')
|
|
|
|
endif
|
|
|
|
if with_etnaviv
|
|
|
|
subdir('etnaviv')
|
|
|
|
endif
|
|
|
|
if with_man_pages
|
|
|
|
subdir('man')
|
|
|
|
endif
|
|
|
|
subdir('data')
|
2022-07-28 04:18:33 -06:00
|
|
|
if with_tests
|
|
|
|
subdir('tests')
|
|
|
|
endif
|