done
+doxygen:
+ (cd doxygen ; make) ; \
+
clean:
@for dir in $(SUBDIRS) ; do \
(cd $$dir ; $(MAKE) clean) ; \
# Rules to set/install a specific build configuration
aix \
aix-gcc \
+aix-static \
darwin \
darwin-static \
freebsd \
-# Configuration for AIX
+# Configuration for AIX, dynamic libs
include $(TOP)/configs/default
# Compiler and flags
CC = cc
-# XXX fix this:
-CXX = c++
+CXX = xlC
CFLAGS = -O -DAIXV3
CXXFLAGS = -O -DAIXV3
-MKLIB_OPTIONS = -static
+MKLIB_OPTIONS =
# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a
-APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -lXext -lXmu -lXi -lm
+GL_LIB_DEPS = -lX11 -lXext -lm
+GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm -lC
+GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lXi -lXmu -lX11 -lm
+GLW_LIB_DEPS = -L$(TOP)/lib -lGL -lXt -lX11
+OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL
+APP_LIB_DEPS = -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm -lC
--- /dev/null
+# Configuration for AIX, static libs
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = aix-static
+
+# Compiler and flags
+CC = cc
+CXX = xlC
+
+CFLAGS = -O -DAIXV3
+CXXFLAGS = -O -DAIXV3
+MKLIB_OPTIONS = -static
+
+# 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
+
+APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -lXext -lXmu -lXi -lm
+