[Mesa-dev] [PATCH] glsl: Ensure glsl/ exists before making the lexer/parser.

Iago Toral itoral at igalia.com
Thu Feb 4 15:09:21 UTC 2016


Looks good to me,
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

On Wed, 2016-02-03 at 12:04 -0800, Matt Turner wrote:
> Reported-by: Jan Ziak <0xe2.0x9a.0x9b at gmail.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93989
> ---
>  src/compiler/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am
> index 0bc8e48..f218af1 100644
> --- a/src/compiler/Makefile.am
> +++ b/src/compiler/Makefile.am
> @@ -211,9 +211,11 @@ YACC_GEN = $(AM_V_YACC)$(YACC) $(YFLAGS)
>  LEX_GEN = $(AM_V_LEX)$(LEX) $(LFLAGS)
>  
>  glsl/glsl_parser.cpp glsl/glsl_parser.h: glsl/glsl_parser.yy
> +	$(MKDIR_GEN)
>  	$(YACC_GEN) -o $@ -p "_mesa_glsl_" --defines=$(builddir)/glsl/glsl_parser.h $(srcdir)/glsl/glsl_parser.yy
>  
>  glsl/glsl_lexer.cpp: glsl/glsl_lexer.ll
> +	$(MKDIR_GEN)
>  	$(LEX_GEN) -o $@ $(srcdir)/glsl/glsl_lexer.ll
>  
>  glsl/glcpp/glcpp-parse.c glsl/glcpp/glcpp-parse.h: glsl/glcpp/glcpp-parse.y




More information about the mesa-dev mailing list