diff options
author | Eric Engestrom <[email protected]> | 2019-07-22 14:50:15 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-03 00:08:37 +0000 |
commit | d2d85b950d78c553b2694cda9ef0cc7bf9a0f737 (patch) | |
tree | afdd28e30b66064b8b540a6e9d6d0ecbe27a6678 /src/intel/tools/meson.build | |
parent | 8ddb38209d51c53d6e5792b04b97814dfce9bce6 (diff) |
meson: replace libmesa_util with idep_mesautil
This automates the include_directories and dependencies tracking so that
all users of libmesa_util don't need to add them manually.
Next commit will remove the ones that were only added for that reason.
Signed-off-by: Eric Engestrom <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Tested-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/intel/tools/meson.build')
-rw-r--r-- | src/intel/tools/meson.build | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index b0598f39ab5..647b77f5054 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -22,7 +22,8 @@ libaub = static_library( 'aub', files('aub_read.c', 'aub_mem.c'), include_directories : [inc_common, inc_intel], - link_with : [libintel_common, libintel_dev, libmesa_util], + dependencies : idep_mesautil, + link_with : [libintel_common, libintel_dev], c_args : [c_vis_args, no_override_init_args], install : false ) @@ -30,9 +31,9 @@ libaub = static_library( aubinator = executable( 'aubinator', files('aubinator.c'), - dependencies : [dep_expat, dep_zlib, dep_dl, dep_thread, dep_m], + dependencies : [idep_mesautil, dep_expat, dep_zlib, dep_dl, dep_thread, dep_m], include_directories : [inc_common, inc_intel], - link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util, libaub], + link_with : [libintel_common, libintel_compiler, libintel_dev, libaub], c_args : [c_vis_args, no_override_init_args], install : true ) @@ -40,9 +41,9 @@ aubinator = executable( aubinator_error_decode = executable( 'aubinator_error_decode', files('aubinator_error_decode.c'), - dependencies : [dep_zlib, dep_thread], + dependencies : [idep_mesautil, dep_zlib, dep_thread], include_directories : [inc_common, inc_intel], - link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util], + link_with : [libintel_common, libintel_compiler, libintel_dev], c_args : [c_vis_args, no_override_init_args], install : true ) @@ -50,9 +51,9 @@ aubinator_error_decode = executable( i965_disasm = executable( 'i965_disasm', files('i965_disasm.c'), - dependencies : [dep_thread], + dependencies : [idep_mesautil, dep_thread], include_directories : [inc_common, inc_intel], - link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util], + link_with : [libintel_common, libintel_compiler, libintel_dev], c_args : [c_vis_args, no_override_init_args], install : true ) @@ -83,9 +84,9 @@ configure_file( libintel_sanitize_gpu = shared_library( 'intel_sanitize_gpu', files('intel_sanitize_gpu.c'), - dependencies : [dep_dl, dep_thread], + dependencies : [idep_mesautil, dep_dl, dep_thread], include_directories : [inc_common, inc_intel, inc_include], - link_with : [libintel_common, libmesa_util], + link_with : libintel_common, c_args : [c_vis_args, no_override_init_args, c_sse2_args], install_dir : get_option('libexecdir'), install : true @@ -119,9 +120,9 @@ if with_tools.contains('intel-ui') aubinator_viewer = executable( 'aubinator_viewer', files('aubinator_viewer.cpp', 'aubinator_viewer_decoder.cpp'), - dependencies : [dep_zlib, dep_dl, dep_thread, dep_m, libintel_imgui_gtk_dep], + dependencies : [idep_mesautil, dep_zlib, dep_dl, dep_thread, dep_m, libintel_imgui_gtk_dep], include_directories : [inc_common, inc_intel], - link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util, libaub], + link_with : [libintel_common, libintel_compiler, libintel_dev, libaub], c_args : [c_vis_args, no_override_init_args], cpp_args : ['-fpermissive', '-Wno-parentheses', '-Wno-class-memaccess'], install : true @@ -148,9 +149,9 @@ i965_lex_yy_c = custom_target( i965_asm = executable( 'i965_asm', ['i965_asm.c', i965_gram_tab[0], i965_gram_tab[1], i965_lex_yy_c], - dependencies : [dep_thread], + dependencies : [idep_mesautil, dep_thread], include_directories : [inc_common, inc_intel], - link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util], + link_with : [libintel_common, libintel_compiler, libintel_dev], c_args : [c_vis_args, no_override_init_args], install : true ) |