summaryrefslogtreecommitdiff
path: root/configs/sunos5-gcc
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-26 15:16:35 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-26 15:16:35 +0000
commita70ad91209b08ebe7122ace6d6656b11d9b04542 (patch)
treedc8b1e08f6348809afcc29fc66d392061a5876fe /configs/sunos5-gcc
parentf262b70d5a3fb7bcc2b280735fc7ff643cebe433 (diff)
new system configurations
Diffstat (limited to 'configs/sunos5-gcc')
-rw-r--r--configs/sunos5-gcc19
1 files changed, 19 insertions, 0 deletions
diff --git a/configs/sunos5-gcc b/configs/sunos5-gcc
new file mode 100644
index 0000000000..59fcccf9d6
--- /dev/null
+++ b/configs/sunos5-gcc
@@ -0,0 +1,19 @@
+# Configuration for SunOS 5, with gcc
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = sunos5-gcc
+
+# Compiler and flags
+CC = gcc
+CXX = g++
+CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM
+CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT
+GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
+
+GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
+GLU_LIB_DEPS = -L$(LIB_DIR) -lGL -lm
+GLUT_LIB_DEPS = -L$(LIB_DIR) -lGLU -lGL -lm
+GLW_LIB_DEPS = -L$(LIB_DIR) -lGL -L/usr/openwin/lib -lXt -lX11
+APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -lglut -lGLU -lGL -lm
+