summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-i915/SConscript
blob: ab60013830e2de5e3a16aac5fddaf7ce306390e3 (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.ParseConfig('pkg-config --cflags --libs libdrm_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)