Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

darwin-x86ppc 1.3KB

123456789101112131415161718192021222324252627282930313233
  1. # Configuration for Darwin / MacOS X, making dynamic libs
  2. include $(TOP)/configs/default
  3. CONFIG_NAME = darwin
  4. # Compiler and flags
  5. CC = cc
  6. CXX = cc
  7. CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
  8. -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
  9. CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
  10. -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
  11. MKLIB_OPTIONS = -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
  12. # Library names (actual file names)
  13. GL_LIB_NAME = libGL.dylib
  14. GLU_LIB_NAME = libGLU.dylib
  15. GLUT_LIB_NAME = libglut.dylib
  16. GLW_LIB_NAME = libGLw.dylib
  17. OSMESA_LIB_NAME = libOSMesa.dylib
  18. GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
  19. OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
  20. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
  21. GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lXi -lXext
  22. GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib
  23. APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
  24. # omit glw lib for now:
  25. SRC_DIRS = gallium mesa glu glut/glx glew