[Mesa-dev] [PATCH v2 05/11] intel: tools: create libaub

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Aug 7 17:35:16 UTC 2018


Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 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.18.0



More information about the mesa-dev mailing list