summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-25 01:51:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-25 01:51:38 +0000
commit16133d3cc115bea3c9ef05e7b89683de02c8f4ba (patch)
tree2847c211dc92cdf779d3acd82d66e9e6e43eb212
parentd3b09fe29b112ddf114d14849e917befafd8387a (diff)
added linux-x86-opteron (bug 922735)
-rw-r--r--Make-config18
-rw-r--r--Makefile.X115
2 files changed, 21 insertions, 2 deletions
diff --git a/Make-config b/Make-config
index d8c4729a90..f5f206b6c9 100644
--- a/Make-config
+++ b/Make-config
@@ -786,6 +786,24 @@ linux-x86-sse:
"APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \
"ASM_SOURCES = $(X86_SOURCES)"
+linux-x86-opteron:
+ $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
+ "GL_LIB = libGL.so" \
+ "GLU_LIB = libGLU.so" \
+ "GLUT_LIB = libglut.so" \
+ "GLW_LIB = libGLw.so" \
+ "OSMESA_LIB = libOSMesa.so" \
+ "CC = gcc" \
+ "CXX = g++" \
+ "CFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \
+ "CXXFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
+ "GLUT_CFLAGS = -fexceptions" \
+ "GL_LIB_DEPS = -L/usr/X11R6/lib64 -lX11 -lXext -lm -lpthread" \
+ "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
+ "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm" \
+ "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib64 -lXt -lX11" \
+ "APP_LIB_DEPS = -lglut -lGLU -lGL -lm"
+
linux-icc:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GL_LIB = libGL.so" \
diff --git a/Makefile.X11 b/Makefile.X11
index 012f98044b..0688496cc8 100644
--- a/Makefile.X11
+++ b/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.115 2004/03/18 16:02:27 brianp Exp $
+# $Id: Makefile.X11,v 1.116 2004/03/25 01:51:38 brianp Exp $
# Mesa 3-D graphics library
# Version: 6.1
@@ -79,6 +79,7 @@ default:
@echo " make linux-x86-static-nothreads for Linux with x86 optimizations, static, no threads"
@echo " make linux-x86-64-static for Linux with x86_64 optimizations, static libs"
@echo " make linux-x86-64-static-nothreads for Linux with x86_64 optimizations, static libs, no threads"
+ @echo " make linux-x86-opteron for Linux on Opteron"
@echo " make linux-ggi for Linux with libggi driver"
@echo " make linux-x86-ggi for Linux with libggi driver and x86 optimizations"
@echo " make linux-glide for Linux with 3Dfx Glide driver"
@@ -142,7 +143,7 @@ hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
hpux11-32 hpux11-32-nothreads \
irix6-o32 irix6-o32-nothreads \
linux linux-debug linux-static \
-linux-x86 linux-x86-sse \
+linux-x86 linux-x86-sse linux-x86-opteron \
linux-x86-static linux-x86-debug linux-x86-static-nothreads \
linux-icc linux-icc-static linux-icc-static-nothreads \
linux-ia64-ecc-static linux-ia64-ecc-static-nothreads \