glsl2: Add and use new variable mode ir_var_temporary
[mesa/nouveau-pmpeg.git] / src / gallium / state_trackers / dri / sw / SConscript
blob0c5194d6edceb0fae623c5c90e029e2c5d5fead3
1 #######################################################################
2 # SConscript for dri state_tracker
4 Import('*')
6 if env['dri']:
8     env = env.Clone()
10     env.Append(CPPPATH = [
11         '#/src/mapi',
12         '#/src/mesa',
13         '#/src/gallium/state_trackers/dri/common',
14         '#/src/mesa/drivers/dri/common',
15     ])
17     env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
19     st_drisw = env.ConvenienceLibrary(
20         target = 'st_drisw',
21         source = [ 'dri_context.c',
22                 'dri_drawable.c',
23                 'dri_screen.c',
24                 'dri1_helper.c',
25                 'drisw.c',
26                 ]
27     )
28     Export('st_drisw')