3 # XSLT processor - other possibilities like Saxon exist
4 XSLT
= xsltproc
--nonet
7 # Location of locally customized stylesheet, which imports
8 # the Docbook modular stylesheets, and specifically the
9 # stylesheet to convert Docbook+MathML => XHTML+MathML
10 DB2XHTML
= opengl-man.xsl
12 .SUFFIXES
: .gl .xml .html .xhtml .ck.xhtml .
tex .pdf
.3G .
tar .
tar.gz
13 .PHONY
: man html pdf
tex
15 %.xml
: ..
/%.xml opengl-man.xsl
16 $(XSLT
) --xinclude
-o
$@.tmp
$(DB2XHTML
) $<
17 $(SED
) 's/<?xml-stylesheet/<!-- saved from url=(0013)about:internet -->\n<?xml-stylesheet/g' $@.tmp | \
18 $(SED
) 's#http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd#xhtml1-transitional.dtd#g' > $@
21 # ARB Ecosystem man pages
23 glBlendEquationSeparate.xml \
24 glStencilFuncSeparate.xml \
25 glStencilMaskSeparate.xml \
26 glStencilOpSeparate.xml
28 # SuperBible GL 1.5 man pages
38 glGetBufferParameteriv.xml \
39 glGetBufferPointerv.xml \
40 glGetBufferSubData.xml \
42 glGetQueryObject.xml \
47 # 3Dlabs GL 2.0 man pages
50 glBindAttribLocation.xml \
58 glEnableVertexAttribArray.xml \
59 glGetActiveAttrib.xml \
60 glGetActiveUniform.xml \
61 glGetAttachedShaders.xml \
62 glGetAttribLocation.xml \
64 glGetProgramInfoLog.xml \
66 glGetShaderInfoLog.xml \
67 glGetShaderSource.xml \
69 glGetUniformLocation.xml \
70 glGetVertexAttrib.xml \
71 glGetVertexAttribPointerv.xml \
78 glValidateProgram.xml \
80 glVertexAttribPointer.xml
82 # SGI OpenGL 1.4 man pages
87 glAreTexturesResident.xml \
94 glBlendFuncSeparate.xml \
104 glClientActiveTexture.xml \
107 glColorMaterial.xml \
109 glColorSubTable.xml \
110 glColorTableParameter.xml \
113 glCompressedTexImage1D.xml \
114 glCompressedTexImage2D.xml \
115 glCompressedTexImage3D.xml \
116 glCompressedTexSubImage1D.xml \
117 glCompressedTexSubImage2D.xml \
118 glCompressedTexSubImage3D.xml \
119 glConvolutionFilter1D.xml \
120 glConvolutionFilter2D.xml \
121 glConvolutionParameter.xml \
122 glCopyColorSubTable.xml \
123 glCopyColorTable.xml \
124 glCopyConvolutionFilter1D.xml \
125 glCopyConvolutionFilter2D.xml \
127 glCopyTexImage1D.xml \
128 glCopyTexImage2D.xml \
129 glCopyTexSubImage1D.xml \
130 glCopyTexSubImage2D.xml \
131 glCopyTexSubImage3D.xml \
134 glDeleteTextures.xml \
141 glDrawElementsInstanced.xml \
143 glDrawRangeElements.xml \
144 glEdgeFlagPointer.xml \
146 glEnableClientState.xml \
151 glFeedbackBuffer.xml \
154 glFogCoordPointer.xml \
162 glGetColorTableParameter.xml \
163 glGetColorTable.xml \
164 glGetCompressedTexImage.xml \
165 glGetConvolutionFilter.xml \
166 glGetConvolutionParameter.xml \
168 glGetHistogramParameter.xml \
173 glGetMinmaxParameter.xml \
177 glGetPolygonStipple.xml \
178 glGetSeparableFilter.xml \
183 glGetTexLevelParameter.xml \
184 glGetTexParameter.xml \
192 glInterleavedArrays.xml \
204 glLoadTransposeMatrix.xml \
212 glMultiDrawArrays.xml \
213 glMultiDrawElements.xml \
214 glMultiTexCoord.xml \
216 glMultTransposeMatrix.xml \
218 glNormalPointer.xml \
224 glPixelTransfer.xml \
226 glPointParameter.xml \
229 glPolygonOffset.xml \
230 glPolygonStipple.xml \
231 glPrioritizeTextures.xml \
233 glPushClientAttrib.xml \
241 glResetHistogram.xml \
244 glSampleCoverage.xml \
247 glSecondaryColorPointer.xml \
248 glSecondaryColor.xml \
250 glSeparableFilter2D.xml \
255 glTexCoordPointer.xml \
263 glTexSubImage1D.xml \
264 glTexSubImage2D.xml \
265 glTexSubImage3D.xml \
267 glVertexPointer.xml \
272 # SGI GLU 1.3 man pages
275 gluBeginPolygon.xml \
276 gluBeginSurface.xml \
278 gluBuild1DMipmapLevels.xml \
279 gluBuild1DMipmaps.xml \
280 gluBuild2DMipmapLevels.xml \
281 gluBuild2DMipmaps.xml \
282 gluBuild3DMipmapLevels.xml \
283 gluBuild3DMipmaps.xml \
284 gluCheckExtension.xml \
286 gluDeleteNurbsRenderer.xml \
287 gluDeleteQuadric.xml \
291 gluGetNurbsProperty.xml \
293 gluGetTessProperty.xml \
294 gluLoadSamplingMatrices.xml \
296 gluNewNurbsRenderer.xml \
300 gluNurbsCallbackDataEXT.xml \
301 gluNurbsCallbackData.xml \
302 gluNurbsCallback.xml \
304 gluNurbsProperty.xml \
305 gluNurbsSurface.xml \
312 gluQuadricCallback.xml \
313 gluQuadricDrawStyle.xml \
314 gluQuadricNormals.xml \
315 gluQuadricOrientation.xml \
316 gluQuadricTexture.xml \
319 gluTessBeginContour.xml \
320 gluTessBeginPolygon.xml \
321 gluTessCallback.xml \
322 gluTessEndPolygon.xml \
324 gluTessProperty.xml \
329 # SGI GLX 1.4 man pages
331 glXChooseFBConfig.xml \
332 glXChooseVisual.xml \
334 glXCreateContext.xml \
335 glXCreateGLXPixmap.xml \
336 glXCreateNewContext.xml \
337 glXCreatePbuffer.xml \
338 glXCreatePixmap.xml \
339 glXCreateWindow.xml \
340 glXDestroyContext.xml \
341 glXDestroyGLXPixmap.xml \
342 glXDestroyPbuffer.xml \
343 glXDestroyPixmap.xml \
344 glXDestroyWindow.xml \
345 glXFreeContextEXT.xml \
346 glXGetClientString.xml \
348 glXGetContextIDEXT.xml \
349 glXGetCurrentContext.xml \
350 glXGetCurrentDisplay.xml \
351 glXGetCurrentDrawable.xml \
352 glXGetCurrentReadDrawable.xml \
353 glXGetFBConfigAttrib.xml \
354 glXGetFBConfigs.xml \
355 glXGetProcAddress.xml \
356 glXGetSelectedEvent.xml \
357 glXGetVisualFromFBConfig.xml \
358 glXImportContextEXT.xml \
361 glXMakeContextCurrent.xml \
363 glXQueryContextInfoEXT.xml \
364 glXQueryContext.xml \
365 glXQueryDrawable.xml \
366 glXQueryExtensionsString.xml \
367 glXQueryExtension.xml \
368 glXQueryServerString.xml \
369 glXQueryVersion.xml \
376 # XML man page source and XHTML targets
377 GLXML
= $(SGIGLXML
) $(3DLABSXML
) $(SUPERBIBLEXML
) $(ARBXML
)
378 GLUXML
= $(SGIGLUXML
)
379 GLXXML
= $(SGIGLXXML
)
380 XML
= $(GLXML
) $(GLUXML
) $(GLXXML
)
385 $(RM
) $(TEX_FILES
) *.log
*.aux
*.toc
*.
dvi *.out
388 $(RM
) $(XML
) $(PDF_FILES
)