blob: 5ec7237f991af9ef1b3daf5d516454bdd3516aeb [file] [log] [blame]
Brian Paul7d848c32006-05-17 22:51:23 +00001# Configuration for Solaris on x86 with gcc, dynamic libs
Brian Paula70ad912004-03-26 15:16:35 +00002
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 Paula70ad912004-03-26 15:16:35 +000012GLUT_CFLAGS = -fexceptions
Brian Paula70ad912004-03-26 15:16:35 +000013
14GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
Brian Paul883f9892006-07-13 02:50:27 +000015GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
16GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
17APP_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