1 Import('*') 2 3 env = env.Clone() 4 5 env.PkgUseModules('DRM_RADEON') 6 7 env.Append(CPPPATH = [ 8 '#/include', 9 '#/src/mesa', 10 '#/src/glsl', 11 '#/src/mapi', 12 ]) 13 14 r300 = env.ConvenienceLibrary( 15 target = 'r300', 16 source = env.ParseSourceList('Makefile.sources', 'C_SOURCES') + [ 17 '#/src/glsl/ralloc.c', 18 '#/src/mesa/program/register_allocate.c' 19 ]) 20 21 env.Alias('r300', r300) 22 23 Export('r300') 24 25