3 # XSLT processor - other possibilities like Saxon exist
4 XSLT
= xsltproc
--nonet
8 # Location of locally customized stylesheet, which imports
9 # the Docbook modular stylesheets, and specifically the
10 # stylesheet to convert Docbook+MathML => XHTML+MathML
11 DB2XHTML
= opengl-man.xsl
12 # ../../mancommon/opengl-man.xsl
13 PREPROCESSOR
= preprocess.sed
14 POSTPROCESSOR
= postprocess.sed
16 .SUFFIXES
: .gl .xml .html .xhtml .ck.xhtml .
tex .pdf
.3G .
tar .
tar.gz
17 .PHONY
: man html pdf
tex
19 # ../../mancommon/opengl-man.xsl
21 %.xml
: ..
/%.xml
$(DB2XHTML
) $(PREPROCESSOR
) $(POSTPROCESSOR
)
22 $(SED
) -f
$(PREPROCESSOR
) $< > $@.pre
23 $(XSLT
) --xinclude
-o
$@.tmp
$(DB2XHTML
) $@.pre
24 $(SED
) -f
$(POSTPROCESSOR
) $@.tmp
> $@
28 Angle_and_Trigonometry_Functions
= \
44 Exponential_Functions
= \
78 FloatingPoint_Pack_and_Unpack_Functions
= \
82 unpackDouble2x32.xml \
86 Geometric_Functions
= \
103 Vector_Relational_Functions
= \
107 greaterThanEqual.xml \
114 Integer_Functions
= \
118 bitfieldExtract.xml \
120 bitfieldReverse.xml \
125 Texture_Query_Functions
= \
127 textureQueryLod.xml \
128 textureQueryLevels.xml
130 Texel_Lookup_Functions
= \
136 texelFetchOffset.xml \
137 textureProjOffset.xml \
138 textureLodOffset.xml \
140 textureProjLodOffset.xml \
142 textureGradOffset.xml \
143 textureProjGrad.xml \
144 textureProjGradOffset.xml
146 Texture_Gather_Functions
= \
148 textureGatherOffset.xml \
149 textureGatherOffsets.xml
151 Derivative_Functions
= \
155 Interpolation_Functions
= \
156 interpolateAtCentroid.xml \
157 interpolateAtSample.xml \
158 interpolateAtOffset.xml
163 Geometry_Shader_Functions
= \
164 EmitStreamVertex.xml \
166 EndStreamPrimitive.xml \
169 Invocation_Control_Functions
= \
172 Atomic_Counter_Functions
= \
173 atomicCounterIncrement.xml \
174 atomicCounterDecrement.xml \
186 imageAtomicExchange.xml \
187 imageAtomicCompSwap.xml \
192 memoryBarrierAtomicCounter.xml \
193 memoryBarrierBuffer.xml \
194 memoryBarrierImage.xml \
195 memoryBarrierShared.xml \
196 groupMemoryBarrier.xml
198 Atomic_Memory_Functions
= \
208 Builtin_Variables
= \
209 gl_ClipDistance.xml \
213 gl_GlobalInvocationID.xml \
215 gl_InvocationID.xml \
217 gl_LocalInvocationID.xml \
218 gl_LocalInvocationIndex.xml \
220 gl_NumWorkGroups.xml \
221 gl_PatchVerticesIn.xml \
226 gl_PrimitiveIDIn.xml \
229 gl_SampleMaskIn.xml \
230 gl_SamplePosition.xml \
232 gl_TessLevelInner.xml \
233 gl_TessLevelOuter.xml \
235 gl_ViewportIndex.xml \
240 $(Angle_and_Trigonometry_Functions
) \
241 $(Exponential_Functions
) \
242 $(Common_Functions
) \
243 $(FloatingPoint_Pack_and_Unpack_Functions
) \
244 $(Geometric_Functions
) \
245 $(Matrix_Functions
) \
246 $(Vector_Relational_Functions
) \
247 $(Integer_Functions
) \
248 $(Texture_Query_Functions
) \
249 $(Texel_Lookup_Functions
) \
250 $(Texture_Gather_Functions
) \
251 $(Derivative_Functions
) \
252 $(Interpolation_Functions
) \
254 $(Geometry_Shader_Functions
) \
255 $(Invocation_Control_Functions
) \
256 $(Atomic_Counter_Functions
) \
258 $(Barrier_Functions
) \
259 $(Atomic_Memory_Functions
) \
267 index.html
: makeindex.pl
$(XML
) Makefile
268 $(PERL
) makeindex.pl
$(dir $<) $(dir $<)..
> $@
270 all: $(XML
) index.html Makefile
273 $(RM
) $(TEX_FILES
) *.log
*.aux
*.toc
*.
dvi *.out
276 $(RM
) $(XML
) $(PDF_FILES
)