summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/r600/drm/SConscript
blob: 88ee90862b89f207f84ce62e1f88284f2e2a7ecb (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
Import('*')

env = env.Clone()

r600_sources = [
    'bof.c',
    'evergreen_hw_context.c',
    'radeon_bo.c',
    'radeon_bo_pb.c',
    'radeon_pciid.c',
    'radeon_ws_bo.c',
    'r600.c',
    'r600_drm.c',
    'r600_hw_context.c',
]

env.ParseConfig('pkg-config --cflags libdrm_radeon')
env.Append(CPPPATH = '#/src/gallium/drivers/r600')

r600winsys = env.ConvenienceLibrary(
    target ='r600winsys',
    source = r600_sources,
)

Export('r600winsys')