glutdefs
上传用户:xk288cn
上传日期:2007-05-28
资源大小:4876k
文件大小:1k
- #
- # 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