glsl: Autogenerate builtin_functions.cpp as part of the build process.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Jan 2011 22:30:14 +0000 (14:30 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Jan 2011 03:03:27 +0000 (19:03 -0800)
commit33d0c44910860e0522bd56a0f8637a69e0c4a456
tree0961477d494bde7c861890c52dbf3add238a8032
parent469ea695bbbc984ebec26b2413ab70d450a283ca
glsl: Autogenerate builtin_functions.cpp as part of the build process.

Python is already necessary for other parts of Mesa, so there's no
reason we can't just generate it.  This patch updates both make and
SCons to do so.
src/glsl/.gitignore
src/glsl/Makefile
src/glsl/SConscript
src/glsl/builtin_function.cpp [deleted file]
src/glsl/builtin_stubs.cpp [new file with mode: 0644]
src/glsl/builtins/tools/builtin_function.cpp [deleted file]
src/glsl/builtins/tools/generate_builtins.py