summaryrefslogtreecommitdiffstats
path: root/src/mesa/sources.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/sources.mak')
-rw-r--r--src/mesa/sources.mak40
1 files changed, 14 insertions, 26 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index f01b60c4fc8..9156024d471 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -250,26 +250,8 @@ PROGRAM_SOURCES = \
program/programopt.c \
program/symbol_table.c
-SLANG_SOURCES = \
- slang/slang_builtin.c \
- slang/slang_codegen.c \
- slang/slang_compile.c \
- slang/slang_compile_function.c \
- slang/slang_compile_operation.c \
- slang/slang_compile_struct.c \
- slang/slang_compile_variable.c \
- slang/slang_emit.c \
- slang/slang_ir.c \
- slang/slang_label.c \
- slang/slang_link.c \
- slang/slang_log.c \
- slang/slang_mem.c \
- slang/slang_print.c \
- slang/slang_simplify.c \
- slang/slang_storage.c \
- slang/slang_typeinfo.c \
- slang/slang_vartable.c \
- slang/slang_utility.c
+SHADER_CXX_SOURCES = \
+ program/ir_to_mesa.cpp
ASM_C_SOURCES = \
x86/common_x86.c \
@@ -324,8 +306,10 @@ MESA_SOURCES = \
$(SWRAST_SOURCES) \
$(SWRAST_SETUP_SOURCES) \
$(COMMON_DRIVER_SOURCES)\
- $(ASM_C_SOURCES) \
- $(SLANG_SOURCES)
+ $(ASM_C_SOURCES)
+
+MESA_CXX_SOURCES = \
+ $(SHADER_CXX_SOURCES)
# Sources for building Gallium drivers
MESA_GALLIUM_SOURCES = \
@@ -335,12 +319,15 @@ MESA_GALLIUM_SOURCES = \
$(STATETRACKER_SOURCES) \
$(PROGRAM_SOURCES) \
ppc/common_ppc.c \
- x86/common_x86.c \
- $(SLANG_SOURCES)
+ x86/common_x86.c
+
+MESA_GALLIUM_CXX_SOURCES = \
+ $(SHADER_CXX_SOURCES)
# All the core C sources, for dependency checking
ALL_SOURCES = \
$(MESA_SOURCES) \
+ $(MESA_CXX_SOURCES) \
$(MESA_ASM_SOURCES) \
$(STATETRACKER_SOURCES)
@@ -349,10 +336,12 @@ ALL_SOURCES = \
MESA_OBJECTS = \
$(MESA_SOURCES:.c=.o) \
+ $(MESA_CXX_SOURCES:.cpp=.o) \
$(MESA_ASM_SOURCES:.S=.o)
MESA_GALLIUM_OBJECTS = \
$(MESA_GALLIUM_SOURCES:.c=.o) \
+ $(MESA_GALLIUM_CXX_SOURCES:.cpp=.o) \
$(MESA_ASM_SOURCES:.S=.o)
@@ -362,8 +351,7 @@ COMMON_DRIVER_OBJECTS = $(COMMON_DRIVER_SOURCES:.c=.o)
### Other archives/libraries
GLSL_LIBS = \
- $(TOP)/src/glsl/pp/libglslpp.a \
- $(TOP)/src/glsl/cl/libglslcl.a
+ $(TOP)/src/glsl/libglsl.a
### Include directories