Waf is written in Python and supports adding additional tools for building different kinds of source files, different platform targets, etc. Last year, a GCI student wrote a basic tool to build GLSL files (.glslf and .glslv) into .c files. This works for PySoy, but needs more work to become a standard tool with Waf.
The glsl.py tool needs to be refactored into Waf's code style (eg, tabs, not spaces), use Node.read_file and Node.write_file for better cross-platform support, learn about O_NOINHERIT, and write examples in a sample project folder for testing purposes.
When done, create a patch by using git-format and submit an enhancement request to the Waf bug tracker on googlecode and post the resulting URL to this task.