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