add -lCrun for sunos5, added sunos5-smp (Greg M)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2003 14:34:55 +0000 (14:34 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2003 14:34:55 +0000 (14:34 +0000)
Make-config
Makefile.X11

index 081afb934b36441cbd333f4178bf4eb2a8361de2..90a3f9ff80443791c9358aaf4676d7e692aeb310 100644 (file)
@@ -929,12 +929,31 @@ sunos5:
        "CC = cc" \
        "CXX = c++" \
        "CFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM" \
+       "CXXFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include" \
        "GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm" \
        "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \
        "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
        "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \
        "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \
-       "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm"
+       "APP_LIB_DEPS = -lCrun -lX11 -lglut -lGLU -lGL -lm"
+
+sunos5-smp:
+       $(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 = cc" \
+       "CPLUSPLUS = CC" \
+       "CFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xparallel -xdepend -xsafe=mem -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM" \
+       "CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xparallel -xdepend -xsafe=mem -I/usr/openwin/include -I/usr/dt/include" \
+       "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \
+       "MAKELIB = ../bin/mklib.sunos5" \
+       "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
+       "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \
+       "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \
+       "APP_LIB_DEPS = -xparallel -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm -lCrun"
 
 sunos5-gcc:
        $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
index 36030d4be1232a2c8e1e95a158980d874a2766bf..750a583cee87ce45332d13cfd146e7a5833efb81 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.81 2003/08/24 04:44:23 jonsmirl Exp $
+# $Id: Makefile.X11,v 1.82 2003/09/03 14:34:55 brianp Exp $
 
 # Mesa 3-D graphics library
 # Version:  5.1
@@ -89,6 +89,7 @@ default:
        @echo "  make sunos4-gcc           for Suns with SunOS 4.x and GCC"
        @echo "  make sunos4-gcc-sl        for Suns with SunOS 4.x, GCC, make shared libs"
        @echo "  make sunos5               for Suns with SunOS 5.x"
+       @echo "  make sunos5-smp           for Suns with SunOS 5.x, SMP optimization"
        @echo "  make sunos5-gcc           for Suns with SunOS 5.x and GCC"
        @echo "  make ultrix-gcc           for DEC systems with Ultrix and GCC"
        @echo "  make unixware             for PCs running UnixWare"
@@ -113,7 +114,7 @@ linux-sparc linux-sparc5 linux-sparc-ultra \
 mklinux netbsd osf1 openbsd qnx \
 solaris-x86 solaris-x86-gcc \
 sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
-sunos5 sunos5-gcc \
+sunos5 sunos5-smp sunos5-gcc \
 ultrix-gcc unixware:
        -mkdir lib
        if [ -d src/mesa     ] ; then touch src/mesa/depend     ; fi