1 # Configuration for Solaris on x86 with gcc, dynamic libs
3 include $(TOP)/configs/default
5 CONFIG_NAME = solaris-x86-gcc
10 CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
11 CXXFLAGS = -O3 -march=i486 -fPIC
12 GLUT_CFLAGS = -fexceptions
14 # Work around aliasing bugs - developers should comment this out
15 CFLAGS += -fno-strict-aliasing
16 CXXFLAGS += -fno-strict-aliasing
18 GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
19 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
20 GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
21 APP_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