1 #######################################################################
2 # SConscript for gdi winsys
6 if env['platform'] == 'windows':
10 env.Append(CPPPATH = [
11 '#src/gallium/state_trackers/wgl',
12 '#src/gallium/winsys/sw',
25 if 'softpipe' in env['drivers']:
26 sources = ['gdi_softpipe_winsys.c']
29 if 'llvmpipe' in env['drivers']:
30 sources = ['gdi_llvmpipe_winsys.c']
33 if not sources or not drivers:
34 print 'warning: softpipe or llvmpipe not selected, gdi winsys disabled'
38 sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def']
40 sources += ['#src/gallium/state_trackers/wgl/opengl32.def']
44 env['no_import_lib'] = 1
49 LIBS = wgl + ws_gdi + glapi + mesa + drivers + gallium + glsl + env['LIBS'],