summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/compiler/SConscript
blob: 46075a8aee93e4e2053d44562cbad3683f206d5c (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
27
28
29
30
31
32
33
34
35
36
37
Import('*')

env = env.Clone()
env.Append(CPPPATH = '#/include')
env.Append(CPPPATH = '#/src/mesa')

# temporary fix
env['CFLAGS'] = str(env['CFLAGS']).replace('-Werror=declaration-after-statement', '')

r300compiler = env.ConvenienceLibrary(
    target = 'r300compiler',
    source = [
        'radeon_code.c',
        'radeon_compiler.c',
        'radeon_program.c',
        'radeon_program_print.c',
        'radeon_opcodes.c',
        'radeon_program_alu.c',
        'radeon_program_pair.c',
        'radeon_pair_translate.c',
        'radeon_pair_schedule.c',
        'radeon_pair_regalloc.c',
        'radeon_dataflow.c',
        'radeon_dataflow_deadcode.c',
        'radeon_dataflow_swizzles.c',
        'r3xx_fragprog.c',
        'r300_fragprog.c',
        'r300_fragprog_swizzle.c',
        'r300_fragprog_emit.c',
        'r500_fragprog.c',
        'r500_fragprog_emit.c',
        'r3xx_vertprog.c',
        'r3xx_vertprog_dump.c',
        'memory_pool.c',
    ])

Return('r300compiler')