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-09-16 08:32:12 +00:00
|
|
|
env_common = env.Clone()
|
2008-09-20 22:06:22 +00:00
|
|
|
env_common.Append(CXXFLAGS = [ '-fPIC' ])
|
2008-07-12 17:40:22 +00:00
|
|
|
env_common.StaticLibrary("common", files)
|