summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/drm/SConscript
blob: 90082ffb6ae9cc7a86ac8986e3061606432f1784 (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
#######################################################################
# SConscript for dri state_tracker

Import('*')

env = env.Clone()

env.ParseConfig('pkg-config --cflags --libs libdrm')

env.Append(CPPPATH = [
    '#/src/mapi',
    '#/src/mesa',
    '#/src/gallium/state_trackers/dri/common',
    '#/src/mesa/drivers/dri/common',
])

st_dri = env.ConvenienceLibrary(
    target = 'st_dri',
    source = [ 'dri_context.c',
               'dri_drawable.c',
               'dri_screen.c',
               'dri2.c',
        ]
    )

Export('st_dri')