# -*- python -*- Import('env') import sys files = [ "ABI.cpp", "BreakPoints.cpp", "CDUtils.cpp", "ColorUtil.cpp", "ConsoleListener.cpp", "CPUDetect.cpp", "DynamicLibrary.cpp", "FileSearch.cpp", "FileUtil.cpp", "Hash.cpp", "IniFile.cpp", "LogManager.cpp", "MathUtil.cpp", "MemArena.cpp", "MemoryUtil.cpp", "Misc.cpp", "MsgHandler.cpp", "OpenCL.cpp", "Plugin.cpp", "PluginDSP.cpp", "PluginWiimote.cpp", "PluginVideo.cpp", "SDCardUtil.cpp", "StringUtil.cpp", "SymbolDB.cpp", "SysConf.cpp", "Thread.cpp", "Thunk.cpp", "Timer.cpp", "Thread.cpp", "x64Emitter.cpp", "x64Analyzer.cpp", "Crypto/bn.cpp", "Crypto/ec.cpp", "Crypto/md5.cpp", "Crypto/sha1.cpp", ] if sys.platform == 'win32': files += [ "ExtendedTrace.cpp" ] files += [ "stdafx.cpp" ] env_common = env.Clone() env_common.StaticLibrary(env['local_libs'] + "common", files)