From: Thierry Reding <[email protected]> The BUILTIN_COMPILER_CXX_FILES variable is unused and can be dropped. Files listed in BUILTIN_COMPILER_GENERATED_CXX_FILES are no longer generated for the builtin compiler but for the GLSL compiler. The variable is renamed to GLSL_COMPILER_GENERATED_CXX_FILES for consistency.
Signed-off-by: Thierry Reding <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: Matt Turner <[email protected]> --- src/glsl/Makefile.sources | 13 ++----------- src/mesa/libdricore/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources index aafb53e..55d2dad 100644 --- a/src/glsl/Makefile.sources +++ b/src/glsl/Makefile.sources @@ -93,20 +93,11 @@ GLSL_COMPILER_CXX_FILES = \ $(GLSL_SRCDIR)/standalone_scaffolding.cpp \ $(GLSL_SRCDIR)/main.cpp -# builtin_compiler -# -# This is built before libglsl to generate builtin_funciton.cpp for libglsl. -# For this to work, a dummy version of builtin_function.cpp, -# builtin_stubs.cpp, is used. - -BUILTIN_COMPILER_CXX_FILES = \ - $(GLSL_SRCDIR)/builtin_stubs.cpp - -BUILTIN_COMPILER_GENERATED_CXX_FILES = \ +GLSL_COMPILER_GENERATED_CXX_FILES = \ $(GLSL_BUILDDIR)/glsl_lexer.cc \ $(GLSL_BUILDDIR)/glsl_parser.cc # libglsl generated sources LIBGLSL_GENERATED_CXX_FILES = \ - $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \ + $(GLSL_COMPILER_GENERATED_CXX_FILES) \ $(GLSL_BUILDDIR)/builtin_function.cpp diff --git a/src/mesa/libdricore/Makefile.am b/src/mesa/libdricore/Makefile.am index efd836e..490f7f3 100644 --- a/src/mesa/libdricore/Makefile.am +++ b/src/mesa/libdricore/Makefile.am @@ -40,7 +40,7 @@ libdricore@VERSION@_la_SOURCES = \ $(LIBGLCPP_FILES) \ $(LIBGLSL_FILES) \ $(LIBGLSL_CXX_FILES) \ - $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \ + $(GLSL_COMPILER_GENERATED_CXX_FILES) \ $(top_builddir)/src/glsl/builtin_function.cpp libdricore@VERSION@_la_LDFLAGS = -version-number 1:0 libdricore@VERSION@_la_LIBADD = libdricore-asm.la -- 1.8.0 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
