summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/SConscript
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-04-30 09:39:29 +0200
committerMichel Dänzer <[email protected]>2009-04-30 09:39:29 +0200
commitba27fe3710af4933a16278a3e97162bef1737b56 (patch)
tree24e037b33b98796f1f74abef0334e92a14f2b431 /src/gallium/state_trackers/dri/SConscript
parentcc68cd20d9fbb87486eb69a50fa14a3d6b9c6798 (diff)
gallium: Add SCons build support for the DRI state tracker.
Diffstat (limited to 'src/gallium/state_trackers/dri/SConscript')
-rw-r--r--src/gallium/state_trackers/dri/SConscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/SConscript b/src/gallium/state_trackers/dri/SConscript
new file mode 100644
index 00000000000..ce2c2735974
--- /dev/null
+++ b/src/gallium/state_trackers/dri/SConscript
@@ -0,0 +1,23 @@
+#######################################################################
+# SConscript for dri state_tracker
+
+Import('*')
+
+if env['dri']:
+
+ env = env.Clone()
+
+ env.Append(CPPPATH = [
+ '#/src/mesa',
+ '#/src/mesa/drivers/dri/common',
+ ])
+
+ st_dri = env.ConvenienceLibrary(
+ target = 'st_dri',
+ source = [ 'dri_context.c',
+ 'dri_drawable.c',
+ 'dri_extensions.c',
+ 'dri_screen.c',
+ ]
+ )
+ Export('st_dri')