diff options
author | Corbin Simpson <[email protected]> | 2009-01-09 21:28:23 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:30:21 -0800 |
commit | e9b08e7373c00306bce398ea8d34f42e54f98c6d (patch) | |
tree | 31b660dca98851456cd2d98870feecb6dfdc957b /src/gallium/winsys | |
parent | adb74f5c5262d22b3c60a555431c29d36e3170f7 (diff) |
Make r300 and amd build in scons.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/drm/amd/SConscript | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/amd/SConscript b/src/gallium/winsys/drm/amd/SConscript new file mode 100644 index 00000000000..a4856da23cc --- /dev/null +++ b/src/gallium/winsys/drm/amd/SConscript @@ -0,0 +1,29 @@ +Import('*') + +if 'mesa' in env['statetrackers']: + + env = drienv.Clone() + + DRIVER_SOURCES = [ + 'amd_buffer.c', + 'amd_context.c', + 'amd_screen.c', + 'amd_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 ='amd_dri.so', + source = sources, + LIBS = drivers + mesa + auxiliaries + env['LIBS'], + ) + |