[Mesa-dev] [Bug 52130] New: [PATCH] Fix compiling error in src/glsl/Makefile.am

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 16 02:58:34 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52130

             Bug #: 52130
           Summary: [PATCH] Fix compiling error in src/glsl/Makefile.am
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: homer.xing at intel.com


glsl_lexer.cc has been renamed to glsl_lexer.cpp. Therefore Makefile.am should
be updated. This patch fixes compiling error. 

diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am
index d86153c..1a0219f 100644
--- a/src/glsl/Makefile.am
+++ b/src/glsl/Makefile.am
@@ -94,7 +94,7 @@ glsl_parser.cc glsl_parser.h: glsl_parser.yy
     $(AM_V_GEN) $(YACC) -v -o glsl_parser.cc -p "_mesa_glsl_"
--defines=glsl_parser.h $<

 BUILT_SOURCES = glsl_parser.h builtin_function.cpp
-CLEANFILES = glsl_lexer.cc glsl_parser.cc $(BUILT_SOURCES)
+CLEANFILES = glsl_lexer.cpp glsl_parser.cc $(BUILT_SOURCES)

 builtin_function.cpp: builtins/profiles/* builtins/ir/* builtins/glsl/*
builtins/tools/generate_builtins.py builtins/tools/texture_builtins.py
builtin_compiler$(EXEEXT)
     $(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) builtins/tools/generate_builtins.py
./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list