gallium: Add software drm api helper to scons build
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 10 May 2010 16:03:13 +0000 (17:03 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 10 May 2010 16:06:02 +0000 (17:06 +0100)
src/gallium/winsys/SConscript
src/gallium/winsys/sw/drm/SConscript [new file with mode: 0644]

index db7356dee974fe95f5143acb0eafaa7300b32712..330b1ab834ceaf113e48715c918fda170fd0247f 100644 (file)
@@ -17,6 +17,7 @@ if 'gdi' in env['winsys']:
 
 if env['dri']:
        SConscript([
+               'sw/drm/SConscript',
                'sw/dri/SConscript',
        ])
 
diff --git a/src/gallium/winsys/sw/drm/SConscript b/src/gallium/winsys/sw/drm/SConscript
new file mode 100644 (file)
index 0000000..15a2e05
--- /dev/null
@@ -0,0 +1,21 @@
+#######################################################################
+# SConscript for xlib winsys
+
+
+Import('*')
+
+env = env.Clone()
+
+env.Append(CPPPATH = [
+    '#/src/gallium/include',
+    '#/src/gallium/auxiliary',
+    '#/src/gallium/drivers',
+])
+
+ws_drm = env.ConvenienceLibrary(
+    target = 'ws_drm',
+    source = [
+       'sw_drm_api.c',
+    ]
+)
+Export('ws_drm')