blob: 4850284a59f979739d3ca96cb17fb32ad7b8d950 [file] [log] [blame]
Brian Paul9cc115e2006-05-17 22:51:08 +00001# Configuration for Solaris on x86 with gcc, static libs
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = solaris-x86-gcc
6
7# Compiler and flags
8CC = gcc
9CXX = g++
Brian Paul5e51ebd2006-05-18 17:04:13 +000010CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
11CXXFLAGS = -O3 -march=i486 -fPIC
Brian Paul9cc115e2006-05-17 22:51:08 +000012GLUT_CFLAGS = -fexceptions
13MKLIB_OPTIONS = -static
14
Dan Nicholson01b18ab2007-11-01 06:01:53 -070015# Work around aliasing bugs - developers should comment this out
16CFLAGS += -fno-strict-aliasing
17CXXFLAGS += -fno-strict-aliasing
18
Brian Paul9cc115e2006-05-17 22:51:08 +000019GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
Brian Paul883f9892006-07-13 02:50:27 +000020GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
21GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
22APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXi -lXmu
Brian Paul9cc115e2006-05-17 22:51:08 +000023
24GL_LIB_NAME = libGL.a
25GLU_LIB_NAME = libGLU.a
26GLUT_LIB_NAME = libglut.a
27GLW_LIB_NAME = libGLw.a
28OSMESA_LIB_NAME = libOSMesa.a