python: Allow hardware support.

This commit is contained in:
José Fonseca
2008-07-15 08:42:16 +09:00
parent 2c4349aa3a
commit 1d03102b31
8 changed files with 96 additions and 13 deletions
+10 -3
View File
@@ -15,12 +15,19 @@ if 'python' in env['statetrackers']:
env.Append(CPPPATH = '.')
env.SharedLibrary(
target = '_gallium',
pyst = env.ConvenienceLibrary(
target = 'pyst',
source = [
'gallium.i',
'st_device.c',
'st_softpipe_winsys.c',
],
LIBS = softpipe + auxiliaries + env['LIBS'],
)
env.SharedLibrary(
target = '_gallium',
source = [
'st_hardpipe_winsys.c',
],
LIBS = [pyst, softpipe] + auxiliaries + env['LIBS'],
)