From ebb145ee12c0b5e80d84ccc0469423b2c07a182f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sun, 5 Aug 2018 10:22:37 +0100 Subject: [PATCH] intel: tools: create libaub Signed-off-by: Lionel Landwerlin --- src/intel/tools/meson.build | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index d749a80afed..258bf7011b3 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -18,12 +18,22 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + +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], + c_args : [c_vis_args, no_override_init_args], + install : false +) + aubinator = executable( 'aubinator', - files('aubinator.c', 'intel_aub.h', 'aub_read.h', 'aub_read.c', 'aub_mem.h', 'aub_mem.c'), + files('aubinator.c'), dependencies : [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], + link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util, libaub], c_args : [c_vis_args, no_override_init_args], build_by_default : true, install : true -- 2.30.2