... instead of generating them again.
---
This series depends on the 7 patches series from a few days ago.

This patch depend on a small change in 6/7, removing builtin_function.cpp
BUILT_SOURCES. I'll make that fixup to 6/7 before committing it.

 src/glsl/builtin_compiler/Makefile.am |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/src/glsl/builtin_compiler/Makefile.am 
b/src/glsl/builtin_compiler/Makefile.am
index d27aca5..a025556 100644
--- a/src/glsl/builtin_compiler/Makefile.am
+++ b/src/glsl/builtin_compiler/Makefile.am
@@ -40,19 +40,16 @@ AM_CFLAGS = \
 
 AM_CXXFLAGS = $(AM_CFLAGS)
 
-AM_YFLAGS = -v -d -p "glcpp_parser_"
-AM_LFLAGS = --nounistd -o$(LEX_OUTPUT_ROOT).c
-
 include ../Makefile.sources
 
 noinst_PROGRAMS = builtin_compiler
 
 builtin_compiler_SOURCES = \
-       $(GLSL_SRCDIR)/glcpp/glcpp-lex.l \
-       $(GLSL_SRCDIR)/glcpp/glcpp-parse.y \
+       $(GLSL_BUILDDIR)/glcpp/glcpp-lex.c \
+       $(GLSL_BUILDDIR)/glcpp/glcpp-parse.c \
        $(LIBGLCPP_FILES) \
-       $(GLSL_SRCDIR)/glsl_lexer.ll \
-       $(GLSL_BUILDDIR)/glsl_parser.cc \
+       $(GLSL_BUILDDIR)/glsl_lexer.cpp \
+       $(GLSL_BUILDDIR)/glsl_parser.cpp \
        $(LIBGLSL_FILES) \
        $(LIBGLSL_CXX_FILES) \
        $(top_srcdir)/src/mesa/main/hash_table.c \
@@ -60,11 +57,3 @@ builtin_compiler_SOURCES = \
        $(top_srcdir)/src/mesa/program/symbol_table.c \
        $(GLSL_COMPILER_CXX_FILES) \
        builtin_stubs.cpp
-
-BUILT_SOURCES = \
-       glcpp-lex.c \
-       glcpp-parse.c \
-       glcpp-parse.h \
-       glsl_lexer.cc
-
-CLEANFILES = $(BUILT_SOURCES)
-- 
1.7.8.6

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to