1if host_machine.system() == 'linux' 2 srcs_fbdevhw = 'fbdevhw.c' 3else 4 srcs_fbdevhw = 'fbdevhwstub.c' 5endif 6 7shared_module('fbdevhw', 8 srcs_fbdevhw, 9 include_directories: [ inc, xorg_inc ], 10 dependencies: common_dep, 11 c_args: xorg_c_args, 12 install: true, 13 install_dir: module_dir, 14 link_with: e, 15) 16 17install_data('fbdevhw.h', install_dir: xorgsdkdir) 18 19install_man(configure_file( 20 input: 'man/fbdevhw.man', 21 output: 'fbdevhw.4', 22 configuration: manpage_config, 23)) 24