2006-11-25 11:49:17 -07:00
|
|
|
# Configuration for AIX with gcc
|
|
|
|
|
|
|
|
include $(TOP)/configs/default
|
|
|
|
|
|
|
|
CONFIG_NAME = aix-gcc
|
|
|
|
|
|
|
|
# Compiler and flags
|
|
|
|
CC = gcc
|
|
|
|
CXX = g++
|
|
|
|
|
|
|
|
CFLAGS = -O2 -DAIXV3
|
|
|
|
CXXFLAGS = -O2 -DAIXV3
|
|
|
|
|
2008-02-12 14:09:25 -07:00
|
|
|
# Work around aliasing bugs - developers should comment this out
|
|
|
|
CFLAGS += -fno-strict-aliasing
|
|
|
|
CXXFLAGS += -fno-strict-aliasing
|
|
|
|
|
2006-11-25 11:49:17 -07:00
|
|
|
MKLIB_OPTIONS = -arch aix-gcc
|
|
|
|
GL_LIB_DEPS = -lX11 -lXext -lm
|
|
|
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
|
|
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu
|
|
|
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -Wl,-brtl -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXmu -lXi
|
|
|
|
|