glsl2: Add and use new variable mode ir_var_temporary
[mesa/nouveau-pmpeg.git] / src / gallium / state_trackers / dri / drm / SConscript
blob0c279d223663b0400f7e38da9e90a7fbdceaf6d2
1 #######################################################################
2 # SConscript for dri state_tracker
4 Import('*')
6 if env['dri']:
8     env = env.Clone()
10     env.ParseConfig('pkg-config --cflags --libs libdrm')
12     env.Append(CPPPATH = [
13         '#/src/mapi',
14         '#/src/mesa',
15         '#/src/gallium/state_trackers/dri/common',
16         '#/src/mesa/drivers/dri/common',
17     ])
19     st_dri = env.ConvenienceLibrary(
20         target = 'st_dri',
21         source = [ 'dri_context.c',
22                 'dri_drawable.c',
23                 'dri_screen.c',
24                 'dri1_helper.c',
25                 'dri2.c',
26                 ]
27     )
28     Export('st_dri')