Tweaks for hpux. The hpux10 and hpux10-sl targets now build pretty
authorKarl Schultz <kschultz@freedesktop.org>
Mon, 11 Nov 2002 18:56:36 +0000 (18:56 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Mon, 11 Nov 2002 18:56:36 +0000 (18:56 +0000)
cleanly.

Make-config
Makefile.X11

index bc3d1ee72b40c103616336e645b8b4379f716dd5..e091bce2a1569b164400fa732bbc433abbfad4a3 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Make-config,v 1.65 2002/10/31 14:58:36 brianp Exp $
+# $Id: Make-config,v 1.66 2002/11/11 18:56:36 kschultz Exp $
 
 MESA_MAJOR=5
 MESA_MINOR=0
@@ -308,6 +308,7 @@ hpux9-gcc-sl:
        "MAKELIB = ../bin/mklib.hpux" \
        "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
 
+# The hpux10 configs should work for hpux11 as well.
 hpux10:
        $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
        "GL_LIB = libGL.a" \
@@ -318,7 +319,7 @@ hpux10:
        "CC = cc" \
        "CPLUSPLUS = aCC" \
        "CFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
-       "CCFLAGS = $(CFLAGS)" \
+       "CCFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
        "MAKELIB = ../bin/mklib.ar-ruv" \
        "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -L/usr/lib -lCsup"
 
@@ -327,12 +328,12 @@ hpux10-sl:
        "GL_LIB = libGL" \
        "GLU_LIB = libGLU" \
        "GLUT_LIB = libglut" \
-       "GLW_LIB = libGLw.a" \
-       "OSMESA_LIB = libOSMesa.a" \
+       "GLW_LIB = libGLw" \
+       "OSMESA_LIB = libOSMesa" \
        "CC = cc" \
        "CPLUSPLUS = aCC" \
-       "CFLAGS = +z -Ae +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
-       "CCFLAGS = $(CFLAGS)" \
+       "CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
+       "CCFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
        "MAKELIB = ../bin/mklib.hpux" \
        "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
 
index 39a09bfb860d184c84c9a7f37dd06e55b8fff1ad..6ce71d5e939a5b3283c9286cb574bb23e1faea9a 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.66 2002/10/29 23:09:37 brianp Exp $
+# $Id: Makefile.X11,v 1.67 2002/11/11 18:56:37 kschultz Exp $
 
 # Mesa 3-D graphics library
 # Version:  5.0
@@ -51,8 +51,8 @@ default:
        @echo "  make hpux9-sl             for HP systems with HPUX 9.x, make shared libs"
        @echo "  make hpux9-gcc            for HP systems with HPUX 9.x using GCC"
        @echo "  make hpux9-gcc-sl         for HP systems with HPUX 9.x, GCC, make shared libs"
-       @echo "  make hpux10               for HP systems with HPUX 10.x"
-       @echo "  make hpux10-sl            for HP systems with HPUX 10.x, shared libs"
+       @echo "  make hpux10               for HP systems with HPUX 10.x and 11.x"
+       @echo "  make hpux10-sl            for HP systems with HPUX 10.x and 11.x, shared libs"
        @echo "  make hpux10-gcc           for HP systems with HPUX 10.x w/ GCC"
        @echo "  make hpux10-gcc-sl        for HP systems with HPUX 10.x w/ GCC, shared libs"
        @echo "  make irix4                for SGI systems with IRIX 4.x"