1 #######################################################################
2 # SConscript for gdi winsys
10 '#src/gallium/frontends/wgl',
11 '#src/gallium/winsys/sw',
28 sources = ['libgl_gdi.c']
35 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
38 if env['gcc'] and env['machine'] != 'x86_64':
39 # DEF parser in certain versions of MinGW is busted, as does not behave as
40 # MSVC. mingw-w64 works fine.
41 sources += ['#src/gallium/frontends/wgl/opengl32.mingw.def']
43 sources += ['#src/gallium/frontends/wgl/opengl32.def']
45 env['no_import_lib'] = 1
47 opengl32 = env.SharedLibrary(
50 LIBS = wgl + ws_gdi + glapi + compiler + mesa + drivers + gallium + glsl + nir + env['LIBS'],
53 env.Alias('opengl32', opengl32)
54 env.Alias('libgl-gdi', opengl32)