2009-01-15 06:48:15 +00:00
|
|
|
# -*- python -*-
|
2008-09-21 19:54:29 +00:00
|
|
|
|
2008-07-20 11:02:41 +00:00
|
|
|
Import('env')
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
2008-12-26 13:19:27 +00:00
|
|
|
'BPMemory.cpp',
|
|
|
|
'CPMemory.cpp',
|
2009-02-28 22:10:38 +00:00
|
|
|
'XFMemory.cpp',
|
|
|
|
'XFStructs.cpp',
|
2009-04-05 10:49:19 +00:00
|
|
|
'BPStructs.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'memcpy_amd.cpp',
|
|
|
|
'LookUpTables.cpp',
|
2008-12-25 20:11:42 +00:00
|
|
|
'OpcodeDecoding.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'TextureDecoder.cpp',
|
|
|
|
'XFMemory.cpp',
|
|
|
|
'XFBConvert.cpp',
|
2009-02-28 22:10:38 +00:00
|
|
|
'IndexGenerator.cpp',
|
2008-12-26 17:33:53 +00:00
|
|
|
'PixelShaderGen.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'PixelShaderManager.cpp',
|
2008-12-26 17:33:53 +00:00
|
|
|
'VertexShaderGen.cpp',
|
2008-12-26 13:19:27 +00: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',
|
2009-05-07 07:43:56 +00:00
|
|
|
'HiresTextures.cpp',
|
2008-08-26 22:28:42 +00:00
|
|
|
]
|
2008-07-20 11:02:41 +00:00
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
env_common = env.Clone()
|
2008-09-20 22:06:22 +00:00
|
|
|
env_common.Append(CXXFLAGS = [ '-fPIC' ])
|
2009-04-12 21:30:22 +00:00
|
|
|
env_common.StaticLibrary(env['local_libs'] + "videocommon", files)
|