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-v8 | |
parent | 4bb4cbf829413ce37cb6dcb31c14d1548b6fa765 (diff) | |
download | glut-5417f377560f2ccdc018507832978679fb93765c.tar.gz |
Add enough of the autoconf/gmake build infrastructure to build glut.
Diffstat (limited to 'configs/sunos5-v8')
-rw-r--r-- | configs/sunos5-v8 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configs/sunos5-v8 b/configs/sunos5-v8 new file mode 100644 index 0000000..cdaf3ee --- /dev/null +++ b/configs/sunos5-v8 @@ -0,0 +1,18 @@ +# Configuration for SunOS 5 + +include $(TOP)/configs/default + +CONFIG_NAME = sunos5-v8 + +# Compiler and flags +CC = cc +CXX = CC +CFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS +CXXFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS +GLUT_CFLAGS = -DSOLARIS_2_4_BUG + +GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread +GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun +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) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm |