Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 1 | # Configuration for Darwin / MacOS X, making static libs |
| 2 | |
| 3 | include $(TOP)/configs/darwin |
| 4 | |
| 5 | CONFIG_NAME = darwin-static |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CFLAGS = -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 |
| 10 | CXXFLAGS = -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 Paul | 6bef5e7 | 2006-04-14 14:13:00 +0000 | [diff] [blame] | 12 | MKLIB_OPTIONS = -static -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" |
Brian Paul | cb32dcf | 2006-04-13 02:59:29 +0000 | [diff] [blame] | 13 | |
| 14 | # Library names (actual file names) |
| 15 | GL_LIB_NAME = libGL.a |
| 16 | GLU_LIB_NAME = libGLU.a |
| 17 | GLUT_LIB_NAME = libglut.a |
| 18 | GLW_LIB_NAME = libGLw.a |
| 19 | OSMESA_LIB_NAME = libOSMesa.a |
| 20 | |
| 21 | GL_LIB_DEPS = |
| 22 | OSMESA_LIB_DEPS = |
| 23 | GLU_LIB_DEPS = |
| 24 | GLUT_LIB_DEPS = |
| 25 | GLW_LIB_DEPS = |
| 26 | 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 |