summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/haiku-softpipe/SConscript
blob: 72a5ba796270c94d8312c9ba3790cd060fc26163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Import('*')

if True:
    env.Append(CPPDEFINES = [
        'GALLIUM_SOFTPIPE',
        'GALLIUM_RBUG',
        'GALLIUM_TRACE',
    ])

if env['llvm']:
    env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')

softpipe_sources = [
    'haiku-softpipe.c'
]

module = env.StaticLibrary(
    target ='swpipe_haiku.a',
    source = softpipe_sources,
    SHLIBPREFIX = '',
)