xserver/hw/xfree86/modes/meson.build
Olivier Fourdan 7eba412072 xfree86: Move xf86CVTMode() function
The xf86CVTMode() was implemented in a standalone source file because it
was being used for both the xfree86 API and the standalone cvt utility.

Now that the cvt utility is removed (as part of libxcvt) we can move the
small xf86CVTMode() function with the rest of the xf86Modes sources.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1142
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2021-08-06 11:29:29 +00:00

29 lines
529 B
Meson

srcs_xorg_modes = [
'xf86Crtc.c',
'xf86Cursors.c',
'xf86gtf.c',
'xf86EdidModes.c',
'xf86Modes.c',
'xf86RandR12.c',
'xf86Rotate.c',
]
if build_dga
srcs_xorg_modes += 'xf86DiDGA.c'
endif
xorg_modes = static_library('xorg_modes',
srcs_xorg_modes,
include_directories: [ inc, xorg_inc ],
dependencies: [ common_dep, libxcvt_dep ],
c_args: xorg_c_args,
)
install_data(
[
'xf86Crtc.h',
'xf86Modes.h',
'xf86RandR12.h',
],
install_dir: xorgsdkdir,
)