summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-07-07 14:01:40 -0700
committerPaul Berry <[email protected]>2011-07-22 09:45:11 -0700
commitf129f618fe8a5397774484f1b7afb42d4be809a0 (patch)
tree600040852abbc6ba234948b3b9a71f594448984c /src/glsl/Makefile
parent12c22cab77f35a887d9f6790e0de4a8fa4b3b575 (diff)
glsl: Move functions into standalone_scaffolding.cpp for later reuse.
This patch moves the following functions from main.cpp (the main cpp file for the standalone executable that is used to create the built-in functions) to standalone_scaffolding.cpp, so that they can be re-used in other standalone executables: - initialize_context()* - _mesa_new_shader() - _mesa_reference_shader() *initialize_context contained some code that was specific to main.cpp, so it was split into two functions: initialize_context() (which remains in main.cpp), and initialize_context_from_defaults() (which is in standalone_scaffolding.cpp).
Diffstat (limited to 'src/glsl/Makefile')
-rw-r--r--src/glsl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/Makefile b/src/glsl/Makefile
index d1422c2a4d6..edfb35eb0b8 100644
--- a/src/glsl/Makefile
+++ b/src/glsl/Makefile
@@ -95,7 +95,8 @@ GLSL2_C_SOURCES = \
../mesa/program/hash_table.c \
../mesa/program/symbol_table.c
GLSL2_CXX_SOURCES = \
- main.cpp
+ main.cpp \
+ standalone_scaffolding.cpp
GLSL2_OBJECTS = \
$(GLSL2_C_SOURCES:.c=.o) \