Tarball distribution is done through "make distcheck". We include the
meson targets also into autotools so they won't fail when building
from the tarball.
Fixes: 6a60beba408 ("intel/tools: Add an error state to aub translator")
Cc: Jason Ekstrand <jason.ekstrand@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Dylan Baker <dylan.c.baker@intel.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
noinst_PROGRAMS += \
tools/aubinator \
- tools/aubinator_error_decode
+ tools/aubinator_error_decode \
+ tools/error2aub
+
tools_aubinator_SOURCES = \
tools/aubinator.c \
tools_aubinator_error_decode_CFLAGS = \
$(AM_CFLAGS) \
$(ZLIB_CFLAGS)
+
+
+tools_error2aub_SOURCES = \
+ tools/gen_context.h \
+ tools/gen8_context.h \
+ tools/gen10_context.h \
+ tools/aub_write.h \
+ tools/aub_write.c \
+ tools/error2aub.c
+
+tools_error2aub_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(ZLIB_CFLAGS)
+
+tools_error2aub_LDADD = \
+ dev/libintel_dev.la \
+ $(PTHREAD_LIBS) \
+ $(DLOPEN_LIBS) \
+ $(ZLIB_LIBS) \
+ -lm