aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configs/irix6-n32-static
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/configs/irix6-n32-static')
-rw-r--r--mesalib/configs/irix6-n32-static25
1 files changed, 25 insertions, 0 deletions
diff --git a/mesalib/configs/irix6-n32-static b/mesalib/configs/irix6-n32-static
new file mode 100644
index 000000000..fe47ccdcb
--- /dev/null
+++ b/mesalib/configs/irix6-n32-static
@@ -0,0 +1,25 @@
+# Configuration for IRIX 6.x, make n32 static libs
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = irix6-n32-static
+
+# Compiler and flags
+CC = cc
+CXX = CC
+CFLAGS = -n32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM -DPTHREADS
+CXXFLAGS = -n32 -mips2 -O2 -ansi -woff 3262,3666 -DPTHREADS
+MKLIB_OPTIONS = -static
+
+GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
+
+LIB_DIR = lib32
+
+APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -n32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
+
+GL_LIB_NAME = libGL.a
+GLU_LIB_NAME = libGLU.a
+GLUT_LIB_NAME = libglut.a
+GLW_LIB_NAME = libGLw.a
+OSMESA_LIB_NAME = libOSMesa.a
+