summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/sw/SConscript
blob: 5a71b2246f04796a51db3771ced251c96467d786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#######################################################################
# SConscript for dri state_tracker

Import('*')

env = env.Clone()

env.Append(CPPPATH = [
    '#/src/mapi',
    '#/src/mesa',
    '#/src/gallium/state_trackers/dri/common',
    '#/src/mesa/drivers/dri/common',
    xmlpool_options.dir.dir, # Dir to generated xmlpool/options.h
])

env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
env.Append(CPPDEFINES = [('SPLIT_TARGETS', '1')])

st_drisw = env.ConvenienceLibrary(
    target = 'st_drisw',
    source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
)
Export('st_drisw')