summaryrefslogtreecommitdiff
path: root/src/gallium/tests/graw/SConscript
blob: 565fa5279cdb575526fa536b76da919697d4dcc9 (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
Import('*')

env = env.Clone()

env.Prepend(LIBS = [gallium])

env.Prepend(LIBPATH = [graw.dir])
env.Prepend(LIBS = ['graw'])
    

if env['platform'] in ('freebsd8', 'sunos5'):
    env.Append(LIBS = ['m'])

if env['platform'] == 'freebsd8':
    env.Append(LIBS = ['pthread'])

progs = [
    'clear',
    'tri',
    'tri-instanced',
    'quad-tex',
    'fs-test',
    'vs-test',
    'gs-test',
    'shader-leak',
    'tri-gs',
    'quad-sample',
]

for name in progs:
    program = env.Program(
        target = name,
        source = name + '.c',
    )
    #env.Depends(program, graw)
    env.Alias('graw-progs', program)