2006-05-17 22:51:23 +00:00
|
|
|
# Configuration for Solaris on x86 with gcc, dynamic libs
|
2004-03-26 15:16:35 +00:00
|
|
|
|
|
|
|
include $(TOP)/configs/default
|
|
|
|
|
|
|
|
CONFIG_NAME = solaris-x86-gcc
|
|
|
|
|
|
|
|
# Compiler and flags
|
|
|
|
CC = gcc
|
|
|
|
CXX = g++
|
2006-05-18 17:04:13 +00:00
|
|
|
CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
|
|
|
|
CXXFLAGS = -O3 -march=i486 -fPIC
|
2004-03-26 15:16:35 +00:00
|
|
|
|
2007-11-01 06:01:53 -07:00
|
|
|
# Work around aliasing bugs - developers should comment this out
|
|
|
|
CFLAGS += -fno-strict-aliasing
|
|
|
|
CXXFLAGS += -fno-strict-aliasing
|
|
|
|
|
2004-03-26 15:16:35 +00:00
|
|
|
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
|
2006-07-13 02:50:27 +00:00
|
|
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
|
|
|
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
|