vallium: initial import of the vulkan frontend
[mesa.git] / src / gallium / targets / vallium / meson.build
1 libvulkan_val = shared_library(
2 'vulkan_val',
3 [ 'target.c' ],
4 include_directories : [ inc_src, inc_util, inc_include, inc_gallium, inc_gallium_aux, inc_gallium_winsys, inc_gallium_drivers ],
5 link_whole : [ libvallium_st ],
6 link_with : [libpipe_loader_static, libmegadriver_stub, libdri, libdricommon ,libgallium, libwsw, libswdri, libws_null, libswkmsdri ],
7 gnu_symbol_visibility : 'hidden',
8 link_args : [ld_args_bsymbolic, ld_args_gc_sections],
9 dependencies : driver_swrast,
10 install : true,
11 name_suffix : 'so',
12 )
13
14 val_icd = custom_target(
15 'val_icd',
16 input : 'val_icd.py',
17 output : 'val_icd.@0@.json'.format(host_machine.cpu()),
18 command : [
19 prog_python, '@INPUT@',
20 '--lib-path', join_paths(get_option('prefix'), get_option('libdir')),
21 '--out', '@OUTPUT@',
22 ],
23 depend_files : files('../../frontends/vallium/val_extensions.py'),
24 build_by_default : true,
25 install_dir : with_vulkan_icd_dir,
26 install : true,
27 )