Mesa (master): nvfx: Add to SCons build.

Vinson Lee vlee at kemper.freedesktop.org
Sat Apr 24 23:23:13 UTC 2010


Module: Mesa
Branch: master
Commit: bd93670bfdc1690ec9846ebe78156f1c3ef357d3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd93670bfdc1690ec9846ebe78156f1c3ef357d3

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Apr 24 16:22:47 2010 -0700

nvfx: Add to SCons build.

---

 SConstruct                          |    2 +-
 src/gallium/drivers/nvfx/SConscript |   36 +++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/SConstruct b/SConstruct
index 2badd76..de3f6ea 100644
--- a/SConstruct
+++ b/SConstruct
@@ -50,7 +50,7 @@ common.AddOptions(opts)
 opts.Add(ListVariable('statetrackers', 'state trackers to build', default_statetrackers,
                      ['mesa', 'python', 'xorg']))
 opts.Add(ListVariable('drivers', 'pipe drivers to build', default_drivers,
-                     ['softpipe', 'failover', 'svga', 'i915', 'i965', 'trace', 'r300', 'identity', 'llvmpipe', 'nouveau', 'nv50']))
+                     ['softpipe', 'failover', 'svga', 'i915', 'i965', 'trace', 'r300', 'identity', 'llvmpipe', 'nouveau', 'nv50', 'nvfx']))
 opts.Add(ListVariable('winsys', 'winsys drivers to build', default_winsys,
                      ['xlib', 'vmware', 'i915', 'i965', 'gdi', 'radeon', 'graw-xlib']))
 
diff --git a/src/gallium/drivers/nvfx/SConscript b/src/gallium/drivers/nvfx/SConscript
new file mode 100644
index 0000000..fac32da
--- /dev/null
+++ b/src/gallium/drivers/nvfx/SConscript
@@ -0,0 +1,36 @@
+Import('*')
+
+env = env.Clone()
+
+nvfx = env.ConvenienceLibrary(
+    target = 'nvfx',
+    source = [
+        'nv04_surface_2d.c',
+        'nvfx_buffer.c',
+        'nvfx_context.c',
+        'nvfx_clear.c',
+        'nvfx_draw.c',
+        'nvfx_fragprog.c',
+        'nvfx_fragtex.c',
+        'nv30_fragtex.c',
+        'nv40_fragtex.c',
+        'nvfx_miptree.c',
+        'nvfx_query.c',
+        'nvfx_resource.c',
+        'nvfx_screen.c',
+        'nvfx_state.c',
+        'nvfx_state_blend.c',
+        'nvfx_state_emit.c',
+        'nvfx_state_fb.c',
+        'nvfx_state_rasterizer.c',
+        'nvfx_state_scissor.c',
+        'nvfx_state_stipple.c',
+        'nvfx_state_viewport.c',
+        'nvfx_state_zsa.c',
+        'nvfx_surface.c',
+        'nvfx_transfer.c',
+        'nvfx_vbo.c',
+        'nvfx_vertprog.c',
+    ])
+
+Export('nvfx')




More information about the mesa-commit mailing list