SConscript revision 486ccb55a89f229ffbd181f79f9372cf0b4cbdb6
1Import('*')
2
3r300compiler = SConscript('#/src/mesa/drivers/dri/r300/compiler/SConscript')
4
5env = env.Clone()
6# add the paths for r300compiler
7env.Append(CPPPATH = [
8    '#/src/mesa/drivers/dri/r300/compiler', 
9    '#/src/gallium/winsys/drm/radeon/core',
10    '#/include', 
11    '#/src/mesa',
12])
13
14r300 = env.ConvenienceLibrary(
15    target = 'r300',
16    source = [
17        'r300_blit.c',
18        'r300_chipset.c',
19        'r300_context.c',
20        'r300_debug.c',
21        'r300_emit.c',
22        'r300_flush.c',
23        'r300_fs.c',
24        'r300_query.c',
25        'r300_render.c',
26        'r300_screen.c',
27        'r300_state.c',
28        'r300_state_derived.c',
29        'r300_state_invariant.c',
30        'r300_vs.c',
31        'r300_texture.c',
32        'r300_tgsi_to_rc.c',
33    ] + r300compiler) + r300compiler
34
35Export('r300')
36
37