diff options
author | Brian Paul <[email protected]> | 2001-04-26 22:27:09 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-04-26 22:27:09 +0000 |
commit | 785c3469f45ef4b96f2622cd1575229a1fd9d250 (patch) | |
tree | f8ecdae35fb93036cf9c6a66906882d08c099b52 /Make-config | |
parent | f20ea88f88398f38ea6029c35260e481b15116ed (diff) |
Added Makefile support for building libOSMesa16.so which is Mesa compiled
for 16-bit color channels, using the OSMesa driver.
Diffstat (limited to 'Make-config')
-rw-r--r-- | Make-config | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Make-config b/Make-config index 303cf8e2071..ff2b13a45ff 100644 --- a/Make-config +++ b/Make-config @@ -1,4 +1,4 @@ -# $Id: Make-config,v 1.42 2001/04/25 15:52:15 brianp Exp $ +# $Id: Make-config,v 1.43 2001/04/26 22:27:09 brianp Exp $ MESA_MAJOR=3 MESA_MINOR=5 @@ -846,6 +846,18 @@ linux-sparc-ultra: "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ "APP_LIB_DEPS = -lm" +# 16-bit/channel Mesa using OSMesa driver +linux-osmesa16: + $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \ + "OSMESA16_LIB = libOSMesa16.so" \ + "CC = gcc" \ + "CPLUSPLUS = g++" \ + "CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG -DCHAN_BITS=16" \ + "CCFLAGS = $(CFLAGS)" \ + "MAKELIB = ../bin/mklib.linux" \ + "GL_LIB_DEPS = -lm -lpthread" \ + "APP_LIB_DEPS = -lOSMesa -lGL" + # May want to add these CFLAGS for better performance under LynxOS and GCC: # -fPIC -O2 -ansi -pedantic -mieee-fp -DUSE_XSHM -funroll-loops # -fexpensive-optimizations -fomit-frame-pointer -ffast-math @@ -1451,7 +1463,7 @@ linux-debug: "CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG -DSVGA -I/usr/include/glide -DFX -DMESA_TRACE" \ "CCFLAGS = $(CFLAGS)" \ "MAKELIB = ../bin/mklib.linux" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ + "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -L/usr/local/glide/lib -lglide2x -lvga" \ "GLU_LIB_DEPS = -L../lib -lGL -lm" \ "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ "APP_LIB_DEPS = -lglut -lGLU -lGL" |