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 :-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev