SConscript 666 Bytes
Newer Older
Jerome Glisse's avatar
Jerome Glisse committed
1
2
3
Import('*')

env = env.Clone()
4
5
6

env.ParseConfig('pkg-config --cflags libdrm_radeon')

Jerome Glisse's avatar
Jerome Glisse committed
7
8
9
10
11
12
13
14
15
16
17
env.Append(CPPPATH = [
    '#/include', 
    '#/src/mesa',
])

r600 = env.ConvenienceLibrary(
    target = 'r600',
    source = [
        'r600_buffer.c',
        'r600_context.c',
        'r600_draw.c',
18
19
        'r600_blit.c',
        'r600_helper.c',
Jerome Glisse's avatar
Jerome Glisse committed
20
        'r600_query.c',
21
        'r600_resource.c',
Jerome Glisse's avatar
Jerome Glisse committed
22
23
24
        'r600_screen.c',
        'r600_state.c',
        'r600_texture.c',
25
26
27
28
29
30
        'r600_shader.c',
        'r600_compiler.c',
        'r600_compiler_tgsi.c',
        'r600_compiler_dump.c',
        'r600_compiler_r600.c',
        'r600_compiler_r700.c'
Jerome Glisse's avatar
Jerome Glisse committed
31
32
33
    ])

Export('r600')