remove -ansi -pedantic -D_POSIX_C_SOURCE=199309L from CXXFLAGS
[mesa.git] / configs / sunos5-gcc
1 # Configuration for SunOS 5, with gcc
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = sunos5-gcc
6
7 ASM_SOURCES = $(SPARC_SOURCES) $(SPARC_API)
8
9 # Compiler and flags
10 CC = gcc
11 CXX = g++
12 CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM -DUSE_SPARC_ASM
13 CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_SPARC_ASM
14 GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
15
16 GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
17 GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
18 GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
19 GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
20 APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
21