1Import('*') 2 3env = env.Clone() 4 5env.PkgUseModules('DRM_RADEON') 6 7env.Append(CPPPATH = [ 8 '#/include', 9 '#/src/mesa', 10 '#/src/glsl', 11 '#/src/mapi', 12]) 13 14r300 = 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 21env.Alias('r300', r300) 22 23Export('r300') 24 25