43 lines
873 B
Python
43 lines
873 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
files = [
|
|
'BPMemory.cpp',
|
|
'CPMemory.cpp',
|
|
'XFMemory.cpp',
|
|
'XFStructs.cpp',
|
|
'BPStructs.cpp',
|
|
'memcpy_amd.cpp',
|
|
'LookUpTables.cpp',
|
|
'OpcodeDecoding.cpp',
|
|
'TextureDecoder.cpp',
|
|
'XFMemory.cpp',
|
|
'XFBConvert.cpp',
|
|
'IndexGenerator.cpp',
|
|
'PixelShaderGen.cpp',
|
|
'PixelShaderManager.cpp',
|
|
'VertexShaderGen.cpp',
|
|
'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',
|
|
'HiresTextures.cpp',
|
|
'SOIL/image_DXT.c',
|
|
'SOIL/image_helper.c',
|
|
'SOIL/SOIL.c',
|
|
'SOIL/stb_image_aug.c'
|
|
]
|
|
|
|
env_common = env.Clone()
|
|
env_common.Append(CXXFLAGS = [ '-fPIC' ])
|
|
env_common.StaticLibrary(env['local_libs'] + "videocommon", files)
|