Commit | Line | Data |
---|---|---|
7faf1d71 AW |
1 | #!gmake |
2 | ||
3 | # XSLT processor - other possibilities like Saxon exist | |
4 | XSLT = xsltproc --nonet | |
5 | SED = sed | |
6 | ||
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 | |
11 | ||
12 | .SUFFIXES: .gl .xml .html .xhtml .ck.xhtml .tex .pdf .3G .tar .tar.gz | |
13 | .PHONY: man html pdf tex | |
14 | ||
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' > $@ | |
19 | $(RM) $@.tmp | |
20 | ||
21 | # ARB Ecosystem man pages | |
22 | ARBXML = \ | |
23 | glBlendEquationSeparate.xml \ | |
24 | glStencilFuncSeparate.xml \ | |
25 | glStencilMaskSeparate.xml \ | |
26 | glStencilOpSeparate.xml | |
27 | ||
28 | # SuperBible GL 1.5 man pages | |
29 | SUPERBIBLEXML = \ | |
30 | glBeginQuery.xml \ | |
31 | glBindBuffer.xml \ | |
32 | glBufferData.xml \ | |
33 | glBufferSubData.xml \ | |
34 | glDeleteBuffers.xml \ | |
35 | glDeleteQueries.xml \ | |
36 | glGenBuffers.xml \ | |
37 | glGenQueries.xml \ | |
38 | glGetBufferParameteriv.xml \ | |
39 | glGetBufferPointerv.xml \ | |
40 | glGetBufferSubData.xml \ | |
41 | glGetQueryiv.xml \ | |
42 | glGetQueryObject.xml \ | |
43 | glIsBuffer.xml \ | |
44 | glIsQuery.xml \ | |
45 | glMapBuffer.xml | |
46 | ||
47 | # 3Dlabs GL 2.0 man pages | |
48 | 3DLABSXML = \ | |
49 | glAttachShader.xml \ | |
50 | glBindAttribLocation.xml \ | |
51 | glCompileShader.xml \ | |
52 | glCreateProgram.xml \ | |
53 | glCreateShader.xml \ | |
54 | glDeleteProgram.xml \ | |
55 | glDeleteShader.xml \ | |
56 | glDetachShader.xml \ | |
57 | glDrawBuffers.xml \ | |
58 | glEnableVertexAttribArray.xml \ | |
59 | glGetActiveAttrib.xml \ | |
60 | glGetActiveUniform.xml \ | |
61 | glGetAttachedShaders.xml \ | |
62 | glGetAttribLocation.xml \ | |
63 | glGetProgram.xml \ | |
64 | glGetProgramInfoLog.xml \ | |
65 | glGetShader.xml \ | |
66 | glGetShaderInfoLog.xml \ | |
67 | glGetShaderSource.xml \ | |
68 | glGetUniform.xml \ | |
69 | glGetUniformLocation.xml \ | |
70 | glGetVertexAttrib.xml \ | |
71 | glGetVertexAttribPointerv.xml \ | |
72 | glIsProgram.xml \ | |
73 | glIsShader.xml \ | |
74 | glLinkProgram.xml \ | |
75 | glShaderSource.xml \ | |
76 | glUniform.xml \ | |
77 | glUseProgram.xml \ | |
78 | glValidateProgram.xml \ | |
79 | glVertexAttrib.xml \ | |
80 | glVertexAttribPointer.xml | |
81 | ||
82 | # SGI OpenGL 1.4 man pages | |
83 | SGIGLXML = \ | |
84 | glAccum.xml \ | |
85 | glActiveTexture.xml \ | |
86 | glAlphaFunc.xml \ | |
87 | glAreTexturesResident.xml \ | |
88 | glArrayElement.xml \ | |
89 | glBegin.xml \ | |
90 | glBindTexture.xml \ | |
91 | glBitmap.xml \ | |
92 | glBlendColor.xml \ | |
93 | glBlendEquation.xml \ | |
94 | glBlendFuncSeparate.xml \ | |
95 | glBlendFunc.xml \ | |
96 | glCallLists.xml \ | |
97 | glCallList.xml \ | |
98 | glClearAccum.xml \ | |
99 | glClearColor.xml \ | |
100 | glClearDepth.xml \ | |
101 | glClearIndex.xml \ | |
102 | glClearStencil.xml \ | |
103 | glClear.xml \ | |
104 | glClientActiveTexture.xml \ | |
105 | glClipPlane.xml \ | |
106 | glColorMask.xml \ | |
107 | glColorMaterial.xml \ | |
108 | glColorPointer.xml \ | |
109 | glColorSubTable.xml \ | |
110 | glColorTableParameter.xml \ | |
111 | glColorTable.xml \ | |
112 | glColor.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 \ | |
126 | glCopyPixels.xml \ | |
127 | glCopyTexImage1D.xml \ | |
128 | glCopyTexImage2D.xml \ | |
129 | glCopyTexSubImage1D.xml \ | |
130 | glCopyTexSubImage2D.xml \ | |
131 | glCopyTexSubImage3D.xml \ | |
132 | glCullFace.xml \ | |
133 | glDeleteLists.xml \ | |
134 | glDeleteTextures.xml \ | |
135 | glDepthFunc.xml \ | |
136 | glDepthMask.xml \ | |
137 | glDepthRange.xml \ | |
138 | glDrawArrays.xml \ | |
139 | glDrawBuffer.xml \ | |
140 | glDrawElements.xml \ | |
141 | glDrawElementsInstanced.xml \ | |
142 | glDrawPixels.xml \ | |
143 | glDrawRangeElements.xml \ | |
144 | glEdgeFlagPointer.xml \ | |
145 | glEdgeFlag.xml \ | |
146 | glEnableClientState.xml \ | |
147 | glEnable.xml \ | |
148 | glEvalCoord.xml \ | |
149 | glEvalMesh.xml \ | |
150 | glEvalPoint.xml \ | |
151 | glFeedbackBuffer.xml \ | |
152 | glFinish.xml \ | |
153 | glFlush.xml \ | |
154 | glFogCoordPointer.xml \ | |
155 | glFogCoord.xml \ | |
156 | glFog.xml \ | |
157 | glFrontFace.xml \ | |
158 | glFrustum.xml \ | |
159 | glGenLists.xml \ | |
160 | glGenTextures.xml \ | |
161 | glGetClipPlane.xml \ | |
162 | glGetColorTableParameter.xml \ | |
163 | glGetColorTable.xml \ | |
164 | glGetCompressedTexImage.xml \ | |
165 | glGetConvolutionFilter.xml \ | |
166 | glGetConvolutionParameter.xml \ | |
167 | glGetError.xml \ | |
168 | glGetHistogramParameter.xml \ | |
169 | glGetHistogram.xml \ | |
170 | glGetLight.xml \ | |
171 | glGetMap.xml \ | |
172 | glGetMaterial.xml \ | |
173 | glGetMinmaxParameter.xml \ | |
174 | glGetMinmax.xml \ | |
175 | glGetPixelMap.xml \ | |
176 | glGetPointerv.xml \ | |
177 | glGetPolygonStipple.xml \ | |
178 | glGetSeparableFilter.xml \ | |
179 | glGetString.xml \ | |
180 | glGetTexEnv.xml \ | |
181 | glGetTexGen.xml \ | |
182 | glGetTexImage.xml \ | |
183 | glGetTexLevelParameter.xml \ | |
184 | glGetTexParameter.xml \ | |
185 | glGet.xml \ | |
186 | glHint.xml \ | |
187 | glHistogram.xml \ | |
188 | glIndexMask.xml \ | |
189 | glIndexPointer.xml \ | |
190 | glIndex.xml \ | |
191 | glInitNames.xml \ | |
192 | glInterleavedArrays.xml \ | |
193 | glIsEnabled.xml \ | |
194 | glIsList.xml \ | |
195 | glIsTexture.xml \ | |
196 | glLightModel.xml \ | |
197 | glLight.xml \ | |
198 | glLineStipple.xml \ | |
199 | glLineWidth.xml \ | |
200 | glListBase.xml \ | |
201 | glLoadIdentity.xml \ | |
202 | glLoadMatrix.xml \ | |
203 | glLoadName.xml \ | |
204 | glLoadTransposeMatrix.xml \ | |
205 | glLogicOp.xml \ | |
206 | glMap1.xml \ | |
207 | glMap2.xml \ | |
208 | glMapGrid.xml \ | |
209 | glMaterial.xml \ | |
210 | glMatrixMode.xml \ | |
211 | glMinmax.xml \ | |
212 | glMultiDrawArrays.xml \ | |
213 | glMultiDrawElements.xml \ | |
214 | glMultiTexCoord.xml \ | |
215 | glMultMatrix.xml \ | |
216 | glMultTransposeMatrix.xml \ | |
217 | glNewList.xml \ | |
218 | glNormalPointer.xml \ | |
219 | glNormal.xml \ | |
220 | glOrtho.xml \ | |
221 | glPassThrough.xml \ | |
222 | glPixelMap.xml \ | |
223 | glPixelStore.xml \ | |
224 | glPixelTransfer.xml \ | |
225 | glPixelZoom.xml \ | |
226 | glPointParameter.xml \ | |
227 | glPointSize.xml \ | |
228 | glPolygonMode.xml \ | |
229 | glPolygonOffset.xml \ | |
230 | glPolygonStipple.xml \ | |
231 | glPrioritizeTextures.xml \ | |
232 | glPushAttrib.xml \ | |
233 | glPushClientAttrib.xml \ | |
234 | glPushMatrix.xml \ | |
235 | glPushName.xml \ | |
236 | glRasterPos.xml \ | |
237 | glReadBuffer.xml \ | |
238 | glReadPixels.xml \ | |
239 | glRect.xml \ | |
240 | glRenderMode.xml \ | |
241 | glResetHistogram.xml \ | |
242 | glResetMinmax.xml \ | |
243 | glRotate.xml \ | |
244 | glSampleCoverage.xml \ | |
245 | glScale.xml \ | |
246 | glScissor.xml \ | |
247 | glSecondaryColorPointer.xml \ | |
248 | glSecondaryColor.xml \ | |
249 | glSelectBuffer.xml \ | |
250 | glSeparableFilter2D.xml \ | |
251 | glShadeModel.xml \ | |
252 | glStencilFunc.xml \ | |
253 | glStencilMask.xml \ | |
254 | glStencilOp.xml \ | |
255 | glTexCoordPointer.xml \ | |
256 | glTexCoord.xml \ | |
257 | glTexEnv.xml \ | |
258 | glTexGen.xml \ | |
259 | glTexImage1D.xml \ | |
260 | glTexImage2D.xml \ | |
261 | glTexImage3D.xml \ | |
262 | glTexParameter.xml \ | |
263 | glTexSubImage1D.xml \ | |
264 | glTexSubImage2D.xml \ | |
265 | glTexSubImage3D.xml \ | |
266 | glTranslate.xml \ | |
267 | glVertexPointer.xml \ | |
268 | glVertex.xml \ | |
269 | glViewport.xml \ | |
270 | glWindowPos.xml | |
271 | ||
272 | # SGI GLU 1.3 man pages | |
273 | SGIGLUXML = \ | |
274 | gluBeginCurve.xml \ | |
275 | gluBeginPolygon.xml \ | |
276 | gluBeginSurface.xml \ | |
277 | gluBeginTrim.xml \ | |
278 | gluBuild1DMipmapLevels.xml \ | |
279 | gluBuild1DMipmaps.xml \ | |
280 | gluBuild2DMipmapLevels.xml \ | |
281 | gluBuild2DMipmaps.xml \ | |
282 | gluBuild3DMipmapLevels.xml \ | |
283 | gluBuild3DMipmaps.xml \ | |
284 | gluCheckExtension.xml \ | |
285 | gluCylinder.xml \ | |
286 | gluDeleteNurbsRenderer.xml \ | |
287 | gluDeleteQuadric.xml \ | |
288 | gluDeleteTess.xml \ | |
289 | gluDisk.xml \ | |
290 | gluErrorString.xml \ | |
291 | gluGetNurbsProperty.xml \ | |
292 | gluGetString.xml \ | |
293 | gluGetTessProperty.xml \ | |
294 | gluLoadSamplingMatrices.xml \ | |
295 | gluLookAt.xml \ | |
296 | gluNewNurbsRenderer.xml \ | |
297 | gluNewQuadric.xml \ | |
298 | gluNewTess.xml \ | |
299 | gluNextContour.xml \ | |
300 | gluNurbsCallbackDataEXT.xml \ | |
301 | gluNurbsCallbackData.xml \ | |
302 | gluNurbsCallback.xml \ | |
303 | gluNurbsCurve.xml \ | |
304 | gluNurbsProperty.xml \ | |
305 | gluNurbsSurface.xml \ | |
306 | gluOrtho2D.xml \ | |
307 | gluPartialDisk.xml \ | |
308 | gluPerspective.xml \ | |
309 | gluPickMatrix.xml \ | |
310 | gluProject.xml \ | |
311 | gluPwlCurve.xml \ | |
312 | gluQuadricCallback.xml \ | |
313 | gluQuadricDrawStyle.xml \ | |
314 | gluQuadricNormals.xml \ | |
315 | gluQuadricOrientation.xml \ | |
316 | gluQuadricTexture.xml \ | |
317 | gluScaleImage.xml \ | |
318 | gluSphere.xml \ | |
319 | gluTessBeginContour.xml \ | |
320 | gluTessBeginPolygon.xml \ | |
321 | gluTessCallback.xml \ | |
322 | gluTessEndPolygon.xml \ | |
323 | gluTessNormal.xml \ | |
324 | gluTessProperty.xml \ | |
325 | gluTessVertex.xml \ | |
326 | gluUnProject4.xml \ | |
327 | gluUnProject.xml | |
328 | ||
329 | # SGI GLX 1.4 man pages | |
330 | SGIGLXXML = \ | |
331 | glXChooseFBConfig.xml \ | |
332 | glXChooseVisual.xml \ | |
333 | glXCopyContext.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 \ | |
347 | glXGetConfig.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 \ | |
359 | glXIntro.xml \ | |
360 | glXIsDirect.xml \ | |
361 | glXMakeContextCurrent.xml \ | |
362 | glXMakeCurrent.xml \ | |
363 | glXQueryContextInfoEXT.xml \ | |
364 | glXQueryContext.xml \ | |
365 | glXQueryDrawable.xml \ | |
366 | glXQueryExtensionsString.xml \ | |
367 | glXQueryExtension.xml \ | |
368 | glXQueryServerString.xml \ | |
369 | glXQueryVersion.xml \ | |
370 | glXSelectEvent.xml \ | |
371 | glXSwapBuffers.xml \ | |
372 | glXUseXFont.xml \ | |
373 | glXWaitGL.xml \ | |
374 | glXWaitX.xml | |
375 | ||
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) | |
381 | ||
382 | default: $(XML) | |
383 | ||
384 | clean: | |
385 | $(RM) $(TEX_FILES) *.log *.aux *.toc *.dvi *.out | |
386 | ||
387 | clobber: clean | |
388 | $(RM) $(XML) $(PDF_FILES) |