diff options
Diffstat (limited to 'src/gallium/winsys/gdi/SConscript')
-rw-r--r-- | src/gallium/winsys/gdi/SConscript | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/gallium/winsys/gdi/SConscript b/src/gallium/winsys/gdi/SConscript new file mode 100644 index 0000000000..b463fa6505 --- /dev/null +++ b/src/gallium/winsys/gdi/SConscript @@ -0,0 +1,35 @@ +####################################################################### +# SConscript for gdi winsys + +Import('*') + +if env['platform'] == 'windows': + + env = env.Clone() + + env.Append(CPPPATH = [ + '#src/mesa/state_tracker/wgl', + ]) + + env.Append(CPPDEFINES = [ + ]) + + sources = [ + '#src/mesa/state_tracker/wgl/opengl32.def', + 'gdi_softpipe_winsys.c', + ] + + drivers = [ + softpipe, + ] + + env.Append(LIBS = [ + 'gdi32', + 'user32' + ]) + + env.SharedLibrary( + target ='opengl32', + source = sources, + LIBS = wgl + glapi + mesa + drivers + auxiliaries + env['LIBS'], + ) |