aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-i915/SConscript
blob: b3bd3dd58268654238abbd2816774888c42c3a13 (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
Import('*')

env = drienv.Clone()

env.PkgUseModules('DRM_INTEL')

env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD'])

env.Prepend(LIBS = [
    ws_wrapper,
    st_dri,
    i915drm,
    i915,
    galahad,
    trace,
    rbug,
    mesa,
    glsl,
    gallium,
    COMMON_DRI_DRM_OBJECTS
])

module = env.LoadableModule(
    target = 'i915_dri.so',
    source = 'target.c',
    SHLIBPREFIX = '',
)

env.Alias('dri-i915', module)