aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa/configs/aix-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/extras/Mesa/configs/aix-gcc')
-rw-r--r--nx-X11/extras/Mesa/configs/aix-gcc19
1 files changed, 19 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa/configs/aix-gcc b/nx-X11/extras/Mesa/configs/aix-gcc
new file mode 100644
index 000000000..5f10bf25d
--- /dev/null
+++ b/nx-X11/extras/Mesa/configs/aix-gcc
@@ -0,0 +1,19 @@
+# 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
+
+MKLIB_OPTIONS = -arch aix-gcc
+GL_LIB_DEPS = -lX11 -lXext -lm
+GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
+GLUT_LIB_DEPS = -L$(LIB_DIR -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu
+APP_LIB_DEPS = -L$(LIB_DIR) -Wl,-brtl -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXmu -lXi
+