diff options
-rw-r--r-- | Make-config | 1602 | ||||
-rw-r--r-- | Makefile.X11 | 833 | ||||
-rw-r--r-- | progs/demos/Makefile.X11 | 101 | ||||
-rw-r--r-- | progs/redbook/Makefile.X11 | 50 | ||||
-rw-r--r-- | progs/samples/Makefile.X11 | 44 | ||||
-rw-r--r-- | progs/tests/Makefile.X11 | 115 | ||||
-rw-r--r-- | progs/xdemos/Makefile.X11 | 94 | ||||
-rw-r--r-- | src/glu/mesa/Makefile.X11 | 58 | ||||
-rw-r--r-- | src/glu/mini/Makefile.X11 | 65 | ||||
-rw-r--r-- | src/glu/sgi/Makefile.X11 | 161 | ||||
-rw-r--r-- | src/glut/glx/Makefile.X11 | 119 | ||||
-rw-r--r-- | src/glw/Makefile.X11 | 72 | ||||
-rw-r--r-- | src/mesa/Makefile.X11 | 147 |
13 files changed, 0 insertions, 3461 deletions
diff --git a/Make-config b/Make-config deleted file mode 100644 index 7e37afaa20f..00000000000 --- a/Make-config +++ /dev/null @@ -1,1602 +0,0 @@ -# Mesa Make-config file - -# This file describes the compiler options, etc needed to build Mesa -# on various systems using conventional Makefiles (not autoconf/automake). -# -# To add a new system configuration use an existing config as an example, -# then update the top-level Makefile.X11 file. You may also have to add -# new platform support to the bin/mklib script. - - -MESA_MAJOR=6 -MESA_MINOR=1 -MESA_TINY=0 -VERSION=$(MESA_MAJOR).$(MESA_MINOR) - - -# The following variables should be defined for each configuration: -# -# GL_LIB the name of the Mesa "GL" library file (usually libGL.so) -# GLU_LIB the name of the Mesa "GLU" library file (usually libGLU.so) -# GLUT_LIB the name of the GLUT library file (usually libglut.so) -# GLW_LIB the name of the GLw widget library file (usually libGLw.so) -# OSMESA_LIB the name of the OSMesa library file (usually libOSMesa.so) -# CC the C compiler (usually cc or gcc) -# CXX the C++ compiler (usuall c++ or g++ or CC) -# CFLAGS options for C compiler (like -O) -# CXXFLAGS options for the C++ compiler (like -O) -# GLUT_CFLAGS extra flags for compiling GLUT -# GL_LIB_DEPS list of libraries which the GL library depends on -# GLU_LIB_DEPS list of libraries which the GLU library depends on -# GLUT_LIB_DEPS list of libraries which the GLUT library depends on -# GLW_LIB_DEPS list of libraries which the GLw (Xt/OpenGL) library depends on -# OSMESA_LIB_DEPS list of libraries which OSMesa depends on (optional) -# APP_LIB_DEPS list of libraries which demo programs depend upon -# ASM_SOURCES optional list of assembly language files to assemble for libGL -# MKLIB_OPTIONS extra options to pass to the mklib script (like -arch) - - -# XXX probably out of date -aix: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = xlC" \ - "CFLAGS = -O -DAIXV3 -DPTHREADS" \ - "CXXFLAGS = -O -DAIXV3 -DPTHREADS" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm -lpthread -lC" - -aix-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = xlC" \ - "CFLAGS = -O -DAIXV3" \ - "CXXFLAGS = -O -DAIXV3" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm -lC" - -aix-64: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = xlC" \ - "CFLAGS = -q64 -O -DAIXV3 -DPTHREADS" \ - "CXXFLAGS = -q64 -O -DAIXV3 -DPTHREADS" \ - "MKLIB_OPTIONS = -static -arch AIX64" \ - "APP_LIB_DEPS = -q64 -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm -lpthread -lC" - -aix-64-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = xlC" \ - "CFLAGS = -q64 -O -DAIXV3" \ - "CXXFLAGS = -q64 -O -DAIXV3" \ - "MKLIB_OPTIONS = -static -arch AIX64" \ - "APP_LIB_DEPS = -q64 -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm -lC" - -# XXX probably out of date -aix-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CFLAGS = -O -DAIXV3" \ - "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm" - -aix-gcc: - $(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" \ - "CFLAGS = -O2 -DAIXV3" \ - "CXX = g++" \ - "CXXFLAGS = -O2 -DAIXV3" \ - "MKLIB_OPTIONS = -arch aix-gcc" \ - "GL_LIB_DEPS = -lX11 -lXext -lm" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lXi -lXmu" \ - "APP_LIB_DEPS = -Wl,-brtl -lglut -lGLU -lGL -lm -lX11 -lXext -lXmu -lXi" - -beos-r4: - $(MAKE) -f Makefile.BeOS-R4 targets \ - "GL_LIB = libGL.so" \ - "GLU_LIB = libGLU.so" \ - "GLUT_LIB = libglut.so" \ - "GLW_LIB = libGLw.so" \ - "OSMESA_LIB = libOSMesa.so" \ - "CC = g++" \ - "CFLAGS = -O -DNO_CONST" \ - "APP_LIB_DEPS = " - -cygnus: - $(MAKE) -f Makefile.cygnus $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "DLLTOOL = dlltool" \ - "WING_DIR= /wing" \ - "LD = ld" \ - "CFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \ - -O2 -funroll-loops \ - -fexpensive-optimizations -fomit-frame-pointer -ffast-math" \ - "CXXFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \ - -O2 -funroll-loops \ - -fexpensive-optimizations -fomit-frame-pointer -ffast-math" \ - "GLUT_CFLAGS = -fexceptions" \ - "WLIBS = $(TOP)/lib/wing32.a -lkernel32 -luser32 -lgdi32" - -cygnus-linux: - $(MAKE) -f Makefile.cygnus $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gnuwin32gcc" \ - "DLLTOOL = gnuwin32dlltool --as gnuwin32as" \ - "LD = gnuwin32ld" \ - "WING_DIR= /dos/wing" \ - "CFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \ - -O2 -funroll-loops \ - -fexpensive-optimizations -fomit-frame-pointer -ffast-math" \ - "WLIBS = $(TOP)/lib/wing32.a -lkernel32 -luser32 -lgdi32" - -darwin: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.dylib" \ - "GLU_LIB = libGLU.dylib" \ - "GLUT_LIB = libglut.dylib" \ - "GLW_LIB = libGLw.dylib" \ - "OSMESA_LIB = libOSMesa.dylib" \ - "CC = cc" \ - "CXX = cc" \ - "CFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math \ - -funroll-loops -fexpensive-optimizations -no-cpp-precomp \ - -dynamic -Ddarwin" \ - "CXXFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math \ - -funroll-loops -fexpensive-optimizations -no-cpp-precomp \ - -dynamic -Ddarwin" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = $(TOP)/lib/GL.dylib" \ - "GLU_LIB_DEPS = $(TOP)/lib/GL.dylib" \ - "GLUT_LIB_DEPS = " \ - "GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib" \ - "APP_LIB_DEPS = -L$(TOP)/lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" - -darwin-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -I/sw/include -I/usr/X11R6/include -O3 -fPIC -fno-common \ - -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp \ - -Ddarwin -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = $(CFLAGS)" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -L$(TOP)/lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm -lpthread" - -darwin-static-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -I/sw/include -I/usr/X11R6/include -O3 -fPIC -fno-common \ - -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp \ - -Ddarwin -DUSE_XSHM -I/usr/X11R6/include" \ - "CXXFLAGS = $(CFLAGS)" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -L$(TOP)/lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" - -freebsd: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \ - "CXXFLAGS = -O2 -fPIC -pedantic" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" - -freebsd-386: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 -DUSE_X86_ASM -DFREEBSD" \ - "CXXFLAGS = -O3 -ffast-math -fPIC -pedantic -DFREEBSD" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -gcc-sl: - $(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" \ - "CPLUSPLUS = g++" \ - "CFLAGS = -fPIC -O3" \ - "CXXFLAGS = -fPIC -O3" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -lX11 -lm" - -#special hidden target, to make a shared lib for ONLY Mesa "core" -gcc-mesa-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 libmesa \ - "MESA_LIB = libMesa.so" \ - "CC = gcc" \ - "CFLAGS = -fPIC -O3" \ - "GLUT_CFLAGS = -fexceptions" - -hpux9: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CFLAGS = +O3 -Aa -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \ - "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm" - -hpux9-gcc: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \ - "CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm" - -hpux9-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.sl" \ - "GLU_LIB = libGLU.sl" \ - "GLUT_LIB = libglut.sl" \ - "GLW_LIB = libGLw.sl" \ - "OSMESA_LIB = libOSMesa.sl" \ - "CC = cc" \ - "CFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \ - "APP_LIB_DEPS = -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lXmu -lXi -lX11 -lm" - -hpux9-gcc-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.sl" \ - "GLU_LIB = libGLU.sl" \ - "GLUT_LIB = libglut.sl" \ - "GLW_LIB = libGLw.sl" \ - "OSMESA_LIB = libOSMesa.sl" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \ - "CXXFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "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" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -L/usr/lib -lCsup" - -hpux10-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL" \ - "GLU_LIB = libGLU" \ - "GLUT_LIB = libglut" \ - "GLW_LIB = libGLw" \ - "OSMESA_LIB = libOSMesa" \ - "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" \ - "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" - -hpux10-gcc: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" - -hpux10-gcc-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.sl" \ - "GLU_LIB = libGLU.sl" \ - "GLUT_LIB = libglut.sl" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" - -hpux11-32: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS" \ - "CXXFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread -lC -lCsup" - -hpux11-32-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = +O3 +DA2.0 -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXt -lXi -lX11 -lm -lC -lCsup" - -hpux11-64: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DA2.0W -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS" \ - "CXXFLAGS = +O3 +DA2.0W -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread -lC -lCsup" - -hpux11-64-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DA2.0W -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = +O3 +DA2.0W -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXt -lXi -lX11 -lm -lC -lCsup" - -hpux11-ia64: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DD64 -Ae -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS" \ - "CXXFLAGS = +O3 +DD64 -Aa -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -lpthread" - -hpux11-ia64-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = aCC" \ - "CFLAGS = +O3 +DD64 -Ae -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = +O3 +DD64 -Aa -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" - -# IRIX 6 32-bit Targets -# Turn Warnings off for these errors (MIPSpro Compiler 7.30) -# 1521: A nonstandard preprocessing directive is used. -# 1552: The variable "" is set but never used. -# C++ -# 3262: The variable "" was declared but never referenced. -# 3666: The variable "" is set but never used. -# Use -v if using pmake to compile files in subdirectories. -irix6-o32: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM" \ - "CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666" \ - "MKLIB_OPTIONS = -archopt o32 -static" \ - "APP_LIB_DEPS = -32 -glut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm" - -irix6-o32-dso: - $(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" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM" \ - "CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666" \ - "MKLIB_OPTIONS = -archopt o32" \ - "APP_LIB_DEPS = -32 -rpath $(TOP)/lib32 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm" - -irix6-n32: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM -DPTHREAD" \ - "CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552 -DPTHREAD" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -n32 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm -lpthread -lC" - -irix6-n32-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -n32 -mips3 -O3 -ansi -woff 1209,1521" \ - "CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -n32 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm -lC" - -irix6-n32-dso: - $(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" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM" \ - "CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552" \ - "APP_LIB_DEPS = -n32 -rpath $(TOP)/lib32 -lglut -lGLU -lGL -lX11 -lXmu -lXi -lfpe -lm" - -irix6-gcc-n32-sl: - 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" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -mabi=n32 -mips3 -O3 -DUSE_XSHM" \ - "CXXFLAGS = -mabi=n32 -mips3 -O3" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -rpath $(TOP)/lib32 -lX11 -lXmu -lXi -lm" - -# For IRIX 6-64: -woff: -# 1068 - integer conversion resulted in a change of sign -# 1069 - integer conversion resulted in truncation -# 1174 - variable was declared but never referenced -# 1185 - enumerated type mixed with another type -# 1209 - controlling expression is constant -# 1474 - declaring a void parameter list with a typedef is nonstandard -# 1552 - variable was set but never used -irix6-64: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM -DPTHREAD" \ - "CXXFLAGS = -64 -O3 -ansi -woff 1174 -DPTHREAD" \ - "MKLIB_OPTIONS = -static -archopt 64" \ - "APP_LIB_DEPS = -64 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm -lpthread -lC" - -irix6-64-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM" \ - "CXXFLAGS = -64 -O3 -ansi -woff 1174" \ - "MKLIB_OPTIONS = -archopt 64 -static" \ - "APP_LIB_DEPS = -64 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm -lC" - -irix6-64-dso: - $(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" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM" \ - "CXX = CC" \ - "CXXFLAGS = -64 -O3 -ansi -woff 1174" \ - "MKLIB_OPTIONS = -archopt 64" \ - "APP_LIB_DEPS = -64 -rpath $(TOP)/lib64 -lglut -lGLU -lGL -lX11 -lXmu -lXi -lm" - -irix6-mgl-n32-dso: - $(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" \ - "LIBDIR = $(TOP)/libMGL32" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -n32 -DUSE_MGL_NAMESPACE -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM" \ - "CXXFLAGS = -n32 -DUSE_MGL_NAMESPACE -mips3 -O3 -ansi -woff 1174,1552" \ - "APP_LIB_DEPS = -n32 -rpath $(TOP)/libMGL32 -lglut -lGLU -lGL -lX11 -lXmu -lXi -lfpe -lm" - -linux: - $(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 = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" - -linux-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = " \ - "OSMESA_LIB_DEPS = " \ - "GLU_LIB_DEPS = " \ - "GLUT_LIB_DEPS = " \ - "GLW_LIB_DEPS = " \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lXi -lXmu -lpthread -lm -lstdc++" \ - "MKLIB_OPTIONS = -static" - -linux-x86: - $(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 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -Wall -g -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/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -linux-x86-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "MKLIB_OPTIONS = -static" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -linux-x86-static-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include" \ - "CXXFLAGS = -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "MKLIB_OPTIONS = -static" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -linux-x86-64-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CPLUSPLUS = g++" \ - "CFLAGS = -m64 -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm -lpthread -lstdc++" - -linux-x86-64-static-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CPLUSPLUS = g++" \ - "CFLAGS = -m64 -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -I/usr/X11R6/include" \ - "CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -ffast-math -funroll-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -I/usr/X11R6/include" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm -lstdc++" - -linux-x86-sse: - $(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 = -mcpu=pentium4 -mfpmath=sse -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -mcpu=pentium4 -mfpmath=sse -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/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "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" \ - "GLU_LIB = libGLU.so" \ - "GLUT_LIB = libglut.so" \ - "GLW_LIB = libGLw.so" \ - "OSMESA_LIB = libOSMesa.so" \ - "CC = icc" \ - "CXX = g++" \ - "CFLAGS = -O3 -tpp6 -axK -KPIC -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" \ - "MKLIB_OPTIONS = -arch icc" - -linux-icc-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = icc" \ - "CXX = icpc" \ - "CFLAGS = -O3 -tpp6 -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -O3 -tpp6 -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" \ - "MKLIB_OPTIONS = -static -arch icc" - -linux-icc-static-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = icc" \ - "CXX = icpc" \ - "CFLAGS = -O3 -tpp6 -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include" \ - "CXXFLAGS = -O3 -tpp6 -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" \ - "MKLIB_OPTIONS = -static -arch icc" - -# Contributed by [email protected] -linux-ggi: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.so" \ - "GLU_LIB = libGLU.so" \ - "GLUT_LIB = libglut.so" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DGGI -DCDECL=" \ - "CXXFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DCDECL=" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lggi -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -lm" - -# Contributed by Emmanuel marty [email protected] -linux-x86-ggi: - $(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 = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DUSE_X86_ASM -DGGI -DCDECL=" \ - "CXXFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DCDECL=" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lggi -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -linux-glfbdev: - $(MAKE) $(MFLAGS) -f Makefile.glfbdev targets \ - "GL_LIB = libGL.so" \ - "GLU_LIB = libGLU.so" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_GLFBDEV_DRIVER" \ - "CXXFLAGS = -O3 -fPIC" \ - "GL_LIB_DEPS = -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "APP_LIB_DEPS = -lm" - -linux-glide: - $(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 = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include" \ - "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -L/usr/local/glide/lib -lglide3x" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide3x -lglut -lGLU -lGL" - -linux-x86-glide: - $(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 = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include -I/usr/src/mesa-glx/src/FX/X86" \ - "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide3x -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -linux-ia64-ecc-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = ecc" \ - "CXX = ecpc" \ - "CFLAGS = -O3 -ansi -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "CXXFLAGS = -O3 -ansi -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm -lpthread" \ - "ASM_SOURCES =" - -linux-ia64-ecc-static-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = ecc" \ - "CXX = ecpc" \ - "CFLAGS = -O3 -ansi -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -I/usr/X11R6/include" \ - "CXXFLAGS = -O3 -ansi -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -I/usr/X11R6/include" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "ASM_SOURCES =" - -linux-alpha: - $(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 = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE -DUSE_XSHM" \ - "CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" - -linux-alpha-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -L/usr/X11R6/lib -D_XOPEN_SOURCE -DUSE_XSHM" \ - "CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lm" - -linux-ppc: - $(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 = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" - -linux-ppc-static: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -mcpu=603 -ansi -pedantic -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -O3 -mcpu=603 -ansi -pedantic -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm" - -linux-sparc: - $(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 = -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" - -linux-sparc5: - $(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 = -mv8 -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -mv8 -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" - -# 32-bit Sparc ELF userland, on UltraSparc -linux-sparc-ultra: - $(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 = -mv8 -O2 -mtune=ultrasparc -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \ - "CXXFLAGS = -mv8 -O2 -mtune=ultrasparc -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" - -# 16-bit/channel Mesa using OSMesa driver -linux-osmesa16: - $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \ - "OSMESA_LIB = libOSMesa16.so" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \ - "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -lm -lpthread" \ - "APP_LIB_DEPS = -lOSMesa16 -lGL" - -linux-osmesa16-static: - $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \ - "OSMESA_LIB = libOSMesa16.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \ - "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -lm -lpthread" \ - "APP_LIB_DEPS = -lOSMesa16 -lGL" \ - "MKLIB_OPTIONS = -static" - -# 32-bit/channel Mesa using OSMesa driver -linux-osmesa32: - $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \ - "OSMESA_LIB = libOSMesa32.so" \ - "OSMESA_LIB_NAME = OSMesa32" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \ - "CXXFLAGS = -O3 -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -lm -lpthread" \ - "APP_LIB_DEPS = -lOSMesa32 -lGL" - -# standalone Mesa -- embedded -# change -g to -O3 for non-debug -linux-solo: - $(MAKE) $(MFLAGS) -f Makefile.solo targets \ - "GLU_LIB = libGLU.so" \ - "GLUT_LIB = libglut.so" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -g -std=c99 -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "CXXFLAGS = -g -Wall -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -lm -lpthread -lexpat" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \ - "APP_LIB_DEPS = -L$(TOP)/lib -lglut -lGLU -lGL -lm -lpthread" - -# May want to add these CFLAGS for better performance under LynxOS and GCC: -# -fPIC -O2 -ansi -pedantic -mieee-fp -DUSE_XSHM -funroll-loops -# -fexpensive-optimizations -fomit-frame-pointer -ffast-math -lynxos: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O2 -ansi -pedantic -funroll-loops -ffast-math -DUSE_XSHM" \ - "CXXFLAGS = -O2 -ansi -pedantic -funroll-loops -ffast-math" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/X11/lib -lXext -lXi -lXmu -lX11 -lbsd -lm" - -mklinux: - $(MAKE) targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -pedantic -O2" \ - "CXXFLAGS = -pedantic -O2" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -lmoto -L/usr/X11/lib -lXmu -lX11 -lm" - -netbsd: - $(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 = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100" \ - "CXXFLAGS = -O2 -fPIC" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" - -openbsd: - $(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 = -O2 -fPIC -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \ - "CXXFLAGS = -O2 -fPIC -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm" \ - "OSMESA_LIB_DEPS = -lm" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -L/usr/X11R6/lib -lglut -lGLU -lGL -lm" - -openstep: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "DRIVER_SOURCES = OSmesa/osmesa.c" \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = ${MYCC}" \ - "CFLAGS = -traditional-cpp -DOPENSTEP -O4" - -openstep-win32: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "DRIVER_SOURCES = OSmesa/osmesa.c" \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -DOPENSTEP -O4" \ - "CXXFLAGS = -DOPENSTEP -O4" \ - "GLUT_CFLAGS = -fexceptions" - -osf1: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = cxx" \ - "CFLAGS = -O2 -std1 -ieee_with_no_inexact -DPTHREADS -D_REENTRANT -DUSE_XSHM" \ - "CXXFLAGS = -O2 -std1 -ieee_with_no_inexact -DPTHREADS -D_REENTRANT -DUSE_XSHM" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -noso -lglut -lGLU -lGL -so_archive -lX11 -lXext -lXmu -lXi -lm -lpthread -lcxx" - -osf1-nothreads: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = cxx" \ - "CFLAGS = -O2 -std1 -ieee_with_no_inexact -DUSE_XSHM" \ - "CXXFLAGS = -O2 -std1 -ieee_with_no_inexact -DUSE_XSHM" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -noso -lglut -lGLU -lGL -so_archive -lX11 -lXext -lXmu -lXi -lm" - -# QNX V4 & Watcom Compiler -qnx: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CFLAGS = -O" \ - "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lm" - -solaris-x86: - $(MAKE) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DUSE_XSHM" \ - "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" - -solaris-x86-gcc: - $(MAKE) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM" \ - "CXXFLAGS = -O3 -m486 -fPIC" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lglut -lGLU -lGL -lm" - -sunos4: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = acc" \ - "CFLAGS = -O -DUSE_XSHM -DSUNOS4" \ - "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm" - -sunos4-sl: - $(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 = acc" \ - "CFLAGS = -Kpic -O -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4" \ - "APP_LIB_DEPS = -L/usr/lib/X11R5 -lX11 -lXext -lXmu -lXi -lm" - -sunos4-gcc: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -O3 -DUSE_XSHM -DSUNOS4 -I/usr/openwin/include" \ - "CXXFLAGS = -O3 -DSUNOS4 -I/usr/openwin/include" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" - -sunos4-gcc-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.so.$(VERSION)" \ - "GLU_LIB = libGLU.so.$(VERSION)" \ - "GLUT_LIB = libglut.so" \ - "GLW_LIB = libGLw.so" \ - "OSMESA_LIB = libOSMesa.so" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4" \ - "CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4" \ - "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \ - "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" - -sunos4-gcc-x11r6-sl: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.so.$(VERSION)" \ - "GLU_LIB = libGLU.so.$(VERSION)" \ - "GLUT_LIB = libglut.so" \ - "GLW_LIB = libGLw.so" \ - "OSMESA_LIB = libOSMesa.so" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -fPIC -O3 -I/usr/X11R6.3/include -DUSE_XSHM -DSUNOS4" \ - "CXXFLAGS = -fPIC -O3 -I/usr/X11R6.3/include -DSUNOS4" \ - "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \ - "APP_LIB_DEPS = -L/usr/X11R6.3/lib/X11 -lX11 -lXext -lXmu -lXi -lm" - -sunos5: - $(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 = cc" \ - "CXX = c++" \ - "CFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM" \ - "CXXFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include" \ - "GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lCrun -lX11 -lglut -lGLU -lGL -lm" - -sunos5-v8: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -xarch=v8 -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \ - "CXXFLAGS = -xarch=v8 -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm -lCstd -lCrun" - -sunos5-v9: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -xarch=v9 -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \ - "CXXFLAGS = -xarch=v9 -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -xarch=v9 -lglut -lGL -lGLU -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm -lCstd -lCrun" - -sunos5-v8-pthread: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -xarch=v8 -mt -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG -DPTHREADS" \ - "CXXFLAGS = -xarch=v8 -mt -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG -DPTHREADS" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -lglut -lGL -lGLU -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lpthread -lm -lCstd -lCrun" - -sunos5-v9-pthread: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib64" \ - "CC = cc" \ - "CXX = CC" \ - "CFLAGS = -xarch=v9 -mt -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG -DPTHREADS" \ - "CXXFLAGS = -xarch=v9 -mt -Xa -xO4 -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG -DPTHREADS" \ - "MKLIB_OPTIONS = -static" \ - "APP_LIB_DEPS = -xarch=v9 -lglut -lGL -lGLU -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lpthread -lm -lCstd -lCrun" - -sunos5-smp: - $(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 = cc" \ - "CXX = c++" \ - "CFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \ - "CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include" \ - "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \ - "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm -lCrun" - -sunos5-gcc: - $(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 = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM" \ - "CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT" \ - "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \ - "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm" - -sunos5-gcc-debug: - $(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 = -g -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM" \ - "CXXFLAGS = -g -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT" \ - "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \ - "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \ - "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm" - -ultrix-gcc: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = gcc" \ - "CXX = g++" \ - "CFLAGS = -pedantic -O2" \ - "CXXFLAGS = -pedantic -O2" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -lXmu -lX11 -lXi -lm" - -unixware: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "CC = cc" \ - "CFLAGS = -O -I/usr/X/include -DUSE_XSHM" \ - "CXXFLAGS = -O" \ - "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lsocket -lnsl -lm" - -unixware-shared: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL" \ - "GLU_LIB = libGLU" \ - "GLUT_LIB = libglut" \ - "GLW_LIB = libGLw" \ - "OSMESA_LIB = libOSMesa" \ - "CC = cc" \ - "CFLAGS = -O -I/usr/X/include -KPIC,inline -DUSE_XSHM" \ - "CXXFLAGS = -O -KPIC,inline" \ - "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lsocket -lnsl -lm" - -# for debugging on IRIX 5.x systems -# -woff 1209 = "controlling expression is constant" -# -woff 1210 = "controlling expression is constant" -# -woff 1506 = "implict conversion from unsigned long to smaller type" -# -woff 1521 = "nonstandard preprocessing directive is used" -# -woff 3496 = "bitwise operator precedence" -irix-debug: - $(MAKE) $(MFLAGS) -f Makefile.X11 targets \ - "GL_LIB = libGL.a" \ - "GLU_LIB = libGLU.a" \ - "GLUT_LIB = libglut.a" \ - "GLW_LIB = libGLw.a" \ - "OSMESA_LIB = libOSMesa.a" \ - "LIBDIR = $(TOP)/lib32" \ - "CC = cc" \ - "CFLAGS = -g -n32 -ansi -fullwarn -DUSE_XSHM -DDEBUG -woff 1209,1210,1506,1521,3496" \ - "APP_LIB_DEPS = -rpath $(TOP)/lib32 -lX11 -lXext -lXmu -lXi -lfpe -lXext -lXmu -lXi -lm" - -# for debugging on Linux systems -linux-debug: - $(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 = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG" \ - "CXXFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG -DMESA_DEBUG" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \ - "APP_LIB_DEPS = -L$(TOP)/lib -lglut -lGLU -lGL" - -linux-x86-debug: - $(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 = -O2 -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include -DDEBUG -DMESA_DEBUG" \ - "CXXFLAGS = -O2 -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG" \ - "GLUT_CFLAGS = -fexceptions" \ - "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \ - "OSMESA_LIB_DEPS = -L$(TOP)/lib -lGL" \ - "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ - "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \ - "APP_LIB_DEPS = -lm" \ - "ASM_SOURCES = $(X86_SOURCES)" - -linux-glide-debug: - $(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 = -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DFX -DDEBUG -I/usr/local/glide/include -I/usr/include/glide" \ - "CXXFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG" \ - "GLUT_CFLAGS = -fexceptions" \ - "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide3x -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lvga -lm -lpthread" - diff --git a/Makefile.X11 b/Makefile.X11 deleted file mode 100644 index 0688496cc87..00000000000 --- a/Makefile.X11 +++ /dev/null @@ -1,833 +0,0 @@ -# $Id: Makefile.X11,v 1.116 2004/03/25 01:51:38 brianp Exp $ - -# Mesa 3-D graphics library -# Version: 6.1 -# -# Copyright (C) 1999-2004 Brian Paul All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -# Top-level makefile for Mesa -# To add a new configuration for your system add it to the list below -# then update the Make-config file. - -SHELL = /bin/sh - - - -default: - @echo "Type one of the following:" - @echo " make aix for AIX systems with xlc" - @echo " make aix-nothreads for AIX systems with xlc, no threads" - @echo " make aix64 for AIX systems with xlc, 64-bit" - @echo " make aix64-nothreads for AIX systems with xlc, 64-bit, no threads" - @echo " make aix-sl for AIX systems, make shared libs" - @echo " make aix-gcc for AIX sytems with gcc" - @echo " make beos-r4 for BeOS R4" - @echo " make cygnus for Win95/NT using Cygnus-Win32" - @echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux" - @echo " make darwin for Darwin - Mac OS X" - @echo " make darwin-static for Darwin - Mac OS X, static libs" - @echo " make darwin-static-nothreads for Darwin - Mac OS X, static libs, no threads" - @echo " make freebsd for FreeBSD systems with GCC" - @echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly" - @echo " make gcc-sl for a generic system with GCC for shared libs" - @echo " make hpux9 for HP systems with HPUX 9.x" - @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 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 hpux11-32 for HP systems with HPUX 11.x, static libs" - @echo " make hpux11-32-nothreads for HP systems with HPUX 11.x, static libs, no threads" - @echo " make hpux11-64 for HP systems with HPUX 11.x, 64-bit static libs" - @echo " make hpux11-64-nothreads for HP systems with HPUX 11.x, 64-bit static libs, no threads" - @echo " make hpux11-ia64 for HP IA64 systems with HPUX 11.x, 64-bit static libs" - @echo " make hpux11-ia64-nothreads for HP IA64 systems with HPUX 11.x, 64-bit static libs, no threads" - @echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs" - @echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs" - @echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs" - @echo " make irix6-n32-nothreads for SGI systems with IRIX 6.x, make n32-bit libs, no threads" - @echo " make irix6-n32-dso for SGI systems with IRIX 6.x, make n32-bit DSOs" - @echo " make irix6-gcc-n32-sl for SGI systems with IRIX 6.x, GCC, make n32 DSOs" - @echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs" - @echo " make irix6-64-nothreads for SGI systems with IRIX 6.x, make 64-bit libs, no threads" - @echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs" - - @echo " make linux for Linux" - @echo " make linux-static for Linux, static libs" - @echo " make linux-x86 for Linux with x86 optimizations" - @echo " make linux-x86-static for Linux with x86 optimizations, static libs" - @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" - @echo " make linux-x86-glide for Linux with 3Dfx Glide driver and x86 opts" - @echo " make linux-alpha for Linux with Alpha optimizations" - @echo " make linux-alpha-static for Linux with Alpha opts, make static libs" - @echo " make linux-ia64-ecc-static for Linux with IA64 opts, Intel compiler, static libs" - @echo " make linux-ia64-ecc-static-nothreads for Linux with IA64 opts, Intel compiler, static, no threads" - @echo " make linux-ppc for Linux with PowerPC opts" - @echo " make linux-ppc-static for Linux with PowerPC opts, make static libs" - @echo " make linux-sparc for Linux with Sparc optimzations" - @echo " make linux-sparc5 for Linux with Sparc5 optimizations" - @echo " make linux-sparc-ultra for Linux with UltraSparc optimizations" - @echo " make linux-osmesa16 for 16-bit/channel OSMesa" - @echo " make linux-osmesa16-static for 16-bit/channel OSMesa, make static libs" - @echo " make linux-osmesa32 for 32-bit/channel OSMesa" - @echo " make linux-solo for Linux standalone with DRI drivers" - @echo " make linux-icc for Linux with the Intel C/C++ compiler" - @echo " make linux-icc-static for Linux with the Intel C/C++ compiler, static libs" - @echo " make linux-icc-static-nothreads for Linux with the Intel C/C++ compiler, static, no threads" - @echo " make linux-ia64-ecc-static for Linux IA64 with the Intel C/C++ compiler, static libs" - @echo " make linux-ia64-ecc-static-nothreads for Linux IA64 with the Intel C/C++ compiler, static, no threads" - @echo " make lynxos for LynxOS systems with GCC" - @echo " make mklinux for Linux on Power Macintosh" - @echo " make netbsd for NetBSD 1.0 systems with GCC" - @echo " make openbsd for OpenBSD systems" - @echo " make openstep for OpenStep/MacOSX Server systems" - @echo " make osf1 for DEC Alpha systems with OSF/1" - @echo " make osf1-nothreads for DEC Alpha systems with OSF/1, no threads" - @echo " make qnx for QNX V4 systems with Watcom compiler" - @echo " make solaris-x86 for PCs with Solaris" - @echo " make solaris-x86-gcc for PCs with Solaris using GCC" - @echo " make sunos4 for Suns with SunOS 4.x" - @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs" - @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC" - @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs" - @echo " make sunos5 for Suns with SunOS 5.x" - @echo " make sunos5-smp for Suns with SunOS 5.x, SMP optimization" - @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC" - @echo " make sunos5-gcc-debug for Suns with SunOS 5.x and GCC" - @echo " make sunos5-v8 for Suns with SunOS 5.x, 32-bit V8 no threads" - @echo " make sunos5-v8-pthread for Suns with SunOS 5.x, 32-bit V8 with threads" - @echo " make sunos5-v9 for Suns with SunOS 5.x, 64-bit V8 no threads" - @echo " make sunos5-v9-pthread for Suns with SunOS 5.x, 64-bit V8 with threads" - @echo " make ultrix-gcc for DEC systems with Ultrix and GCC" - @echo " make unixware for PCs running UnixWare" - @echo " make unixware-shared for PCs running UnixWare, shared libs" - @echo " make clean remove .o files" - @echo " make realclean remove .o, library and executable files" - - - -# XXX we may have to split up this group of targets into those that -# have a C++ compiler and those that don't for the SI-GLU library. - -aix aix-nothreads aix-sl aix-gcc darwin freebsd freebsd-386 gcc-sl \ -darwin-static darwin-static-nothreads \ -cygnus cygnus-linux \ -hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \ -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-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 \ -linux-x86-64-static linux-x86-64-static-nothreads \ -linux-glide linux-x86-glide linux-glide-debug \ -linux-alpha-static linux-alpha \ -linux-ppc-static linux-ppc \ -linux-sparc linux-sparc5 linux-sparc-ultra \ -mklinux netbsd osf1 osf1-nothreads openbsd qnx \ -solaris-x86 solaris-x86-gcc \ -sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \ -sunos5 sunos5-smp sunos5-gcc sunos5-gcc-debug \ -sunos5-v8 sunos5-v8-pthread \ -ultrix-gcc unixware: - -mkdir lib - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glut/glx ] ; then \ - cd src/glut/glx ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glw ] ; then \ - cd src/glw ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/demos ] ; then \ - cd progs/demos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/xdemos ] ; then \ - cd progs/xdemos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/samples ] ; then \ - cd progs/samples ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/redbook ] ; then \ - cd progs/redbook ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - - -gcc-mesa-sl: - if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi - - -irix6-n32 irix6-n32-nothreads irix6-n32-dso irix6-gcc-n32-sl: - -mkdir lib32 - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glut/glx ] ; then \ - cd src/glut/glx ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glw ] ; then \ - cd src/glw ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/demos ] ; then \ - cd progs/demos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/xdemos ] ; then \ - cd progs/xdemos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/samples ] ; then \ - cd progs/samples ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/redbook ] ; then \ - cd progs/redbook ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - -aix-64 aix-64-nothreads hpux11-64 hpux11-64-nothreads irix6-64 \ -irix6-64-nothreads irix6-64-dso hpux11-ia64 hpux11-ia64-nothreads \ -sunos5-v9 sunos5-v9-pthread: - -mkdir lib64 - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glut/glx ] ; then \ - cd src/glut/glx ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glw ] ; then \ - cd src/glw ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/demos ] ; then \ - cd progs/demos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/xdemos ] ; then \ - cd progs/xdemos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/samples ] ; then \ - cd progs/samples ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/redbook ] ; then \ - cd progs/redbook ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - -irix6-mgl-n32-dso: - -mkdir libMGL32 - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - -beos-r4: - -mkdir lib - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - -rm depend ; \ - touch depend ; \ - $(MAKE) -f Makefile.BeOS-R4 $@ ; \ - fi - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - -rm depend ; \ - touch depend ; \ - $(MAKE) -f Makefile.BeOS-R4 $@ ; \ - fi - if [ -d src/glut/beos ] ; then \ - cd src/glut/beos ; \ - $(MAKE) -f Makefile.BeOS-R4 $@ ; \ - cp obj*/libglut.so ../../../lib ; \ - fi - if [ -d progs/beos ] ; then \ - cd progs/beos ; \ - $(MAKE) ; \ - fi - if [ -d progs/demos ] ; then \ - cd progs/demos ; \ - $(MAKE) -f Makefile.BeOS-R4 $@ ; \ - fi - if [ -d progs/samples ] ; then \ - cd progs/samples ; \ - $(MAKE) -f Makefile.BeOS-R4 $@ ; \ - fi - if [ -d progs/redbook ] ; then \ - cd progs/redbook ; \ - $(MAKE) -f Makefile.BeOS-R4 $@ ; \ - fi - - -openstep: - -mkdir lib - cd src/mesa ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@ - cd src/glu/sgi ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@ - - -linux-ggi linux-x86-ggi: - -mkdir lib - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glut/glx ] ; then \ - cd src/glut/glx ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d src/glw ] ; then \ - cd src/glw ; \ - touch depend ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/demos ] ; then \ - cd progs/demos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/xdemos ] ; then \ - cd progs/xdemos ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/samples ] ; then \ - cd progs/samples ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/redbook ] ; then \ - cd progs/redbook ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - if [ -d progs/ggi ] ; then \ - cd progs/ggi ; \ - $(MAKE) -f Makefile.X11 $@ ; \ - fi - - -# if you change GGI_DEST please change it in ggimesa.conf, too. -DESTDIR=/usr/local -GGI_DEST=lib/ggi/mesa - -linux-ggi-install linux-x86-ggi-install: - install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi - install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default - install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display - install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi -# if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \ -# echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \ -# fi - - -linux-osmesa16 linux-osmesa16-static linux-osmesa32: - -mkdir lib - if [ -d src/mesa ] ; then \ - cd src/mesa ; \ - touch depend ; \ - $(MAKE) -f Makefile.OSMesa16 $@ ; \ - fi - - -# Stand-alone DRI hardware drivers -linux-solo: - -mkdir lib - cd src/mesa ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/r200 ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/radeon ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/r128 ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/mga ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/i810 ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/i830 ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/sis ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/gamma ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/tdfx ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/fb ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/mesa/drivers/dri/unichrome ; touch depend ; $(MAKE) -f Makefile.solo $@ - cd src/glx/mini ; touch depend ; $(MAKE) -f Makefile.solo $@ - if [ -d src/glu/sgi ] ; then \ - cd src/glu/sgi ; \ - touch depend ; \ - ln -s Makefile.X11 Makefile.solo ; \ - $(MAKE) -f Makefile.solo $@ ; \ - fi - if [ -d src/glut/mini ] ; then \ - cd src/glut/mini ; \ - touch depend ; \ - $(MAKE) -f Makefile.solo $@ ; \ - fi - if [ -d progs/miniglx ] ; then \ - cd progs/miniglx ; \ - touch depend ; \ - $(MAKE) -f Makefile.solo $@ ; \ - fi -# if [ -d progs/demos ] ; then \ -# cd progs/demos ; \ -# $(MAKE) -f Makefile.X11 $@ ; \ -# fi -# if [ -d progs/xdemos ] ; then \ -# cd progs/xdemos ; \ -# $(MAKE) -f Makefile.X11 $@ ; \ -# fi -# if [ -d progs/samples ] ; then \ -# cd progs/samples ; \ -# $(MAKE) -f Makefile.X11 $@ ; \ -# fi -# if [ -d progs/redbook ] ; then \ -# cd progs/redbook ; \ -# $(MAKE) -f Makefile.X11 $@ ; \ -# fi - - -# Remove .o files, emacs backup files, etc. -# XXX this should be cleaned up -clean: -# if ! [ -f src/mesa/depend ] ; then touch src/mesa/depend ; fi -# if ! [ -f src/mesa/drivers/dri/r200/depend ]; then touch src/mesa/drivers/dri/r200/depend; fi -# if ! [ -f src/mesa/drivers/dri/r128/depend ]; then touch src/mesa/drivers/dri/r128/depend; fi -# if ! [ -f src/mesa/drivers/dri/radeon/depend ]; then touch src/mesa/drivers/dri/radeon/depend; fi -# if ! [ -f src/mesa/drivers/dri/mga/depend ]; then touch src/mesa/drivers/dri/mga/depend; fi -# if ! [ -f src/mesa/drivers/dri/fb/depend ]; then touch src/mesa/drivers/dri/fb/depend; fi -# if ! [ -f src/glu/mesa/depend ] ; then touch src/glu/mesa/depend ; fi -# if ! [ -f src/glu/sgi/depend ] ; then touch src/glu/sgi/depend ; fi -# if ! [ -f src/glu/mini/depend ] ; then touch src/glu/mini/depend ; fi -# if ! [ -f src/glut/glx/depend ] ; then touch src/glut/glx/depend ; fi -# if ! [ -f src/glut/mini/depend ] ; then touch src/glut/mini/depend ; fi -# if ! [ -f src/glx/mini/depend ] ; then touch src/glx/mini/depend ; fi -# if ! [ -f progs/tests/depend ] ; then touch progs/tests/depend ; fi -# if ! [ -f progs/miniglx/depend ] ; then touch progs/miniglx/depend ; fi - -rm -f include/GL/*~ - cd src/mesa && $(MAKE) -f Makefile.X11 $@ || true - cd src/mesa/drivers/dri/r200 && $(MAKE) -f Makefile.solo $@ || true - cd src/mesa/drivers/dri/r128 && $(MAKE) -f Makefile.solo $@ || true - cd src/mesa/drivers/dri/radeon && $(MAKE) -f Makefile.solo $@ || true - cd src/mesa/drivers/dri/mga && $(MAKE) -f Makefile.solo $@ || true - cd src/mesa/drivers/dri/fb && $(MAKE) -f Makefile.solo $@ || true - cd src/mesa/drivers/dri/unichrome && $(MAKE) -f Makefile.solo $@ || true - cd src/glu/mesa && $(MAKE) -f Makefile.X11 $@ || true - cd src/glu/sgi && $(MAKE) -f Makefile.X11 $@ || true - cd src/glu/mini && $(MAKE) -f Makefile.X11 $@ || true - cd src/glut/glx && $(MAKE) -f Makefile.X11 $@ || true - cd src/glut/mini && $(MAKE) -f Makefile.X11 $@ || true - cd src/glw && $(MAKE) -f Makefile.X11 $@ || true - cd src/glx/mini && $(MAKE) -f Makefile.X11 $@ || true - cd progs/demos && $(MAKE) -f Makefile.X11 $@ || true - cd progs/redbook && $(MAKE) -f Makefile.X11 $@ || true - cd progs/xdemos && $(MAKE) -f Makefile.X11 $@ || true - cd progs/samples && $(MAKE) -f Makefile.X11 $@ || true - cd progs/tests && $(MAKE) -f Makefile.X11 $@ || true - cd progs/miniglx && $(MAKE) -f Makefile.solo $@ || true -# if [ -f src/mesa/depend ] ; then rm src/mesa/depend ; fi -# if [ -f src/mesa/drivers/dri/r200/depend ]; then rm -f src/mesa/drivers/dri/r200/depend; fi -# if [ -f src/mesa/drivers/dri/r128/depend ]; then rm -f src/mesa/drivers/dri/r128/depend; fi -# if [ -f src/mesa/drivers/dri/radeon/depend ]; then rm -f src/mesa/drivers/dri/radeon/depend; fi -# if [ -f src/mesa/drivers/dri/mga/depend ]; then rm -f src/mesa/drivers/dri/mga/depend; fi -# if [ -f src/mesa/drivers/dri/fb/depend ]; then rm -f src/mesa/drivers/dri/fb/depend; fi -# if [ -f src/glu/mesa/depend ] ; then rm -f src/glu/mesa/depend ; fi -# if [ -f src/glu/sgi/depend ] ; then rm -f src/glu/sgi/depend ; fi -# if [ -f src/glu/mini/depend ] ; then rm -f src/glu/mini/depend ; fi -# if [ -f src/glut/glx/depend ] ; then rm -f src/glut/glx/depend ; fi -# if [ -f src/glut/mini/depend ] ; then rm -f src/glut/mini/depend ; fi -# if [ -f src/glx/mini/depend ] ; then rm -f src/glx/mini/depend ; fi -# if [ -f progs/tests/depend ] ; then rm -f progs/tests/depend ; fi -# if [ -f progs/miniglx/depend ] ; then rm -f progs/miniglx/depend ; fi - - -# Remove everything that can be remade -realclean: clean - -rm -fr lib lib32 lib64 - cd progs/demos && $(MAKE) -f Makefile.X11 realclean || true - cd progs/xdemos && $(MAKE) -f Makefile.X11 realclean || true - cd progs/redbook && $(MAKE) -f Makefile.X11 realclean || true - cd progs/samples && $(MAKE) -f Makefile.X11 realclean || true - - -# Remove everything not in CVS -cvsclean: realclean - -rm -f acinclude.m4 aclocal.m4 - -rm -f conf.h conf.h.in config.guess config.log config.status - -rm -f config.sub configure - -rm -f install-sh libtool ltmain.sh Makefile.in - -rm -f missing mkinstalldirs stamp-h stamp-h.in - - - - -DIRECTORY = Mesa-6.1 -LIB_NAME = MesaLib-6.1 -DEMO_NAME = MesaDemos-6.1 -GLU_NAME = MesaGLU-6.1 -GLUT_NAME = GLUT-3.7 - - -LIB_FILES = \ - $(DIRECTORY)/Makefile* \ - $(DIRECTORY)/Make-config \ - $(DIRECTORY)/descrip.mms \ - $(DIRECTORY)/mms-config. \ - $(DIRECTORY)/Mesa.dsw \ - $(DIRECTORY)/bin/mklib* \ - $(DIRECTORY)/docs/*.html \ - $(DIRECTORY)/docs/COPYING \ - $(DIRECTORY)/docs/INSTALL.GNU \ - $(DIRECTORY)/docs/README.* \ - $(DIRECTORY)/docs/RELNOTES* \ - $(DIRECTORY)/docs/VERSIONS \ - $(DIRECTORY)/docs/*.spec \ - $(DIRECTORY)/include/GL/internal/glcore.h \ - $(DIRECTORY)/include/GL/dmesa.h \ - $(DIRECTORY)/include/GL/amesa.h \ - $(DIRECTORY)/include/GL/fxmesa.h \ - $(DIRECTORY)/include/GL/ggimesa.h \ - $(DIRECTORY)/include/GL/gl.h \ - $(DIRECTORY)/include/GL/glext.h \ - $(DIRECTORY)/include/GL/gl_mangle.h \ - $(DIRECTORY)/include/GL/glu.h \ - $(DIRECTORY)/include/GL/glu_mangle.h \ - $(DIRECTORY)/include/GL/glx.h \ - $(DIRECTORY)/include/GL/glxext.h \ - $(DIRECTORY)/include/GL/glx_mangle.h \ - $(DIRECTORY)/include/GL/mesa_wgl.h \ - $(DIRECTORY)/include/GL/mglmesa.h \ - $(DIRECTORY)/include/GL/osmesa.h \ - $(DIRECTORY)/include/GL/svgamesa.h \ - $(DIRECTORY)/include/GL/ugl*.h \ - $(DIRECTORY)/include/GL/vms_x_fix.h \ - $(DIRECTORY)/include/GL/wmesa.h \ - $(DIRECTORY)/include/GL/xmesa.h \ - $(DIRECTORY)/include/GL/xmesa_x.h \ - $(DIRECTORY)/include/GL/xmesa_xf86.h \ - $(DIRECTORY)/src/descrip.mms \ - $(DIRECTORY)/src/mesa/Makefile* \ - $(DIRECTORY)/src/mesa/sources \ - $(DIRECTORY)/src/mesa/descrip.mms \ - $(DIRECTORY)/src/mesa/depend \ - $(DIRECTORY)/src/mesa/main/*.[chS] \ - $(DIRECTORY)/src/mesa/main/main.dsp \ - $(DIRECTORY)/src/mesa/main/descrip.mms \ - $(DIRECTORY)/src/mesa/glapi/*.[chS] \ - $(DIRECTORY)/src/mesa/glapi/glapi.dsp \ - $(DIRECTORY)/src/mesa/glapi/descrip.mms \ - $(DIRECTORY)/src/mesa/array_cache/*.[ch] \ - $(DIRECTORY)/src/mesa/array_cache/array_cache.dsp \ - $(DIRECTORY)/src/mesa/array_cache/descrip.mms \ - $(DIRECTORY)/src/mesa/math/*.[ch] \ - $(DIRECTORY)/src/mesa/math/math.dsp \ - $(DIRECTORY)/src/mesa/math/descrip.mms \ - $(DIRECTORY)/src/mesa/swrast/*.[ch] \ - $(DIRECTORY)/src/mesa/swrast/swrast.dsp \ - $(DIRECTORY)/src/mesa/swrast/descrip.mms \ - $(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \ - $(DIRECTORY)/src/mesa/swrast_setup/swrast_setup.dsp \ - $(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \ - $(DIRECTORY)/src/mesa/tnl/*.[ch] \ - $(DIRECTORY)/src/mesa/tnl/tnl.dsp \ - $(DIRECTORY)/src/mesa/tnl/descrip.mms \ - $(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \ - $(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \ - $(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \ - $(DIRECTORY)/src/mesa/drivers/beos/*.cpp \ - $(DIRECTORY)/src/mesa/drivers/beos/*.h \ - $(DIRECTORY)/src/mesa/drivers/common/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/common/descrip.mms \ - $(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \ - $(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \ - $(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/glide/*.def \ - $(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \ - $(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \ - $(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \ - $(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \ - $(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \ - $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \ - $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \ - $(DIRECTORY)/src/mesa/drivers/osmesa/descrip.mms \ - $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \ - $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.dsp \ - $(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \ - $(DIRECTORY)/src/mesa/drivers/windows/*/*.def \ - $(DIRECTORY)/src/mesa/drivers/windows/*/*.dsp \ - $(DIRECTORY)/src/mesa/drivers/x11/descrip.mms \ - $(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \ - $(DIRECTORY)/src/mesa/sparc/*.[chS] \ - $(DIRECTORY)/src/mesa/x86/*.[ch] \ - $(DIRECTORY)/src/mesa/x86/*.S \ - $(DIRECTORY)/src/glu/descrip.mms \ - $(DIRECTORY)/src/glu/sgi/Makefile.X11 \ - $(DIRECTORY)/src/glu/sgi/Makefile.win \ - $(DIRECTORY)/src/glu/sgi/Makefile.DJ \ - $(DIRECTORY)/src/glu/sgi/cc*.txt \ - $(DIRECTORY)/src/glu/sgi/glu.def \ - $(DIRECTORY)/src/glu/sgi/glu.dsp \ - $(DIRECTORY)/src/glu/sgi/dummy.cc \ - $(DIRECTORY)/src/glu/sgi/descrip.mms \ - $(DIRECTORY)/src/glu/sgi/mesaglu.opt \ - $(DIRECTORY)/src/glu/sgi/include/gluos.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \ - $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \ - $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \ - $(DIRECTORY)/src/glu/sgi/libtess/README \ - $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \ - $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \ - $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] \ - $(DIRECTORY)/src/glu/mesa/README[12] \ - $(DIRECTORY)/src/glu/mesa/Makefile* \ - $(DIRECTORY)/src/glu/mesa/descrip.mms \ - $(DIRECTORY)/src/glu/mesa/mms_depend \ - $(DIRECTORY)/src/glu/mesa/*.def \ - $(DIRECTORY)/src/glu/mesa/depend \ - $(DIRECTORY)/src/glu/mesa/*.[ch] \ - $(DIRECTORY)/src/glw/*.[ch] \ - $(DIRECTORY)/src/glw/Makefile* \ - $(DIRECTORY)/src/glw/README \ - $(DIRECTORY)/progs/util/README \ - $(DIRECTORY)/progs/util/*.[ch] \ - $(DIRECTORY)/progs/util/sampleMakefile \ - $(DIRECTORY)/vms/analyze_map.com \ - $(DIRECTORY)/vms/xlib.opt \ - $(DIRECTORY)/vms/xlib_share.opt - - -DEMO_FILES = \ - $(DIRECTORY)/include/GL/glut.h \ - $(DIRECTORY)/include/GL/glutf90.h \ - $(DIRECTORY)/src/glut/glx/Makefile* \ - $(DIRECTORY)/src/glut/glx/depend \ - $(DIRECTORY)/src/glut/glx/*def \ - $(DIRECTORY)/src/glut/glx/descrip.mms \ - $(DIRECTORY)/src/glut/glx/mms_depend \ - $(DIRECTORY)/src/glut/glx/glut.dsp \ - $(DIRECTORY)/src/glut/glx/*.[ch] \ - $(DIRECTORY)/src/glut/beos/*.h \ - $(DIRECTORY)/src/glut/beos/*.cpp \ - $(DIRECTORY)/src/glut/beos/libglut.def \ - $(DIRECTORY)/src/glut/beos/Makefile* \ - $(DIRECTORY)/src/glut/dos/*.[ch] \ - $(DIRECTORY)/src/glut/dos/Makefile.DJ \ - $(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \ - $(DIRECTORY)/progs/images/*.rgb \ - $(DIRECTORY)/progs/images/*.rgba \ - $(DIRECTORY)/progs/demos/Makefile* \ - $(DIRECTORY)/progs/demos/descrip.mms \ - $(DIRECTORY)/progs/demos/*.[ch] \ - $(DIRECTORY)/progs/demos/*.cxx \ - $(DIRECTORY)/progs/demos/*.dat \ - $(DIRECTORY)/progs/demos/README \ - $(DIRECTORY)/progs/demos/Windows/*.dsp \ - $(DIRECTORY)/progs/demos/Windows/*.dsw \ - $(DIRECTORY)/progs/xdemos/Makefile* \ - $(DIRECTORY)/progs/xdemos/descrip.mms \ - $(DIRECTORY)/progs/xdemos/*.[chf] \ - $(DIRECTORY)/progs/redbook/Makefile* \ - $(DIRECTORY)/progs/redbook/README \ - $(DIRECTORY)/progs/redbook/*.[ch] \ - $(DIRECTORY)/progs/samples/Makefile* \ - $(DIRECTORY)/progs/samples/README \ - $(DIRECTORY)/progs/samples/*.c \ - $(DIRECTORY)/progs/windml/Makefile.ugl \ - $(DIRECTORY)/progs/windml/*.c \ - $(DIRECTORY)/progs/windml/*.bmp \ - $(DIRECTORY)/progs/ggi/*.c - -SI_GLU_FILES = \ - $(DIRECTORY)/Makefile* \ - $(DIRECTORY)/Make-config \ - $(DIRECTORY)/bin/mklib* \ - $(DIRECTORY)/include/GL/glu.h \ - $(DIRECTORY)/src/glu/sgi/Makefile.X11 \ - $(DIRECTORY)/src/glu/sgi/include/gluos.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \ - $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \ - $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.h \ - $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.cc \ - $(DIRECTORY)/src/glu/sgi/libtess/README \ - $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \ - $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \ - $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] - -GLU_FILES = \ - $(DIRECTORY)/Makefile* \ - $(DIRECTORY)/Make-config \ - $(DIRECTORY)/bin/mklib* \ - $(DIRECTORY)/include/GL/gl.h \ - $(DIRECTORY)/include/GL/gl_mangle.h \ - $(DIRECTORY)/include/GL/glext.h \ - $(DIRECTORY)/include/GL/glu.h \ - $(DIRECTORY)/include/GL/glu_mangle.h \ - $(DIRECTORY)/src/glu/mesa/README[12] \ - $(DIRECTORY)/src/glu/mesa/Makefile* \ - $(DIRECTORY)/src/glu/mesa/descrip.mms \ - $(DIRECTORY)/src/glu/mesa/mms_depend \ - $(DIRECTORY)/src/glu/mesa/*.def \ - $(DIRECTORY)/src/glu/mesa/depend \ - $(DIRECTORY)/src/glu/mesa/*.[ch] - -GLUT_FILES = \ - $(DIRECTORY)/Makefile* \ - $(DIRECTORY)/Make-config \ - $(DIRECTORY)/bin/mklib* \ - $(DIRECTORY)/include/GL/gl.h \ - $(DIRECTORY)/include/GL/gl_mangle.h \ - $(DIRECTORY)/include/GL/glext.h \ - $(DIRECTORY)/include/GL/glu.h \ - $(DIRECTORY)/include/GL/glu_mangle.h \ - $(DIRECTORY)/include/GL/glut.h \ - $(DIRECTORY)/include/GL/glutf90.h \ - $(DIRECTORY)/src/glut/glx/Makefile* \ - $(DIRECTORY)/src/glut/glx/depend \ - $(DIRECTORY)/src/glut/glx/*def \ - $(DIRECTORY)/src/glut/glx/descrip.mms \ - $(DIRECTORY)/src/glut/glx/mms_depend \ - $(DIRECTORY)/src/glut/glx/*.[ch] - - - -lib_gz: - cp Makefile.X11 Makefile ; \ - cd .. ; \ - tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \ - gzip $(LIB_NAME).tar ; \ - mv $(LIB_NAME).tar.gz $(DIRECTORY) - -demo_gz: - cd .. ; \ - tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \ - gzip $(DEMO_NAME).tar ; \ - mv $(DEMO_NAME).tar.gz $(DIRECTORY) - -lib_bz2: - cp Makefile.X11 Makefile ; \ - cd .. ; \ - tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \ - bzip2 $(LIB_NAME).tar ; \ - mv $(LIB_NAME).tar.bz2 $(DIRECTORY) - -demo_bz2: - cd .. ; \ - tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \ - bzip2 $(DEMO_NAME).tar ; \ - mv $(DEMO_NAME).tar.bz2 $(DIRECTORY) - -lib_zip: - -rm $(LIB_NAME).zip ; \ - cp Makefile.X11 Makefile ; \ - cd .. ; \ - zip -r $(LIB_NAME).zip $(LIB_FILES) ; \ - mv $(LIB_NAME).zip $(DIRECTORY) - -demo_zip: - -rm $(DEMO_NAME).zip ; \ - cd .. ; \ - zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \ - mv $(DEMO_NAME).zip $(DIRECTORY) - -md5: - @-md5sum $(LIB_NAME).tar.gz - @-md5sum $(LIB_NAME).tar.bz2 - @-md5sum $(LIB_NAME).zip - @-md5sum $(DEMO_NAME).tar.gz - @-md5sum $(DEMO_NAME).tar.bz2 - @-md5sum $(DEMO_NAME).zip - -# Everything for new Mesa release: -tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5 - - -# not used -glu_gz: - cp Makefile.X11 Makefile ; \ - cd .. ; \ - tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \ - gzip $(GLU_NAME).tar ; \ - mv $(GLU_NAME).tar.gz $(DIRECTORY) - -glut_gz: - cp Makefile.X11 Makefile ; \ - cd .. ; \ - tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \ - gzip $(GLUT_NAME).tar ; \ - mv $(GLUT_NAME).tar.gz $(DIRECTORY) diff --git a/progs/demos/Makefile.X11 b/progs/demos/Makefile.X11 deleted file mode 100644 index a26ed3d398b..00000000000 --- a/progs/demos/Makefile.X11 +++ /dev/null @@ -1,101 +0,0 @@ -# Makefile for GLUT-based demo programs - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) - -PROGS = \ - arbfplight \ - arbocclude \ - bounce \ - clearspd \ - cubemap \ - drawpix \ - fire \ - fplight \ - gamma \ - gears \ - geartrain \ - glinfo \ - gloss \ - gltestperf \ - glutfx \ - isosurf \ - ipers \ - lodbias \ - morph3d \ - multiarb \ - occlude \ - osdemo \ - paltex \ - pixeltex \ - pointblast \ - ray \ - readpix \ - reflect \ - renormal \ - shadowtex \ - spectex \ - spriteblast \ - stex3d \ - teapot \ - terrain \ - tessdemo \ - texcyl \ - texdown \ - texenv \ - texobj \ - trispd \ - tunnel \ - tunnel2 \ - winpos - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - - -# make executable from .c file: -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - -# special case: need the -lOSMesa library: -osdemo: osdemo.c - $(CC) -I$(INCDIR) $(CFLAGS) osdemo.c $(OSMESA_LIBS) -o $@ - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -rm -f readtex.[ch] - -targets: readtex.c readtex.h $(PROGS) - - -readtex.c: - cp $(TOP)/progs/util/readtex.c . - -readtex.h: - cp $(TOP)/progs/util/readtex.h . - - -include $(TOP)/Make-config diff --git a/progs/redbook/Makefile.X11 b/progs/redbook/Makefile.X11 deleted file mode 100644 index aa3585cfe4b..00000000000 --- a/progs/redbook/Makefile.X11 +++ /dev/null @@ -1,50 +0,0 @@ -# Makefile for programs from the OpenGL Programming Guide - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) - -PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \ - bezcurve bezmesh checker clip colormat cube depthcue dof \ - double drawf feedback fog fogindex font hello image light \ - lines list material mipmap model movelight nurbs pickdepth \ - picksquare plane planet polyoff polys quadric robot sccolorlight \ - scene scenebamb sceneflat select smooth stencil stroke surface \ - teaambient teapots tess tesswind texbind texgen texprox texsub \ - texturesurf torus trim unproject varray wrap - - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - - - -##### TARGETS ###### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -targets: $(PROGS) - - -include $(TOP)/Make-config diff --git a/progs/samples/Makefile.X11 b/progs/samples/Makefile.X11 deleted file mode 100644 index d7efd25cd57..00000000000 --- a/progs/samples/Makefile.X11 +++ /dev/null @@ -1,44 +0,0 @@ -# Makefile for assorted SGI OpenGL demos - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) - -PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ - font line logo nurb oglinfo olympic overlay point prim quad select \ - shape sphere star stencil stretch texture tri wave - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -targets: $(PROGS) - - -include $(TOP)/Make-config diff --git a/progs/tests/Makefile.X11 b/progs/tests/Makefile.X11 deleted file mode 100644 index 77423395e04..00000000000 --- a/progs/tests/Makefile.X11 +++ /dev/null @@ -1,115 +0,0 @@ - -# Simple makefile for compiling test programs on Linux -# These programs aren't intended to be included with the normal -# distro. They're not too interesting but they're good for testing. - -TOP = ../.. -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -SOURCES = antialias.c \ - arbfpspec.c \ - arbfptest1.c \ - arbfptexture.c \ - arbfptrig.c \ - arbvptest1.c \ - arbvptest3.c \ - arbvptorus.c \ - arbvpwarpmesh.c \ - bufferobj.c \ - cva.c \ - dinoshade.c \ - fogcoord.c \ - fptest1.c \ - fptexture.c \ - getprocaddress.c \ - manytex.c \ - multipal.c \ - pbo.c \ - projtex.c \ - seccolor.c \ - sharedtex.c \ - stencilwrap.c \ - tex1d.c \ - texline.c \ - texrect.c \ - texwrap.c \ - vparray.c \ - vptest1.c \ - vptest2.c \ - vptest3.c \ - vptorus.c \ - vpwarpmesh.c \ - yuvrect.c \ - yuvsquare.c - -OBJECTS = $(SOURCES:.c=.o) - -PROGS = $(SOURCES:%.c=%) - -INCLUDES = \ - -I. \ - -I$(TOP)/include - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: - $(CC) $(INCLUDES) $(CFLAGS) $< $(LIBS) -o $@ - -.c.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - - -##### TARGETS ##### - -targets: $(PROGS) - -clean: - rm -f $(PROGS) - rm -f *.o - -# auto code generation -getprocaddress: getprocaddress.c getproclist.h - -getproclist.h: $(TOP)/src/mesa/glapi/APIspec getprocaddress.c getprocaddress.py - python getprocaddress.py > getproclist.h - - -texrect: texrect.o readtex.o - $(CC) texrect.o readtex.o $(LIBS) -o $@ - -texrect.o: texrect.c readtex.h - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - -readtex.o: readtex.c - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - - -readtex.h: $(TOP)/progs/util/readtex.h - ln -s $(TOP)/progs/util/readtex.h . - -readtex.c: $(TOP)/progs/util/readtex.c - ln -s $(TOP)/progs/util/readtex.c . - -# Run 'make -f Makefile.X11 dep' to update the dependencies if you change -# what's included by any source file. -dep: $(SOURCES) - makedepend -fdepend -Y $(INCLUDES) \ - $(SOURCES) - - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -include $(TOP)/Make-config - -include depend diff --git a/progs/xdemos/Makefile.X11 b/progs/xdemos/Makefile.X11 deleted file mode 100644 index 55c8489c4ea..00000000000 --- a/progs/xdemos/Makefile.X11 +++ /dev/null @@ -1,94 +0,0 @@ -# Makefile for non-GLUT (X11, SVGA, etc) demo programs - - -##### MACROS ##### - -TOP = ../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) - -LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) - -PROGS = glthreads \ - glxdemo \ - glxgears \ - glxheads \ - glxinfo \ - glxpixmap \ - glxpbdemo \ - glxswapcontrol \ - manywin \ - offset \ - pbinfo \ - pbdemo \ - wincopy \ - xdemo \ - xfont \ - xrotfontdemo \ - glxgears_fbconfig \ - opencloseopen - - - -##### RULES ##### - -.SUFFIXES: -.SUFFIXES: .c - -.c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ - - -# special cases -pbinfo: pbinfo.o pbutil.o - $(CC) pbinfo.o pbutil.o $(LIBS) -o $@ - -pbdemo: pbdemo.o pbutil.o - $(CC) pbdemo.o pbutil.o $(LIBS) -o $@ - -pbinfo.o: pbinfo.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbinfo.c - -pbdemo.o: pbdemo.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbdemo.c - -pbutil.o: pbutil.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbutil.c - -glxgears_fbconfig.o: glxgears_fbconfig.c pbutil.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) glxgears_fbconfig.c - -glxgears_fbconfig: glxgears_fbconfig.o pbutil.o - $(CC) glxgears_fbconfig.o pbutil.o $(LIBS) -o $@ - -xrotfontdemo: xrotfontdemo.o xuserotfont.o - $(CC) xrotfontdemo.o xuserotfont.o $(LIBS) -o $@ - -xuserotfont.o: xuserotfont.c xuserotfont.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) xuserotfont.c - -xrotfontdemo.o: xrotfontdemo.c xuserotfont.h - $(CC) -c -I. -I$(INCDIR) $(CFLAGS) xrotfontdemo.c - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration (i.e. make -f Makefile.X11 linux)" - -clean: - -rm -f *.o *~ - -realclean: - -rm -f $(PROGS) - -rm -f *.o *~ - -targets: $(PROGS) - - -include $(TOP)/Make-config - - diff --git a/src/glu/mesa/Makefile.X11 b/src/glu/mesa/Makefile.X11 deleted file mode 100644 index 2265620fe6b..00000000000 --- a/src/glu/mesa/Makefile.X11 +++ /dev/null @@ -1,58 +0,0 @@ -# Makefile for old Mesa GLU library - -##### MACROS ##### - -GLU_MAJOR = 1 -GLU_MINOR = 1 -GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -GLU_LIB_NAME = "GLU" # may be overridden in Make-config - -VPATH = RCS - -TOP = ../../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c nurbsutl.c \ - polytest.c project.c quadric.c tess.c tesselat.c - -OBJECTS = $(SOURCES:.c=.o) - - - -##### RULES ##### - -.c.o: - $(CC) -c -I$(INCDIR) $(CFLAGS) $< - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -targets: $(LIBDIR)/$(GLU_LIB) - -# Make the library: -$(LIBDIR)/$(GLU_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLU_LIB_NAME) -major $(GLU_MAJOR) \ - -minor $(GLU_MINOR) -patch $(GLU_TINY) $(GLU_LIB_DEPS) \ - -install $(LIBDIR) $(OBJECTS) - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make depend' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/glu/mini/Makefile.X11 b/src/glu/mini/Makefile.X11 deleted file mode 100644 index 4462d562612..00000000000 --- a/src/glu/mini/Makefile.X11 +++ /dev/null @@ -1,65 +0,0 @@ - - -TOP = ../../.. - -default: linux-solo - -LIBDIR = $(TOP)/lib - -INCLUDES = -I$(TOP)/include -CFLAGS = -c -g $(INCLUDES) -MD - -SOURCES = glu.c \ - mipmap.c \ - nurbs.c \ - polytest.c \ - project.c \ - quadric.c \ - tess.c \ - tesselat.c - - -OBJS = $(SOURCES:.c=.o) - -LIBS=-L$(TOP)/lib -lGL -lm - -##### RULES ##### - -.c.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ - - -##### TARGETS ##### - -targets: depend libGLU.so.1.1 install - -libGLU.so.1.1: $(OBJS) Makefile.X11 - gcc -shared -Wl,-soname,libGLU.so -Wl,-Bsymbolic $(OBJS) $(LIBS) -o $@ - -install: libGLU.so.1.1 - rm -f $(TOP)/lib/libGLU.so* - install -D libGLU.so.1.1 $(TOP)/lib/libGLU.so.1.1 - ln -s libGLU.so.1.1 $(TOP)/lib/libGLU.so.1 - ln -s libGLU.so.1 $(TOP)/lib/libGLU.so - -# Run 'make -f Makefile.X11 dep' to update the dependencies if you change -# what's included by any source file. -depend: $(SOURCES) - makedepend -fdepend -Y $(INCLUDES) \ - $(SOURCES) - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -# Remove .o and backup files -clean: - -rm -f *.o *~ *.o *~ *.so libGLU.so.1.1 - -include $(TOP)/Make-config - -include depend diff --git a/src/glu/sgi/Makefile.X11 b/src/glu/sgi/Makefile.X11 deleted file mode 100644 index 77b905d33ca..00000000000 --- a/src/glu/sgi/Makefile.X11 +++ /dev/null @@ -1,161 +0,0 @@ -# Makefile for SGI SI GLU library - -.SUFFIXES : .cc - -##### MACROS ##### - -GLU_MAJOR = 1 -GLU_MINOR = 3 -GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -GLU_LIB_NAME = "GLU" # may be overridden in Make-config - -VPATH = RCS - -TOP = ../../.. -INCDIRS = -I$(TOP)/include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -LIBDIR = $(TOP)/lib - -C_SOURCES = \ - libutil/error.c \ - libutil/glue.c \ - libutil/mipmap.c \ - libutil/project.c \ - libutil/quad.c \ - libutil/registry.c \ - libtess/dict.c \ - libtess/geom.c \ - libtess/memalloc.c \ - libtess/mesh.c \ - libtess/normal.c \ - libtess/priorityq.c \ - libtess/render.c \ - libtess/sweep.c \ - libtess/tess.c \ - libtess/tessmono.c - -CC_SOURCES = \ - libnurbs/interface/bezierEval.cc \ - libnurbs/interface/bezierPatch.cc \ - libnurbs/interface/bezierPatchMesh.cc \ - libnurbs/interface/glcurveval.cc \ - libnurbs/interface/glinterface.cc \ - libnurbs/interface/glrenderer.cc \ - libnurbs/interface/glsurfeval.cc \ - libnurbs/interface/incurveeval.cc \ - libnurbs/interface/insurfeval.cc \ - libnurbs/internals/arc.cc \ - libnurbs/internals/arcsorter.cc \ - libnurbs/internals/arctess.cc \ - libnurbs/internals/backend.cc \ - libnurbs/internals/basiccrveval.cc \ - libnurbs/internals/basicsurfeval.cc \ - libnurbs/internals/bin.cc \ - libnurbs/internals/bufpool.cc \ - libnurbs/internals/cachingeval.cc \ - libnurbs/internals/ccw.cc \ - libnurbs/internals/coveandtiler.cc \ - libnurbs/internals/curve.cc \ - libnurbs/internals/curvelist.cc \ - libnurbs/internals/curvesub.cc \ - libnurbs/internals/dataTransform.cc \ - libnurbs/internals/displaylist.cc \ - libnurbs/internals/flist.cc \ - libnurbs/internals/flistsorter.cc \ - libnurbs/internals/hull.cc \ - libnurbs/internals/intersect.cc \ - libnurbs/internals/knotvector.cc \ - libnurbs/internals/mapdesc.cc \ - libnurbs/internals/mapdescv.cc \ - libnurbs/internals/maplist.cc \ - libnurbs/internals/mesher.cc \ - libnurbs/internals/monoTriangulationBackend.cc \ - libnurbs/internals/monotonizer.cc \ - libnurbs/internals/mycode.cc \ - libnurbs/internals/nurbsinterfac.cc \ - libnurbs/internals/nurbstess.cc \ - libnurbs/internals/patch.cc \ - libnurbs/internals/patchlist.cc \ - libnurbs/internals/quilt.cc \ - libnurbs/internals/reader.cc \ - libnurbs/internals/renderhints.cc \ - libnurbs/internals/slicer.cc \ - libnurbs/internals/sorter.cc \ - libnurbs/internals/splitarcs.cc \ - libnurbs/internals/subdivider.cc \ - libnurbs/internals/tobezier.cc \ - libnurbs/internals/trimline.cc \ - libnurbs/internals/trimregion.cc \ - libnurbs/internals/trimvertpool.cc \ - libnurbs/internals/uarray.cc \ - libnurbs/internals/varray.cc \ - libnurbs/nurbtess/directedLine.cc \ - libnurbs/nurbtess/gridWrap.cc \ - libnurbs/nurbtess/monoChain.cc \ - libnurbs/nurbtess/monoPolyPart.cc \ - libnurbs/nurbtess/monoTriangulation.cc \ - libnurbs/nurbtess/partitionX.cc \ - libnurbs/nurbtess/partitionY.cc \ - libnurbs/nurbtess/polyDBG.cc \ - libnurbs/nurbtess/polyUtil.cc \ - libnurbs/nurbtess/primitiveStream.cc \ - libnurbs/nurbtess/quicksort.cc \ - libnurbs/nurbtess/rectBlock.cc \ - libnurbs/nurbtess/sampleComp.cc \ - libnurbs/nurbtess/sampleCompBot.cc \ - libnurbs/nurbtess/sampleCompRight.cc \ - libnurbs/nurbtess/sampleCompTop.cc \ - libnurbs/nurbtess/sampleMonoPoly.cc \ - libnurbs/nurbtess/sampledLine.cc \ - libnurbs/nurbtess/searchTree.cc - -SOURCES = $(C_SOURCES) $(CC_SOURCES) - -C_OBJECTS = $(C_SOURCES:.c=.o) -CC_OBJECTS = $(CC_SOURCES:.cc=.o) -OBJECTS = $(C_OBJECTS) $(CC_OBJECTS) - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCDIRS) $(CFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@ - -.cc.o: - $(CXX) -c $(INCDIRS) $(CXXFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@ - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o */*.o */*/*.o - -rm -f *.lo */*.lo */*/*.lo - -rm -f *.la */*.la */*/*.la - - -targets: $(LIBDIR)/$(GLU_LIB) - -# Make the library: -$(LIBDIR)/$(GLU_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLU_LIB_NAME) -major $(GLU_MAJOR) \ - -minor $(GLU_MINOR) -patch $(GLU_TINY) \ - $(MKLIB_OPTIONS) -cplusplus -install $(LIBDIR) \ - $(GLU_LIB_DEPS) $(OBJECTS) - - - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make depend' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/glut/glx/Makefile.X11 b/src/glut/glx/Makefile.X11 deleted file mode 100644 index bce0d206841..00000000000 --- a/src/glut/glx/Makefile.X11 +++ /dev/null @@ -1,119 +0,0 @@ -# Makefile for GLUT -# -# NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source -# code published in a book titled "Programming OpenGL for the X Window -# System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The -# programs and associated files contained in the distribution were -# developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark -# J. Kilgard (unless otherwise noted). The programs are not in the -# public domain, but they are freely distributable without licensing -# fees. These programs are provided without guarantee or warrantee -# expressed or implied. -# -# GLUT source included with Mesa with permission from Mark Kilgard. - - -##### MACROS ##### - -GLUT_MAJOR = 3 -GLUT_MINOR = 7 -GLUT_TINY = 1 - -VPATH = RCS - -TOP = ../../.. -INCDIR = $(TOP)/include -LIBDIR = $(TOP)/lib - -SOURCES = \ - glut_8x13.c \ - glut_9x15.c \ - glut_bitmap.c \ - glut_bwidth.c \ - glut_cindex.c \ - glut_cmap.c \ - glut_cursor.c \ - glut_dials.c \ - glut_dstr.c \ - glut_event.c \ - glut_ext.c \ - glut_fbc.c \ - glut_fullscrn.c \ - glut_gamemode.c \ - glut_get.c \ - glut_glxext.c \ - glut_hel10.c \ - glut_hel12.c \ - glut_hel18.c \ - glut_init.c \ - glut_input.c \ - glut_joy.c \ - glut_key.c \ - glut_keyctrl.c \ - glut_keyup.c \ - glut_menu.c \ - glut_menu2.c \ - glut_mesa.c \ - glut_modifier.c \ - glut_mroman.c \ - glut_overlay.c \ - glut_roman.c \ - glut_shapes.c \ - glut_space.c \ - glut_stroke.c \ - glut_swap.c \ - glut_swidth.c \ - glut_tablet.c \ - glut_teapot.c \ - glut_tr10.c \ - glut_tr24.c \ - glut_util.c \ - glut_vidresize.c \ - glut_warp.c \ - glut_win.c \ - glut_winmisc.c \ - layerutil.c - - -OBJECTS = $(SOURCES:.c=.o) - - - -##### RULES ##### - -.c.o: - $(CC) -c -I$(INCDIR) $(CFLAGS) $(GLUT_CFLAGS) $< - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -rm -f *.lo - -rm -f *.la - -rm -rf .libs - -targets: $(LIBDIR)/$(GLUT_LIB) - -# Make the library -$(LIBDIR)/$(GLUT_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o glut -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ - -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(GLUT_LIB_DEPS) $(OBJECTS) - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make dep' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/glw/Makefile.X11 b/src/glw/Makefile.X11 deleted file mode 100644 index d7513ffb5aa..00000000000 --- a/src/glw/Makefile.X11 +++ /dev/null @@ -1,72 +0,0 @@ -# Makefile for SGI's OpenGL widgets - - -##### MACROS ##### - -MAJOR = 1 -MINOR = 0 -TINY = 0 - -TOP = ../.. - -VPATH = RCS - -INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/X11R6/include -LIBDIR = $(TOP)/lib - -# Use these sources for Motif (and Xt) support. Requires Motif header files. -#SOURCES = GLwDrawA.c GLwMDrawA.c - -# OR, use these sources for non-Motif (Xt only) build: -SOURCES = GLwDrawA.c - - -OBJECTS = $(SOURCES:.c=.o) - - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCDIRS) $(CFLAGS) $< - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - -clean: - -rm -f *.o *~ - -targets: $(LIBDIR)/$(GLW_LIB) message - - -# Make the library -$(LIBDIR)/$(GLW_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o GLw -major $(MAJOR) -minor $(MINOR) \ - -patch $(TINY) $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(GLW_LIB_DEPS) $(OBJECTS) - - -message: - @echo - @echo "************************************************************************" - @echo "*** Edit widgets-sgi/Makefile.X11 to enable Motif support, if needed ***" - @echo "************************************************************************" - @echo - - -include $(TOP)/Make-config - -include depend - - - -# -# Run 'make depend' to update the dependencies if you change what's included -# by any source file. -# -dep: $(SOURCES) - makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) diff --git a/src/mesa/Makefile.X11 b/src/mesa/Makefile.X11 deleted file mode 100644 index 22708b5efa2..00000000000 --- a/src/mesa/Makefile.X11 +++ /dev/null @@ -1,147 +0,0 @@ -# Makefile for main Mesa library for Unix/X11-like systems - - -##### MACROS ##### - -TOP = ../.. - -GL_MAJOR = 1 -GL_MINOR = 5 -GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -# These may be overridden in Make-config -GL_LIB_NAME = GL -OSMESA_LIB_NAME = OSMesa - -LIBDIR = $(TOP)/lib - - -include sources - - -# This will probably get set to $(X86_SOURCES) in Make-config: -ASM_SOURCES = - -# This should get set in Make-config someday: -DRIVER_SOURCES = \ - $(COMMON_DRIVER_SOURCES) \ - $(X11_DRIVER_SOURCES) \ - $(GLIDE_DRIVER_SOURCES) \ - $(SVGA_DRIVER_SOURCES) \ - $(FBDEV_DRIVER_SOURCES) - -# All the sources we care about: -SOURCES = \ - $(CORE_SOURCES) \ - $(ASM_SOURCES) \ - $(DRIVER_SOURCES) - - -ASM_OBJECTS = $(ASM_SOURCES:.S=.o) - -DRIVER_OBJECTS = $(DRIVER_SOURCES:.c=.o) - -OSMESA_OBJECTS = $(OSMESA_DRIVER_SOURCES:.c=.o) - -# All the objects we want to make: -OBJECTS = \ - $(CORE_OBJECTS) \ - $(ASM_OBJECTS) \ - $(DRIVER_OBJECTS) - - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - - -# need some special rules here, unfortunately -x86/matypes.h: main/mtypes.h tnl/t_context.h x86/gen_matypes.c - $(CC) $(INCLUDE_DIRS) $(CFLAGS) x86/gen_matypes.c -o x86/gen_matypes - ./x86/gen_matypes > x86/matypes.h - #rm -f x86/gen_matypes x86/*.o - -x86/common_x86_asm.o: x86/matypes.h -x86/3dnow_normal.o: x86/matypes.h -x86/3dnow_xform1.o: x86/matypes.h -x86/3dnow_xform2.o: x86/matypes.h -x86/3dnow_xform3.o: x86/matypes.h -x86/3dnow_xform4.o: x86/matypes.h -x86/mmx_blend.o: x86/matypes.h -x86/sse_normal.o: x86/matypes.h -x86/sse_xform1.o: x86/matypes.h -x86/sse_xform2.o: x86/matypes.h -x86/sse_xform3.o: x86/matypes.h -x86/sse_xform4.o: x86/matypes.h -x86/x86_cliptest.o: x86/matypes.h -x86/x86_xform2.o: x86/matypes.h -x86/x86_xform3.o: x86/matypes.h -x86/x86_xform4.o: x86/matypes.h - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - - -targets: $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(OSMESA_LIB) - - -# Make the GL library -$(LIBDIR)/$(GL_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GL_LIB_NAME) -major $(GL_MAJOR) \ - -minor $(GL_MINOR) -patch $(GL_TINY) -install $(LIBDIR) \ - $(MKLIB_OPTIONS) $(GL_LIB_DEPS) $(OBJECTS) - - -# Make the OSMesa library -$(LIBDIR)/$(OSMESA_LIB): $(OSMESA_OBJECTS) - if [ ${OSMESA_LIB} ] ; then \ - $(TOP)/bin/mklib -o $(OSMESA_LIB_NAME) -major $(MESA_MAJOR) \ - -minor $(MESA_MINOR) -patch $(GL_TINY) \ - $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(OSMESA_LIB_DEPS) $(OSMESA_OBJECTS) ; \ - fi - - -# Make an optional library with _just_ core objects -# XXX this should probably be moved into a separate makefile -libmesa: $(LIBDIR)/$(MESA_LIB) - if [ ${MESA_LIB} ] ; then \ - $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) \ - $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; \ - fi - if [ ${MESA_LIB} ] ; then rm -f $(LIBDIR)/$(MESA_LIB)* ; fi - if [ ${MESA_LIB} ] ; then mv $(MESA_LIB)* $(LIBDIR) ; fi -$(LIBDIR)/$(MESA_LIB): $(CORE_OBJECTS) - - - -# Run 'make -f Makefile.X11 dep' to update the dependencies if you change -# what's included by any source file. -dep: $(SOURCES) - makedepend -fdepend -Y $(INCLUDE_DIRS) -DGGI -DSVGA -DFX $(SOURCES) - - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -# Remove .o and backup files -clean: - -rm -f *.a - -rm -f */*.o */*~ */*.o */*~ - -rm -f drivers/*/*.o drivers/*/*/*.o - - -include $(TOP)/Make-config - -include depend |