projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
scons: Aggregate all tiny libraries in a single library.
[mesa.git]
/
src
/
gallium
/
winsys
/
drm
/
radeon
/
python
/
SConscript
1
import os.path
2
3
Import('*')
4
5
if env['platform'] == 'linux':
6
7
env = env.Clone()
8
9
env.Tool('python')
10
11
env.ParseConfig('pkg-config --cflags --libs libdrm')
12
13
env.Prepend(CPPPATH = [
14
'#src/gallium/state_trackers/python',
15
'../core',
16
])
17
18
drivers = [
19
softpipe,
20
radeon,
21
trace,
22
]
23
24
sources = [
25
'radeon_hardpipe_winsys.c',
26
'xf86dri.c',
27
]
28
29
env.SharedLibrary(
30
target ='_gallium',
31
source = sources,
32
LIBS = [pyst] + drivers + gallium + env['LIBS'],
33
)