1 Import('*') 2 3 env = drienv.Clone() 4 5 env.PkgUseModules('DRM') 6 env.PkgUseModules('DRM_RADEON') 7 8 env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE']) 9 10 env.Prepend(LIBS = [ 11 st_dri, 12 radeonwinsys, 13 r600, 14 trace, 15 rbug, 16 mesa, 17 glsl, 18 gallium, 19 COMMON_DRI_DRM_OBJECTS 20 ]) 21 22 module = env.SharedLibrary( 23 target ='r600_dri.so', 24 source = 'target.c', 25 SHLIBPREFIX = '', 26 ) 27 28 env.Alias('dri-r600', module) 29