summaryrefslogtreecommitdiff
path: root/assembler/Makefile.am
blob: 59143560b863812cb833709bd241072ad8b5ad02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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_structs.h	\
	gen4asm.h	\
	gram.y		\
	lex.l		\
	main.c		\
	$(NULL)

intel_gen4disasm_SOURCES =  \
	disasm.c disasm-main.c

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = intel-gen4asm.pc

MAINTAINERCLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
	README \
	TODO \
	intel-gen4asm.pc.in