summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_table.py
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-10-16 16:04:06 +0800
committerBrian Paul <[email protected]>2009-10-23 09:10:04 -0600
commit6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74 (patch)
tree75831ddbde201f3ccee8a6f62a24151c66391a53 /src/mesa/glapi/gl_table.py
parent22884db174b9fb0736cec1c6a192f8b9a97500c1 (diff)
glapi: Always build libglapi.a.
This is made possible by making glapioffsets.h and glapidispatch.h internal headers of glapi. They should only be included indirectly through dispatch.h by mesa. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/glapi/gl_table.py')
-rw-r--r--src/mesa/glapi/gl_table.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_table.py b/src/mesa/glapi/gl_table.py
index 6cf26f89db5..0e05b3431a1 100644
--- a/src/mesa/glapi/gl_table.py
+++ b/src/mesa/glapi/gl_table.py
@@ -79,6 +79,8 @@ class PrintRemapTable(gl_XML.gl_print_base):
def printRealHeader(self):
print """
+/* this file should not be included directly in mesa */
+
/**
* \\file glapidispatch.h
* Macros for handling GL dispatch tables.
@@ -132,7 +134,7 @@ class PrintRemapTable(gl_XML.gl_print_base):
print ''
- print '#if !defined(IN_DRI_DRIVER)'
+ print '#if !defined(_GLAPI_USE_REMAP_TABLE)'
print ''
for [f, index] in functions:
@@ -162,7 +164,7 @@ class PrintRemapTable(gl_XML.gl_print_base):
print ''
- print '#endif /* !defined(IN_DRI_DRIVER) */'
+ print '#endif /* !defined(_GLAPI_USE_REMAP_TABLE) */'
return