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 | # ../../mancommon/opengl-man.xsl | |
12 | ||
13 | PREPROCESSOR = preproc.sed | |
14 | ||
15 | .SUFFIXES: .gl .xml .html .xhtml .ck.xhtml .tex .pdf .3G .tar .tar.gz | |
16 | .PHONY: man html pdf tex | |
17 | ||
18 | # ../../mancommon/opengl-man.xsl | |
19 | ||
20 | %.xml: ../%.xml $(DB2XHTML) $(PREPROCESSOR) | |
21 | $(XSLT) --xinclude -o $@.tmp $(DB2XHTML) $< | |
22 | $(SED) -f $(PREPROCESSOR) $@.tmp > $@ | |
23 | $(RM) $@.tmp | |
24 | ||
25 | GL_ARB_draw_indirect_entries = \ | |
26 | glDrawArraysIndirect.xml \ | |
27 | glDrawElementsIndirect.xml | |
28 | ||
29 | GL_ARB_shader_subroutine_entries = \ | |
30 | glGetActiveSubroutineName.xml \ | |
31 | glGetActiveSubroutineUniform.xml \ | |
32 | glGetActiveSubroutineUniformName.xml \ | |
33 | glGetProgramStage.xml \ | |
34 | glGetSubroutineIndex.xml \ | |
35 | glGetSubroutineUniformLocation.xml \ | |
36 | glGetUniformSubroutine.xml \ | |
37 | glUniformSubroutines.xml | |
38 | ||
39 | GL_ARB_tessellation_shader_entries = \ | |
40 | glPatchParameter.xml | |
41 | ||
42 | GL_ARB_transform_feedback2_entries = \ | |
43 | glBindTransformFeedback.xml \ | |
44 | glDeleteTransformFeedbacks.xml \ | |
45 | glGenTransformFeedbacks.xml \ | |
46 | glIsTransformFeedback.xml \ | |
47 | glPauseTransformFeedback.xml \ | |
48 | glResumeTransformFeedback.xml \ | |
49 | glDrawTransformFeedback.xml | |
50 | ||
51 | GL_ARB_transform_feedback3_entries = \ | |
52 | glDrawTransformFeedbackStream.xml \ | |
53 | glBeginQueryIndexed.xml \ | |
54 | glGetQueryIndexed.xml | |
55 | ||
56 | GL_ARB_viewport_array_entries = \ | |
57 | glDepthRangeArray.xml \ | |
58 | glDepthRangeIndexed.xml \ | |
59 | glScissorArray.xml \ | |
60 | glScissorIndexed.xml \ | |
61 | glViewportArray.xml \ | |
62 | glViewportIndexed.xml | |
63 | ||
64 | GL_ARB_get_program_binary_entries = \ | |
65 | glGetProgramBinary.xml \ | |
66 | glProgramBinary.xml \ | |
67 | glProgramParameter.xml | |
68 | ||
69 | GL_ARB_ES2_compatibility_entries = \ | |
70 | glReleaseShaderCompiler.xml \ | |
71 | glShaderBinary.xml \ | |
72 | glGetShaderPrecisionFormat.xml | |
73 | ||
74 | GL_ARB_separate_shader_objects_entries = \ | |
75 | glUseProgramStages.xml \ | |
76 | glActiveShaderProgram.xml \ | |
77 | glCreateShaderProgram.xml \ | |
78 | glBindProgramPipeline.xml \ | |
79 | glGenProgramPipelines.xml \ | |
80 | glDeleteProgramPipelines.xml \ | |
81 | glIsProgramPipeline.xml \ | |
82 | glGetProgramPipeline.xml \ | |
83 | glValidateProgramPipeline.xml \ | |
84 | glGetProgramPipelineInfoLog.xml \ | |
85 | glProgramUniform.xml | |
86 | ||
87 | GL_ARB_sample_shading_entries = \ | |
88 | glMinSampleShading.xml | |
89 | ||
90 | GL_ARB_base_instance_entries = \ | |
91 | glDrawArraysInstancedBaseInstance.xml \ | |
92 | glDrawElementsInstancedBaseInstance.xml \ | |
93 | glDrawElementsInstancedBaseVertexBaseInstance.xml | |
94 | ||
95 | GL_EXT_texture_storage_entries = \ | |
96 | glTexStorage1D.xml \ | |
97 | glTexStorage2D.xml \ | |
98 | glTexStorage3D.xml | |
99 | ||
100 | GL_XXX_internal_format_query_entries = \ | |
101 | glGetInternalFormativ.xml | |
102 | ||
103 | GL_ARB_transform_feedback_instanced_entries = \ | |
104 | glDrawTransformFeedbackInstanced.xml \ | |
105 | glDrawTransformFeedbackStreamInstanced.xml | |
106 | ||
107 | GL_ARB_shader_atomic_counters_entries = \ | |
108 | glGetActiveAtomicCounterBufferiv.xml | |
109 | ||
110 | GL_ARB_shader_image_load_store_entries = \ | |
111 | glBindImageTexture.xml \ | |
112 | glMemoryBarrier.xml | |
113 | ||
114 | # START OF OPENGL 4.3 EXTENSIONS | |
115 | ||
116 | # GL_ARB_arrays_of_arrays has no new entry points | |
117 | GL_ARB_arrays_of_arrays_entries = | |
118 | ||
119 | GL_ARB_multi_draw_indirect_entries = \ | |
120 | glMultiDrawArraysIndirect.xml \ | |
121 | glMultiDrawElementsIndirect.xml | |
122 | ||
123 | # ES3_compatibility does not have any new entry points | |
124 | GL_ARB_ES3_compatibility_enries = | |
125 | ||
126 | GL_ARB_clear_buffer_object_entries = \ | |
127 | glClearBufferData.xml \ | |
128 | glClearBufferSubData.xml | |
129 | ||
130 | GL_ARB_compute_shader_entries = \ | |
131 | glDispatchCompute.xml \ | |
132 | glDispatchComputeIndirect.xml | |
133 | ||
134 | GL_ARB_copy_image_entries = \ | |
135 | glCopyImageSubData.xml | |
136 | ||
137 | GL_ARB_debug_group_entries = \ | |
138 | glPushDebugGroup.xml \ | |
139 | glPopDebugGroup.xml | |
140 | ||
141 | GL_ARB_debug_label_entries = \ | |
142 | glObjectLabel.xml \ | |
143 | glObjectPtrLabel.xml \ | |
144 | glGetObjectLabel.xml \ | |
145 | glGetObjectPtrLabel.xml | |
146 | ||
147 | # GL_ARB_debug_output2 has no new entry points | |
148 | GL_ARB_debug_output2_entries = | |
149 | ||
150 | GL_ARB_debug_output_entries = \ | |
151 | glDebugMessageControl.xml \ | |
152 | glDebugMessageInsert.xml \ | |
153 | glDebugMessageCallback.xml \ | |
154 | glGetDebugMessageLog.xml | |
155 | # Add glGetPointerv to glGet.xml | |
156 | ||
157 | # GL_ARB_explicit_uniform_location has no new entry points | |
158 | GL_ARB_explicit_uniform_location_entries = | |
159 | ||
160 | # GL_ARB_fragment_layer_viewport has no new entry points | |
161 | GL_ARB_fragment_layer_viewport_entries = | |
162 | ||
163 | GL_ARB_framebuffer_no_attachments_entries = \ | |
164 | glFramebufferParameteri.xml \ | |
165 | glGetFramebufferParameter.xml | |
166 | ||
167 | # GL_ARB_internalformat_query2 adds glGetInternalFormati64v to glGetInternalFormativ | |
168 | GL_ARB_internalformat_query2_entries = | |
169 | ||
170 | GL_ARB_invalidate_subdata_entries = \ | |
171 | glInvalidateTexSubImage.xml \ | |
172 | glInvalidateTexImage.xml \ | |
173 | glInvalidateBufferSubData.xml \ | |
174 | glInvalidateBufferData.xml \ | |
175 | glInvalidateFramebuffer.xml \ | |
176 | glInvalidateSubFramebuffer.xml | |
177 | ||
178 | GL_ARB_program_interface_query_entries = \ | |
179 | glGetProgramInterface.xml \ | |
180 | glGetProgramResourceIndex.xml \ | |
181 | glGetProgramResourceName.xml \ | |
182 | glGetProgramResource.xml \ | |
183 | glGetProgramResourceLocation.xml \ | |
184 | glGetProgramResourceLocationIndex.xml | |
185 | ||
186 | # GL_ARB_robust_buffer_access_behavior does not define any new entry points | |
187 | GL_ARB_robust_buffer_access_behavior_entries = | |
188 | ||
189 | # GL_ARB_shader_image_size does not define any new entry points | |
190 | GL_ARB_shader_image_size_entries = | |
191 | ||
192 | GL_ARB_shader_storage_buffer_object_entries = \ | |
193 | glShaderStorageBlockBinding.xml | |
194 | ||
195 | # GL_ARB_stencil_texturing does not define any new entry points | |
196 | GL_ARB_stencil_texturing_entries = | |
197 | ||
198 | GL_ARB_texture_buffer_range_entries = \ | |
199 | glTexBufferRange.xml | |
200 | ||
201 | # GL_ARB_texture_query_levels does not define any new entry points | |
202 | GL_ARB_texture_query_levels = | |
203 | ||
204 | GL_ARB_texture_storage_multisample_entries = \ | |
205 | glTexStorage2DMultisample.xml \ | |
206 | glTexStorage3DMultisample.xml | |
207 | ||
208 | GL_ARB_texture_view_entries = \ | |
209 | glTextureView.xml | |
210 | ||
211 | GL_ARB_vertex_attrib_binding_entries = \ | |
212 | glVertexAttribBinding.xml \ | |
213 | glVertexAttribFormat.xml \ | |
214 | glVertexBindingDivisor.xml \ | |
215 | glBindVertexBuffer.xml | |
216 | ||
217 | MODIFIEDFORGL4XML = \ | |
218 | glClearDepth.xml \ | |
219 | glCreateShader.xml \ | |
220 | glDepthRange.xml \ | |
221 | glDrawArrays.xml \ | |
222 | glGetVertexAttrib.xml \ | |
223 | glVertexAttrib.xml \ | |
224 | glVertexAttribPointer.xml | |
225 | ||
226 | GL4XML = \ | |
227 | $(GL_ARB_draw_indirect_entries) \ | |
228 | $(GL_ARB_shader_subroutine_entries) \ | |
229 | $(GL_ARB_tessellation_shader_entries) \ | |
230 | $(GL_ARB_transform_feedback2_entries) \ | |
231 | $(GL_ARB_transform_feedback3_entries) \ | |
232 | $(GL_ARB_sample_shading_entries) | |
233 | ||
234 | GL41XML = \ | |
235 | $(GL_ARB_viewport_array_entries) \ | |
236 | $(GL_ARB_get_program_binary_entries) \ | |
237 | $(GL_ARB_ES2_compatibility_entries) \ | |
238 | $(GL_ARB_separate_shader_objects_entries) | |
239 | ||
240 | GL42XML = \ | |
241 | $(GL_ARB_base_instance_entries) \ | |
242 | $(GL_EXT_texture_storage_entries) \ | |
243 | $(GL_XXX_internal_format_query_entries) \ | |
244 | $(GL_ARB_transform_feedback_instanced_entries) \ | |
245 | $(GL_ARB_shader_atomic_counters_entries) \ | |
246 | $(GL_ARB_shader_image_load_store_entries) \ | |
247 | removedTypes.xml | |
248 | ||
249 | GL43XML = \ | |
250 | $(GL_ARB_multi_draw_indirect_entries) \ | |
251 | $(GL_ARB_ES3_compatibility_enries) \ | |
252 | $(GL_ARB_clear_buffer_object_entries) \ | |
253 | $(GL_ARB_compute_shader_entries) \ | |
254 | $(GL_ARB_copy_image_entries) \ | |
255 | $(GL_ARB_invalidate_subdata_entries) \ | |
256 | $(GL_ARB_texture_buffer_range_entries) \ | |
257 | $(GL_ARB_texture_storage_multisample_entries) \ | |
258 | $(GL_ARB_vertex_attrib_binding_entries) \ | |
259 | $(GL_ARB_shader_storage_buffer_object_entries) \ | |
260 | $(GL_ARB_debug_group_entries) \ | |
261 | $(GL_ARB_debug_label_entries) \ | |
262 | $(GL_ARB_framebuffer_no_attachments_entries) \ | |
263 | $(GL_ARB_program_interface_query_entries) \ | |
264 | $(GL_ARB_debug_output_entries) \ | |
265 | $(GL_ARB_texture_view_entries) | |
266 | ||
267 | UNMODIFIEDXML = \ | |
268 | glActiveTexture.xml \ | |
269 | glAttachShader.xml \ | |
270 | glBeginConditionalRender.xml \ | |
271 | glBeginQuery.xml \ | |
272 | glBeginTransformFeedback.xml \ | |
273 | glBindAttribLocation.xml \ | |
274 | glBindBuffer.xml \ | |
275 | glBindBufferBase.xml \ | |
276 | glBindBufferRange.xml \ | |
277 | glBindFragDataLocation.xml \ | |
278 | glBindFragDataLocationIndexed.xml \ | |
279 | glBindFramebuffer.xml \ | |
280 | glBindRenderbuffer.xml \ | |
281 | glBindSampler.xml \ | |
282 | glBindTexture.xml \ | |
283 | glBindVertexArray.xml \ | |
284 | glBlendColor.xml \ | |
285 | glBlendEquation.xml \ | |
286 | glBlendEquationSeparate.xml \ | |
287 | glBlendFunc.xml \ | |
288 | glBlendFuncSeparate.xml \ | |
289 | glBlitFramebuffer.xml \ | |
290 | glBufferData.xml \ | |
291 | glBufferSubData.xml \ | |
292 | glCheckFramebufferStatus.xml \ | |
293 | glClampColor.xml \ | |
294 | glClear.xml \ | |
295 | glClearColor.xml \ | |
296 | glClearBuffer.xml \ | |
297 | glClearStencil.xml \ | |
298 | glClientWaitSync.xml \ | |
299 | glColorMask.xml \ | |
300 | glCompileShader.xml \ | |
301 | glCompressedTexImage1D.xml \ | |
302 | glCompressedTexImage2D.xml \ | |
303 | glCompressedTexImage3D.xml \ | |
304 | glCompressedTexSubImage1D.xml \ | |
305 | glCompressedTexSubImage2D.xml \ | |
306 | glCompressedTexSubImage3D.xml \ | |
307 | glCopyBufferSubData.xml \ | |
308 | glCopyTexImage1D.xml \ | |
309 | glCopyTexImage2D.xml \ | |
310 | glCopyTexSubImage1D.xml \ | |
311 | glCopyTexSubImage2D.xml \ | |
312 | glCopyTexSubImage3D.xml \ | |
313 | glCreateProgram.xml \ | |
314 | glCreateShader.xml \ | |
315 | glCullFace.xml \ | |
316 | glDeleteBuffers.xml \ | |
317 | glDeleteFramebuffers.xml \ | |
318 | glDeleteProgram.xml \ | |
319 | glDeleteQueries.xml \ | |
320 | glDeleteRenderbuffers.xml \ | |
321 | glDeleteSamplers.xml \ | |
322 | glDeleteShader.xml \ | |
323 | glDeleteSync.xml \ | |
324 | glDeleteTextures.xml \ | |
325 | glDeleteVertexArrays.xml \ | |
326 | glDepthFunc.xml \ | |
327 | glDepthMask.xml \ | |
328 | glDetachShader.xml \ | |
329 | glDrawArrays.xml \ | |
330 | glDrawArraysInstanced.xml \ | |
331 | glDrawBuffer.xml \ | |
332 | glDrawBuffers.xml \ | |
333 | glDrawElements.xml \ | |
334 | glDrawElementsBaseVertex.xml \ | |
335 | glDrawElementsInstanced.xml \ | |
336 | glDrawElementsInstancedBaseVertex.xml \ | |
337 | glDrawRangeElements.xml \ | |
338 | glDrawRangeElementsBaseVertex.xml \ | |
339 | glEnable.xml \ | |
340 | glEnableVertexAttribArray.xml \ | |
341 | glFenceSync.xml \ | |
342 | glFinish.xml \ | |
343 | glFlush.xml \ | |
344 | glFlushMappedBufferRange.xml \ | |
345 | glFramebufferRenderbuffer.xml \ | |
346 | glFramebufferTexture.xml \ | |
347 | glFramebufferTextureLayer.xml \ | |
348 | glFrontFace.xml \ | |
349 | glGenBuffers.xml \ | |
350 | glGenerateMipmap.xml \ | |
351 | glGenFramebuffers.xml \ | |
352 | glGenQueries.xml \ | |
353 | glGenRenderbuffers.xml \ | |
354 | glGenSamplers.xml \ | |
355 | glGenTextures.xml \ | |
356 | glGenVertexArrays.xml \ | |
357 | glGet.xml \ | |
358 | glGetActiveAttrib.xml \ | |
359 | glGetActiveUniform.xml \ | |
360 | glGetActiveUniformBlock.xml \ | |
361 | glGetActiveUniformBlockName.xml \ | |
362 | glGetActiveUniformName.xml \ | |
363 | glGetActiveUniformsiv.xml \ | |
364 | glGetAttachedShaders.xml \ | |
365 | glGetAttribLocation.xml \ | |
366 | glGetBufferParameter.xml \ | |
367 | glGetBufferPointerv.xml \ | |
368 | glGetBufferSubData.xml \ | |
369 | glGetCompressedTexImage.xml \ | |
370 | glGetError.xml \ | |
371 | glGetFragDataIndex.xml \ | |
372 | glGetFragDataLocation.xml \ | |
373 | glGetFramebufferAttachmentParameter.xml \ | |
374 | glGetMultisample.xml \ | |
375 | glGetProgram.xml \ | |
376 | glGetProgramInfoLog.xml \ | |
377 | glGetQueryObject.xml \ | |
378 | glGetQueryiv.xml \ | |
379 | glGetRenderbufferParameter.xml \ | |
380 | glGetSamplerParameter.xml \ | |
381 | glGetShader.xml \ | |
382 | glGetShaderInfoLog.xml \ | |
383 | glGetShaderSource.xml \ | |
384 | glGetString.xml \ | |
385 | glGetSync.xml \ | |
386 | glGetTexImage.xml \ | |
387 | glGetTexLevelParameter.xml \ | |
388 | glGetTexParameter.xml \ | |
389 | glGetTransformFeedbackVarying.xml \ | |
390 | glGetUniform.xml \ | |
391 | glGetUniformBlockIndex.xml \ | |
392 | glGetUniformIndices.xml \ | |
393 | glGetUniformLocation.xml \ | |
394 | glGetVertexAttribPointerv.xml \ | |
395 | glHint.xml \ | |
396 | glIsBuffer.xml \ | |
397 | glIsEnabled.xml \ | |
398 | glIsFramebuffer.xml \ | |
399 | glIsProgram.xml \ | |
400 | glIsRenderbuffer.xml \ | |
401 | glIsQuery.xml \ | |
402 | glIsSampler.xml \ | |
403 | glIsShader.xml \ | |
404 | glIsSync.xml \ | |
405 | glIsTexture.xml \ | |
406 | glIsVertexArray.xml \ | |
407 | glLineWidth.xml \ | |
408 | glLinkProgram.xml \ | |
409 | glLogicOp.xml \ | |
410 | glMapBuffer.xml \ | |
411 | glMapBufferRange.xml \ | |
412 | glMultiDrawArrays.xml \ | |
413 | glMultiDrawElements.xml \ | |
414 | glMultiDrawElementsBaseVertex.xml \ | |
415 | glPixelStore.xml \ | |
416 | glPointParameter.xml \ | |
417 | glPointSize.xml \ | |
418 | glPolygonMode.xml \ | |
419 | glPolygonOffset.xml \ | |
420 | glPrimitiveRestartIndex.xml \ | |
421 | glProvokingVertex.xml \ | |
422 | glQueryCounter.xml \ | |
423 | glReadBuffer.xml \ | |
424 | glReadPixels.xml \ | |
425 | glRenderbufferStorage.xml \ | |
426 | glRenderbufferStorageMultisample.xml \ | |
427 | glSampleCoverage.xml \ | |
428 | glSampleMaski.xml \ | |
429 | glSamplerParameter.xml \ | |
430 | glScissor.xml \ | |
431 | glShaderSource.xml \ | |
432 | glStencilFunc.xml \ | |
433 | glStencilFuncSeparate.xml \ | |
434 | glStencilMask.xml \ | |
435 | glStencilMaskSeparate.xml \ | |
436 | glStencilOp.xml \ | |
437 | glStencilOpSeparate.xml \ | |
438 | glTexBuffer.xml \ | |
439 | glTexImage1D.xml \ | |
440 | glTexImage2D.xml \ | |
441 | glTexImage2DMultisample.xml \ | |
442 | glTexImage3D.xml \ | |
443 | glTexImage3DMultisample.xml \ | |
444 | glTexParameter.xml \ | |
445 | glTexSubImage1D.xml \ | |
446 | glTexSubImage2D.xml \ | |
447 | glTexSubImage3D.xml \ | |
448 | glTransformFeedbackVaryings.xml \ | |
449 | glUniform.xml \ | |
450 | glUniformBlockBinding.xml \ | |
451 | glUseProgram.xml \ | |
452 | glValidateProgram.xml \ | |
453 | glVertexAttribDivisor.xml \ | |
454 | glViewport.xml \ | |
455 | glWaitSync.xml | |
456 | ||
457 | MODIFIEDXML = \ | |
458 | ||
459 | XML = $(GL4XML) $(GL41XML) $(GL42XML) $(GL43XML) $(MODIFIEDFORGL4XML) $(UNMODIFIEDXML) | |
460 | ||
461 | glTexImage1D.xml \ | |
462 | glTexImage2D.xml \ | |
463 | glTexImage3D.xml \ | |
464 | glTexStorage1D.xml \ | |
465 | glTexStorage2D.xml \ | |
466 | glTexStorage3D.xml \ | |
467 | : ../internalformattable.xml ../baseformattable.xml ../compressedformattable.xml | |
468 | ||
469 | default: $(XML) | |
470 | ||
471 | clean: | |
472 | $(RM) $(TEX_FILES) *.log *.aux *.toc *.dvi *.out | |
473 | ||
474 | clobber: clean | |
475 | $(RM) $(XML) $(PDF_FILES) |