XCOMM License Applicability. Except to the extent portions of this file are
XCOMM made subject to an alternative license as permitted in the SGI Free
XCOMM Software License B, Version 1.1 (the "License"), the contents of this
XCOMM file are subject only to the provisions of the License. You may not use
XCOMM this file except in compliance with the License. You may obtain a copy
XCOMM of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
XCOMM Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
XCOMM 
XCOMM http://oss.sgi.com/projects/FreeB
XCOMM 
XCOMM Note that, as provided in the License, the Software is distributed on an
XCOMM "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
XCOMM DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
XCOMM CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
XCOMM PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
XCOMM 
XCOMM Original Code. The Original Code is: OpenGL Sample Implementation,
XCOMM Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
XCOMM Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
XCOMM Copyright in any portions created by third parties is as indicated
XCOMM elsewhere herein. All Rights Reserved.
XCOMM 
XCOMM Additional Notice Provisions: The application programming interfaces
XCOMM established by SGI in conjunction with the Original Code are The
XCOMM OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
XCOMM April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
XCOMM 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
XCOMM Window System(R) (Version 1.3), released October 19, 1998. This software
XCOMM was created using the OpenGL(R) version 1.2.1 Sample Implementation
XCOMM published by SGI, but has not been independently verified as being
XCOMM compliant with the OpenGL(R) version 1.2.1 Specification.
XCOMM

#ifdef	ManPageAlias
#undef	ManPageAlias
#endif
#define	ManPageAlias(file,destdir,alias)				@@\
alias.$(MANSUFFIX): file.$(MANSUFFIX)					@@\
	echo .so `basename destdir`/file.$(MANSUFFIX) > alias.$(MANSUFFIX) @@\

MANSUFFIX = 3gl

MAN_PAGES = \
fgluBeginCurve.$(MANSUFFIX)           fgluBeginPolygon.$(MANSUFFIX)         \
fgluBeginSurface.$(MANSUFFIX)         fgluBeginTrim.$(MANSUFFIX)            \
fgluBuild1DMipmaps.$(MANSUFFIX)       fgluBuild2DMipmaps.$(MANSUFFIX)       \
fgluCylinder.$(MANSUFFIX)             fgluDeleteNurbsRenderer.$(MANSUFFIX)  \
fgluDeleteQuadric.$(MANSUFFIX)        fgluDeleteTess.$(MANSUFFIX)           \
fgluDisk.$(MANSUFFIX)                 fgluEndCurve.$(MANSUFFIX)             \
fgluEndPolygon.$(MANSUFFIX)           fgluEndSurface.$(MANSUFFIX)           \
fgluEndTrim.$(MANSUFFIX)              fgluErrorString.$(MANSUFFIX)          \
fgluGetNurbsProperty.$(MANSUFFIX)     fgluGetString.$(MANSUFFIX)            \
fgluGetTessProperty.$(MANSUFFIX)      fgluLoadSamplingMatrices.$(MANSUFFIX) \
fgluLookAt.$(MANSUFFIX)               fgluNewNurbsRenderer.$(MANSUFFIX)     \
fgluNewQuadric.$(MANSUFFIX)           fgluNewTess.$(MANSUFFIX)              \
fgluNextContour.$(MANSUFFIX)          fgluNurbsCallback.$(MANSUFFIX)        \
fgluNurbsCallbackDataEXT.$(MANSUFFIX) fgluNurbsCurve.$(MANSUFFIX)           \
fgluNurbsProperty.$(MANSUFFIX)        fgluNurbsSurface.$(MANSUFFIX)         \
fgluOrtho2D.$(MANSUFFIX)              fgluPartialDisk.$(MANSUFFIX)          \
fgluPerspective.$(MANSUFFIX)          fgluPickMatrix.$(MANSUFFIX)           \
fgluProject.$(MANSUFFIX)              fgluPwlCurve.$(MANSUFFIX)             \
fgluQuadricCallback.$(MANSUFFIX)      fgluQuadricDrawStyle.$(MANSUFFIX)     \
fgluQuadricNormals.$(MANSUFFIX)       fgluQuadricOrientation.$(MANSUFFIX)   \
fgluQuadricTexture.$(MANSUFFIX)       fgluScaleImage.$(MANSUFFIX)           \
fgluSphere.$(MANSUFFIX)               fgluTessBeginContour.$(MANSUFFIX)     \
fgluTessBeginPolygon.$(MANSUFFIX)     fgluTessCallback.$(MANSUFFIX)         \
fgluTessEndContour.$(MANSUFFIX)       fgluTessEndPolygon.$(MANSUFFIX)       \
fgluTessNormal.$(MANSUFFIX)           fgluTessProperty.$(MANSUFFIX)         \
fgluTessVertex.$(MANSUFFIX)           fgluUnProject.$(MANSUFFIX)            

