1 ####################################################################### 2 # SConscript for dri state_tracker 3 4 Import('*') 5 6 env = env.Clone() 7 8 env.Append(CPPPATH = [ 9 '#/src/mapi', 10 '#/src/mesa', 11 '#/src/gallium/state_trackers/dri/common', 12 '#/src/mesa/drivers/dri/common', 13 ]) 14 15 env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')]) 16 17 sources = [ 18 'dri_context.c', 19 'dri_drawable.c', 20 'dri_screen.c', 21 'drisw.c', 22 ] 23 24 st_drisw = env.ConvenienceLibrary( 25 target = 'st_drisw', 26 source = sources, 27 ) 28 Export('st_drisw') 29