summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/glx/xlib/SConscript
blob: 9df351a276940a53117f381b8adfd5c5705568bb (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
#######################################################################
# SConscript for xlib state_tracker

Import('*')

if env['platform'] == 'linux' \
        and 'mesa' in env['statetrackers']:

    env = env.Clone()

    env.Append(CPPPATH = [
        '#/src/mapi',
        '#/src/mesa',
        '#/src/mesa/main',
    ])

    st_xlib = env.ConvenienceLibrary(
	target = 'st_xlib',
	source = [
		'glx_api.c',
		'glx_getproc.c',
		'glx_usefont.c',
		'xm_api.c',
		'xm_st.c',
		]
    )
    Export('st_xlib')