From 2d56d0839e6db0861131893d67fe23734800085a Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 6 Apr 2009 15:51:27 +0100 Subject: r300-gallium: Skeleton for integrating into the python statetracker. --- src/gallium/winsys/drm/radeon/python/SConscript | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/gallium/winsys/drm/radeon/python/SConscript (limited to 'src/gallium/winsys/drm/radeon/python/SConscript') 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'], + ) -- cgit v1.2.3