diff options
Diffstat (limited to 'configs/sunos5-gcc')
| -rw-r--r-- | configs/sunos5-gcc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/configs/sunos5-gcc b/configs/sunos5-gcc new file mode 100644 index 0000000..ba32c7e --- /dev/null +++ b/configs/sunos5-gcc @@ -0,0 +1,21 @@ +# Configuration for SunOS 5, with gcc + +include $(TOP)/configs/default + +CONFIG_NAME = sunos5-gcc + +ASM_SOURCES = $(SPARC_SOURCES) $(SPARC_API) + +# Compiler and flags +CC = gcc +CXX = g++ +CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM -DUSE_SPARC_ASM +CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_SPARC_ASM +GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG + +GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm +GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm +GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm +GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11 +APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm + |
