2008-07-12 11:40:22 -06:00
|
|
|
Import('env')
|
|
|
|
|
2008-07-31 14:22:35 -06:00
|
|
|
files = ["ABI.cpp",
|
|
|
|
"Common.cpp",
|
2008-07-12 11:40:22 -06:00
|
|
|
"CPUDetect.cpp",
|
|
|
|
"DynamicLibrary.cpp",
|
|
|
|
"Hash.cpp",
|
|
|
|
"HTTP.cpp",
|
|
|
|
"IniFile.cpp",
|
|
|
|
"Logging.cpp",
|
2008-07-20 05:02:41 -06:00
|
|
|
"FileUtil.cpp",
|
2008-07-12 11:40:22 -06:00
|
|
|
"MappedFile.cpp",
|
|
|
|
"MathUtil.cpp",
|
|
|
|
"MemArena.cpp",
|
|
|
|
"MemoryUtil.cpp",
|
|
|
|
"Plugin.cpp",
|
|
|
|
"PortableSockets.cpp",
|
|
|
|
"StringUtil.cpp",
|
|
|
|
"TestFramework.cpp",
|
|
|
|
"Timer.cpp",
|
|
|
|
"Thread.cpp",
|
|
|
|
"x64Emitter.cpp",
|
|
|
|
"x64Analyzer.cpp",
|
|
|
|
]
|
2008-07-23 02:49:58 -06:00
|
|
|
|
|
|
|
env_common = env.Copy()
|
|
|
|
env_common.Append(CXXFLAGS = " -fPIC ")
|
2008-07-12 11:40:22 -06:00
|
|
|
env_common.StaticLibrary("common", files)
|