glapi: Include headers with directory prefixes.

This allows different sets of generated sources and headers to be used.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
Chia-I Wu 2009-09-03 11:03:20 +08:00 committed by Brian Paul
parent 7df4c7e1b8
commit 5b426288c2
11 changed files with 25 additions and 25 deletions

View file

@ -30,8 +30,8 @@
#define _GLAPI_USE_REMAP_TABLE
#endif
#include "glapitable.h"
#include "glapioffsets.h"
#include "glapidispatch.h"
#include "glapi/glapitable.h"
#include "glapi/glapioffsets.h"
#include "glapi/glapidispatch.h"
#endif /* _DISPATCH_H */

View file

@ -42,10 +42,10 @@ class PrintGlEnums(gl_XML.gl_print_base):
def printRealHeader(self):
print '#include "glheader.h"'
print '#include "mfeatures.h"'
print '#include "enums.h"'
print '#include "imports.h"'
print '#include "main/glheader.h"'
print '#include "main/mfeatures.h"'
print '#include "main/enums.h"'
print '#include "main/imports.h"'
print ''
print 'typedef struct {'
print ' size_t offset;'

View file

@ -122,7 +122,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
print " * the symbol visibility mode to 'default'."
print ' */'
print ''
print '#include "../x86/assyntax.h"'
print '#include "x86/assyntax.h"'
print ''
print '#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303'
print '# pragma GCC visibility push(default)'

View file

@ -53,7 +53,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
def printRealHeader(self):
print '#include "assyntax.h"'
print '#include "x86/assyntax.h"'
print '#include "glapi/glapioffsets.h"'
print ''
print '#if defined(STDCALL_API)'

View file

@ -69,9 +69,9 @@
#include <assert.h>
#endif
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"
#include "glapi/glapi.h"
#include "glapi/glapioffsets.h"
#include "glapi/glapitable.h"
/***** BEGIN NO-OP DISPATCH *****/
@ -145,7 +145,7 @@ static GLint NoOpUnused(void)
return 0;
}
#include "glapitemp.h"
#include "glapi/glapitemp.h"
/***** END NO-OP DISPATCH *****/

View file

@ -34,9 +34,9 @@
#include <string.h>
#include "main/glheader.h"
#include "main/compiler.h"
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"
#include "glapi/glapi.h"
#include "glapi/glapioffsets.h"
#include "glapi/glapitable.h"
static void
@ -75,7 +75,7 @@ str_dup(const char *str)
#endif
/* The code in this file is auto-generated with Python */
#include "glprocs.h"
#include "glapi/glprocs.h"
/**

View file

@ -33,7 +33,7 @@
#endif
#include "main/compiler.h"
#include "glthread.h"
#include "glapi/glthread.h"
/*

View file

@ -25,10 +25,10 @@
* SOFTWARE.
*/
#include "glheader.h"
#include "mfeatures.h"
#include "enums.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/mfeatures.h"
#include "main/enums.h"
#include "main/imports.h"
typedef struct {
size_t offset;

View file

@ -45,7 +45,7 @@
#define need_MESA_remap_table
#include "remap_helper.h"
#include "main/remap_helper.h"
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
#define MAX_ENTRY_POINTS 16

View file

@ -29,7 +29,7 @@
* the symbol visibility mode to 'default'.
*/
#include "../x86/assyntax.h"
#include "x86/assyntax.h"
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
# pragma GCC visibility push(default)

View file

@ -26,7 +26,7 @@
* SOFTWARE.
*/
#include "assyntax.h"
#include "x86/assyntax.h"
#include "glapi/glapioffsets.h"
#if defined(STDCALL_API)