aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-06 23:18:38 -0800
committerChad Versace <[email protected]>2012-11-12 15:52:42 -0800
commita665cf1226b80ec52a0c1a4a38378df4389e8ebf (patch)
tree8d584081c8f73a06dd1a576bad0f4e371d4e648e /src/glsl
parent34d4216e64101a692d5ffb3936e7261a1732953a (diff)
automake: Merge *_CXX_FILES variables in the glsl build.
Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/Android.mk4
-rw-r--r--src/glsl/Makefile.am1
-rw-r--r--src/glsl/Makefile.sources9
-rw-r--r--src/glsl/SConscript2
4 files changed, 6 insertions, 10 deletions
diff --git a/src/glsl/Android.mk b/src/glsl/Android.mk
index f975d03d1bb..f5006ab03f6 100644
--- a/src/glsl/Android.mk
+++ b/src/glsl/Android.mk
@@ -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)
diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am
index 6fb3d2d9dc7..ea7617685dc 100644
--- a/src/glsl/Makefile.am
+++ b/src/glsl/Makefile.am
@@ -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
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
index 0da6958d1a7..6c031b69981 100644
--- a/src/glsl/Makefile.sources
+++ b/src/glsl/Makefile.sources
@@ -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
diff --git a/src/glsl/SConscript b/src/glsl/SConscript
index 89014ee3c42..0cf25c07b92 100644
--- a/src/glsl/SConscript
+++ b/src/glsl/SConscript
@@ -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']: