summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/radeon/drm/SConscript
blob: 80816621848e2afc223524b5ad366c09d4f18c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Import('*')

env = env.Clone()

radeon_sources = [
    'radeon_drm_buffer.c',
    'radeon_drm_cs.c',
    'radeon_drm_common.c',
    'radeon_r300.c',
]

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

radeonwinsys = env.ConvenienceLibrary(
    target ='radeonwinsys',
    source = radeon_sources,
)

Export('radeonwinsys')