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
30
31
32
33
34
35
36
|
Import('*')
env = env.Clone()
try:
env.ParseConfig('pkg-config --cflags libdrm_radeon')
except OSError:
print 'warning: not building r600'
Return()
env.Append(CPPPATH = [
'#/include',
'#/src/mesa',
])
r600 = env.ConvenienceLibrary(
target = 'r600',
source = [
'r600_asm.c',
'r600_buffer.c',
'r600_blit.c',
'r600_helper.c',
'r600_pipe.c',
'r600_query.c',
'r600_resource.c',
'r600_shader.c',
'r600_state.c',
'r600_state_common.c',
'r600_texture.c',
'r600_translate.c',
'r700_asm.c',
'evergreen_state.c',
'eg_asm.c',
])
Export('r600')
|