summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-swrast/SConscript
blob: 213e5b3e6cea8d370bf6a5085e1ee00146b55cec (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
#######################################################################
# SConscript for egl-swrast target

Import('*')

if env['platform'] == 'windows':

    env = env.Clone()

    env.Append(LIBS = [
        'gdi32',
        'user32',
        'kernel32',
        'ws2_32',
    ])

    drivers = [softpipe]
    if env['llvm']:
        drivers += [llvmpipe]
    drivers += [identity, trace, rbug]

    env['no_import_lib'] = 1

    egl_gdi_swrast = env.SharedLibrary(
        target ='egl_gdi_swrast',
	source = 'swrast_glue.c',
        LIBS = st_egl_gdi + ws_gdi + drivers + gallium + egl + env['LIBS'],
    )

    env.InstallSharedLibrary(egl_gdi_swrast)