Brian Paul | 6bef5e7 | 2006-04-14 14:13:00 +0000 | [diff] [blame] | 1 | # Configuration for SunOS 5, SPARC V9 |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = sunos5-v9 |
| 6 | |
Brian Paul | 6bef5e7 | 2006-04-14 14:13:00 +0000 | [diff] [blame] | 7 | MKLIB_OPTIONS = -cplusplus |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 8 | |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 9 | LIB_DIR = lib64 |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 10 | |
| 11 | # Compiler and flags |
| 12 | CC = cc |
| 13 | CXX = CC |
| 14 | CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS |
| 15 | CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS |
| 16 | GLUT_CFLAGS = -DSOLARIS_2_4_BUG |
| 17 | |
| 18 | GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 19 | GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun |
| 20 | GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm |
| 21 | GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11 |
| 22 | APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 23 | |