summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-30 14:56:47 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-30 14:56:47 +0000
commitff7d3bb7df7a9d526d10dd408aa7ac4eb8b980c4 (patch)
tree288aa40e6d4e97c6bfbfcaf69025765faafd3114
parent52fb07e2b2e4b207fa519f25468a3d2105fca393 (diff)
added hpux10-static config
-rw-r--r--Makefile1
-rw-r--r--configs/hpux10-static30
2 files changed, 31 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5c954e574da..69b9f4b3289 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,7 @@ darwin-static \
freebsd \
hpux10 \
hpux10-gcc \
+hpux10-static \
hpux11-32-static \
hpux11-32-static-nothreads \
hpux11-64-static \
diff --git a/configs/hpux10-static b/configs/hpux10-static
new file mode 100644
index 00000000000..37a6801e224
--- /dev/null
+++ b/configs/hpux10-static
@@ -0,0 +1,30 @@
+# Configuration for HPUX v10, static libs
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = hpux10-static
+
+# Compiler and flags
+CC = cc
+CXX = aCC
+
+CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
+CXXFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE
+
+MKLIB_OPTIONS = -static
+
+# Library names (actual file names)
+GL_LIB_NAME = libGL.a
+GLU_LIB_NAME = libGLU.a
+GLUT_LIB_NAME = libglut.a
+GLW_LIB_NAME = libGLw.a
+OSMESA_LIB_NAME = libOSMesa.a
+
+# Library/program dependencies (static libs don't have dependencies)
+GL_LIB_DEPS =
+OSMESA_LIB_DEPS =
+GLU_LIB_DEPS =
+GLUT_LIB_DEPS =
+GLW_LIB_DEPS =
+APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++
+APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -lstdc++