added linux-x86-opteron (bug 922735)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Mar 2004 01:51:38 +0000 (01:51 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Mar 2004 01:51:38 +0000 (01:51 +0000)
Make-config
Makefile.X11

index d8c4729..f5f206b 100644 (file)
@@ -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" \
index 012f980..0688496 100644 (file)
@@ -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 \