diff options
Diffstat (limited to 'src/mapi/glapi/SConscript')
-rw-r--r-- | src/mapi/glapi/SConscript | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mapi/glapi/SConscript b/src/mapi/glapi/SConscript index 1ace2e6b2cd..15c08255c39 100644 --- a/src/mapi/glapi/SConscript +++ b/src/mapi/glapi/SConscript @@ -8,21 +8,29 @@ if env['platform'] != 'winddk': env = env.Clone() + env.Append(CPPDEFINES = [ + 'MAPI_GLAPI_CURRENT', + ]) + env.Append(CPPPATH = [ '#/src/mapi', '#/src/mesa', ]) glapi_sources = [ - 'glapi.c', 'glapi_dispatch.c', 'glapi_entrypoint.c', - 'glapi_execmem.c', 'glapi_getproc.c', 'glapi_nop.c', 'glthread.c', ] + glapi_sources += [ + '../mapi/u_current.c', + '../mapi/u_execmem.c', + '../mapi/u_thread.c', + ] + # # Assembly sources # |