# Make-config # Mesa 3-D graphics library # Version: 2.2 # Copyright (C) 1995-1997 Brian Paul # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # $Id: Make-config,v 1.15 1997/03/11 01:38:33 brianp Exp $ # $Log: Make-config,v $ # Revision 1.15 1997/03/11 01:38:33 brianp # added -DDEBUG to CFLAGS for linux-debug # # Revision 1.14 1997/02/08 07:52:57 brianp # added osf1-sl config, removed obsolete hpux flags, removed -pipe option # # Revision 1.13 1997/01/30 18:52:28 brianp # added linux-alpha config. Updated for version 2.2 # # Revision 1.12 1997/01/04 06:19:14 brianp # added openbsd config from Thomas Graichen # # Revision 1.11 1996/12/13 22:09:50 brianp # replaced -mieee-fp with -ffast-math in linux CFLAGS # # Revision 1.10 1996/12/09 22:57:13 brianp # added linux-prof config and some Linux compiler flag info # # Revision 1.9 1996/11/30 14:36:02 brianp # fixed problem with openstep config # # Revision 1.8 1996/11/24 19:33:26 brianp # added openstep config # # Revision 1.7 1996/11/02 04:16:48 brianp # new osf1 config from Thomas Graichen # # Revision 1.6 1996/10/31 01:18:03 brianp # incremented version to 2.1 # # Revision 1.5 1996/10/09 03:23:03 brianp # added unixware-shared config # # Revision 1.4 1996/09/28 14:32:35 brianp # removed -lXext from irix6-n32-dso XLIBS # added -Wall to linux-debug CFLAGS # # Revision 1.3 1996/09/26 22:40:26 brianp # removed Fortran bindings stuff # use new mklib.irix6-* DSO scripts # added -I and -L options to sunos5 targets for Motif # changed osf1 flag from -ieee_with_inexact to -ieee_with_no_inexact # removed -lXext from IRIX DSO configs # # Revision 1.2 1996/09/13 01:07:49 brianp # replaced HPUX +Onofltacc flag with -J per Jacques Leroy # # Revision 1.1 1996/09/12 00:39:00 brianp # Initial revision # # The following variables are passed to each Makefile: # # GL_LIB the name of the Mesa "GL" library file (usually libMesaGL.a) # GLU_LIB the name of the Mesa "GLU" library file (usually libMesaGLU.a) # TK_LIB the name of the TK toolkit library file (usually libMesatk.a) # AUX_LIB the name of the AUX toolkit library file (usually libMesaaux.a) # CC the C compiler (usually cc or gcc) # CFLAGS flags to C compiler (usually -O) # MAKELIB the command and flags to make a library file (usually "ar rcv" # or a shell script for shared libs) # RANLIB "ranlib" = use ranlib, "true" = don't use ranlib # XLIBS libraries needed to link X apps (at least -lX11) # # Optionally, you can add definitions for the INCDIR and LIBDIR variables # which specify where to find the Mesa include files and where to put the # Mesa libraries. The defaults are ../include and ../lib. This use of # overriding makefile macros on the command line should work with most # variants of make. # # To enable profiling add -DPROFILE to the CFLAGS line. Be sure to set the # MESA_PROFILE environment variable to enable printing of the profile report. # # If your system supports the X Shared Memory extension add -DSHM to the # CFLAGS line and add -lXext to the XLIBS line. # # # To add a new system configuration just follow the examples below and update # the top-level Makefile. aix: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -lX11" aix-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O" \ "MAKELIB = ../mklib.aix" \ "RANLIB = true" \ "XLIBS = -lX11" # Make-config additions for the Amiga 3000 UX # Carlyn Voss Iuzzolino 5/8/95: # Modified gcc part as follows: # Needed to take out -pedantic because that makes gcc complain about # ANSI-CC not allowing #ident in Amiga's /usr/include/*.h files. # Took out -O2 (unrecognized option for gcc on the Amiga). # Needs /usr/lib/libsocket.a file. amix: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS =" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -lX11 -lsocket -lnsl " beos: $(MAKE) -f Makefile.BeOS targets \ "GL_LIB = libMesaGL.so" \ "CC = mwcc" \ "CFLAGS = -O7" \ "MAKELIB = mwcc -sharedlibrary -export pragma -term '' -init '' \ /boot/system/lib/libbe.so /boot/develop/libraries/libdll.a -o" \ "RANLIB = setfile" bsdos: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -I/usr/X11/include -O2" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11 -lipc" dgux: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -lX11" freebsd: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100" \ "MAKELIB = ../mklib.freebsd" \ "RANLIB = true" \ "XLIBS = -L/usr/X11R6/lib -lXext -lX11" gcc: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -pedantic -O2" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -lX11" hpux: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = +O2 -Aa -D_HPUX_SOURCE -I/usr/include/X11R5 -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -L/usr/lib/X11R5 -lXext -lX11" hpux-gcc: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -L/usr/lib/X11R5 -lXext -lX11" hpux-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.sl" \ "GLU_LIB = libMesaGLU.sl" \ "TK_LIB = libMesatk.sl" \ "AUX_LIB = libMesaaux.sl" \ "CC = cc" \ "CFLAGS = +z +O2 -J +ESlit -Aa +Obb5000 -D_HPUX_SOURCE -I/usr/include/X11R5 -DSHM" \ "MAKELIB = ../mklib.hpux" \ "RANLIB = true" \ "XLIBS = -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lX11" # For IRIX 4: don't use -fullwarn because it causes too much garbage irix4: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O2 -ansi -prototypes -DSHM" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lXext -lX11" # On IRIX 5.3 -sopt causes a problem in drawpixels.c so we don't use it irix5: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O2 -ansi -fullwarn -DSHM" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext" # IRIX 5 using Dynamic Shared Objects (DSO) irix5-dso: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -O2 -ansi -fullwarn -DSHM" \ "MAKELIB = ../mklib.irix5" \ "RANLIB = true" \ "XLIBS = -rpath ../lib -lX11" irix6-32: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -32 -mips2 -O2 -ansi -DSHM" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext" irix6-32-dso: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -32 -mips2 -O2 -ansi -DSHM" \ "MAKELIB = ../mklib.irix6-32" \ "RANLIB = true" \ "XLIBS = -lX11" # For IRIX 6: -woff: # 1185 - enumerated type mixed with another type irix6-n32: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -n32 -mips3 -O3 -ansi -DSHM -woff 1185" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext" irix6-n32-dso: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -n32 -mips3 -O3 -ansi -DSHM -woff 1185" \ "MAKELIB = ../mklib.irix6-n32" \ "RANLIB = true" \ "XLIBS = -lX11" # 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: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DSHM" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext" irix6-64-dso: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DSHM" \ "MAKELIB = ../mklib.irix6-64" \ "RANLIB = true" \ "XLIBS = -lX11" # May want to add these CFLAGS for better performance under Linux and GCC: # -fPIC -O2 -ansi -pedantic -mieee-fp -DSHM -funroll-loops # -fexpensive-optimizations -fomit-frame-pointer -ffast-math # and -malign-loops=2 -malign-jumps=2 -malign-functions=2 for Pentium linux: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O2 -ansi -pedantic -funroll-loops -ffast-math -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext" # One Linux user reports having to use these XLIBS: # -lMrm -lXmu -lXt -lXext -lSM -lICE -lX11 linux-elf: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = gcc" \ "CFLAGS = -O2 -ansi -pedantic -fPIC -funroll-loops -ffast-math -DSHM" \ "MAKELIB = ../mklib.linux" \ "RANLIB = true" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext" # Linux on Alpha (based on email from John Ferguson ferguson@viz.tamu.edu) linux-alpha: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O2 -pedantic -L/usr/X11R6/lib" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11R6/lib -lX11" # For Linux with prototype Cirrus Mondello 3-D card linux-mondello: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = gcc" \ "CFLAGS = -O2 -ansi -pedantic -fPIC -funroll-loops -mieee-fp -DSHM -DMONDELLO" \ "MAKELIB = ../mklib.linux" \ "RANLIB = true" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext -lclgd547x" machten-2.2: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -DTENON -D__MACHTEN__ -fstrength-reduce -m68881 -O2" \ "MAKELIB = ar rcv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/lib/X11 -lX11" machten-4.0: $(MAKE) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -DTENON -D__MACHTEN__ -fstrength-reduce -O2" \ "MAKELIB = ar rcv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11R5/lib -lX11" mklinux: $(MAKE) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -pedantic -O2" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11" netbsd: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so.2.2" \ "GLU_LIB = libMesaGLU.so.2.2" \ "TK_LIB = libMesatk.so.2.2" \ "AUX_LIB = libMesaaux.so.2.2" \ "CC = gcc" \ "CFLAGS = -O2 -m486 -fPIC -I/usr/X11R6/include -DHZ=100" \ "MAKELIB = ../mklib.netbsd" \ "RANLIB = true" \ "XLIBS = -L/usr/X11R6/lib -lX11" next: $(MAKE) -f Makefile.NeXT targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O2 -DNeXT" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -lNeXT_s -lsys_s" # For NeXTStep on non-X86 with X11 next-x11: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -pedantic -funroll-loops -O2 " \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext" # For NeXTStep on Intel X86 with X11 next-x86-x11: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -pedantic -funroll-loops -O2 -mieee-fp " \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext" openbsd: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -O2 -fPIC -I/usr/X11R6/include -DSHM -DHZ=100" \ "MAKELIB = ../mklib.openbsd" \ "RANLIB = true" \ "XLIBS = -L/usr/X11R6/lib -lX11 -lXext" openstep: $(MAKE) -f Makefile.OpenStep targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O4 -DNeXT" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" osf1: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O2 -std1 -ieee_with_no_inexact -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -lX11 -lXext" osf1-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -O2 -std1 -ieee_with_no_inexact -DSHM" \ "MAKELIB = ../mklib.osf1" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext" # QNX V4 & Watcom Compiler qnx: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O" \ "MAKELIB = wlib" \ "RANLIB = wlib" \ "XLIBS = -L/usr/X11/lib -lX11" sco: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -pedantic -O2 -mieee-fp" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -L/usr/X11/lib -lX11" solaris-x86: $(MAKE) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DSHM" \ "MAKELIB = ../mklib.solaris" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext" solaris-x86-gcc: $(MAKE) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DSHM" \ "MAKELIB = ../mklib.solaris" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext" #solaris-gcc: # $(MAKE) $(MFLAGS) targets \ # "GL_LIB = libMesaGL.a" \ # "GLU_LIB = libMesaGLU.a" \ # "TK_LIB = libMesatk.a" \ # "AUX_LIB = libMesaaux.a" \ # "CC = gcc" \ # "CFLAGS = -pedantic -O2" \ # "MAKELIB = ar ruv" \ # "RANLIB = true" \ # "XLIBS = -lX11 -L/usr/ucblib -lsocket -lnsl -lucb" sunos4: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = acc" \ "CFLAGS = -O -DSHM -DSUNOS4" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -lX11 -lXext" sunos4-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = acc" \ "CFLAGS = -Kpic -O -I/usr/include/X11R5 -DSHM -DSUNOS4" \ "MAKELIB = ld -assert pure-text -o" \ "RANLIB = true" \ "XLIBS = -L/usr/lib/X11R5 -lX11 -lXext" sunos4-gcc: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O3 -DSHM -DSUNOS4" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/openwin/lib -lX11 -lXext" sunos4-gcc-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so.2.2" \ "GLU_LIB = libMesaGLU.so.2.2" \ "TK_LIB = libMesatk.so.2.2" \ "AUX_LIB = libMesaaux.so.2.2" \ "CC = gcc" \ "CFLAGS = -fPIC -O3 -I/usr/include/X11R5 -I/usr/include/X11R5 -DSHM -DSUNOS4" \ "MAKELIB = ld -assert pure-text -o" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -lX11 -lXext" sunos5: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -Xa -O -I/usr/openwin/include -I/usr/dt/include -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -L/usr/dt/lib -L/usr/ucblib -R/usr/openwin/lib -lX11 -lXext" sunos5-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = cc" \ "CFLAGS = -Kpic -Xa -O -I/usr/openwin/include -I/usr/dt/include -DSHM" \ "MAKELIB = ld -G -o" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext" sunos5-gcc: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O3 -I/usr/openwin/include -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -lX11 -lXext" sunos5-gcc-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = gcc" \ "CFLAGS = -fpic -O3 -I/usr/openwin/include -DSHM" \ "MAKELIB = ld -G -o" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext" sunos5-x11r6-gcc-sl: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.so" \ "GLU_LIB = libMesaGLU.so" \ "TK_LIB = libMesatk.so" \ "AUX_LIB = libMesaaux.so" \ "CC = gcc" \ "CFLAGS = -fpic -O3 -DSHM" \ "MAKELIB = ld -G -o" \ "RANLIB = true" \ "XLIBS = -L/usr/ucblib -lX11 -lXext -lnsl -lsocket -lucb" # from Ron Metoyer (metoyer@iexist.flw.lucent.com) sunSolaris-CC: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = CC" \ "CFLAGS = -O -I/usr/openwin/include -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext" #This config doesn't work, Ultrix C compiler isn't ANSI compliant ultrix: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O -Dconst=/**/" \ "MAKELIB = ar rusv" \ "RANLIB = true" \ "XLIBS = -lX11" ultrix-gcc: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -pedantic -O2" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -lX11" # tested on Cray C90 running UNICOS 8.0.4 unicos: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS =" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext" unixware: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -O -I/usr/X/include -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext -lsocket -lnsl" unixware-shared: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL" \ "GLU_LIB = libMesaGLU" \ "TK_LIB = libMesatk" \ "AUX_LIB = libMesaaux" \ "CC = cc" \ "CFLAGS = -O -I/usr/X/include -KPIC,inline -DSHM" \ "MAKELIB = ../mklib.solaris" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext -lsocket -lnsl" vistra: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -pedantic -O2" \ "MAKELIB = ar ruv" \ "RANLIB = true" \ "XLIBS = -lX11 -lsocket -lnsl -lgen" # for debugging on IRIX 5.x systems debug: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -g -ansi -prototypes -fullwarn -DSHM" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext -lfpe -lXext" DEBUG: pmake $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = cc" \ "CFLAGS = -g -ansi -prototypes -fullwarn -DSHM -DDEBUG" \ "MAKELIB = ar rcv" \ "RANLIB = true" \ "XLIBS = -lX11 -lXext -lfpe" # for debugging on Linux systems linux-debug: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -g -ansi -pedantic -Wall -DSHM -DDEBUG" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext" # for profiling on Linux systems linux-prof: $(MAKE) $(MFLAGS) targets \ "GL_LIB = libMesaGL.a" \ "GLU_LIB = libMesaGLU.a" \ "TK_LIB = libMesatk.a" \ "AUX_LIB = libMesaaux.a" \ "CC = gcc" \ "CFLAGS = -O2 -pg -ansi -pedantic -funroll-loops -mieee-fp -DSHM" \ "MAKELIB = ar ruv" \ "RANLIB = ranlib" \ "XLIBS = -L/usr/X11/lib -lX11 -lXext"