blob: 844a1d2eadea68c4d0beb9f7ab230d5965fce71f [file] [log] [blame]
Brian Paulcb32dcf2006-04-13 02:59:29 +00001# Configuration for Darwin / MacOS X, making static libs
2
3include $(TOP)/configs/darwin
4
5CONFIG_NAME = darwin-static
6
7# Compiler and flags
8CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
9 -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
10CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
11 -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
Brian Paul6bef5e72006-04-14 14:13:00 +000012MKLIB_OPTIONS = -static -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
Brian Paulcb32dcf2006-04-13 02:59:29 +000013
14# Library names (actual file names)
15GL_LIB_NAME = libGL.a
16GLU_LIB_NAME = libGLU.a
17GLUT_LIB_NAME = libglut.a
18GLW_LIB_NAME = libGLw.a
19OSMESA_LIB_NAME = libOSMesa.a
20
21GL_LIB_DEPS =
22OSMESA_LIB_DEPS =
23GLU_LIB_DEPS =
24GLUT_LIB_DEPS =
25GLW_LIB_DEPS =
26APP_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