automake: src/mesa/drivers/osmesa
[mesa.git] / configs / solaris-x86-gcc-static
1 # Configuration for Solaris on x86 with gcc, static libs
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = solaris-x86-gcc
6
7 # Compiler and flags
8 CC = gcc
9 CXX = g++
10 CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
11 CXXFLAGS = -O3 -march=i486 -fPIC
12 MKLIB_OPTIONS = -static
13
14 # Work around aliasing bugs - developers should comment this out
15 CFLAGS += -fno-strict-aliasing
16 CXXFLAGS += -fno-strict-aliasing
17
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
21 GL_LIB_NAME = libGL.a
22 GLU_LIB_NAME = libGLU.a
23 GLW_LIB_NAME = libGLw.a
24 OSMESA_LIB_NAME = libOSMesa.a