summaryrefslogtreecommitdiffstats
path: root/Make-config
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-07 14:45:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-07 14:45:52 +0000
commit69ffa43656d97595e620718e97b8b5526c40f022 (patch)
tree01f10677e809c1d75009835a555a1029e4e41e19 /Make-config
parent33ce405e8678f7f939b1aba21487a5f42a17bda2 (diff)
downloadexternal_mesa3d-69ffa43656d97595e620718e97b8b5526c40f022.zip
external_mesa3d-69ffa43656d97595e620718e97b8b5526c40f022.tar.gz
external_mesa3d-69ffa43656d97595e620718e97b8b5526c40f022.tar.bz2
Added gcc-sl target and shared lib shell script (Philip Brown)
Diffstat (limited to 'Make-config')
-rw-r--r--Make-config24
1 files changed, 23 insertions, 1 deletions
diff --git a/Make-config b/Make-config
index 7948dfa..3292037 100644
--- a/Make-config
+++ b/Make-config
@@ -1,4 +1,4 @@
-# $Id: Make-config,v 1.68 2002/11/14 16:14:52 brianp Exp $
+# $Id: Make-config,v 1.69 2003/04/07 14:45:53 brianp Exp $
MESA_MAJOR=5
MESA_MINOR=1
@@ -256,6 +256,28 @@ gcc:
"MAKELIB = ../bin/mklib.ar-ruv" \
"APP_LIB_DEPS = -lX11 -lm"
+gcc-sl:
+ $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
+ "GL_LIB = libGL.so" \
+ "GLU_LIB = libGLU.so" \
+ "GLUT_LIB = libglut.so" \
+ "GLW_LIB = libGLw.so" \
+ "OSMESA_LIB = libOSMesa.so" \
+ "CC = gcc" \
+ "CPLUSPLUS = g++" \
+ "CFLAGS = -fPIC -O3" \
+ "CCFLAGS = $(CFLAGS)" \
+ "MAKELIB = ../bin/mklib.gcc-sl" \
+ "APP_LIB_DEPS = -lX11 -lm"
+
+#special hidden target, to make a shared lib for ONLY Mesa "core"
+gcc-mesa-sl:
+ $(MAKE) $(MFLAGS) -f Makefile.X11 libmesa \
+ "MESA_LIB = libMesa.so" \
+ "CC = gcc" \
+ "CFLAGS = -fPIC -O3" \
+ "MAKELIB = ../bin/mklib.gcc-sl" \
+
hpux9:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GL_LIB = libGL.a" \