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