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