Files
xserver/hw/xfree86/drivers/input/inputtest/meson.build
b-aaz a53697e70e xfree86: meson: Use install_symlink function instead of a hack.
This was a old hack used before Meson 0.61.0 added install_symlink, we
are at the meson release 1.10.0 so it is safe to use the new proper
function for this task.

Also used the X server's executable name as the link target name, and as
the SUID wrapper's name.

Moved the minimum Meson version up to 0.61.0.

Signed-off-by: b-aaz <b-aazbsd@proton.me>
2025-12-21 11:39:23 +01:00

27 lines
543 B
Meson

inputtestdrv_srcs = [
'xf86-input-inputtest.c',
]
shared_module(
'inputtest_drv',
inputtestdrv_srcs,
name_prefix: '',
include_directories: [inc, xorg_inc],
c_args: xorg_c_args,
dependencies: [common_dep],
install: true,
install_dir: join_paths(module_abi_dir, 'input'),
link_with: xserver_exec,
)
install_man(configure_file(
input: 'inputtestdrv.man',
output: 'inputtestdrv.4',
configuration: manpage_config,
))
install_data('xf86-input-inputtest-protocol.h', install_dir: xorgsdkdir)