home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
mesa-1.2.8
/
make-config
< prev
next >
Wrap
Text File
|
1996-05-27
|
21KB
|
766 lines
# Make-config
# Mesa 3-D graphics library
# Version: 1.2.8
# Copyright (C) 1995-1996 Brian Paul (brianp@ssec.wisc.edu)
#
# 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.33 1996/05/22 14:11:54 brianp Exp $
# $Log: Make-config,v $
# Revision 1.33 1996/05/22 14:11:54 brianp
# added TK_LIB to NeXT config
#
# Revision 1.32 1996/05/15 18:28:06 brianp
# added bsdos, qnx, linux-mondello, and several irix6 targets
#
# Revision 1.31 1996/03/05 19:19:39 brianp
# removed solaris-gcc config
#
# Revision 1.30 1996/02/27 15:18:15 brianp
# added next configuration from Pascal Thibaudeau
#
# Revision 1.29 1996/01/26 20:44:45 brianp
# Release 1.2.6
#
# Revision 1.28 1996/01/22 16:17:31 brianp
# added next-x11, new machten and solaris targets
#
# Revision 1.27 1995/11/30 21:56:14 brianp
# changed -fpic to -fPIC in sunos4-gcc-sl target per Carl Ollivier-Gooch
#
# Revision 1.26 1995/11/30 17:27:38 brianp
# added suffixes to lib names for sunos4-gcc-sl per Kajiyama Tamito
#
# Revision 1.25 1995/11/22 18:55:30 brianp
# added sunos5-x11r6-gcc-sl target from Oleg Krivosheev
#
# Revision 1.24 1995/11/16 20:52:43 brianp
# added a number of new Sun targets and $(MFLAGS) per Frederic Devernay
#
# Revision 1.23 1995/11/13 21:54:12 brianp
# added unicos target
#
# Revision 1.22 1995/10/31 19:34:19 brianp
# added aix-sl and hpux-gcc targets
# added Fortran binding support
#
# Revision 1.21 1995/10/02 14:41:09 brianp
# removed -float from IRIX CFLAGS
# removed .1 suffix from linux-elf library names per Danek Duvall
#
# Revision 1.20 1995/09/29 19:48:16 brianp
# changed freebsd config to make shared libs per Mark Diekhans
#
# Revision 1.19 1995/09/25 14:00:19 brianp
# added comment about optional INCDIR, LIBDIR assignments
#
# Revision 1.18 1995/09/22 19:57:24 brianp
# added solaris-gcc config from Steve Stevenson
#
# Revision 1.17 1995/09/15 18:31:25 brianp
# for netbsd: use -m486 and X11R6
#
# Revision 1.16 1995/09/15 13:06:28 brianp
# added dgux, hpux-sl, and ultrix-gcc configs
# modified netbsd to use shared libs per Michael Graff
# updated version to 1.2.3
#
# Revision 1.15 1995/08/01 21:04:20 brianp
# removed -I$(INCDIR) from all CFLAGS
# added MAKELIB
# added MachTen config
#
# Revision 1.14 1995/06/21 16:03:32 brianp
# added irix5-dso, linux-elf, and unixware targets
# added TK_LIB and AUX_LIB variables
# Release 1.2.1
#
# Revision 1.13 1995/05/25 18:52:01 brianp
# changed hpux XLIBS order of -lXext -lX11 per Jan Springer
#
# Revision 1.12 1995/05/23 13:51:11 brianp
# Release 1.2
#
# Revision 1.11 1995/05/16 14:12:02 brianp
# added amix target
# changed a few compiler flags
#
# Revision 1.10 1995/04/20 17:36:09 brianp
# made SCO a separate target
#
# Revision 1.9 1995/04/18 15:49:32 brianp
# fixed XLIBS variable for sun4-gcc configuration
#
# Revision 1.8 1995/04/17 14:47:04 brianp
# introduced GL_LIB and GLU_LIB variables
#
# Revision 1.7 1995/03/31 17:07:24 brianp
# 1.1.3 beta release
#
# Revision 1.6 1995/03/14 14:34:09 brianp
# 1.1.2 beta release
#
# Revision 1.5 1995/03/09 14:55:31 brianp
# added -mieee-fp to Linux CFLAGS per Thorsten Ohl
#
# Revision 1.4 1995/03/09 14:52:20 brianp
# added osf1 target per Joseph Canedo
#
# Revision 1.3 1995/03/08 18:53:19 brianp
# added linux-debug target per Thorsten Ohl
#
# Revision 1.2 1995/03/07 14:34:26 brianp
# new hpux CFLAGS per Jan Springer's suggestion
#
# Revision 1.1 1995/03/03 16:27:51 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 Fortan bindings you must add -DFBIND=n to your CFLAGS where
# n = 1, 2, or 3 depending on your system's C/Fortran calling conventions.
# See the src/fortran.c file for more info.
#
# 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 -DFBIND=1" \
"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 -DFBIND=1" \
"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 "
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 = -pipe -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 +Onofltacc -Aa +Obb5000 -D_HPUX_SOURCE -I/usr/include/X11R5 -DSHM -DFBIND=1" \
"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 -DFBIND=1" \
"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 +Onofltacc +ESlit -Aa +Obb5000 -D_HPUX_SOURCE -I/usr/include/X11R5 -DSHM -DFBIND=1" \
"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 -DFBIND=2" \
"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 -DFBIND=2" \
"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 -DFBIND=2" \
"MAKELIB = ../mklib.irix5" \
"RANLIB = true" \
"XLIBS = -rpath ../lib -lX11 -lXext"
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 -O3 -ansi -fullwarn -DSHM" \
"MAKELIB = ar rcv" \
"RANLIB = true" \
"XLIBS = -lX11 -lXext"
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 -fullwarn -DSHM" \
"MAKELIB = ar rcv" \
"RANLIB = true" \
"XLIBS = -lX11 -lXext"
# 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 -fullwarn -woff 1068,1069,1174,1185,1209,1474,1552 -DSHM" \
"MAKELIB = ar rcv" \
"RANLIB = true" \
"XLIBS = -lX11 -lXext"
linux:
$(MAKE) $(MFLAGS) targets \
"GL_LIB = libMesaGL.a" \
"GLU_LIB = libMesaGLU.a" \
"TK_LIB = libMesatk.a" \
"AUX_LIB = libMesaaux.a" \
"CC = gcc" \
"CFLAGS = -O2 -pedantic -funroll-loops -mieee-fp -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 -pedantic -fPIC -funroll-loops -mieee-fp -DSHM" \
"MAKELIB = ../mklib.linux" \
"RANLIB = true" \
"XLIBS = -L/usr/X11/lib -lX11 -lXext"
# 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 -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"
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"
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 -mieee-fp " \
"MAKELIB = ar ruv" \
"RANLIB = ranlib" \
"XLIBS = -L/usr/X11/lib -lX11 -lXext"
netbsd:
$(MAKE) $(MFLAGS) targets \
"GL_LIB = libMesaGL.so" \
"GLU_LIB = libMesaGLU.so" \
"TK_LIB = libMesatk.so" \
"AUX_LIB = libMesaaux.so" \
"CC = gcc" \
"CFLAGS = -pipe -O2 -m486 -fPIC -I/usr/X11R6/include -DHZ=100" \
"MAKELIB = ../mklib.netbsd" \
"RANLIB = true" \
"XLIBS = -L/usr/X11R6/lib -lX11"
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_inexact -DSHM -DFBIND=2" \
"MAKELIB = ar ruv" \
"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 -DFBIND=2" \
"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 -DFBIND=2" \
"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.1.2.7" \
"GLU_LIB = libMesaGLU.so.1.2.7" \
"TK_LIB = libMesatk.so.1.2.7" \
"AUX_LIB = libMesaaux.so.1.2.7" \
"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 -DSHM -DFBIND=2" \
"MAKELIB = ar ruv" \
"RANLIB = true" \
"XLIBS = -L/usr/openwin/lib -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 -DSHM -DFBIND=2" \
"MAKELIB = ld -G -o" \
"RANLIB = true" \
"XLIBS = -L/usr/openwin/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 = -pipe -fpic -O3 -DSHM" \
"MAKELIB = ld -G -o" \
"RANLIB = true" \
"XLIBS = -L/usr/ucblib -lX11 -lXext -lnsl -lsocket -lucb"
#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"
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 -DFBIND=2" \
"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 -DFBIND=2 -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 = -pedantic -g" \
"MAKELIB = ar ruv" \
"RANLIB = ranlib" \
"XLIBS = -L/usr/X11/lib -lX11"