2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
|
|
|
"ABI.cpp",
|
|
|
|
"Common.cpp",
|
|
|
|
"ChunkFile.cpp",
|
|
|
|
"CPUDetect.cpp",
|
|
|
|
"DynamicLibrary.cpp",
|
|
|
|
"Hash.cpp",
|
|
|
|
"IniFile.cpp",
|
|
|
|
"Logging.cpp",
|
|
|
|
"FileUtil.cpp",
|
|
|
|
"MappedFile.cpp",
|
|
|
|
"MathUtil.cpp",
|
|
|
|
"MemArena.cpp",
|
|
|
|
"MemoryUtil.cpp",
|
|
|
|
"Plugin.cpp",
|
|
|
|
"StringUtil.cpp",
|
|
|
|
"TestFramework.cpp",
|
|
|
|
"Thunk.cpp",
|
|
|
|
"Timer.cpp",
|
|
|
|
"Thread.cpp",
|
|
|
|
"x64Emitter.cpp",
|
|
|
|
"x64Analyzer.cpp",
|
|
|
|
]
|
|
|
|
|
2008-07-23 08:49:58 +00:00
|
|
|
env_common = env.Copy()
|
2008-08-26 22:28:42 +00:00
|
|
|
env_common.Append(CXXFLAGS = ' ' + ' '.join([ '-fPIC' ]))
|
2008-07-12 17:40:22 +00:00
|
|
|
env_common.StaticLibrary("common", files)
|