diff options
author | José Fonseca <[email protected]> | 2008-06-03 00:03:17 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-06-03 00:05:54 +0900 |
commit | 7c22bb383a8fcccf71d7916ce91ae6cb17ac1e3c (patch) | |
tree | 800b1bb93d097c93ec90bd591cd8aaf1ffe57323 /src/gallium/winsys/gdi/SConscript | |
parent | 6a39bcf3752df7c22cdd38b4645a885eb318add8 (diff) |
gdi: Port of the gdi mesa driver to gallium (Alan Hourihane).
Diffstat (limited to 'src/gallium/winsys/gdi/SConscript')
-rw-r--r-- | src/gallium/winsys/gdi/SConscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gallium/winsys/gdi/SConscript b/src/gallium/winsys/gdi/SConscript new file mode 100644 index 00000000000..170fdf51270 --- /dev/null +++ b/src/gallium/winsys/gdi/SConscript @@ -0,0 +1,33 @@ +####################################################################### +# SConscript for gdi winsys + +Import('*') + +if env['platform'] == 'windows': + + env = env.Clone() + + env.Append(CPPPATH = [ + '#src/mesa/glapi', + '#src/mesa', + '#src/mesa/main', + ]) + + sources = [ + 'opengl32.def', + 'wgl.c', + 'wmesa.c', + ] + + drivers = [ + softpipe, + ] + + env.Append(LIBS = ['gdi32', 'user32']) + + # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions + env.SharedLibrary( + target ='opengl32', + source = sources, + LIBS = glapi + mesa + drivers + auxiliaries + env['LIBS'], + ) |