aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/SConscript
blob: b49db937994fbea18934fa5a34a9572305507a7e (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
38
39
40
41
42
43
44
45
Import('*')

r300compiler = SConscript('#/src/mesa/drivers/dri/r300/compiler/SConscript')

env = env.Clone()
# add the paths for r300compiler
env.Append(CPPPATH = [
    '#/src/mesa/drivers/dri/r300/compiler', 
    '#/src/gallium/winsys/drm/radeon/core',
    '#/include', 
    '#/src/mesa',
])

r300 = env.ConvenienceLibrary(
    target = 'r300',
    source = [
        'r300_blit.c',
        'r300_chipset.c',
        'r300_context.c',
        'r300_debug.c',
        'r300_emit.c',
        'r300_flush.c',
        'r300_fs.c',
        'r300_hyperz.c',
        'r300_query.c',
        'r300_render.c',
        'r300_render_stencilref.c',
        'r300_render_translate.c',
        'r300_resource.c',
        'r300_screen.c',
        'r300_screen_buffer.c',
        'r300_state.c',
        'r300_state_derived.c',
        'r300_vs.c',
        'r300_vs_draw.c',
        'r300_texture.c',
        'r300_texture_desc.c',
        'r300_tgsi_to_rc.c',
        'r300_transfer.c',
    ] + r300compiler) + r300compiler

env.Alias('r300', r300)

Export('r300')