i965: fix bugs in projective texture coordinates
[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/gallium/state_trackers/wgl',
12 ])
13
14 env.Append(LIBS = [
15 'gdi32',
16 'user32',
17 'kernel32',
18 ])
19
20 sources = [
21 'gdi_softpipe_winsys.c',
22 ]
23
24 if env['gcc']:
25 sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def']
26 else:
27 sources += ['#src/gallium/state_trackers/wgl/opengl32.def']
28
29 drivers = [
30 trace,
31 softpipe,
32 ]
33
34 env.SharedLibrary(
35 target ='opengl32',
36 source = sources,
37 LIBS = wgl + glapi + mesa + drivers + auxiliaries + env['LIBS'],
38 )