Merge remote branch 'origin/master' into pipe-video
[mesa.git] / src / gallium / state_trackers / egl / SConscript
1 #######################################################################
2 # SConscript for egl state_tracker
3
4 Import('*')
5
6 env = env.Clone()
7
8 env.Append(CPPPATH = [
9 '#/src/egl/main',
10 '#/src/gallium/winsys/sw',
11 '.',
12 ])
13 env.Append(CPPDEFINES = [
14 'HAVE_GDI_BACKEND',
15 ])
16
17 common_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
26 gdi_sources = common_sources + [
27 'gdi/native_gdi.c',
28 ]
29
30 st_egl_gdi = env.ConvenienceLibrary(
31 target = 'st_egl_gdi',
32 source = gdi_sources,
33 )
34 Export('st_egl_gdi')