summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/sw/SConscript
blob: 0614b8f521f960cbd4627e5cc4a7875e10e0d617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#######################################################################
# SConscript for dri state_tracker

Import('*')

if env['dri']:

    env = env.Clone()

    env.Append(CPPPATH = [
        '#/src/mesa',
	'#/src/gallium/state_trackers/dri/common',
	'#/src/mesa/drivers/dri/common',
    ])

    env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])

    st_drisw = env.ConvenienceLibrary(
	target = 'st_drisw',
	source = [ 'dri_context.c',
		'dri_drawable.c',
		'dri_extensions.c',
		'dri_screen.c',
		'dri_st_api.c',
		'dri1_helper.c',
		'drisw.c',
		]
    )
    Export('st_drisw')