diff options
Diffstat (limited to 'src/mesa/Makefile.am')
-rw-r--r-- | src/mesa/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 6b00310032f..5a7884c939e 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -84,6 +84,7 @@ BUILT_SOURCES = \ main/format_info.c \ $(BUILDDIR)main/git_sha1.h \ main/format_pack.c \ + main/format_unpack.c \ $(BUILDDIR)program/program_parse.tab.c \ $(BUILDDIR)program/lex.yy.c CLEANFILES = \ @@ -115,6 +116,14 @@ main/format_pack.c: main/format_pack.py main/formats.csv \ $(srcdir)/main/formats.csv \ | $(INDENT) $(INDENT_FLAGS) > $@; +main/format_unpack.c: main/format_unpack.py main/formats.csv \ + main/format_parser.py + $(AM_V_GEN)set -e; \ + $(PYTHON2) $(PYTHON_FLAGS) \ + $(srcdir)/main/format_unpack.py \ + $(srcdir)/main/formats.csv \ + | $(INDENT) $(INDENT_FLAGS) > $@; + main/formats.c: main/format_info.c noinst_LTLIBRARIES = $(ARCH_LIBS) |