summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/haiku/swrast/SConscript
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2013-11-13 05:39:19 +0000
committerAlexander von Gluck IV <[email protected]>2013-11-13 10:41:10 -0600
commitdf91144a6d17f934ac5cccd63bca2f49e967708a (patch)
tree49874b5a73ac7c4d080713f5411567024936fac5 /src/mesa/drivers/haiku/swrast/SConscript
parent9976a176ae62d53e8ad0c0f934d207e22ac41e85 (diff)
haiku: add swrast driver
* This is pretty small and upkeep should be minimal. * Currently fully working. * Cannidate for 10.0.0 branch Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/haiku/swrast/SConscript')
-rw-r--r--src/mesa/drivers/haiku/swrast/SConscript28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mesa/drivers/haiku/swrast/SConscript b/src/mesa/drivers/haiku/swrast/SConscript
new file mode 100644
index 00000000000..71ce88e20d8
--- /dev/null
+++ b/src/mesa/drivers/haiku/swrast/SConscript
@@ -0,0 +1,28 @@
+Import('*')
+
+env = env.Clone()
+
+env.Append(CPPPATH = [
+ '#/src/mapi',
+ '#/src/mesa',
+ '#/src/mesa/main',
+ '/boot/system/develop/headers/private',
+ Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers
+])
+
+env.Prepend(LIBS = [
+ glsl,
+ mesa,
+])
+
+sources = [
+ 'SoftwareRast.cpp'
+]
+
+# Disallow undefined symbols
+#env.Append(SHLINKFLAGS = ['-Wl,-z,defs'])
+
+libswrast = env.SharedLibrary(
+ target = 'swrast',
+ source = sources
+)