summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-08-07 21:10:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-08-07 21:10:36 +0000
commit64fb685e60e68b87cfb1f72f9a9786a85cfebb80 (patch)
treecbec21b62a17e6d652c45a8b827ac2440befaf5d /doc
parent69a0b05bbb7e81a4850b3a1f673488a1ef86b034 (diff)
Native build system for gl-docs. Removes last dependency
on imake in xenocara.
Diffstat (limited to 'doc')
-rw-r--r--doc/gl-docs/GL/gl/Makefile450
-rw-r--r--doc/gl-docs/GL/gl/Makefile.bsd-wrapper15
-rw-r--r--doc/gl-docs/GL/glx/Makefile34
-rw-r--r--doc/gl-docs/GL/glx/Makefile.bsd-wrapper15
-rw-r--r--doc/gl-docs/GLU/Makefile62
-rw-r--r--doc/gl-docs/GLU/Makefile.bsd-wrapper15
-rw-r--r--doc/gl-docs/GLw/Makefile14
-rw-r--r--doc/gl-docs/GLw/Makefile.bsd-wrapper15
-rw-r--r--doc/gl-docs/Makefile.inc28
9 files changed, 588 insertions, 60 deletions
diff --git a/doc/gl-docs/GL/gl/Makefile b/doc/gl-docs/GL/gl/Makefile
new file mode 100644
index 000000000..9d53a33fd
--- /dev/null
+++ b/doc/gl-docs/GL/gl/Makefile
@@ -0,0 +1,450 @@
+# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
+
+X11BASE?= /usr/X11R6
+MANDIR?= ${X11BASE}/man/man
+
+MAN += glAccum.3 accum.3gl
+MAN += glActiveTextureARB.3 activetextureARB.3gl
+MAN += glAlphaFunc.3 alphafunc.3gl
+MAN += glAreTexturesResident.3 aretexturesresident.3gl
+MAN += glArrayElement.3 arrayelement.3gl
+MAN += glBegin.3 begin.3gl
+MAN += glBindTexture.3 bindtexture.3gl
+MAN += glBitmap.3 bitmap.3gl
+MAN += glBlendColor.3 blendcolor.3gl
+MAN += glBlendEquation.3 blendequation.3gl
+MAN += glBlendFunc.3 blendfunc.3gl
+MAN += glCallList.3 calllist.3gl
+MAN += glCallLists.3 calllists.3gl
+MAN += glClear.3 clear.3gl
+MAN += glClearAccum.3 clearaccum.3gl
+MAN += glClearColor.3 clearcolor.3gl
+MAN += glClearDepth.3 cleardepth.3gl
+MAN += glClearIndex.3 clearindex.3gl
+MAN += glClearStencil.3 clearstencil.3gl
+MAN += glClientActiveTextureARB.3 clientactivetextureARB.3gl
+MAN += glClipPlane.3 clipplane.3gl
+MAN += glColor.3 color.3gl
+MAN += glColorMask.3 colormask.3gl
+MAN += glColorMaterial.3 colormaterial.3gl
+MAN += glColorPointer.3 colorpointer.3gl
+MAN += glColorSubTable.3 colorsubtable.3gl
+MAN += glColorTable.3 colortable.3gl
+MAN += glColorTableParameter.3 colortableparameter.3gl
+MAN += glConvolutionFilter1D.3 convolutionfilter1d.3gl
+MAN += glConvolutionFilter2D.3 convolutionfilter2d.3gl
+MAN += glConvolutionParameter.3 convolutionparameter.3gl
+MAN += glCopyColorSubTable.3 copycolorsubtable.3gl
+MAN += glCopyColorTable.3 copycolortable.3gl
+MAN += glCopyConvolutionFilter1D.3 copyconvolutionfilter1d.3gl
+MAN += glCopyConvolutionFilter2D.3 copyconvolutionfilter2d.3gl
+MAN += glCopyPixels.3 copypixels.3gl
+MAN += glCopyTexImage1D.3 copyteximage1d.3gl
+MAN += glCopyTexImage2D.3 copyteximage2d.3gl
+MAN += glCopyTexSubImage1D.3 copytexsubimage1d.3gl
+MAN += glCopyTexSubImage2D.3 copytexsubimage2d.3gl
+MAN += glCopyTexSubImage3D.3 copytexsubimage3d.3gl
+MAN += glCullFace.3 cullface.3gl
+MAN += glDeleteLists.3 deletelists.3gl
+MAN += glDeleteTextures.3 deletetextures.3gl
+MAN += glDepthFunc.3 depthfunc.3gl
+MAN += glDepthMask.3 depthmask.3gl
+MAN += glDepthRange.3 depthrange.3gl
+MAN += glDrawArrays.3 drawarrays.3gl
+MAN += glDrawBuffer.3 drawbuffer.3gl
+MAN += glDrawElements.3 drawelements.3gl
+MAN += glDrawPixels.3 drawpixels.3gl
+MAN += glDrawRangeElements.3 drawrangeelements.3gl
+MAN += glEdgeFlag.3 edgeflag.3gl
+MAN += glEdgeFlagPointer.3 edgeflagpointer.3gl
+MAN += glEnable.3 enable.3gl
+MAN += glEnableClientState.3 enableclientstate.3gl
+MAN += glEvalCoord.3 evalcoord.3gl
+MAN += glEvalMesh.3 evalmesh.3gl
+MAN += glEvalPoint.3 evalpoint.3gl
+MAN += glFeedbackBuffer.3 feedbackbuffer.3gl
+MAN += glFinish.3 finish.3gl
+MAN += glFlush.3 flush.3gl
+MAN += glFog.3 fog.3gl
+MAN += glFrontFace.3 frontface.3gl
+MAN += glFrustum.3 frustum.3gl
+MAN += glGenLists.3 genlists.3gl
+MAN += glGenTextures.3 gentextures.3gl
+MAN += glGet.3 get.3gl
+MAN += glGetClipPlane.3 getclipplane.3gl
+MAN += glGetColorTable.3 getcolortable.3gl
+MAN += glGetColorTableParameter.3 getcolortableparameter.3gl
+MAN += glGetConvolutionFilter.3 getconvolutionfilter.3gl
+MAN += glGetConvolutionParameter.3 getconvolutionparameter.3gl
+MAN += glGetError.3 geterror.3gl
+MAN += glGetHistogram.3 gethistogram.3gl
+MAN += glGetHistogramParameter.3 gethistogramparameter.3gl
+MAN += glGetLight.3 getlight.3gl
+MAN += glGetMap.3 getmap.3gl
+MAN += glGetMaterial.3 getmaterial.3gl
+MAN += glGetMinmax.3 getminmax.3gl
+MAN += glGetMinmaxParameter.3 getminmaxparameter.3gl
+MAN += glGetPixelMap.3 getpixelmap.3gl
+MAN += glGetPointerv.3 getpointerv.3gl
+MAN += glGetPolygonStipple.3 getpolygonstipple.3gl
+MAN += glGetSeparableFilter.3 getseparablefilter.3gl
+MAN += glGetString.3 getstring.3gl
+MAN += glGetTexEnv.3 gettexenv.3gl
+MAN += glGetTexGen.3 gettexgen.3gl
+MAN += glGetTexImage.3 getteximage.3gl
+MAN += glGetTexLevelParameter.3 gettexlevelparameter.3gl
+MAN += glGetTexParameter.3 gettexparameter.3gl
+MAN += glHint.3 hint.3gl
+MAN += glHistogram.3 histogram.3gl
+MAN += glIndex.3 index.3gl
+MAN += glIndexMask.3 indexmask.3gl
+MAN += glIndexPointer.3 indexpointer.3gl
+MAN += glInitNames.3 initnames.3gl
+MAN += glInterleavedArrays.3 interleavedarrays.3gl
+MAN += glIsEnabled.3 isenabled.3gl
+MAN += glIslist.3 islist.3gl
+MAN += glIsTexture.3 istexture.3gl
+MAN += glLight.3 light.3gl
+MAN += glLightModel.3 lightmodel.3gl
+MAN += glLineStipple.3 linestipple.3gl
+MAN += glLineWidth.3 linewidth.3gl
+MAN += glListBase.3 listbase.3gl
+MAN += glLoadIdentity.3 loadidentity.3gl
+MAN += glLoadMatrix.3 loadmatrix.3gl
+MAN += glLoadName.3 loadname.3gl
+MAN += glLogicOp.3 logicop.3gl
+MAN += glMap1.3 map1.3gl
+MAN += glMap2.3 map2.3gl
+MAN += glMapGrid.3 mapgrid.3gl
+MAN += glMaterial.3 material.3gl
+MAN += glMatrixMode.3 matrixmode.3gl
+MAN += glMinmax.3 minmax.3gl
+MAN += glMultiTexCoordARB.3 multitexcoordARB.3gl
+MAN += glMultMatrix.3 multmatrix.3gl
+MAN += glNewList.3 newlist.3gl
+MAN += glNormal.3 normal.3gl
+MAN += glNormalPointer.3 normalpointer.3gl
+MAN += glOrtho.3 ortho.3gl
+MAN += glPassThrough.3 passthrough.3gl
+MAN += glPixelMap.3 pixelmap.3gl
+MAN += glPixelStore.3 pixelstore.3gl
+MAN += glPixelTransfer.3 pixeltransfer.3gl
+MAN += glPixelZoom.3 pixelzoom.3gl
+MAN += glPointSize.3 pointsize.3gl
+MAN += glPolygonMode.3 polygonmode.3gl
+MAN += glPolygonOffset.3 polygonoffset.3gl
+MAN += glPolygonStipple.3 polygonstipple.3gl
+MAN += glPrioritizeTextures.3 prioritizetextures.3gl
+MAN += glPushAttrib.3 pushattrib.3gl
+MAN += glPushClientAttrib.3 pushclientattrib.3gl
+MAN += glPushMatrix.3 pushmatrix.3gl
+MAN += glPushName.3 pushname.3gl
+MAN += glRasterPos.3 rasterpos.3gl
+MAN += glReadBuffer.3 readbuffer.3gl
+MAN += glReadPixels.3 readpixels.3gl
+MAN += glRect.3 rect.3gl
+MAN += glRenderMode.3 rendermode.3gl
+MAN += glResetHistogram.3 resethistogram.3gl
+MAN += glResetMinmax.3 resetminmax.3gl
+MAN += glRotate.3 rotate.3gl
+MAN += glScale.3 scale.3gl
+MAN += glScissor.3 scissor.3gl
+MAN += glSelectBuffer.3 selectbuffer.3gl
+MAN += glSeparableFilter2D.3 separablefilter2d.3gl
+MAN += glShadeModel.3 shademodel.3gl
+MAN += glStencilFunc.3 stencilfunc.3gl
+MAN += glStencilMask.3 stencilmask.3gl
+MAN += glStencilOp.3 stencilop.3gl
+MAN += glTexCoord.3 texcoord.3gl
+MAN += glTexCoordPointer.3 texcoordpointer.3gl
+MAN += glTexEnv.3 texenv.3gl
+MAN += glTexGen.3 texgen.3gl
+MAN += glTexImage1D.3 teximage1d.3gl
+MAN += glTexImage2D.3 teximage2d.3gl
+MAN += glTexImage3D.3 teximage3d.3gl
+MAN += glTexParameter.3 texparameter.3gl
+MAN += glTexSubImage1D.3 texsubimage1d.3gl
+MAN += glTexSubImage2D.3 texsubimage2d.3gl
+MAN += glTexSubImage3D.3 texsubimage3d.3gl
+MAN += glTranslate.3 translate.3gl
+MAN += glVertex.3 vertex.3gl
+MAN += glVertexPointer.3 vertexpointer.3gl
+MAN += glViewport.3 viewport.3gl
+
+LINKS += glBegin.3 glEnd.3
+LINKS += glColor.3 glColor3b.3
+LINKS += glColor.3 glColor3d.3
+LINKS += glColor.3 glColor3f.3
+LINKS += glColor.3 glColor3i.3
+LINKS += glColor.3 glColor3s.3
+LINKS += glColor.3 glColor3ub.3
+LINKS += glColor.3 glColor3ui.3
+LINKS += glColor.3 glColor3us.3
+LINKS += glColor.3 glColor4b.3
+LINKS += glColor.3 glColor4d.3
+LINKS += glColor.3 glColor4f.3
+LINKS += glColor.3 glColor4i.3
+LINKS += glColor.3 glColor4s.3
+LINKS += glColor.3 glColor4ub.3
+LINKS += glColor.3 glColor4ui.3
+LINKS += glColor.3 glColor4us.3
+LINKS += glColor.3 glColor3bv.3
+LINKS += glColor.3 glColor3dv.3
+LINKS += glColor.3 glColor3fv.3
+LINKS += glColor.3 glColor3iv.3
+LINKS += glColor.3 glColor3sv.3
+LINKS += glColor.3 glColor3ubv.3
+LINKS += glColor.3 glColor3uiv.3
+LINKS += glColor.3 glColor3usv.3
+LINKS += glColor.3 glColor4bv.3
+LINKS += glColor.3 glColor4dv.3
+LINKS += glColor.3 glColor4fv.3
+LINKS += glColor.3 glColor4iv.3
+LINKS += glColor.3 glColor4sv.3
+LINKS += glColor.3 glColor4ubv.3
+LINKS += glColor.3 glColor4uiv.3
+LINKS += glColor.3 glColor4usv.3
+LINKS += glColorTableParameter.3 glColorTableParameterfv.3
+LINKS += glColorTableParameter.3 glColorTableParameteriv.3
+LINKS += glEdgeFlag.3 glEdgeFlagv.3
+LINKS += glEnable.3 glDisable.3
+LINKS += glEnableClientState.3 glDisableClientState.3
+LINKS += glEvalCoord.3 glEvalCoord1d.3
+LINKS += glEvalCoord.3 glEvalCoord2d.3
+LINKS += glEvalCoord.3 glEvalCoord2f.3
+LINKS += glEvalCoord.3 glEvalCoord1dv.3
+LINKS += glEvalCoord.3 glEvalCoord1fv.3
+LINKS += glEvalCoord.3 glEvalCoord2dv.3
+LINKS += glEvalCoord.3 glEvalCoord2fv.3
+LINKS += glEvalMesh.3 glEvalMesh1.3
+LINKS += glEvalMesh.3 glEvalMesh2.3
+LINKS += glEvalPoint.3 glEvalPoint1.3
+LINKS += glEvalPoint.3 glEvalPoint2.3
+LINKS += glFog.3 glFogf.3
+LINKS += glFog.3 glFogi.3
+LINKS += glFog.3 glFogfv.3
+LINKS += glFog.3 glFogiv.3
+LINKS += glGet.3 glGetBooleanv.3
+LINKS += glGet.3 glGetDoublev.3
+LINKS += glGet.3 glGetFloatv.3
+LINKS += glGet.3 glGetIntegerv.3
+LINKS += glGetColorTableParameter.3 glGetColorTableParameterfv.3
+LINKS += glGetColorTableParameter.3 glGetColorTableParameteriv.3
+LINKS += glGetLight.3 glGetLightfv.3
+LINKS += glGetLight.3 glGetLightiv.3
+LINKS += glGetMap.3 glGetMapdv.3
+LINKS += glGetMap.3 glGetMapfv.3
+LINKS += glGetMap.3 glGetMapiv.3
+LINKS += glGetMaterial.3 glGetMaterialfv.3
+LINKS += glGetMaterial.3 glGetMaterialiv.3
+LINKS += glGetPixelMap.3 glGetPixelMapfv.3
+LINKS += glGetPixelMap.3 glGetPixelMapuiv.3
+LINKS += glGetPixelMap.3 glGetPixelMapusv.3
+LINKS += glGetTexEnv.3 glGetTexEnvfv.3
+LINKS += glGetTexEnv.3 glGetTexEnviv.3
+LINKS += glGetTexGen.3 glGetTexGendv.3
+LINKS += glGetTexGen.3 glGetTexGenfv.3
+LINKS += glGetTexGen.3 glGetTexGeniv.3
+LINKS += glGetTexLevelParameter.3 glGetTexLevelParameterfv.3
+LINKS += glGetTexLevelParameter.3 glGetTexLevelParameteriv.3
+LINKS += glGetTexParameter.3 glGetTexParameterfv.3
+LINKS += glGetTexParameter.3 glGetTexParameteriv.3
+LINKS += glIndex.3 glIndexd.3
+LINKS += glIndex.3 glIndexf.3
+LINKS += glIndex.3 glIndexi.3
+LINKS += glIndex.3 glIndexs.3
+LINKS += glIndex.3 glIndexub.3
+LINKS += glIndex.3 glIndexdv.3
+LINKS += glIndex.3 glIndexfv.3
+LINKS += glIndex.3 glIndexiv.3
+LINKS += glIndex.3 glIndexsv.3
+LINKS += glIndex.3 glIndexubv.3
+LINKS += glLight.3 glLightf.3
+LINKS += glLight.3 glLighti.3
+LINKS += glLight.3 glLightfv.3
+LINKS += glLight.3 glLightiv.3
+LINKS += glLightModel.3 glLightModelf.3
+LINKS += glLightModel.3 glLightModeli.3
+LINKS += glLightModel.3 glLightModelfv.3
+LINKS += glLightModel.3 glLightModeliv.3
+LINKS += glLoadMatrix.3 glLoadMatrixd.3
+LINKS += glLoadMatrix.3 glLoadMatrixf.3
+LINKS += glMap1.3 glMap1d.3
+LINKS += glMap1.3 glMap1f.3
+LINKS += glMap2.3 glMap2d.3
+LINKS += glMap2.3 glMap2f.3
+LINKS += glMapGrid.3 glMapGrid1d.3
+LINKS += glMapGrid.3 glMapGrid1f.3
+LINKS += glMapGrid.3 glMapGrid2d.3
+LINKS += glMapGrid.3 glMapGrid2f.3
+LINKS += glMaterial.3 glMaterialf.3
+LINKS += glMaterial.3 glMateriali.3
+LINKS += glMaterial.3 glMaterialfv.3
+LINKS += glMaterial.3 glMaterialiv.3
+LINKS += glMultMatrix.3 glMultMatrixd.3
+LINKS += glMultMatrix.3 glMultMatrixf.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1dARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1dvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1fARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1fvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1iARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1ivARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1sARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord1svARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2dARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2dvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2fARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2fvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2iARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2ivARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2sARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord2svARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3dARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3dvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3fARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3fvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3iARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3ivARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3sARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord3svARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4dARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4dvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4fARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4fvARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4iARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4ivARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4sARB.3
+LINKS += glMultiTexCoordARB.3 glMultiTexCoord4svARB.3
+LINKS += glNewList.3 glEndList.3
+LINKS += glNormal.3 glNormal3b.3
+LINKS += glNormal.3 glNormal3d.3
+LINKS += glNormal.3 glNormal3f.3
+LINKS += glNormal.3 glNormal3i.3
+LINKS += glNormal.3 glNormal3s.3
+LINKS += glNormal.3 glNormal3bv.3
+LINKS += glNormal.3 glNormal3dv.3
+LINKS += glNormal.3 glNormal3fv.3
+LINKS += glNormal.3 glNormal3iv.3
+LINKS += glNormal.3 glNormal3sv.3
+LINKS += glPixelMap.3 glPixelMapfv.3
+LINKS += glPixelMap.3 glPixelMapuiv.3
+LINKS += glPixelMap.3 glPixelMapusv.3
+LINKS += glPixelStore.3 glPixelStoref.3
+LINKS += glPixelStore.3 glPixelStorei.3
+LINKS += glPixelTransfer.3 glPixelTransferf.3
+LINKS += glPixelTransfer.3 glPixelTransferi.3
+LINKS += glPushAttrib.3 glPopAttrib.3
+LINKS += glPushClientAttrib.3 glPopClientAttrib.3
+LINKS += glPushMatrix.3 glPopMatrix.3
+LINKS += glPushName.3 glPopName.3
+LINKS += glRasterPos.3 glRasterPos2d.3
+LINKS += glRasterPos.3 glRasterPos2f.3
+LINKS += glRasterPos.3 glRasterPos2i.3
+LINKS += glRasterPos.3 glRasterPos2s.3
+LINKS += glRasterPos.3 glRasterPos3d.3
+LINKS += glRasterPos.3 glRasterPos3f.3
+LINKS += glRasterPos.3 glRasterPos3i.3
+LINKS += glRasterPos.3 glRasterPos3s.3
+LINKS += glRasterPos.3 glRasterPos4d.3
+LINKS += glRasterPos.3 glRasterPos4f.3
+LINKS += glRasterPos.3 glRasterPos4i.3
+LINKS += glRasterPos.3 glRasterPos4s.3
+LINKS += glRasterPos.3 glRasterPos2dv.3
+LINKS += glRasterPos.3 glRasterPos2fv.3
+LINKS += glRasterPos.3 glRasterPos2iv.3
+LINKS += glRasterPos.3 glRasterPos2sv.3
+LINKS += glRasterPos.3 glRasterPos3dv.3
+LINKS += glRasterPos.3 glRasterPos3fv.3
+LINKS += glRasterPos.3 glRasterPos3iv.3
+LINKS += glRasterPos.3 glRasterPos3sv.3
+LINKS += glRasterPos.3 glRasterPos4dv.3
+LINKS += glRasterPos.3 glRasterPos4fv.3
+LINKS += glRasterPos.3 glRasterPos4iv.3
+LINKS += glRasterPos.3 glRasterPos4sv.3
+LINKS += glRect.3 glRectd.3
+LINKS += glRect.3 glRectf.3
+LINKS += glRect.3 glRecti.3
+LINKS += glRect.3 glRects.3
+LINKS += glRect.3 glRectdv.3
+LINKS += glRect.3 glRectfv.3
+LINKS += glRect.3 glRectiv.3
+LINKS += glRect.3 glRectsv.3
+LINKS += glRotate.3 glRotated.3
+LINKS += glRotate.3 glRotatef.3
+LINKS += glScale.3 glScaled.3
+LINKS += glScale.3 glScalef.3
+LINKS += glTexCoord.3 glTexCoord1d.3
+LINKS += glTexCoord.3 glTexCoord1f.3
+LINKS += glTexCoord.3 glTexCoord1i.3
+LINKS += glTexCoord.3 glTexCoord1s.3
+LINKS += glTexCoord.3 glTexCoord2d.3
+LINKS += glTexCoord.3 glTexCoord2f.3
+LINKS += glTexCoord.3 glTexCoord2i.3
+LINKS += glTexCoord.3 glTexCoord2s.3
+LINKS += glTexCoord.3 glTexCoord3d.3
+LINKS += glTexCoord.3 glTexCoord3f.3
+LINKS += glTexCoord.3 glTexCoord3i.3
+LINKS += glTexCoord.3 glTexCoord3s.3
+LINKS += glTexCoord.3 glTexCoord4d.3
+LINKS += glTexCoord.3 glTexCoord4f.3
+LINKS += glTexCoord.3 glTexCoord4i.3
+LINKS += glTexCoord.3 glTexCoord4s.3
+LINKS += glTexCoord.3 glTexCoord1dv.3
+LINKS += glTexCoord.3 glTexCoord1fv.3
+LINKS += glTexCoord.3 glTexCoord1iv.3
+LINKS += glTexCoord.3 glTexCoord1sv.3
+LINKS += glTexCoord.3 glTexCoord2dv.3
+LINKS += glTexCoord.3 glTexCoord2fv.3
+LINKS += glTexCoord.3 glTexCoord2iv.3
+LINKS += glTexCoord.3 glTexCoord2sv.3
+LINKS += glTexCoord.3 glTexCoord3dv.3
+LINKS += glTexCoord.3 glTexCoord3fv.3
+LINKS += glTexCoord.3 glTexCoord3iv.3
+LINKS += glTexCoord.3 glTexCoord3sv.3
+LINKS += glTexCoord.3 glTexCoord4dv.3
+LINKS += glTexCoord.3 glTexCoord4fv.3
+LINKS += glTexCoord.3 glTexCoord4iv.3
+LINKS += glTexCoord.3 glTexCoord4sv.3
+LINKS += glTexEnv.3 glTexEnvf.3
+LINKS += glTexEnv.3 glTexEnvi.3
+LINKS += glTexEnv.3 glTexEnvfv.3
+LINKS += glTexEnv.3 glTexEnviv.3
+LINKS += glTexGen.3 glTexGend.3
+LINKS += glTexGen.3 glTexGenf.3
+LINKS += glTexGen.3 glTexGeni.3
+LINKS += glTexGen.3 glTexGendv.3
+LINKS += glTexGen.3 glTexGenfv.3
+LINKS += glTexGen.3 glTexGeniv.3
+LINKS += glTexParameter.3 glTexParameterf.3
+LINKS += glTexParameter.3 glTexParameteri.3
+LINKS += glTexParameter.3 glTexParameterfv.3
+LINKS += glTexParameter.3 glTexParameteriv.3
+LINKS += glTranslate.3 glTranslated.3
+LINKS += glTranslate.3 glTranslatef.3
+LINKS += glVertex.3 glVertex2d.3
+LINKS += glVertex.3 glVertex2f.3
+LINKS += glVertex.3 glVertex2i.3
+LINKS += glVertex.3 glVertex2s.3
+LINKS += glVertex.3 glVertex3d.3
+LINKS += glVertex.3 glVertex3f.3
+LINKS += glVertex.3 glVertex3i.3
+LINKS += glVertex.3 glVertex3s.3
+LINKS += glVertex.3 glVertex4d.3
+LINKS += glVertex.3 glVertex4f.3
+LINKS += glVertex.3 glVertex4i.3
+LINKS += glVertex.3 glVertex4s.3
+LINKS += glVertex.3 glVertex2dv.3
+LINKS += glVertex.3 glVertex2fv.3
+LINKS += glVertex.3 glVertex2iv.3
+LINKS += glVertex.3 glVertex2sv.3
+LINKS += glVertex.3 glVertex3dv.3
+LINKS += glVertex.3 glVertex3fv.3
+LINKS += glVertex.3 glVertex3iv.3
+LINKS += glVertex.3 glVertex3sv.3
+LINKS += glVertex.3 glVertex4dv.3
+LINKS += glVertex.3 glVertex4fv.3
+LINKS += glVertex.3 glVertex4iv.3
+LINKS += glVertex.3 glVertex4sv.3
+
+.include "../../Makefile.inc"
+.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GL/gl/Makefile.bsd-wrapper b/doc/gl-docs/GL/gl/Makefile.bsd-wrapper
deleted file mode 100644
index fa8979bd3..000000000
--- a/doc/gl-docs/GL/gl/Makefile.bsd-wrapper
+++ /dev/null
@@ -1,15 +0,0 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2009/03/27 07:24:02 matthieu Exp $
-
-all: Makefile
- $(MAKE)
-
-Makefile:
- if [ ${.OBJDIR} != ${.CURDIR} ]; then lndir ${.CURDIR}; fi
- if [ -x $(X11BASE)/bin/xmkmf ]; then \
- $(X11BASE)/bin/xmkmf ; \
- fi
-
-install:
- $(MAKE) install.man
-
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GL/glx/Makefile b/doc/gl-docs/GL/glx/Makefile
new file mode 100644
index 000000000..35ae034a3
--- /dev/null
+++ b/doc/gl-docs/GL/glx/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
+
+X11BASE?= /usr/X11R6
+MANDIR?= ${X11BASE}/man/man
+
+MAN += glXChooseVisual.3 xchoosevisual.3gl
+MAN += glXCopyContext.3 xcopycontext.3gl
+MAN += glXCreateContext.3 xcreatecontext.3gl
+MAN += glXCreateGLXPixmap.3 xcreateglxpixmap.3gl
+MAN += glXDestroyContext.3 xdestroycontext.3gl
+MAN += glXDestroyGLXPixmap.3 xdestroyglxpixmap.3gl
+MAN += glXFreeContextEXT.3 xfreecontextext.3gl
+MAN += glXGetClientString.3 xgetclientstring.3gl
+MAN += glXGetConfig.3 xgetconfig.3gl
+MAN += glXGetContextIDEXT.3 xgetcontextidext.3gl
+MAN += glXGetCurrentContext.3 xgetcurrentcontext.3gl
+MAN += glXGetCurrentDisplay.3 xgetcurrentdisplay.3gl
+MAN += glXGetCurrentDrawable.3 xgetcurrentdrawable.3gl
+MAN += glXImportContextEXT.3 ximportcontextext.3gl
+MAN += glXIntro.3 xintro.3gl
+MAN += glXIsDirect.3 xisdirect.3gl
+MAN += glXMakeCurrent.3 xmakecurrent.3gl
+MAN += glXQueryContextInfoEXT.3 xquerycontextinfoext.3gl
+MAN += glXQueryExtension.3 xqueryextension.3gl
+MAN += glXQueryExtensionsString.3 xqueryextensionsstring.3gl
+MAN += glXQueryServerString.3 xqueryserverstring.3gl
+MAN += glXQueryVersion.3 xqueryversion.3gl
+MAN += glXSwapBuffers.3 xswapbuffers.3gl
+MAN += glXUseXFont.3 xusexfont.3gl
+MAN += glXWaitGL.3 xwaitgl.3gl
+MAN += glXWaitX.3 xwaitx.3gl
+
+.include "../../Makefile.inc"
+.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GL/glx/Makefile.bsd-wrapper b/doc/gl-docs/GL/glx/Makefile.bsd-wrapper
deleted file mode 100644
index 8806cd93c..000000000
--- a/doc/gl-docs/GL/glx/Makefile.bsd-wrapper
+++ /dev/null
@@ -1,15 +0,0 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2009/03/27 07:24:02 matthieu Exp $
-
-all: Makefile
- $(MAKE)
-
-Makefile:
- if [ ${.OBJDIR} != ${.CURDIR} ]; then lndir ${.CURDIR}; fi
- if [ -x $(X11BASE)/bin/xmkmf ]; then \
- $(X11BASE)/bin/xmkmf ;\
- fi
-
-install:
- $(MAKE) install.man
-
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GLU/Makefile b/doc/gl-docs/GLU/Makefile
new file mode 100644
index 000000000..db0ffdb77
--- /dev/null
+++ b/doc/gl-docs/GLU/Makefile
@@ -0,0 +1,62 @@
+# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
+
+X11BASE?= /usr/X11R6
+MANDIR?= ${X11BASE}/man/man
+
+MAN += gluBeginCurve.3 begincurve.3gl
+MAN += gluBeginPolygon.3 beginpolygon.3gl
+MAN += gluBeginSurface.3 beginsurface.3gl
+MAN += gluBeginTrim.3 begintrim.3gl
+MAN += gluBuild1DMipmaps.3 build1dmipmaps.3gl
+MAN += gluBuild2DMipmaps.3 build2dmipmaps.3gl
+MAN += gluCylinder.3 cylinder.3gl
+MAN += gluDeleteNurbsRenderer.3 deletenurbsrenderer.3gl
+MAN += gluDeleteQuadric.3 deletequadric.3gl
+MAN += gluDeleteTess.3 deletetess.3gl
+MAN += gluDisk.3 disk.3gl
+MAN += gluErrorString.3 errorstring.3gl
+MAN += gluGetNurbsProperty.3 getnurbsproperty.3gl
+MAN += gluGetString.3 getstring.3gl
+MAN += gluGetTessProperty.3 gettessproperty.3gl
+MAN += gluLoadSamplingMatrices.3 loadsamplingmatrices.3gl
+MAN += gluLookAt.3 lookat.3gl
+MAN += gluNewNurbsRenderer.3 newnurbsrenderer.3gl
+MAN += gluNewQuadric.3 newquadric.3gl
+MAN += gluNewTess.3 newtess.3gl
+MAN += gluNextContour.3 nextcontour.3gl
+MAN += gluNurbsCallback.3 nurbscallback.3gl
+MAN += gluNurbsCallbackDataEXT.3 nurbscallbackdataext.3gl
+MAN += gluNurbsCurve.3 nurbscurve.3gl
+MAN += gluNurbsProperty.3 nurbsproperty.3gl
+MAN += gluNurbsSurface.3 nurbssurface.3gl
+MAN += gluOrtho2D.3 ortho2d.3gl
+MAN += gluPartialDisk.3 partialdisk.3gl
+MAN += gluPerspective.3 perspective.3gl
+MAN += gluPickMatrix.3 pickmatrix.3gl
+MAN += gluProject.3 project.3gl
+MAN += gluPwlCurve.3 pwlcurve.3gl
+MAN += gluQuadricCallback.3 quadriccallback.3gl
+MAN += gluQuadricDrawStyle.3 quadricdrawstyle.3gl
+MAN += gluQuadricNormals.3 quadricnormals.3gl
+MAN += gluQuadricOrientation.3 quadricorientation.3gl
+MAN += gluQuadricTexture.3 quadrictexture.3gl
+MAN += gluScaleImage.3 scaleimage.3gl
+MAN += gluSphere.3 sphere.3gl
+MAN += gluTessBeginContour.3 tessbegincontour.3gl
+MAN += gluTessBeginPolygon.3 tessbeginpolygon.3gl
+MAN += gluTessCallback.3 tesscallback.3gl
+MAN += gluTessEndPolygon.3 tessendpolygon.3gl
+MAN += gluTessNormal.3 tessnormal.3gl
+MAN += gluTessProperty.3 tessproperty.3gl
+MAN += gluTessVertex.3 tessvertex.3gl
+MAN += gluUnProject.3 unproject.3gl
+
+
+LINKS += gluBeginCurve.3 gluEndCurve.3
+LINKS += gluBeginPolygon.3 gluEndPolygon.3
+LINKS += gluBeginSurface.3 gluEndSurface.3
+LINKS += gluBeginTrim.3 gluEndTrim.3
+LINKS += gluTessBeginContour.3 gluTessEndContour.3
+
+.include "../Makefile.inc"
+.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GLU/Makefile.bsd-wrapper b/doc/gl-docs/GLU/Makefile.bsd-wrapper
deleted file mode 100644
index 8806cd93c..000000000
--- a/doc/gl-docs/GLU/Makefile.bsd-wrapper
+++ /dev/null
@@ -1,15 +0,0 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2009/03/27 07:24:02 matthieu Exp $
-
-all: Makefile
- $(MAKE)
-
-Makefile:
- if [ ${.OBJDIR} != ${.CURDIR} ]; then lndir ${.CURDIR}; fi
- if [ -x $(X11BASE)/bin/xmkmf ]; then \
- $(X11BASE)/bin/xmkmf ;\
- fi
-
-install:
- $(MAKE) install.man
-
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GLw/Makefile b/doc/gl-docs/GLw/Makefile
new file mode 100644
index 000000000..4f1fab8f6
--- /dev/null
+++ b/doc/gl-docs/GLw/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
+
+X11BASE?= /usr/X11R6
+MANDIR?= ${X11BASE}/man/man
+
+MAN += GLwCreateMDrawingArea.3 glwcreatemdrawingarea.gl
+MAN += GLwDrawingArea.3 glwdrawingarea.gl
+MAN += GLwDrawingAreaMakeCurrent.3 glwdrawingareamakecurrent.gl
+MAN += GLwDrawingAreaSwapBuffers.3 glwdrawingareaswapbuffers.gl
+
+LINKS += GLwDrawingArea.3 GLwMDrawingArea.3
+
+.include "../Makefile.inc"
+.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GLw/Makefile.bsd-wrapper b/doc/gl-docs/GLw/Makefile.bsd-wrapper
deleted file mode 100644
index 8806cd93c..000000000
--- a/doc/gl-docs/GLw/Makefile.bsd-wrapper
+++ /dev/null
@@ -1,15 +0,0 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2009/03/27 07:24:02 matthieu Exp $
-
-all: Makefile
- $(MAKE)
-
-Makefile:
- if [ ${.OBJDIR} != ${.CURDIR} ]; then lndir ${.CURDIR}; fi
- if [ -x $(X11BASE)/bin/xmkmf ]; then \
- $(X11BASE)/bin/xmkmf ;\
- fi
-
-install:
- $(MAKE) install.man
-
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/Makefile.inc b/doc/gl-docs/Makefile.inc
new file mode 100644
index 000000000..6eefa770d
--- /dev/null
+++ b/doc/gl-docs/Makefile.inc
@@ -0,0 +1,28 @@
+# $OpenBSD: Makefile.inc,v 1.1 2012/08/07 21:10:35 matthieu Exp $
+
+all:
+
+cleandir:
+
+.SUFFIXES: .3 .3gl
+
+.for page source in $(MAN)
+_INST_MAN = ${DESTDIR}${MANDIR}$(page:E)/$(page:T)
+${_INST_MAN}: ${source}
+ ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
+ ${.ALLSRC} ${.TARGET}
+
+install: ${_INST_MAN}
+
+.PHONY: ${_INST_MAN}
+.endfor
+
+install:
+.for lnk file in $(LINKS)
+ @l=${DESTDIR}${MANDIR}${lnk:E}/${lnk}; \
+ t=${DESTDIR}${MANDIR}${file:E}/${file}; \
+ echo $$t -\> $$l; \
+ rm -f $$t; ln $$l $$t;
+.endfor
+
+NOOBJ=