Home | History | Annotate | Download | only in dri
      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',
     12     '#/src/mapi',
     13     '#/src/mesa',
     14     '#/src/mesa/drivers/dri/common',
     15     xmlpool_options.dir.dir, # Dir to generated xmlpool/options.h
     16 ])
     17 
     18 sources = env.ParseSourceList('Makefile.sources', 'common_SOURCES')
     19 
     20 # XXX: if HAVE_DRISW
     21 sources.append(env.ParseSourceList('Makefile.sources', 'drisw_SOURCES'))
     22 
     23 # XXX: if HAVE_DRI2
     24 sources.append(env.ParseSourceList('Makefile.sources', 'dri2_SOURCES'))
     25 
     26 st_dri = env.ConvenienceLibrary(
     27     target = 'st_dri',
     28     source = sources
     29 )
     30 Export('st_dri')
     31