summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-08-05 10:22:37 +0100
committerLionel Landwerlin <[email protected]>2018-08-22 18:02:11 +0100
commitebb145ee12c0b5e80d84ccc0469423b2c07a182f (patch)
tree52a7c0ecac43849ba07e18778faf7de235f4dcfb /src
parent475d670ef771ebea73d81c19760b10b22f37fee6 (diff)
intel: tools: create libaub
Signed-off-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/tools/meson.build14
1 files 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