Browse Source

Tweaks for hpux. The hpux10 and hpux10-sl targets now build pretty

cleanly.
tags/mesa_5_0
Karl Schultz 23 years ago
parent
commit
d8c6273cf6
2 changed files with 10 additions and 9 deletions
  1. 7
    6
      Make-config
  2. 3
    3
      Makefile.X11

+ 7
- 6
Make-config View 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"


+ 3
- 3
Makefile.X11 View 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"

Loading…
Cancel
Save