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