radeonsi: merge si_compile_llvm and si_llvm_compile functions
[mesa.git] / src / gallium / SConscript
1 Import('env')
2
3 #
4 # Auxiliary modules
5 #
6
7 SConscript('auxiliary/SConscript')
8 SConscript('auxiliary/pipe-loader/SConscript')
9
10 #
11 # Drivers
12 #
13
14 # These are common and work across all platforms
15 SConscript([
16 'drivers/llvmpipe/SConscript',
17 'drivers/softpipe/SConscript',
18 'drivers/svga/SConscript',
19 'drivers/swr/SConscript',
20 ])
21
22 #
23 # Winsys
24 #
25
26 SConscript([
27 'winsys/sw/null/SConscript',
28 'winsys/sw/wrapper/SConscript',
29 ])
30
31 if env['x11']:
32 SConscript([
33 'winsys/sw/xlib/SConscript',
34 ])
35
36 if env['platform'] == 'windows':
37 SConscript([
38 'winsys/sw/gdi/SConscript',
39 ])
40
41 if env['platform'] == 'haiku':
42 SConscript([
43 'winsys/sw/hgl/SConscript',
44 ])
45
46 if env['dri']:
47 SConscript([
48 'winsys/sw/dri/SConscript',
49 'winsys/svga/drm/SConscript',
50 ])
51
52
53 #
54 # State trackers and targets
55 #
56
57 SConscript([
58 'targets/graw-null/SConscript',
59 ])
60
61 if not env['embedded']:
62 SConscript([
63 'state_trackers/osmesa/SConscript',
64 'targets/osmesa/SConscript',
65 ])
66
67 if env['x11']:
68 SConscript([
69 'state_trackers/glx/xlib/SConscript',
70 'targets/graw-xlib/SConscript',
71 'targets/libgl-xlib/SConscript',
72 ])
73
74 if env['platform'] == 'windows':
75 SConscript([
76 'state_trackers/wgl/SConscript',
77 'targets/graw-gdi/SConscript',
78 'targets/libgl-gdi/SConscript',
79 ])
80
81 if env['platform'] == 'haiku':
82 SConscript([
83 'state_trackers/hgl/SConscript',
84 'targets/haiku-softpipe/SConscript',
85 ])
86
87 if env['dri']:
88 SConscript([
89 'state_trackers/dri/SConscript',
90 'targets/dri/SConscript',
91 ])
92
93
94 #
95 # Unit tests & tools
96 #
97
98 if not env['embedded']:
99 SConscript('tests/unit/SConscript')
100 SConscript('tests/graw/SConscript')