update sunos5 targets (Greg Menke)
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 8 Sep 2003 14:58:05 +0000 (14:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 8 Sep 2003 14:58:05 +0000 (14:58 +0000)
Make-config
Makefile.X11

index 90a3f9ff80443791c9358aaf4676d7e692aeb310..c03538894b9420d2092e52dcb3261e1890b5c4d5 100644 (file)
@@ -945,15 +945,16 @@ sunos5-smp:
        "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" \
+       "CXX = c++" \
+       "CFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
+       "CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include" \
        "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \
-       "MAKELIB = ../bin/mklib.sunos5" \
+       "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \
        "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"
+       "MAKELIB = ../bin/mklib.solaris" \
+       "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm -lCrun"
 
 sunos5-gcc:
        $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
@@ -973,6 +974,24 @@ sunos5-gcc:
        "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \
        "APP_LIB_DEPS = -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" \
+       "CXX = CC" \
+       "CFLAGS = -KPIC -Xa -native -fast -xO5 -xautopar -xreduction -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
+       "CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xautopar -xreduction -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
+       "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \
+       "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" \
+       "MAKELIB = ../bin/mklib.solaris" \
+       "APP_LIB_DEPS = -xautopar -xreduction -lX11 -lglut -lGLU -lGL -lm -lCrun -lthread"
+
 ultrix-gcc:
        $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
        "GL_LIB = libGL.a" \
index 0ee8325b9e8734b38a7fc9ba07418a03d8a0de37..f7e6d6c2c8b658cce77b4ee246a2562a7df60bd1 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.83 2003/09/03 20:48:05 brianp Exp $
+# $Id: Makefile.X11,v 1.84 2003/09/08 14:58:05 brianp Exp $
 
 # Mesa 3-D graphics library
 # Version:  5.1
@@ -91,6 +91,7 @@ default:
        @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 sunos5-smp           for Suns with SunOS 5.x, for smp only"
        @echo "  make ultrix-gcc           for DEC systems with Ultrix and GCC"
        @echo "  make unixware             for PCs running UnixWare"
        @echo "  make unixware-shared      for PCs running UnixWare, shared libs"