Files
dolphin/Source/Core/InputCommon/Src/SConscript
T

37 lines
697 B
Python
Raw Normal View History

# -*- python -*-
2010-04-13 06:09:45 +00:00
import sys
2009-01-04 19:54:56 +00:00
Import('env')
2010-04-13 06:09:45 +00:00
icenv = env.Clone()
2009-01-04 19:54:56 +00:00
files = [
2009-02-08 14:55:51 +00:00
'Configuration.cpp',
2009-01-04 19:54:56 +00:00
'EventHandler.cpp',
'InputCommon.cpp',
2010-01-29 04:42:19 +00:00
'SDL_Util.cpp',
2010-04-13 06:09:45 +00:00
'ControllerInterface/ControllerInterface.cpp',
2009-01-04 19:54:56 +00:00
]
if env['HAVE_X11']:
files += [
"X11InputBase.cpp",
]
if env['HAVE_WX']:
files += [
"WXInputBase.cpp",
]
2010-04-13 06:09:45 +00:00
if icenv['HAVE_SDL']:
files += [ 'ControllerInterface/SDL/SDL.cpp' ]
if sys.platform == 'darwin':
files += [ 'ControllerInterface/OSX/OSX.cpp',
'ControllerInterface/OSX/OSXPrivate.mm' ]
if sys.platform == 'linux2':
files += [ 'ControllerInterface/Xlib/Xlib.cpp' ]
icenv.Append(CXXFLAGS = [ '-fPIC' ])
icenv.StaticLibrary(env['local_libs'] + "inputcommon", files)