scons: Fix dependencies of enums.c and api_exec.c.

This commit is contained in:
José Fonseca
2013-07-01 12:04:59 +01:00
parent bf95ca7de0
commit fa3040c117
2 changed files with 15 additions and 18 deletions

View File

@@ -417,23 +417,6 @@ if (env['gcc'] or env['clang']) and \
env.Append(CPPPATH = [matypes[0].dir])
# The enums.c file is generated from the GL/ES API.xml file
env.CodeGenerate(
target = 'main/enums.c',
script = GLAPI + 'gen/gl_enums.py',
source = GLAPI + 'gen/gl_and_es_API.xml',
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)
# The api_exec.c file is generated from the GL/ES API.xml file
env.CodeGenerate(
target = 'main/api_exec.c',
script = GLAPI + 'gen/gl_genexec.py',
source = GLAPI + 'gen/gl_and_es_API.xml',
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)
def write_git_sha1_h_file(filename):
"""Mesa looks for a git_sha1.h file at compile time in order to display
the current git hash id in the GL_VERSION string. This function tries