summaryrefslogtreecommitdiff
path: root/Make-config
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-07-13 20:08:42 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-07-13 20:08:42 +0000
commit5b22aa1e339b77fa7e3e8ba134619c7e5ef93900 (patch)
tree00fb155974c93c7c4dbbc19ef07003bc798486b3 /Make-config
parentf431a3fb4dc1bf860203d79e54657e3a62bc50df (diff)
added linux-osmesa32 config
Diffstat (limited to 'Make-config')
-rw-r--r--Make-config16
1 files changed, 14 insertions, 2 deletions
diff --git a/Make-config b/Make-config
index 7cfb915d0b..6882830fde 100644
--- a/Make-config
+++ b/Make-config
@@ -1,4 +1,4 @@
-# $Id: Make-config,v 1.46 2001/06/18 22:45:16 brianp Exp $
+# $Id: Make-config,v 1.47 2001/07/13 20:08:42 brianp Exp $
MESA_MAJOR=3
MESA_MINOR=5
@@ -836,7 +836,19 @@ linux-osmesa16:
"CCFLAGS = $(CFLAGS)" \
"MAKELIB = ../bin/mklib.linux" \
"GL_LIB_DEPS = -lm -lpthread" \
- "APP_LIB_DEPS = -lOSMesa -lGL"
+ "APP_LIB_DEPS = -lOSMesa16 -lGL"
+
+# 32-bit/channel Mesa using OSMesa driver
+linux-osmesa32:
+ $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \
+ "OSMESA16_LIB = libOSMesa32.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=32" \
+ "CCFLAGS = $(CFLAGS)" \
+ "MAKELIB = ../bin/mklib.linux" \
+ "GL_LIB_DEPS = -lm -lpthread" \
+ "APP_LIB_DEPS = -lOSMesa32 -lGL"
# May want to add these CFLAGS for better performance under LynxOS and GCC:
# -fPIC -O2 -ansi -pedantic -mieee-fp -DUSE_XSHM -funroll-loops