Commit | Line | Data |
---|---|---|
7faf1d71 AW |
1 | #!gmake |
2 | ||
3 | # XSLT processor - other possibilities like Saxon exist | |
4 | XSLT = xsltproc | |
5 | ||
6 | # Location of locally customized stylesheet, which imports | |
7 | # the Docbook modular stylesheets, and the specific | |
8 | # stylesheet to convert Docbook+MathML => XSL-FO. | |
9 | ||
10 | # At present, the XSL-FO stylesheets do *not* handle MathML. | |
11 | # Getting math output is a significant toolchain issue. | |
12 | ||
13 | DB2XHTML = /usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl | |
14 | ||
15 | # Path to the APache FOP processor | |
16 | # Download the current version 0.92beta from | |
17 | # http://xmlgraphics.apache.org/fop/ | |
18 | FOP = /path/to/fop-0.92beta/fop | |
19 | ||
20 | .SUFFIXES: .gl .xml .html .xhtml .ck.xhtml .tex .pdf .3G .tar .tar.gz | |
21 | .PHONY: man html pdf tex | |
22 | ||
23 | %.fo: ../%.xml | |
24 | $(XSLT) --xinclude -o $@ $(DB2XHTML) $< | |
25 | ||
26 | %.pdf: %.fo | |
27 | $(FOP) -fo $< -pdf $@ | |
28 | ||
29 | # ARB Ecosystem man pages | |
30 | ARBFO = \ | |
31 | glBlendEquationSeparate.fo \ | |
32 | glStencilFuncSeparate.fo \ | |
33 | glStencilMaskSeparate.fo \ | |
34 | glStencilOpSeparate.fo | |
35 | ||
36 | # SuperBible GL 1.5 man pages | |
37 | SUPERBIBLEFO = \ | |
38 | glBeginQuery.fo \ | |
39 | glBindBuffer.fo \ | |
40 | glBufferData.fo \ | |
41 | glBufferSubData.fo \ | |
42 | glDeleteBuffers.fo \ | |
43 | glDeleteQueries.fo \ | |
44 | glGenBuffers.fo \ | |
45 | glGenQueries.fo \ | |
46 | glGetBufferParameteriv.fo \ | |
47 | glGetBufferPointerv.fo \ | |
48 | glGetBufferSubData.fo \ | |
49 | glGetQueryiv.fo \ | |
50 | glGetQueryObject.fo \ | |
51 | glIsBuffer.fo \ | |
52 | glIsQuery.fo \ | |
53 | glMapBuffer.fo | |
54 | ||
55 | # 3Dlabs GL 2.0 man pages | |
56 | 3DLABSFO = \ | |
57 | glAttachShader.fo \ | |
58 | glBindAttribLocation.fo \ | |
59 | glCompileShader.fo \ | |
60 | glCreateProgram.fo \ | |
61 | glCreateShader.fo \ | |
62 | glDeleteProgram.fo \ | |
63 | glDeleteShader.fo \ | |
64 | glDetachShader.fo \ | |
65 | glDrawBuffers.fo \ | |
66 | glEnableVertexAttribArray.fo \ | |
67 | glGetActiveAttrib.fo \ | |
68 | glGetActiveUniform.fo \ | |
69 | glGetAttachedShaders.fo \ | |
70 | glGetAttribLocation.fo \ | |
71 | glGetProgramInfoLog.fo \ | |
72 | glGetProgram.fo \ | |
73 | glGetShaderInfoLog.fo \ | |
74 | glGetShaderSource.fo \ | |
75 | glGetShader.fo \ | |
76 | glGetUniformLocation.fo \ | |
77 | glGetUniform.fo \ | |
78 | glGetVertexAttribPointerv.fo \ | |
79 | glGetVertexAttrib.fo \ | |
80 | glIsProgram.fo \ | |
81 | glIsShader.fo \ | |
82 | glLinkProgram.fo \ | |
83 | glShaderSource.fo \ | |
84 | glUniform.fo \ | |
85 | glUseProgram.fo \ | |
86 | glValidateProgram.fo \ | |
87 | glVertexAttribPointer.fo \ | |
88 | glVertexAttrib.fo | |
89 | ||
90 | # SGI OpenGL 1.4 man pages | |
91 | SGIGLFO = \ | |
92 | glAccum.fo \ | |
93 | glActiveTexture.fo \ | |
94 | glAlphaFunc.fo \ | |
95 | glAreTexturesResident.fo \ | |
96 | glArrayElement.fo \ | |
97 | glBegin.fo \ | |
98 | glBindTexture.fo \ | |
99 | glBitmap.fo \ | |
100 | glBlendColor.fo \ | |
101 | glBlendEquation.fo \ | |
102 | glBlendFuncSeparate.fo \ | |
103 | glBlendFunc.fo \ | |
104 | glCallLists.fo \ | |
105 | glCallList.fo \ | |
106 | glClearAccum.fo \ | |
107 | glClearColor.fo \ | |
108 | glClearDepth.fo \ | |
109 | glClearIndex.fo \ | |
110 | glClearStencil.fo \ | |
111 | glClear.fo \ | |
112 | glClientActiveTexture.fo \ | |
113 | glClipPlane.fo \ | |
114 | glColorMask.fo \ | |
115 | glColorMaterial.fo \ | |
116 | glColorPointer.fo \ | |
117 | glColorSubTable.fo \ | |
118 | glColorTableParameter.fo \ | |
119 | glColorTable.fo \ | |
120 | glColor.fo \ | |
121 | glCompressedTexImage1D.fo \ | |
122 | glCompressedTexImage2D.fo \ | |
123 | glCompressedTexImage3D.fo \ | |
124 | glCompressedTexSubImage1D.fo \ | |
125 | glCompressedTexSubImage2D.fo \ | |
126 | glCompressedTexSubImage3D.fo \ | |
127 | glConvolutionFilter1D.fo \ | |
128 | glConvolutionFilter2D.fo \ | |
129 | glConvolutionParameter.fo \ | |
130 | glCopyColorSubTable.fo \ | |
131 | glCopyColorTable.fo \ | |
132 | glCopyConvolutionFilter1D.fo \ | |
133 | glCopyConvolutionFilter2D.fo \ | |
134 | glCopyPixels.fo \ | |
135 | glCopyTexImage1D.fo \ | |
136 | glCopyTexImage2D.fo \ | |
137 | glCopyTexSubImage1D.fo \ | |
138 | glCopyTexSubImage2D.fo \ | |
139 | glCopyTexSubImage3D.fo \ | |
140 | glCullFace.fo \ | |
141 | glDeleteLists.fo \ | |
142 | glDeleteTextures.fo \ | |
143 | glDepthFunc.fo \ | |
144 | glDepthMask.fo \ | |
145 | glDepthRange.fo \ | |
146 | glDrawArrays.fo \ | |
147 | glDrawBuffer.fo \ | |
148 | glDrawElements.fo \ | |
149 | glDrawPixels.fo \ | |
150 | glDrawRangeElements.fo \ | |
151 | glEdgeFlagPointer.fo \ | |
152 | glEdgeFlag.fo \ | |
153 | glEnableClientState.fo \ | |
154 | glEnable.fo \ | |
155 | glEvalCoord.fo \ | |
156 | glEvalMesh.fo \ | |
157 | glEvalPoint.fo \ | |
158 | glFeedbackBuffer.fo \ | |
159 | glFinish.fo \ | |
160 | glFlush.fo \ | |
161 | glFogCoordPointer.fo \ | |
162 | glFogCoord.fo \ | |
163 | glFog.fo \ | |
164 | glFrontFace.fo \ | |
165 | glFrustum.fo \ | |
166 | glGenLists.fo \ | |
167 | glGenTextures.fo \ | |
168 | glGetClipPlane.fo \ | |
169 | glGetColorTableParameter.fo \ | |
170 | glGetColorTable.fo \ | |
171 | glGetCompressedTexImage.fo \ | |
172 | glGetConvolutionFilter.fo \ | |
173 | glGetConvolutionParameter.fo \ | |
174 | glGetError.fo \ | |
175 | glGetHistogramParameter.fo \ | |
176 | glGetHistogram.fo \ | |
177 | glGetLight.fo \ | |
178 | glGetMap.fo \ | |
179 | glGetMaterial.fo \ | |
180 | glGetMinmaxParameter.fo \ | |
181 | glGetMinmax.fo \ | |
182 | glGetPixelMap.fo \ | |
183 | glGetPointerv.fo \ | |
184 | glGetPolygonStipple.fo \ | |
185 | glGetSeparableFilter.fo \ | |
186 | glGetString.fo \ | |
187 | glGetTexEnv.fo \ | |
188 | glGetTexGen.fo \ | |
189 | glGetTexImage.fo \ | |
190 | glGetTexLevelParameter.fo \ | |
191 | glGetTexParameter.fo \ | |
192 | glGet.fo \ | |
193 | glHint.fo \ | |
194 | glHistogram.fo \ | |
195 | glIndexMask.fo \ | |
196 | glIndexPointer.fo \ | |
197 | glIndex.fo \ | |
198 | glInitNames.fo \ | |
199 | glInterleavedArrays.fo \ | |
200 | glIsEnabled.fo \ | |
201 | glIsList.fo \ | |
202 | glIsTexture.fo \ | |
203 | glLightModel.fo \ | |
204 | glLight.fo \ | |
205 | glLineStipple.fo \ | |
206 | glLineWidth.fo \ | |
207 | glListBase.fo \ | |
208 | glLoadIdentity.fo \ | |
209 | glLoadMatrix.fo \ | |
210 | glLoadName.fo \ | |
211 | glLoadTransposeMatrix.fo \ | |
212 | glLogicOp.fo \ | |
213 | glMap1.fo \ | |
214 | glMap2.fo \ | |
215 | glMapGrid.fo \ | |
216 | glMaterial.fo \ | |
217 | glMatrixMode.fo \ | |
218 | glMinmax.fo \ | |
219 | glMultiDrawArrays.fo \ | |
220 | glMultiDrawElements.fo \ | |
221 | glMultiTexCoord.fo \ | |
222 | glMultMatrix.fo \ | |
223 | glMultTransposeMatrix.fo \ | |
224 | glNewList.fo \ | |
225 | glNormalPointer.fo \ | |
226 | glNormal.fo \ | |
227 | glOrtho.fo \ | |
228 | glPassThrough.fo \ | |
229 | glPixelMap.fo \ | |
230 | glPixelStore.fo \ | |
231 | glPixelTransfer.fo \ | |
232 | glPixelZoom.fo \ | |
233 | glPointParameter.fo \ | |
234 | glPointSize.fo \ | |
235 | glPolygonMode.fo \ | |
236 | glPolygonOffset.fo \ | |
237 | glPolygonStipple.fo \ | |
238 | glPrioritizeTextures.fo \ | |
239 | glPushAttrib.fo \ | |
240 | glPushClientAttrib.fo \ | |
241 | glPushMatrix.fo \ | |
242 | glPushName.fo \ | |
243 | glRasterPos.fo \ | |
244 | glReadBuffer.fo \ | |
245 | glReadPixels.fo \ | |
246 | glRect.fo \ | |
247 | glRenderMode.fo \ | |
248 | glResetHistogram.fo \ | |
249 | glResetMinmax.fo \ | |
250 | glRotate.fo \ | |
251 | glSampleCoverage.fo \ | |
252 | glScale.fo \ | |
253 | glScissor.fo \ | |
254 | glSecondaryColorPointer.fo \ | |
255 | glSecondaryColor.fo \ | |
256 | glSelectBuffer.fo \ | |
257 | glSeparableFilter2D.fo \ | |
258 | glShadeModel.fo \ | |
259 | glStencilFunc.fo \ | |
260 | glStencilMask.fo \ | |
261 | glStencilOp.fo \ | |
262 | glTexCoordPointer.fo \ | |
263 | glTexCoord.fo \ | |
264 | glTexEnv.fo \ | |
265 | glTexGen.fo \ | |
266 | glTexImage1D.fo \ | |
267 | glTexImage2D.fo \ | |
268 | glTexImage3D.fo \ | |
269 | glTexParameter.fo \ | |
270 | glTexSubImage1D.fo \ | |
271 | glTexSubImage2D.fo \ | |
272 | glTexSubImage3D.fo \ | |
273 | glTranslate.fo \ | |
274 | glVertexPointer.fo \ | |
275 | glVertex.fo \ | |
276 | glViewport.fo \ | |
277 | glWindowPos.fo | |
278 | ||
279 | # SGI GLU 1.3 man pages | |
280 | SGIGLUFO = \ | |
281 | gluBeginCurve.fo \ | |
282 | gluBeginPolygon.fo \ | |
283 | gluBeginSurface.fo \ | |
284 | gluBeginTrim.fo \ | |
285 | gluBuild1DMipmapLevels.fo \ | |
286 | gluBuild1DMipmaps.fo \ | |
287 | gluBuild2DMipmapLevels.fo \ | |
288 | gluBuild2DMipmaps.fo \ | |
289 | gluBuild3DMipmapLevels.fo \ | |
290 | gluBuild3DMipmaps.fo \ | |
291 | gluCheckExtension.fo \ | |
292 | gluCylinder.fo \ | |
293 | gluDeleteNurbsRenderer.fo \ | |
294 | gluDeleteQuadric.fo \ | |
295 | gluDeleteTess.fo \ | |
296 | gluDisk.fo \ | |
297 | gluErrorString.fo \ | |
298 | gluGetNurbsProperty.fo \ | |
299 | gluGetString.fo \ | |
300 | gluGetTessProperty.fo \ | |
301 | gluLoadSamplingMatrices.fo \ | |
302 | gluLookAt.fo \ | |
303 | gluNewNurbsRenderer.fo \ | |
304 | gluNewQuadric.fo \ | |
305 | gluNewTess.fo \ | |
306 | gluNextContour.fo \ | |
307 | gluNurbsCallbackDataEXT.fo \ | |
308 | gluNurbsCallbackData.fo \ | |
309 | gluNurbsCallback.fo \ | |
310 | gluNurbsCurve.fo \ | |
311 | gluNurbsProperty.fo \ | |
312 | gluNurbsSurface.fo \ | |
313 | gluOrtho2D.fo \ | |
314 | gluPartialDisk.fo \ | |
315 | gluPerspective.fo \ | |
316 | gluPickMatrix.fo \ | |
317 | gluProject.fo \ | |
318 | gluPwlCurve.fo \ | |
319 | gluQuadricCallback.fo \ | |
320 | gluQuadricDrawStyle.fo \ | |
321 | gluQuadricNormals.fo \ | |
322 | gluQuadricOrientation.fo \ | |
323 | gluQuadricTexture.fo \ | |
324 | gluScaleImage.fo \ | |
325 | gluSphere.fo \ | |
326 | gluTessBeginContour.fo \ | |
327 | gluTessBeginPolygon.fo \ | |
328 | gluTessCallback.fo \ | |
329 | gluTessEndPolygon.fo \ | |
330 | gluTessNormal.fo \ | |
331 | gluTessProperty.fo \ | |
332 | gluTessVertex.fo \ | |
333 | gluUnProject4.fo \ | |
334 | gluUnProject.fo | |
335 | ||
336 | # SGI GLX 1.4 man pages | |
337 | SGIGLXFO = \ | |
338 | glXChooseFBConfig.fo \ | |
339 | glXChooseVisual.fo \ | |
340 | glXCopyContext.fo \ | |
341 | glXCreateContext.fo \ | |
342 | glXCreateGLXPixmap.fo \ | |
343 | glXCreateNewContext.fo \ | |
344 | glXCreatePbuffer.fo \ | |
345 | glXCreatePixmap.fo \ | |
346 | glXCreateWindow.fo \ | |
347 | glXDestroyContext.fo \ | |
348 | glXDestroyGLXPixmap.fo \ | |
349 | glXDestroyPbuffer.fo \ | |
350 | glXDestroyPixmap.fo \ | |
351 | glXDestroyWindow.fo \ | |
352 | glXFreeContextEXT.fo \ | |
353 | glXGetClientString.fo \ | |
354 | glXGetConfig.fo \ | |
355 | glXGetContextIDEXT.fo \ | |
356 | glXGetCurrentContext.fo \ | |
357 | glXGetCurrentDisplay.fo \ | |
358 | glXGetCurrentDrawable.fo \ | |
359 | glXGetCurrentReadDrawable.fo \ | |
360 | glXGetFBConfigAttrib.fo \ | |
361 | glXGetFBConfigs.fo \ | |
362 | glXGetProcAddress.fo \ | |
363 | glXGetSelectedEvent.fo \ | |
364 | glXGetVisualFromFBConfig.fo \ | |
365 | glXImportContextEXT.fo \ | |
366 | glXIntro.fo \ | |
367 | glXIsDirect.fo \ | |
368 | glXMakeContextCurrent.fo \ | |
369 | glXMakeCurrent.fo \ | |
370 | glXQueryContextInfoEXT.fo \ | |
371 | glXQueryContext.fo \ | |
372 | glXQueryExtensionsString.fo \ | |
373 | glXQueryExtension.fo \ | |
374 | glXQueryServerString.fo \ | |
375 | glXQueryVersion.fo \ | |
376 | glXSelectEvent.fo \ | |
377 | glXSwapBuffers.fo \ | |
378 | glXUseXFont.fo \ | |
379 | glXWaitGL.fo \ | |
380 | glXWaitX.fo | |
381 | ||
382 | # XML man page source and XSL-FO / PDF targets | |
383 | GLFO = $(SGIGLFO) $(3DLABSFO) $(SUPERBIBLEFO) $(ARBFO) | |
384 | GLUFO = $(SGIGLUFO) | |
385 | GLXFO = $(SGIGLXFO) | |
386 | FO = $(GLFO) $(GLUFO) $(GLXFO) | |
387 | PDF = $(FO:.fo=.pdf) | |
388 | ||
389 | default: $(PDF) | |
390 | ||
391 | clean: | |
392 | $(RM) $(TEX_FILES) *.log *.aux *.toc *.dvi *.out | |
393 | ||
394 | clobber: clean | |
395 | $(RM) $(FO) $(PDF) $(PDF_FILES) |