Karl Schultz | 5e2e9ef | 2004-10-01 16:29:39 +0000 | [diff] [blame] | 1 | # Configuration for AIX 64-bit, dynamic libs |
Karl Schultz | a16bdb5 | 2004-10-01 13:33:26 +0000 | [diff] [blame] | 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
Karl Schultz | 5e2e9ef | 2004-10-01 16:29:39 +0000 | [diff] [blame] | 5 | CONFIG_NAME = aix-64 |
Karl Schultz | a16bdb5 | 2004-10-01 13:33:26 +0000 | [diff] [blame] | 6 | |
| 7 | # Compiler and flags |
| 8 | CC = xlc |
| 9 | CXX = xlC |
| 10 | |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 11 | CFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS |
| 12 | CXXFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 13 | LIB_DIR = lib64 |
Karl Schultz | a16bdb5 | 2004-10-01 13:33:26 +0000 | [diff] [blame] | 14 | |
| 15 | # Library names (actual file names) |
| 16 | GL_LIB_NAME = libGL.a |
| 17 | GLU_LIB_NAME = libGLU.a |
| 18 | GLUT_LIB_NAME = libglut.a |
| 19 | GLW_LIB_NAME = libGLw.a |
| 20 | OSMESA_LIB_NAME = libOSMesa.a |
| 21 | |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 22 | GL_LIB_DEPS = -lX11 -lXext -lm -lpthread |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 23 | GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lC |
| 24 | GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm |
| 25 | GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXm -lXt -lX11 |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 26 | APP_LIB_DEPS = -L$(TOP)/lib64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lpthread -lC |
Karl Schultz | a16bdb5 | 2004-10-01 13:33:26 +0000 | [diff] [blame] | 27 | |