summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/Makefile
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-06-30 16:00:48 +0000
committerIan Romanick <[email protected]>2005-06-30 16:00:48 +0000
commitc212abf99af494f024b0b981a83350f7ac9821ef (patch)
treecd96ba38b82a5ecaccb7a7f28fc65168688fc2ce /src/mesa/glapi/Makefile
parent1ac8ae446af753ec1bdbb789d7b575a72ff56e8f (diff)
Replace add_newer_entrypoints (src/mesa/main/context.c) with
device-specific code. A new Python script (src/mesa/glapi/extension_helper.py) generates a list of all entry-points for all known extensions. Each driver the selects only the extensions that it needs and enables the via either driInitExtensions or driInitSingleExtension. This code has been compile-tested on a drivers, but has only been run-tested on mga and i915 (on i830 hardware). These changes were discussed at length on the mesa3d-dev mailing list. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
Diffstat (limited to 'src/mesa/glapi/Makefile')
-rw-r--r--src/mesa/glapi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile
index d2998d893ed..9f95349c9eb 100644
--- a/src/mesa/glapi/Makefile
+++ b/src/mesa/glapi/Makefile
@@ -7,6 +7,7 @@
OUTPUTS = glprocs.h glapitemp.h glapioffsets.h glapitable.h \
../main/enums.c \
../x86/glapi_x86.S \
+ ../drivers/dri/common/extension_helper.h \
../../glx/x11/indirect.c \
../../glx/x11/indirect.h \
../../glx/x11/indirect_init.c \
@@ -39,6 +40,9 @@ glapitable.h: $(COMMON) gl_table.py
../x86/glapi_x86.S: $(COMMON) gl_x86_asm.py
$(PYTHON2) $(PYTHON_FLAGS) gl_x86_asm.py > ../x86/glapi_x86.S
+../drivers/dri/common/extension_helper.h: $(COMMON) extension_helper.py
+ $(PYTHON2) $(PYTHON_FLAGS) extension_helper.py > ../drivers/dri/common/extension_helper.h
+
../../glx/x11/indirect.c: $(COMMON_GLX) glX_proto_send.py
$(PYTHON2) $(PYTHON_FLAGS) glX_proto_send.py -m proto > ../../glx/x11/indirect.c