diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-04-06 15:51:27 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-04-06 15:51:27 +0100 |
commit | 2d56d0839e6db0861131893d67fe23734800085a (patch) | |
tree | 56b38fb87dfa50ef61e879e1a62314a8901abeba /src/gallium/winsys/drm/radeon/python/SConscript | |
parent | e798bf8053612516420a4ec42e2ff58433abd521 (diff) |
r300-gallium: Skeleton for integrating into the python statetracker.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/python/SConscript')
-rw-r--r-- | src/gallium/winsys/drm/radeon/python/SConscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/python/SConscript b/src/gallium/winsys/drm/radeon/python/SConscript new file mode 100644 index 0000000000..3200fd8d1b --- /dev/null +++ b/src/gallium/winsys/drm/radeon/python/SConscript @@ -0,0 +1,33 @@ +import os.path + +Import('*') + +if env['platform'] == 'linux': + + env = env.Clone() + + env.Tool('python') + + env.ParseConfig('pkg-config --cflags --libs libdrm') + + env.Prepend(CPPPATH = [ + '#src/gallium/state_trackers/python', + '../core', + ]) + + drivers = [ + softpipe, + radeon, + trace, + ] + + sources = [ + 'radeon_hardpipe_winsys.c', + 'xf86dri.c', + ] + + env.SharedLibrary( + target ='_gallium', + source = sources, + LIBS = [pyst] + drivers + auxiliaries + env['LIBS'], + ) |