mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
db975fa86c
Add Gallium and the Gallium-based drivers to doxygen's automated code documentation infrastructure. Can be individually created with: cd $MESA_TOP_LEVEL/ make -C doxygen/ gallium.tag Benefits from the existing doxygen Makefile runners to clean up afterwards with 'make clean'. Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
38 lines
505 B
Makefile
38 lines
505 B
Makefile
|
|
default: full
|
|
|
|
all: full subset
|
|
|
|
%.tag: %.doxy
|
|
doxygen $<
|
|
|
|
FULL = \
|
|
main.doxy \
|
|
math.doxy \
|
|
vbo.doxy \
|
|
glapi.doxy \
|
|
glsl.doxy \
|
|
swrast.doxy \
|
|
swrast_setup.doxy \
|
|
tnl.doxy \
|
|
tnl_dd.doxy \
|
|
gbm.doxy \
|
|
i965.doxy \
|
|
nir.doxy
|
|
|
|
full: $(FULL:.doxy=.tag)
|
|
$(foreach FILE,$(FULL),doxygen $(FILE);)
|
|
|
|
SUBSET = \
|
|
main.doxy \
|
|
math.doxy \
|
|
gallium.doxy
|
|
|
|
subset: $(SUBSET:.doxy=.tag)
|
|
$(foreach FILE,$(SUBSET),doxygen $(FILE);)
|
|
|
|
clean:
|
|
-rm -rf $(FULL:.doxy=) $(SUBSET:.doxy=)
|
|
-rm -rf *.tag
|
|
-rm -rf *.db
|