summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2004-10-01 13:33:26 +0000
committerKarl Schultz <[email protected]>2004-10-01 13:33:26 +0000
commita16bdb5fb7032aa64d1f4bcb249164211a221560 (patch)
treec9a42c717a268736c8a6188fa3d888b676e38396 /configs
parent75672d2e94e351cb8a65069e20cbcc941e046a1a (diff)
Enable builds on AIX 64-bit
Diffstat (limited to 'configs')
-rw-r--r--configs/aix-6428
1 files changed, 28 insertions, 0 deletions
diff --git a/configs/aix-64 b/configs/aix-64
new file mode 100644
index 00000000000..98bb2558f66
--- /dev/null
+++ b/configs/aix-64
@@ -0,0 +1,28 @@
+# Configuration for AIX, dynamic libs
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = aix
+
+# Compiler and flags
+CC = xlc
+CXX = xlC
+
+CFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3
+CXXFLAGS = -O -DAIXV3
+MKLIB_OPTIONS = -arch AIX64
+
+# Library names (actual file names)
+GL_LIB_NAME = libGL.a
+GLU_LIB_NAME = libGLU.a
+GLUT_LIB_NAME = libglut.a
+GLW_LIB_NAME = libGLw.a
+OSMESA_LIB_NAME = libOSMesa.a
+
+GL_LIB_DEPS = -lX11 -lXext -lm
+GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
+GLUT_LIB_DEPS = -L$(TOP)/lib -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
+GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXt -lX11
+OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)
+APP_LIB_DEPS = -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lC
+