[Mesa-dev] [PATCH 2/9] automake: convert libglsl
Jon TURNEY
jon.turney at dronecode.org.uk
Wed Jul 11 11:57:34 PDT 2012
On 10/07/2012 23:34, Matt Turner wrote:
>> +glsl_lexer.cpp: glsl_lexer.ll
>> + $(AM_V_GEN) $(LEX) --nounistd -o$@ $<
>> +
>> +glsl_parser.cpp: glsl_parser.yy
>> + $(AM_V_GEN) $(YACC) -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $<
>> +
>> +$(GLSL_SRCDIR)/glcpp/glcpp-lex.c: $(GLSL_SRCDIR)/glcpp/glcpp-parse.h
>> + cd glcpp ; $(MAKE) $(AM_MAKEFLAGS) glcpp-lex.c
>> +
>> +$(GLSL_SRCDIR)/glcpp/glcpp-parse.c $(GLSL_SRCDIR)/glcpp/glcpp-parse.h:
>> + cd glcpp ; $(MAKE) $(AM_MAKEFLAGS) glcpp-parse.c
>
> Don't do this. Automake will do all this for us. See
> http://cgit.freedesktop.org/~mattst88/mesa/commit/?h=automake&id=cba247c20787ca281f79f4ee78fc5b01ad890726
>
> Same thing for glcpp/Makefile.am.
Oh yes, much better :-)
>> +glcpp_SOURCES = \
>> + $(LIBGLCPP_GENERATED_FILES) \
>> + $(LIBGLCPP_FILES) \
>> + ../ralloc.c \
>> + glcpp.c \
>> + $(top_srcdir)/src//mesa/program/hash_table.c
>
> Double / here.
Well spotted :-)
More information about the mesa-dev
mailing list