2008-09-21 21:54:29 +02:00
|
|
|
# -*- python -*-
|
|
|
|
|
2008-07-20 13:02:41 +02:00
|
|
|
Import('env')
|
|
|
|
|
2008-08-27 00:28:42 +02:00
|
|
|
files = [
|
2008-12-26 14:19:27 +01:00
|
|
|
'BPMemory.cpp',
|
|
|
|
'CPMemory.cpp',
|
|
|
|
'memcpy_amd.cpp',
|
|
|
|
'LookUpTables.cpp',
|
2008-12-25 21:11:42 +01:00
|
|
|
'OpcodeDecoding.cpp',
|
2008-12-26 14:19:27 +01:00
|
|
|
'TextureDecoder.cpp',
|
|
|
|
'XFMemory.cpp',
|
|
|
|
'XFBConvert.cpp',
|
2008-12-26 18:33:53 +01:00
|
|
|
'PixelShaderGen.cpp',
|
2008-12-26 14:19:27 +01:00
|
|
|
'PixelShaderManager.cpp',
|
2008-12-26 18:33:53 +01:00
|
|
|
'VertexShaderGen.cpp',
|
2008-12-26 14:19:27 +01:00
|
|
|
'VertexShaderManager.cpp',
|
|
|
|
'VertexLoader.cpp',
|
|
|
|
'VertexLoader_Color.cpp',
|
|
|
|
'VertexLoader_Normal.cpp',
|
|
|
|
'VertexLoader_Position.cpp',
|
|
|
|
'VertexLoader_TextCoord.cpp',
|
|
|
|
'ImageWrite.cpp',
|
|
|
|
'NativeVertexWriter.cpp',
|
|
|
|
'Statistics.cpp',
|
|
|
|
'Fifo.cpp',
|
|
|
|
'VideoState.cpp',
|
|
|
|
'Profiler.cpp',
|
2008-08-27 00:28:42 +02:00
|
|
|
]
|
2008-07-20 13:02:41 +02:00
|
|
|
|
2008-09-16 18:50:09 +02:00
|
|
|
env_common = env.Clone()
|
2008-09-21 00:06:22 +02:00
|
|
|
env_common.Append(CXXFLAGS = [ '-fPIC' ])
|
2008-07-20 13:02:41 +02:00
|
|
|
env_common.StaticLibrary("videocommon", files)
|