diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:44:43 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:44:43 +0100 |
commit | 5417f377560f2ccdc018507832978679fb93765c (patch) | |
tree | a7f38ba428c5974dc922c9e1b94817504c076ea8 /configs/sunos5 | |
parent | 4bb4cbf829413ce37cb6dcb31c14d1548b6fa765 (diff) | |
download | glut-5417f377560f2ccdc018507832978679fb93765c.tar.gz |
Add enough of the autoconf/gmake build infrastructure to build glut.
Diffstat (limited to 'configs/sunos5')
-rw-r--r-- | configs/sunos5 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configs/sunos5 b/configs/sunos5 new file mode 100644 index 0000000..6dd7539 --- /dev/null +++ b/configs/sunos5 @@ -0,0 +1,18 @@ +# Configuration for SunOS 5 + +include $(TOP)/configs/default + +CONFIG_NAME = sunos5 + +# Compiler and flags +CC = cc +CXX = c++ +CFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM +CXXFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include +GLUT_CFLAGS = -DSOLARIS_2_4_BUG + +GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm +GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm +GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm +GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11 +APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lCrun -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm |