summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/haiku-softpipe/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/SConscript')
-rw-r--r--src/gallium/targets/haiku-softpipe/SConscript21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript
new file mode 100644
index 00000000000..72a5ba79627
--- /dev/null
+++ b/src/gallium/targets/haiku-softpipe/SConscript
@@ -0,0 +1,21 @@
+Import('*')
+
+if True:
+ env.Append(CPPDEFINES = [
+ 'GALLIUM_SOFTPIPE',
+ 'GALLIUM_RBUG',
+ 'GALLIUM_TRACE',
+ ])
+
+if env['llvm']:
+ env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')
+
+softpipe_sources = [
+ 'haiku-softpipe.c'
+]
+
+module = env.StaticLibrary(
+ target ='swpipe_haiku.a',
+ source = softpipe_sources,
+ SHLIBPREFIX = '',
+)