From: Karl Schultz Date: Mon, 11 Nov 2002 18:56:36 +0000 (+0000) Subject: Tweaks for hpux. The hpux10 and hpux10-sl targets now build pretty X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8c6273cf6e6ad19d875c5e32357517c848a3b1a;p=mesa.git Tweaks for hpux. The hpux10 and hpux10-sl targets now build pretty cleanly. --- diff --git a/Make-config b/Make-config index bc3d1ee72b4..e091bce2a15 100644 --- a/Make-config +++ b/Make-config @@ -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" diff --git a/Makefile.X11 b/Makefile.X11 index 39a09bfb860..6ce71d5e939 100644 --- a/Makefile.X11 +++ b/Makefile.X11 @@ -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"