Files
mesa/src/gallium/winsys/drm/radeon/SConscript
T
2009-02-06 13:28:15 -08:00

30 lines
487 B
Python

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'],
)