summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/SConscript
blob: 8d34e47df0ee35a8389d01d083e9e6aada076bfa (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
30
31
32
33
34
35
36
37
#######################################################################
# SConscript for egl state_tracker

Import('*')

if env['platform'] != 'windows':
    Return()

env = env.Clone()

env.Append(CPPPATH = [
    '#/src/egl/main',
    '#/src/gallium/winsys/sw',
    '.',
])
env.Append(CPPDEFINES = [
    'HAVE_GDI_BACKEND',
])

common_sources = [
    'common/egl_g3d.c',
    'common/egl_g3d_api.c',
    'common/egl_g3d_image.c',
    'common/egl_g3d_st.c',
    'common/egl_g3d_sync.c',
    'common/native_helper.c',
]

gdi_sources = common_sources + [
    'gdi/native_gdi.c',
]

st_egl_gdi = env.ConvenienceLibrary(
    target = 'st_egl_gdi',
    source = gdi_sources,
)
Export('st_egl_gdi')