Damien Lespiau 4ca1a04b85 assembler: Update the disassembler code
From Mesa. This imports a bit more the of brw_eu* infrastructure (which
is going towards the right direction!) from mesa and the update is quite
a significant improvement over what we had.

I also verified that the changes that were done on the assembler old
version of brw_disasm.c were already supported by the Mesa version, and
indeed they were.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04 15:54:37 +00:00

34 lines
563 B
Makefile

SUBDIRS = doc test
bin_PROGRAMS = intel-gen4asm intel-gen4disasm
AM_YFLAGS = -d --warnings=all
AM_CFLAGS= $(ASSEMBLER_WARN_CFLAGS)
LEX = flex -i
BUILT_SOURCES = gram.h gram.c lex.c
gram.h: gram.c
intel_gen4asm_SOURCES = \
brw_defines.h \
brw_eu.h \
brw_reg.h \
brw_structs.h \
gen4asm.h \
gram.y \
lex.l \
main.c \
$(NULL)
intel_gen4disasm_SOURCES = \
brw_disasm.c disasm-main.c
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = intel-gen4asm.pc
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
README \
TODO \
intel-gen4asm.pc.in