diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2001-11-30 19:41:19 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2001-11-30 19:41:19 +0000 |
commit | 3ac348c17a3d3a1af5da2da6235d8a0a1d26516d (patch) | |
tree | b7463ede1219f73a3cd608ca22914ebb380ffd70 /Make-config | |
parent | fcc0abe6cf90e463778a51beb61367b5e2bbadb3 (diff) |
Add darwin target
Diffstat (limited to 'Make-config')
-rw-r--r-- | Make-config | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Make-config b/Make-config index 52b9189188..b3c9fcd3e4 100644 --- a/Make-config +++ b/Make-config @@ -1,4 +1,4 @@ -# $Id: Make-config,v 1.54 2001/11/23 20:09:26 brianp Exp $ +# $Id: Make-config,v 1.55 2001/11/30 19:41:19 kschultz Exp $ MESA_MAJOR=4 MESA_MINOR=1 @@ -178,6 +178,25 @@ cygnus-linux: "MAKELIB = ../bin/mklib.cygnus-linux" \ "WLIBS = ../lib/wing32.a -lkernel32 -luser32 -lgdi32" +darwin: + $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ + "GL_LIB = libGL.dylib" \ + "GLU_LIB = libGLU.dylib" \ + "GLUT_LIB = libglut.dylib" \ + "GLW_LIB = libGLw.dylib" \ + "OSMESA_LIB = libOSMesa.dylib" \ + "CC = cc" \ + "CPLUSPLUS = cc" \ + "CFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math \ + -funroll-loops -fexpensive-optimizations -no-cpp-precomp \ + -dynamic -Ddarwin" \ + "CCFLAGS = $(CFLAGS)" \ + "MAKELIB = ../bin/mklib.darwin" \ + "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ + "GLU_LIB_DEPS = -L../lib -lGL -lm" \ + "GLUT_LIB_DEPS = -L../lib -lGLU -lGL \ + -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" + dgux: $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ "GL_LIB = libGL.a" \ |