1 #######################################################################
2 # SConscript for gdi winsys
9 '#src/gallium/state_trackers/wgl',
10 '#src/gallium/winsys/sw',
21 sources = ['libgl_gdi.c']
28 env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')
32 sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def']
34 sources += ['#src/gallium/state_trackers/wgl/opengl32.def']
36 drivers += [trace, rbug]
38 env['no_import_lib'] = 1
40 # when GLES is enabled, gl* and _glapi_* belong to bridge_glapi and
41 # shared_glapi respectively
43 env.Prepend(LIBPATH = [shared_glapi.dir])
44 glapi = [bridge_glapi, 'libglapi']
46 opengl32 = env.SharedLibrary(
49 LIBS = wgl + ws_gdi + glapi + mesa + drivers + gallium + glsl + env['LIBS'],
52 env.Alias('opengl32', opengl32)
53 env.Alias('libgl-gdi', opengl32)