automake: Merge *_CXX_FILES variables in the glsl build.
authorEric Anholt <eric@anholt.net>
Wed, 7 Nov 2012 07:18:38 +0000 (23:18 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 12 Nov 2012 23:52:42 +0000 (15:52 -0800)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/Android.mk
src/glsl/Makefile.am
src/glsl/Makefile.sources
src/glsl/SConscript
src/mesa/libdricore/Makefile.am

index f975d03d1bbcdee345bab1c83837c327ef2ab23c..f5006ab03f62e69c318acfccd3fe29056f9dcb66 100644 (file)
@@ -36,8 +36,7 @@ include $(CLEAR_VARS)
 
 LOCAL_SRC_FILES := \
        $(LIBGLCPP_FILES) \
-       $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES)
+       $(LIBGLSL_FILES)
 
 LOCAL_C_INCLUDES := \
        external/astl/include \
@@ -59,7 +58,6 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := \
        $(LIBGLCPP_FILES) \
        $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES) \
        $(GLSL_SRCDIR)/builtin_compiler/builtin_stubs.cpp \
        $(GLSL_COMPILER_CXX_FILES)
 
index 6fb3d2d9dc7194c5879d9df3978a7be6d06d963a..ea7617685dc753cb3e453c79733e3b7192be6375 100644 (file)
@@ -43,7 +43,6 @@ libglsl_la_SOURCES = \
        glsl_lexer.ll \
        glsl_parser.cc \
        $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES) \
        builtin_function.cpp
 
 libglsl_la_LIBADD = glcpp/libglcpp.la
index 0da6958d1a750c254dba714df9f877d59233f9bb..6c031b69981029c0774d802e2e359d69cd09f908 100644 (file)
@@ -15,10 +15,6 @@ LIBGLCPP_GENERATED_FILES = \
 # libglsl
 
 LIBGLSL_FILES = \
-       $(GLSL_SRCDIR)/strtod.c \
-       $(GLSL_SRCDIR)/ralloc.c
-
-LIBGLSL_CXX_FILES = \
        $(GLSL_SRCDIR)/ast_expr.cpp \
        $(GLSL_SRCDIR)/ast_function.cpp \
        $(GLSL_SRCDIR)/ast_to_hir.cpp \
@@ -85,7 +81,10 @@ LIBGLSL_CXX_FILES = \
        $(GLSL_SRCDIR)/opt_structure_splitting.cpp \
        $(GLSL_SRCDIR)/opt_swizzle_swizzle.cpp \
        $(GLSL_SRCDIR)/opt_tree_grafting.cpp \
-       $(GLSL_SRCDIR)/s_expression.cpp
+       $(GLSL_SRCDIR)/s_expression.cpp \
+       $(GLSL_SRCDIR)/strtod.c \
+       $(GLSL_SRCDIR)/ralloc.c \
+       $()
 
 # glsl_compiler
 
index 89014ee3c424212d271a430af8978315b8e4413a..0cf25c07b929b5f7202ffc6d43710d7611c41385 100644 (file)
@@ -46,7 +46,7 @@ glsl_sources = [
 source_lists = env.ParseSourceList('Makefile.sources')
 
 # add non-generated sources
-for l in ('LIBGLCPP_FILES', 'LIBGLSL_FILES', 'LIBGLSL_CXX_FILES'):
+for l in ('LIBGLCPP_FILES', 'LIBGLSL_FILES'):
     glsl_sources += source_lists[l]
 
 if env['msvc']:
index 1de6df80ff1ef0a9a22ef5bf5a44d940c5428caa..6958e327a3e7fa31179cd776d5d3e53ce712c2e2 100644 (file)
@@ -38,7 +38,6 @@ libdricore@VERSION@_la_SOURCES = \
        $(LIBGLCPP_GENERATED_FILES) \
        $(LIBGLCPP_FILES) \
        $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES) \
        $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \
        $(top_builddir)/src/glsl/builtin_function.cpp
 libdricore@VERSION@_la_LDFLAGS = -version-number 1:0