summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-swrast/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-31 12:17:27 +0800
committerChia-I Wu <[email protected]>2010-05-31 13:27:46 +0800
commitec0bab3a51026d129fb60b5e6b435c6430e79b5b (patch)
tree23375e9675e0ed57c0ba19e57956dc1a8a3a8bef /src/gallium/targets/egl-swrast/SConscript
parenta8e195ec24dc244d975cbd3526debc2c22e717be (diff)
targets/egl: Add SConscript for egl_gdi_swrast.
egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL driver for Windows.
Diffstat (limited to 'src/gallium/targets/egl-swrast/SConscript')
-rw-r--r--src/gallium/targets/egl-swrast/SConscript30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-swrast/SConscript b/src/gallium/targets/egl-swrast/SConscript
new file mode 100644
index 00000000000..213e5b3e6ce
--- /dev/null
+++ b/src/gallium/targets/egl-swrast/SConscript
@@ -0,0 +1,30 @@
+#######################################################################
+# SConscript for egl-swrast target
+
+Import('*')
+
+if env['platform'] == 'windows':
+
+ env = env.Clone()
+
+ env.Append(LIBS = [
+ 'gdi32',
+ 'user32',
+ 'kernel32',
+ 'ws2_32',
+ ])
+
+ drivers = [softpipe]
+ if env['llvm']:
+ drivers += [llvmpipe]
+ drivers += [identity, trace, rbug]
+
+ env['no_import_lib'] = 1
+
+ egl_gdi_swrast = env.SharedLibrary(
+ target ='egl_gdi_swrast',
+ source = 'swrast_glue.c',
+ LIBS = st_egl_gdi + ws_gdi + drivers + gallium + egl + env['LIBS'],
+ )
+
+ env.InstallSharedLibrary(egl_gdi_swrast)