LINK_NAMES = \
fgluBeginCurve.$(MANSUFFIX)           fgluBeginPolygon.$(MANSUFFIX)         \
fgluBeginSurface.$(MANSUFFIX)         fgluBeginTrim.$(MANSUFFIX)            \
fgluBuild1DMipmaps.$(MANSUFFIX)       fgluBuild2DMipmaps.$(MANSUFFIX)       \
fgluCylinder.$(MANSUFFIX)             fgluDeleteNurbsRenderer.$(MANSUFFIX)  \
fgluDeleteQuadric.$(MANSUFFIX)        fgluDeleteTess.$(MANSUFFIX)           \
fgluDisk.$(MANSUFFIX)                 fgluErrorString.$(MANSUFFIX)          \
fgluGetNurbsProperty.$(MANSUFFIX)     fgluGetString.$(MANSUFFIX)            \
fgluGetTessProperty.$(MANSUFFIX)      fgluLoadSamplingMatrices.$(MANSUFFIX) \
fgluLookAt.$(MANSUFFIX)               fgluNewNurbsRenderer.$(MANSUFFIX)     \
fgluNewQuadric.$(MANSUFFIX)           fgluNewTess.$(MANSUFFIX)              \
fgluNextContour.$(MANSUFFIX)          fgluNurbsCallback.$(MANSUFFIX)        \
fgluNurbsCallbackDataEXT.$(MANSUFFIX) fgluNurbsCurve.$(MANSUFFIX)           \
fgluNurbsProperty.$(MANSUFFIX)        fgluNurbsSurface.$(MANSUFFIX)         \
fgluOrtho2D.$(MANSUFFIX)              fgluPartialDisk.$(MANSUFFIX)          \
fgluPerspective.$(MANSUFFIX)          fgluPickMatrix.$(MANSUFFIX)           \
fgluProject.$(MANSUFFIX)              fgluPwlCurve.$(MANSUFFIX)             \
fgluQuadricCallback.$(MANSUFFIX)      fgluQuadricDrawStyle.$(MANSUFFIX)     \
fgluQuadricNormals.$(MANSUFFIX)       fgluQuadricOrientation.$(MANSUFFIX)   \
fgluQuadricTexture.$(MANSUFFIX)       fgluScaleImage.$(MANSUFFIX)           \
fgluSphere.$(MANSUFFIX)               fgluTessBeginContour.$(MANSUFFIX)     \
fgluTessBeginPolygon.$(MANSUFFIX)     fgluTessCallback.$(MANSUFFIX)         \
fgluTessEndPolygon.$(MANSUFFIX)       fgluTessNormal.$(MANSUFFIX)           \
fgluTessProperty.$(MANSUFFIX)         fgluTessVertex.$(MANSUFFIX)           \
fgluUnProject.$(MANSUFFIX)            

ALIAS_NAMES = \
fgluEndCurve.$(MANSUFFIX)       fgluEndPolygon.$(MANSUFFIX)     \
fgluEndSurface.$(MANSUFFIX)     fgluEndTrim.$(MANSUFFIX)        \
fgluTessEndContour.$(MANSUFFIX) 


AllTarget($(MAN_PAGES))

list:
	@for i in $(MAN_PAGES); do echo $$i; done;

install_list:
	@for i in $(MAN_PAGES); do echo $(LIBMANDIR)/$$i; done;

install:: install.man

clean::
	$(RM) $(LINK_NAMES) $(ALIAS_NAMES)

InstallMultipleMan($(MAN_PAGES),$(LIBMANDIR))

LinkFile(fgluBeginCurve.$(MANSUFFIX), fglubegincurve.3gl)
ManPageAlias(fgluBeginCurve, $(LIBMANDIR), fgluEndCurve)

LinkFile(fgluBeginPolygon.$(MANSUFFIX), fglubeginpolygon.3gl)
ManPageAlias(fgluBeginPolygon, $(LIBMANDIR), fgluEndPolygon)

LinkFile(fgluBeginSurface.$(MANSUFFIX), fglubeginsurface.3gl)
ManPageAlias(fgluBeginSurface, $(LIBMANDIR), fgluEndSurface)

LinkFile(fgluBeginTrim.$(MANSUFFIX), fglubegintrim.3gl)
ManPageAlias(fgluBeginTrim, $(LIBMANDIR), fgluEndTrim)

