Brian Paul | 7d848c3 | 2006-05-17 22:51:23 +0000 | [diff] [blame] | 1 | # Configuration for Solaris on x86 with gcc, dynamic libs |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = solaris-x86-gcc |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
Brian Paul | 5e51ebd | 2006-05-18 17:04:13 +0000 | [diff] [blame] | 10 | CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM |
| 11 | CXXFLAGS = -O3 -march=i486 -fPIC |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 12 | GLUT_CFLAGS = -fexceptions |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 13 | |
| 14 | GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 15 | GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm |
| 16 | GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm |
| 17 | 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 |