1####################################################################### 2# SConscript for dri state_tracker 3 4Import('*') 5 6env = env.Clone() 7 8env.PkgUseModules(['DRM']) 9 10env.Append(CPPPATH = [ 11 '#/src', 12 '#/src/mapi', 13 '#/src/mesa', 14 '#/src/mesa/drivers/dri/common', 15]) 16 17sources = env.ParseSourceList('Makefile.sources', 'common_SOURCES') 18 19# XXX: if HAVE_DRISW 20sources.append(env.ParseSourceList('Makefile.sources', 'drisw_SOURCES')) 21 22# XXX: if HAVE_DRI2 23sources.append(env.ParseSourceList('Makefile.sources', 'dri2_SOURCES')) 24 25st_dri = env.ConvenienceLibrary( 26 target = 'st_dri', 27 source = sources 28) 29Export('st_dri') 30