xref: /third_party/openGLES/extensions/Makefile (revision 5bd8dead)
1# Copyright 2017-2022 The Khronos Group Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4# Generate the PHP index file includes for OpenGL ARB, OpenGL ES, and
5# OpenGL EXT/Vendor extensions.
6
7# python3 is required.
8
9PYTHON = python3
10SCRIPTS = registry.py makeindex.py
11TARGETS = arbext.php esext.php glext.php scext.php
12
13all: $(TARGETS)
14
15arbext.php: $(SCRIPTS)
16	$(PYTHON) makeindex.py arbnumber >$@
17
18esext.php: $(SCRIPTS)
19	$(PYTHON) makeindex.py esnumber >$@
20
21glext.php: $(SCRIPTS)
22	$(PYTHON) makeindex.py number >$@
23
24scext.php: $(SCRIPTS)
25	$(PYTHON) makeindex.py scnumber >$@
26
27clean:
28	-rm -f $(TARGETS)
29