Files
third_party_mesa3d/src/gallium/state_trackers/python/SConscript

35 lines
727 B
Python
Raw Normal View History

import sys
import os.path
Import('*')
if 'python' in env['statetrackers']:
env = env.Clone()
env.Tool('python')
env.Tool('swig')
env.Append(SWIGPATH = ['#src/gallium/include', '#src/gallium/include/pipe'])
env.Append(SWIGFLAGS = ['-python', '-keyword'])
env.Append(CPPPATH = '.')
2008-07-15 08:42:16 +09:00
pyst = env.ConvenienceLibrary(
target = 'pyst',
source = [
'gallium.i',
'st_device.c',
'st_sample.c',
'st_softpipe_winsys.c',
],
2008-07-15 08:42:16 +09:00
)
env.SharedLibrary(
target = '_gallium',
source = [
'st_hardpipe_winsys.c',
],
LIBS = [pyst, softpipe, trace] + auxiliaries + env['LIBS'],
)