LinkFile(fgluBuild1DMipmaps.$(MANSUFFIX), fglubuild1dmipmaps.3gl)

LinkFile(fgluBuild2DMipmaps.$(MANSUFFIX), fglubuild2dmipmaps.3gl)

LinkFile(fgluCylinder.$(MANSUFFIX), fglucylinder.3gl)

LinkFile(fgluDeleteNurbsRenderer.$(MANSUFFIX), fgludeletenurbsrenderer.3gl)

LinkFile(fgluDeleteQuadric.$(MANSUFFIX), fgludeletequadric.3gl)

LinkFile(fgluDeleteTess.$(MANSUFFIX), fgludeletetess.3gl)

LinkFile(fgluDisk.$(MANSUFFIX), fgludisk.3gl)

LinkFile(fgluErrorString.$(MANSUFFIX), fgluerrorstring.3gl)

LinkFile(fgluGetNurbsProperty.$(MANSUFFIX), fglugetnurbsproperty.3gl)

LinkFile(fgluGetString.$(MANSUFFIX), fglugetstring.3gl)

LinkFile(fgluGetTessProperty.$(MANSUFFIX), fglugettessproperty.3gl)

LinkFile(fgluLoadSamplingMatrices.$(MANSUFFIX), fgluloadsamplingmatrices.3gl)

LinkFile(fgluLookAt.$(MANSUFFIX), fglulookat.3gl)

LinkFile(fgluNewNurbsRenderer.$(MANSUFFIX), fglunewnurbsrenderer.3gl)

LinkFile(fgluNewQuadric.$(MANSUFFIX), fglunewquadric.3gl)

LinkFile(fgluNewTess.$(MANSUFFIX), fglunewtess.3gl)

LinkFile(fgluNextContour.$(MANSUFFIX), fglunextcontour.3gl)

LinkFile(fgluNurbsCallback.$(MANSUFFIX), fglunurbscallback.3gl)

LinkFile(fgluNurbsCallbackDataEXT.$(MANSUFFIX), fglunurbscallbackdataext.3gl)

LinkFile(fgluNurbsCurve.$(MANSUFFIX), fglunurbscurve.3gl)

LinkFile(fgluNurbsProperty.$(MANSUFFIX), fglunurbsproperty.3gl)

LinkFile(fgluNurbsSurface.$(MANSUFFIX), fglunurbssurface.3gl)

LinkFile(fgluOrtho2D.$(MANSUFFIX), fgluortho2d.3gl)

LinkFile(fgluPartialDisk.$(MANSUFFIX), fglupartialdisk.3gl)

LinkFile(fgluPerspective.$(MANSUFFIX), fgluperspective.3gl)

LinkFile(fgluPickMatrix.$(MANSUFFIX), fglupickmatrix.3gl)

LinkFile(fgluProject.$(MANSUFFIX), fgluproject.3gl)

LinkFile(fgluPwlCurve.$(MANSUFFIX), fglupwlcurve.3gl)

LinkFile(fgluQuadricCallback.$(MANSUFFIX), fgluquadriccallback.3gl)

LinkFile(fgluQuadricDrawStyle.$(MANSUFFIX), fgluquadricdrawstyle.3gl)

LinkFile(fgluQuadricNormals.$(MANSUFFIX), fgluquadricnormals.3gl)

LinkFile(fgluQuadricOrientation.$(MANSUFFIX), fgluquadricorientation.3gl)

LinkFile(fgluQuadricTexture.$(MANSUFFIX), fgluquadrictexture.3gl)

LinkFile(fgluScaleImage.$(MANSUFFIX), fgluscaleimage.3gl)

LinkFile(fgluSphere.$(MANSUFFIX), fglusphere.3gl)

LinkFile(fgluTessBeginContour.$(MANSUFFIX), fglutessbegincontour.3gl)
ManPageAlias(fgluTessBeginContour, $(LIBMANDIR), fgluTessEndContour)

LinkFile(fgluTessBeginPolygon.$(MANSUFFIX), fglutessbeginpolygon.3gl)

LinkFile(fgluTessCallback.$(MANSUFFIX), fglutesscallback.3gl)

LinkFile(fgluTessEndPolygon.$(MANSUFFIX), fglutessendpolygon.3gl)

LinkFile(fgluTessNormal.$(MANSUFFIX), fglutessnormal.3gl)

LinkFile(fgluTessProperty.$(MANSUFFIX), fglutessproperty.3gl)

LinkFile(fgluTessVertex.$(MANSUFFIX), fglutessvertex.3gl)

LinkFile(fgluUnProject.$(MANSUFFIX), fgluunproject.3gl)

