summaryrefslogtreecommitdiff
path: root/dist/Mesa/configs/darwin-static-x86ppc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 18:55:19 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 18:55:19 +0000
commit0641eddccd060a4ae333378927ffb3d9c34ddb98 (patch)
tree4a34bd4f0351f8b1cb676d91595b5b8e14b3c563 /dist/Mesa/configs/darwin-static-x86ppc
parentd2ecd06125d3ab42e53ffdd86d7d3103a57e810b (diff)
Import MesaLibs 6.5.1. (in dist/ since its code is shared between lib
and xserver)...
Diffstat (limited to 'dist/Mesa/configs/darwin-static-x86ppc')
-rw-r--r--dist/Mesa/configs/darwin-static-x86ppc26
1 files changed, 26 insertions, 0 deletions
diff --git a/dist/Mesa/configs/darwin-static-x86ppc b/dist/Mesa/configs/darwin-static-x86ppc
new file mode 100644
index 000000000..844a1d2ea
--- /dev/null
+++ b/dist/Mesa/configs/darwin-static-x86ppc
@@ -0,0 +1,26 @@
+# Configuration for Darwin / MacOS X, making static libs
+
+include $(TOP)/configs/darwin
+
+CONFIG_NAME = darwin-static
+
+# Compiler and flags
+CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
+ -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
+CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
+ -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
+MKLIB_OPTIONS = -static -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
+
+# 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 =
+OSMESA_LIB_DEPS =
+GLU_LIB_DEPS =
+GLUT_LIB_DEPS =
+GLW_LIB_DEPS =
+APP_LIB_DEPS = -Wl,-search_paths_first -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lstdc++ -lgcc_s.1 -lm