File: glutdefs

package info (click to toggle)
glut 3.7-25
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 13,036 kB
  • ctags: 47,177
  • sloc: ansic: 148,716; makefile: 44,180; ada: 2,062; yacc: 473; fortran: 290; lex: 131; csh: 52; sed: 49
file content (50 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# glutdefs - common SGI Makefile defines for building GLUT
#
# Copyright (c) Mark J. Kilgard, 1997.
#

# By default, we build for the "least common denominator"
# object style with is "old" 32-bit style.  Set your
# OBJECT_STYLE environment variable to build GLUT's demos 
# and examples with some other ABI.  For example, to build
# N32 with -mips3 support, use:
#
#  setenv OBJECT_STYLE N32_M3
#
#if !defined(OBJECT_STYLE)
OBJECT_STYLE=32
#endif

# Object style logic.  Note:  the NONE and R32 object style
# are not supported.
#
#if $(OBJECT_STYLE) == "64"
GLUT_LIB_SUFFIX=.n64
#elif $(OBJECT_STYLE) == "64_M3"
GLUT_LIB_SUFFIX=.n64
#elif $(OBJECT_STYLE) == "64_M4"
GLUT_LIB_SUFFIX=.n64
#elif $(OBJECT_STYLE) == "32_ABI"
GLUT_LIB_SUFFIX=
#elif $(OBJECT_STYLE) == "N32"
GLUT_LIB_SUFFIX=.n32
#elif $(OBJECT_STYLE) == "N32_M3"
GLUT_LIB_SUFFIX=.n32
#elif $(OBJECT_STYLE) == "N32_M4"
GLUT_LIB_SUFFIX=.n32
#elif $(OBJECT_STYLE) == "32"
GLUT_LIB_SUFFIX=
#elif $(OBJECT_STYLE) == "32_M2"
GLUT_LIB_SUFFIX=
#else
GLUT_LIB_SUFFIX=
#endif

# Where to find the GLUT archive for the appropriate object style.
#
GLUT = $(TOP)/lib/glut$(GLUT_LIB_SUFFIX)/libglut.a
FGLUT = $(TOP)/lib/fglut$(GLUT_LIB_SUFFIX)/libfglut.a
MUI = $(TOP)/lib/mui$(GLUT_LIB_SUFFIX)/libmui.a
GLE = $(TOP)/lib/gle$(GLUT_LIB_SUFFIX)/libgle.a
GLSMAP = $(TOP)/lib/glsmap$(GLUT_LIB_SUFFIX)/libglsmap.a