summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/sw/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/dri/sw/SConscript')
-rw-r--r--src/gallium/state_trackers/dri/sw/SConscript23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/gallium/state_trackers/dri/sw/SConscript b/src/gallium/state_trackers/dri/sw/SConscript
index 03c2ef6ab1d..8646d276c8d 100644
--- a/src/gallium/state_trackers/dri/sw/SConscript
+++ b/src/gallium/state_trackers/dri/sw/SConscript
@@ -3,20 +3,18 @@
Import('*')
-if env['dri']:
+env = env.Clone()
- env = env.Clone()
+env.Append(CPPPATH = [
+ '#/src/mapi',
+ '#/src/mesa',
+ '#/src/gallium/state_trackers/dri/common',
+ '#/src/mesa/drivers/dri/common',
+])
- env.Append(CPPPATH = [
- '#/src/mapi',
- '#/src/mesa',
- '#/src/gallium/state_trackers/dri/common',
- '#/src/mesa/drivers/dri/common',
- ])
+env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
- env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
-
- st_drisw = env.ConvenienceLibrary(
+st_drisw = env.ConvenienceLibrary(
target = 'st_drisw',
source = [ 'dri_context.c',
'dri_drawable.c',
@@ -24,4 +22,5 @@ if env['dri']:
'drisw.c',
]
)
- Export('st_drisw')
+
+Export('st_drisw')