Merge commit 'origin/master' into gallium-0.2
[mesa.git] / src / gallium / winsys / gdi / SConscript
1 #######################################################################
2 # SConscript for gdi winsys
3
4 Import('*')
5
6 if env['platform'] == 'windows':
7
8 env = env.Clone()
9
10 env.Append(CPPPATH = [
11 '#src/mesa/glapi',
12 '#src/mesa',
13 '#src/mesa/main',
14 ])
15
16 sources = [
17 'opengl32.def',
18 'wgl.c',
19 'wmesa.c',
20 ]
21
22 drivers = [
23 softpipe,
24 ]
25
26 env.Append(LIBS = ['gdi32', 'user32'])
27
28 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
29 env.SharedLibrary(
30 target ='opengl32',
31 source = sources,
32 LIBS = glapi + mesa + drivers + auxiliaries + env['LIBS'],
33 )