scons: add code to generate the various GL API files

This fixes recent build breakage when we began building the generated
API files from xml as part of the normal build process.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=50475
This commit is contained in:
Brian Paul
2012-05-30 10:08:11 -06:00
parent 185ed21058
commit dff36e900c
7 changed files with 137 additions and 2 deletions

View File

@@ -35,6 +35,9 @@ sources = [
'xlib.c',
]
# The sources depend on the python-generated GL API files/headers.
env.Depends(sources, glapi_headers)
if True:
env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_RBUG', 'GALLIUM_GALAHAD', 'GALLIUM_SOFTPIPE'])
env.Prepend(LIBS = [trace, rbug, galahad, softpipe])