summaryrefslogtreecommitdiff
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-04-26 12:56:44 +0800
committerChia-I Wu <olv@lunarg.com>2010-05-07 10:41:11 +0800
commit296adbd545b8efd38c9ed508166b2de2764a444b (patch)
treeb146a292769007902a0aca98cfdd9d8ce7c44b59 /src/mesa/SConscript
parent73ded0624de66bc83ae990530febb129d950d04b (diff)
glapi: Move to src/mapi/.
Move glapi to src/mapi/{glapi,es1api,es2api}.
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r--src/mesa/SConscript29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 9cc5d49311..bf4ad6d261 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -9,6 +9,7 @@ if env['platform'] != 'winddk':
env = env.Clone()
env.Append(CPPPATH = [
+ '#/src/mapi',
'#/src/mesa',
])
@@ -247,16 +248,6 @@ if env['platform'] != 'winddk':
slang_sources
)
- glapi_sources = [
- 'glapi/glapi.c',
- 'glapi/glapi_dispatch.c',
- 'glapi/glapi_entrypoint.c',
- 'glapi/glapi_execmem.c',
- 'glapi/glapi_getproc.c',
- 'glapi/glapi_nop.c',
- 'glapi/glthread.c',
- ]
-
#
# Assembly sources
#
@@ -290,9 +281,6 @@ if env['platform'] != 'winddk':
'x86/sse_normal.S',
'x86/read_rgba_span_x86.S',
]
- glapi_sources += [
- 'glapi/glapi_x86.S',
- ]
elif gcc and env['machine'] == 'x86_64':
env.Append(CPPDEFINES = [
'USE_X86_64_ASM',
@@ -301,9 +289,6 @@ if env['platform'] != 'winddk':
'x86-64/x86-64.c',
'x86-64/xform4.S',
]
- glapi_sources += [
- 'glapi/glapi_x86-64.S'
- ]
elif gcc and env['machine'] == 'ppc':
env.Append(CPPDEFINES = [
'USE_PPC_ASM',
@@ -312,8 +297,6 @@ if env['platform'] != 'winddk':
mesa_sources += [
'ppc/common_ppc.c',
]
- glapi_sources += [
- ]
elif gcc and env['machine'] == 'sparc':
mesa_sources += [
'sparc/sparc.c',
@@ -321,9 +304,6 @@ if env['platform'] != 'winddk':
'sparc/norm.S',
'sparc/xform.S',
]
- glapi_sources += [
- 'glapi/glapi_sparc.S'
- ]
else:
pass
@@ -354,10 +334,3 @@ if env['platform'] != 'winddk':
source = mesa_sources,
)
Export('mesa')
-
- glapi = env.ConvenienceLibrary(
- target = 'glapi',
- source = glapi_sources,
- )
- Export('glapi')
-