glsl: Rename .lpp to .ll and .ypp to .yy.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Mar 2011 23:13:04 +0000 (15:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Mar 2011 23:49:29 +0000 (15:49 -0800)
SCons has built-in support for .ll and .yy, but not .lpp and .ypp. Since
there's no real benefit to using the old names, change them.

src/glsl/Makefile
src/glsl/glsl_lexer.ll [moved from src/glsl/glsl_lexer.lpp with 100% similarity]
src/glsl/glsl_parser.yy [moved from src/glsl/glsl_parser.ypp with 100% similarity]

index df031d2..cd7c41a 100644 (file)
@@ -191,10 +191,10 @@ $(DRICORE_OBJ_DIR)/%.o : %.c
        @mkdir -p $(dir $@)
        $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DEFINES) $< -o $@
 
-glsl_lexer.cpp: glsl_lexer.lpp
+glsl_lexer.cpp: glsl_lexer.ll
        flex --nounistd -o$@  $<
 
-glsl_parser.cpp: glsl_parser.ypp
+glsl_parser.cpp: glsl_parser.yy
        bison -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $<
 
 glcpp/glcpp-lex.c: glcpp/glcpp-lex.l