diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-02-06 13:28:15 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-02-06 13:28:15 -0800 |
commit | 80026428e3aa8f71ccd42d8d3b5e0a15c150dda2 (patch) | |
tree | 206d565e1110066a60f839f3d196c3c53ac126c7 /src/gallium/winsys/drm/radeon/SConscript | |
parent | 0bf152e0be48d8dc557c3ecdb02ef4d0b092fed5 (diff) |
Rename winsys amd to radeon.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/SConscript')
-rw-r--r-- | src/gallium/winsys/drm/radeon/SConscript | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/SConscript b/src/gallium/winsys/drm/radeon/SConscript new file mode 100644 index 0000000000..2435211a32 --- /dev/null +++ b/src/gallium/winsys/drm/radeon/SConscript @@ -0,0 +1,29 @@ +Import('*') + +if 'mesa' in env['statetrackers']: + + env = drienv.Clone() + + DRIVER_SOURCES = [ + 'radeon_buffer.c', + 'radeon_context.c', + 'radeon_screen.c', + 'radeon_winsys_softpipe.c', + ] + + sources = \ + COMMON_GALLIUM_SOURCES + \ + DRIVER_SOURCES + + drivers = [ + softpipe, + r300 + ] + + # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions + env.SharedLibrary( + target ='radeon_dri.so', + source = sources, + LIBS = drivers + mesa + auxiliaries + env['LIBS'], + ) + |