# Configuration data for HP-UX with OpenGL/Mesa or starbase

# with GCC:
CC = gcc 
CXX = g++
MAKEDEPEND = gcc -M
PROFLAGS = # -pg 		# for profiling
DEBUGFLAGS = -g 		# for debugging
OPTFLAGS = -O3 -Wall -pedantic # -ansi

################################################################
# directory where to install RenderPark
INSTALLDIR = /localhost/graphics
BINDIR = ${INSTALLDIR}/bin
DATADIR = ${INSTALLDIR}/lib/rpk

################################################################
# Flags for the POOLS library:
# Cells will be aligned to a POOL_ALIGN boundary if defined, or an 
# 8-byte boundary if not defined. If the program mysteriously crashes
# when starting up when porting to a new architecture, let
# the following empty.
POOLFLAGS = -DPOOL_ALIGN=4 # -DSANITY_CHECKS

################################################################
# OpenGL/Mesa
#DRIVER = opengl
#
#OGLHOME = /cw/graphics/hp-ux
#DRIVERFLAGS = -I$(OGLHOME)/include
#DRIVERLIBS = -L$(OGLHOME)/lib -lGLU -lGL

################################################################
# starbase
DRIVER = starbase

DRIVERFLAGS = 
DRIVERLIBS = -L/usr/lib/X11R5 -lsbXg -lXwindow -lsb -lXhp11

################################################################
XINCLUDES = -I/usr/include/X11R5
XLIBS = -lXt -lX11 -lPW -ldld

MOTIFINCLUDES = -I/usr/include/Motif1.2
MOTIFLIBS = -L/usr/lib/Motif1.2 -lXm


