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