blob: 5d2edc587690cd7e89eff426c8c689b483a9f41c [file] [log] [blame]
Karl Schultz5e2e9ef2004-10-01 16:29:39 +00001# Configuration for AIX 64-bit, dynamic libs
Karl Schultza16bdb52004-10-01 13:33:26 +00002
3include $(TOP)/configs/default
4
Karl Schultz5e2e9ef2004-10-01 16:29:39 +00005CONFIG_NAME = aix-64
Karl Schultza16bdb52004-10-01 13:33:26 +00006
7# Compiler and flags
8CC = xlc
9CXX = xlC
10
Brian Paulcb32dcf2006-04-13 02:59:29 +000011CFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS
12CXXFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS
Brian Paul883f9892006-07-13 02:50:27 +000013LIB_DIR = lib64
Karl Schultza16bdb52004-10-01 13:33:26 +000014
15# Library names (actual file names)
16GL_LIB_NAME = libGL.a
17GLU_LIB_NAME = libGLU.a
18GLUT_LIB_NAME = libglut.a
19GLW_LIB_NAME = libGLw.a
20OSMESA_LIB_NAME = libOSMesa.a
21
Brian Paulcb32dcf2006-04-13 02:59:29 +000022GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
Brian Paul883f9892006-07-13 02:50:27 +000023GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lC
24GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
25GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXm -lXt -lX11
Brian Paulcb32dcf2006-04-13 02:59:29 +000026APP_LIB_DEPS = -L$(TOP)/lib64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lpthread -lC
Karl Schultza16bdb52004-10-01 13:33:26 +000027