SConscript revision ce29e864588b0fdf36607864df45a3c237781e78
1#######################################################################
2# SConscript for egl state_tracker
3
4Import('*')
5
6if 'egl' in env['statetrackers']:
7
8    env = env.Clone()
9
10    env.Append(CPPPATH = [
11	'#/src/egl/main',
12	'#/src/gallium/winsys/sw',
13	'.',
14    ])
15    env.Append(CPPDEFINES = [
16	'HAVE_GDI_BACKEND',
17    ])
18
19    common_sources = [
20        'common/egl_g3d.c',
21        'common/egl_g3d_api.c',
22        'common/egl_g3d_image.c',
23        'common/egl_g3d_st.c',
24        'common/egl_g3d_sync.c',
25        'common/native_helper.c',
26    ]
27
28    gdi_sources = common_sources + [
29        'gdi/native_gdi.c',
30    ]
31
32    st_egl_gdi = env.ConvenienceLibrary(
33	target = 'st_egl_gdi',
34	source = gdi_sources,
35    )
36    Export('st_egl_gdi')
37