aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/haiku/swrast/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/drivers/haiku/swrast/SConscript')
-rw-r--r--mesalib/src/mesa/drivers/haiku/swrast/SConscript28
1 files changed, 28 insertions, 0 deletions
diff --git a/mesalib/src/mesa/drivers/haiku/swrast/SConscript b/mesalib/src/mesa/drivers/haiku/swrast/SConscript
new file mode 100644
index 000000000..71ce88e20
--- /dev/null
+++ b/mesalib/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
+)